Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentTypesRollup ¶
type ContentTypesRollup struct {
TablesMap map[string]Model // normalized table name to table metadata (map[CQ Table Name]Model)
// contains filtered or unexported fields
}
func NewContentTypesRollup ¶
func NewContentTypesRollup(sp *api.SP, logger zerolog.Logger) *ContentTypesRollup
func (*ContentTypesRollup) GetDestTable ¶
type Spec ¶
type Spec struct {
// REST `$select` OData modificator, fields entity properties array
// Wildcard selectors `*` are intentionally not supported
// If not provided, only default fields will be fetched (ID, Created, AuthorId, Modified, EditorId)
Select []string `json:"select"`
// REST `$expand` OData modificator, fields entity properties array
// When expanding an entity use selection of a nested entity property(s)
// Optional, and in most of the cases we recommend to avoid it and
// prefer to map nested entities to the separate tables
Expand []string `json:"expand"`
// Optional, an alias for the table name
// Don't map different lists to the same table - such scenario is not supported
Alias string `json:"alias"`
// contains filtered or unexported fields
}
Spec is the configuration for a list source
Click to show internal directories.
Click to hide internal directories.