Documentation ¶
Index ¶
- Variables
- func AssetSortTypeFrom(ast *AssetSortType) *asset.SortType
- func BoolToRef(b bool) *bool
- func FromFile(f *graphql.Upload) *file.File
- func FromLayerEncodingFormat(v LayerEncodingFormat) decoding.LayerEncodingFormat
- func FromListOperation(op ListOperation) interfaces.ListOperation
- func FromPointer(schemaItem *id.PropertySchemaGroupID, item *ID, field *id.PropertyFieldID) *property.Pointer
- func FromPropertyFieldLink(datasetSchema, ds, fields []ID) (*property.Links, error)
- func FromPropertyValueAndType(v interface{}, t ValueType) *property.Value
- func FromPublishmentStatus(v PublishmentStatus) project.PublishmentStatus
- func FromRole(r Role) workspace.Role
- func FromSceneWidgetAreaPadding(p *WidgetAreaPaddingInput) *scene.WidgetAreaPadding
- func FromSceneWidgetAreaType(t WidgetAreaType) scene.WidgetAreaType
- func FromSceneWidgetLocation(l *WidgetLocationInput) *scene.WidgetLocation
- func FromSceneWidgetSectionType(t WidgetSectionType) scene.WidgetSectionType
- func FromSceneWidgetZoneType(t WidgetZoneType) scene.WidgetZoneType
- func FromStoryPositionRef(v *Position) *storytelling.Position
- func FromStoryPublishmentStatus(v PublishmentStatus) storytelling.PublishmentStatus
- func FromValueType(t ValueType) value.Type
- func FromWidgetAlignType(a *WidgetAreaAlign) *scene.WidgetAlignType
- func MarshalArray(a Array) graphql.Marshaler
- func MarshalCursor(t usecasex.Cursor) graphql.Marshaler
- func MarshalDatasetFieldID(t id.DatasetFieldID) graphql.Marshaler
- func MarshalJSON(b JSON) graphql.Marshaler
- func MarshalLang(t language.Tag) graphql.Marshaler
- func MarshalMap(val map[string]string) graphql.Marshaler
- func MarshalPluginExtensionID(t id.PluginExtensionID) graphql.Marshaler
- func MarshalPluginID(t id.PluginID) graphql.Marshaler
- func MarshalPropertyFieldID(t id.PropertyFieldID) graphql.Marshaler
- func MarshalPropertySchemaGroupID(t id.PropertySchemaGroupID) graphql.Marshaler
- func MarshalPropertySchemaID(t id.PropertySchemaID) graphql.Marshaler
- func MarshalURL(t url.URL) graphql.Marshaler
- func RefToIndex(i *int) int
- func RefToString(s *string) string
- func ToDatasetValue(v *dataset.Value) *interface{}
- func ToGoJsonRef(p JSON) *map[string]any
- func ToID[A idx.Type](a ID) (idx.ID[A], error)
- func ToID2[A, B idx.Type](a, b ID) (ai idx.ID[A], bi idx.ID[B], err error)
- func ToID3[A, B, C idx.Type](a, b, c ID) (ai idx.ID[A], bi idx.ID[B], ci idx.ID[C], err error)
- func ToID4[A, B, C, D idx.Type](a, b, c, d ID) (ai idx.ID[A], bi idx.ID[B], ci idx.ID[C], di idx.ID[D], err error)
- func ToIDRef[A idx.Type](a *ID) *idx.ID[A]
- func ToIDs[A idx.Type](a []ID) (*[]idx.ID[A], error)
- func ToNLSConfig(p JSON) *nlslayer.Config
- func ToNLSLayerType(p string) nlslayer.LayerType
- func ToPagination(pagination *Pagination) *usecasex.Pagination
- func ToPluginID(a ID) (id.PluginID, error)
- func ToPluginID2(a, b ID) (ai id.PluginID, bi id.PluginID, err error)
- func ToPluginIDRef(a *ID) *id.PluginID
- func ToPropertyLatLng(lat, lng *float64) *property.LatLng
- func ToPropertySchemaID(a ID) (id.PropertySchemaID, error)
- func ToPropertySchemaIDRef(a *ID) *id.PropertySchemaID
- func ToPropertyValue(v *property.Value) *interface{}
- func ToStoryBgColor(bg string) *string
- func ToStringIDRef[T idx.Type](a *ID) *idx.StringID[T]
- func ToStyleValue(p JSON) *scene.StyleValue
- func ToTheme(t *Theme) *user.Theme
- func UnmarshalCursor(v interface{}) (usecasex.Cursor, error)
- func UnmarshalDatasetFieldID(v interface{}) (id.DatasetFieldID, error)
- func UnmarshalLang(v interface{}) (language.Tag, error)
- func UnmarshalMap(v interface{}) (map[string]string, error)
- func UnmarshalPluginExtensionID(v interface{}) (id.PluginExtensionID, error)
- func UnmarshalPluginID(v interface{}) (id.PluginID, error)
- func UnmarshalPropertyFieldID(v interface{}) (id.PropertyFieldID, error)
- func UnmarshalPropertySchemaGroupID(v interface{}) (id.PropertySchemaGroupID, error)
- func UnmarshalPropertySchemaID(v interface{}) (id.PropertySchemaID, error)
- func UnmarshalURL(v interface{}) (url.URL, error)
- type AddClusterInput
- type AddClusterPayload
- type AddCustomPropertySchemaInput
- type AddDatasetSchemaInput
- type AddDatasetSchemaPayload
- type AddGeoJSONFeatureInput
- type AddInfoboxFieldInput
- type AddInfoboxFieldPayload
- type AddLayerGroupInput
- type AddLayerGroupPayload
- type AddLayerItemInput
- type AddLayerItemPayload
- type AddMemberToTeamInput
- type AddMemberToTeamPayload
- type AddNLSInfoboxBlockInput
- type AddNLSInfoboxBlockPayload
- type AddNLSLayerSimpleInput
- type AddNLSLayerSimplePayload
- type AddPropertyItemInput
- type AddStyleInput
- type AddStylePayload
- type AddWidgetInput
- type AddWidgetPayload
- type Array
- type Asset
- type AssetConnection
- type AssetEdge
- type AssetSortType
- type AttachTagItemToGroupInput
- type AttachTagItemToGroupPayload
- type AttachTagToLayerInput
- type AttachTagToLayerPayload
- type Camera
- type Cluster
- type CreateAssetInput
- type CreateAssetPayload
- type CreateInfoboxInput
- type CreateInfoboxPayload
- type CreateNLSInfoboxInput
- type CreateNLSInfoboxPayload
- type CreateProjectInput
- type CreateSceneInput
- type CreateScenePayload
- type CreateStoryBlockInput
- type CreateStoryBlockPayload
- type CreateStoryInput
- type CreateStoryPageInput
- type CreateTagGroupInput
- type CreateTagGroupPayload
- type CreateTagItemInput
- type CreateTagItemPayload
- type CreateTeamInput
- type CreateTeamPayload
- type Dataset
- type DatasetConnection
- type DatasetEdge
- type DatasetField
- type DatasetSchema
- type DatasetSchemaConnection
- type DatasetSchemaEdge
- type DatasetSchemaField
- type DeleteGeoJSONFeatureInput
- type DeleteGeoJSONFeaturePayload
- type DeleteMeInput
- type DeleteMePayload
- type DeleteProjectInput
- type DeleteProjectPayload
- type DeleteStoryInput
- type DeleteStoryPageInput
- type DeleteStoryPagePayload
- type DeleteStoryPayload
- type DeleteTeamInput
- type DeleteTeamPayload
- type DetachTagFromLayerInput
- type DetachTagFromLayerPayload
- type DetachTagItemFromGroupInput
- type DetachTagItemFromGroupPayload
- type DuplicateNLSLayerInput
- type DuplicateNLSLayerPayload
- type DuplicateStoryPageInput
- type DuplicateStyleInput
- type DuplicateStylePayload
- type Feature
- type FeatureCollection
- type Geometry
- type GeometryCollection
- type ID
- func IDFrom[T idx.Type](i idx.ID[T]) ID
- func IDFromList[T idx.Type](i idx.List[T]) []ID
- func IDFromPluginID(i id.PluginID) ID
- func IDFromPluginIDRef(i *id.PluginID) *ID
- func IDFromPropertySchemaID(i id.PropertySchemaID) ID
- func IDFromPropertySchemaIDRef(i *id.PropertySchemaID) *ID
- func IDFromRef[T idx.Type](i *idx.ID[T]) *ID
- func IDFromString[T idx.Type](i idx.StringID[T]) ID
- func IDFromStringRef[T idx.Type](i *idx.StringID[T]) *ID
- type ImportDatasetFromGoogleSheetInput
- type ImportDatasetInput
- type ImportDatasetPayload
- type ImportLayerInput
- type ImportLayerPayload
- type Infobox
- type InfoboxBlock
- type InfoboxField
- type InstallPluginInput
- type InstallPluginPayload
- type JSON
- type LatLng
- type LatLngHeight
- type Layer
- type LayerEncodingFormat
- type LayerGroup
- func (this LayerGroup) GetExtension() *PluginExtension
- func (this LayerGroup) GetExtensionID() *ID
- func (this LayerGroup) GetID() ID
- func (this LayerGroup) GetInfobox() *Infobox
- func (this LayerGroup) GetIsVisible() bool
- func (this LayerGroup) GetName() string
- func (this LayerGroup) GetParent() *LayerGroup
- func (this LayerGroup) GetParentID() *ID
- func (this LayerGroup) GetPlugin() *Plugin
- func (this LayerGroup) GetPluginID() *ID
- func (this LayerGroup) GetProperty() *Property
- func (this LayerGroup) GetPropertyID() *ID
- func (this LayerGroup) GetSceneID() ID
- func (this LayerGroup) GetScenePlugin() *ScenePlugin
- func (this LayerGroup) GetTags() []LayerTag
- func (LayerGroup) IsLayer()
- func (LayerGroup) IsNode()
- type LayerItem
- func (this LayerItem) GetExtension() *PluginExtension
- func (this LayerItem) GetExtensionID() *ID
- func (this LayerItem) GetID() ID
- func (this LayerItem) GetInfobox() *Infobox
- func (this LayerItem) GetIsVisible() bool
- func (this LayerItem) GetName() string
- func (this LayerItem) GetParent() *LayerGroup
- func (this LayerItem) GetParentID() *ID
- func (this LayerItem) GetPlugin() *Plugin
- func (this LayerItem) GetPluginID() *ID
- func (this LayerItem) GetProperty() *Property
- func (this LayerItem) GetPropertyID() *ID
- func (this LayerItem) GetSceneID() ID
- func (this LayerItem) GetScenePlugin() *ScenePlugin
- func (this LayerItem) GetTags() []LayerTag
- func (LayerItem) IsLayer()
- func (LayerItem) IsNode()
- type LayerTag
- type LayerTagGroup
- type LayerTagItem
- type LineString
- type LinkDatasetToPropertyValueInput
- type ListOperation
- type Me
- type MergedInfobox
- type MergedInfoboxField
- type MergedLayer
- type MergedProperty
- type MergedPropertyField
- type MergedPropertyGroup
- type MoveInfoboxFieldInput
- type MoveInfoboxFieldPayload
- type MoveLayerInput
- type MoveLayerPayload
- type MoveNLSInfoboxBlockInput
- type MoveNLSInfoboxBlockPayload
- type MovePropertyItemInput
- type MoveStoryBlockInput
- type MoveStoryBlockPayload
- type MoveStoryInput
- type MoveStoryPageInput
- type MoveStoryPagePayload
- type MoveStoryPayload
- type MultiPolygon
- type Mutation
- type NLSInfobox
- type NLSLayer
- type NLSLayerGroup
- func (this NLSLayerGroup) GetConfig() JSON
- func (this NLSLayerGroup) GetID() ID
- func (this NLSLayerGroup) GetInfobox() *NLSInfobox
- func (this NLSLayerGroup) GetIsSketch() bool
- func (this NLSLayerGroup) GetLayerType() string
- func (this NLSLayerGroup) GetSceneID() ID
- func (this NLSLayerGroup) GetSketch() *SketchInfo
- func (this NLSLayerGroup) GetTitle() string
- func (this NLSLayerGroup) GetVisible() bool
- func (NLSLayerGroup) IsNLSLayer()
- type NLSLayerSimple
- func (this NLSLayerSimple) GetConfig() JSON
- func (this NLSLayerSimple) GetID() ID
- func (this NLSLayerSimple) GetInfobox() *NLSInfobox
- func (this NLSLayerSimple) GetIsSketch() bool
- func (this NLSLayerSimple) GetLayerType() string
- func (this NLSLayerSimple) GetSceneID() ID
- func (this NLSLayerSimple) GetSketch() *SketchInfo
- func (this NLSLayerSimple) GetTitle() string
- func (this NLSLayerSimple) GetVisible() bool
- func (NLSLayerSimple) IsNLSLayer()
- type Node
- type NodeType
- type PageInfo
- type PageLayerInput
- type Pagination
- type Plugin
- type PluginExtension
- type PluginExtensionType
- type Point
- type Policy
- type Polygon
- type Position
- type Project
- type ProjectAliasAvailability
- type ProjectConnection
- type ProjectEdge
- type ProjectPayload
- type Property
- type PropertyCondition
- type PropertyField
- type PropertyFieldLink
- type PropertyFieldPayload
- type PropertyGroup
- type PropertyGroupList
- type PropertyItem
- type PropertyItemPayload
- type PropertyLinkableFields
- type PropertySchema
- type PropertySchemaField
- type PropertySchemaFieldChoice
- type PropertySchemaFieldUI
- type PropertySchemaGroup
- type PublishProjectInput
- type PublishStoryInput
- type PublishmentStatus
- type Query
- type Rect
- type RemoveAssetInput
- type RemoveAssetPayload
- type RemoveClusterInput
- type RemoveClusterPayload
- type RemoveDatasetSchemaInput
- type RemoveDatasetSchemaPayload
- type RemoveInfoboxFieldInput
- type RemoveInfoboxFieldPayload
- type RemoveInfoboxInput
- type RemoveInfoboxPayload
- type RemoveLayerInput
- type RemoveLayerPayload
- type RemoveMemberFromTeamInput
- type RemoveMemberFromTeamPayload
- type RemoveMyAuthInput
- type RemoveNLSInfoboxBlockInput
- type RemoveNLSInfoboxBlockPayload
- type RemoveNLSInfoboxInput
- type RemoveNLSInfoboxPayload
- type RemoveNLSLayerInput
- type RemoveNLSLayerPayload
- type RemovePropertyFieldInput
- type RemovePropertyItemInput
- type RemoveStoryBlockInput
- type RemoveStoryBlockPayload
- type RemoveStyleInput
- type RemoveStylePayload
- type RemoveTagInput
- type RemoveTagPayload
- type RemoveWidgetInput
- type RemoveWidgetPayload
- type Role
- type Scene
- type ScenePlugin
- type SceneWidget
- type SignupInput
- type SignupPayload
- type SketchInfo
- type Spacing
- type Story
- type StoryBlock
- type StoryPage
- type StoryPagePayload
- type StoryPayload
- type Style
- type SyncDatasetInput
- type SyncDatasetPayload
- type Tag
- type TagGroup
- type TagItem
- type Team
- type TeamMember
- type TextAlign
- type Theme
- type Timeline
- type Typography
- type UninstallPluginInput
- type UninstallPluginPayload
- type UnlinkPropertyValueInput
- type UpdateClusterInput
- type UpdateClusterPayload
- type UpdateDatasetSchemaInput
- type UpdateDatasetSchemaPayload
- type UpdateGeoJSONFeatureInput
- type UpdateLayerInput
- type UpdateLayerPayload
- type UpdateMeInput
- type UpdateMePayload
- type UpdateMemberOfTeamInput
- type UpdateMemberOfTeamPayload
- type UpdateNLSLayerInput
- type UpdateNLSLayerPayload
- type UpdateProjectInput
- type UpdatePropertyItemInput
- type UpdatePropertyItemOperationInput
- type UpdatePropertyValueInput
- type UpdateStoryInput
- type UpdateStoryPageInput
- type UpdateStyleInput
- type UpdateStylePayload
- type UpdateTagInput
- type UpdateTagPayload
- type UpdateTeamInput
- type UpdateTeamPayload
- type UpdateWidgetAlignSystemInput
- type UpdateWidgetAlignSystemPayload
- type UpdateWidgetInput
- type UpdateWidgetPayload
- type UpgradePluginInput
- type UpgradePluginPayload
- type UploadFileToPropertyInput
- type UploadPluginInput
- type UploadPluginPayload
- type User
- type ValueType
- type Visualizer
- type WidgetAlignSystem
- type WidgetArea
- type WidgetAreaAlign
- type WidgetAreaPadding
- type WidgetAreaPaddingInput
- type WidgetAreaType
- type WidgetExtendable
- type WidgetLayout
- type WidgetLocation
- type WidgetLocationInput
- type WidgetSection
- type WidgetSectionType
- type WidgetZone
- type WidgetZoneType
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAssetSortType = []AssetSortType{ AssetSortTypeDate, AssetSortTypeSize, AssetSortTypeName, }
View Source
var AllLayerEncodingFormat = []LayerEncodingFormat{ LayerEncodingFormatKml, LayerEncodingFormatCzml, LayerEncodingFormatGeojson, LayerEncodingFormatShape, LayerEncodingFormatReearth, }
View Source
var AllListOperation = []ListOperation{ ListOperationAdd, ListOperationMove, ListOperationRemove, }
View Source
var AllNodeType = []NodeType{ NodeTypeAsset, NodeTypeUser, NodeTypeTeam, NodeTypeProject, NodeTypePlugin, NodeTypeScene, NodeTypePropertySchema, NodeTypeProperty, NodeTypeDatasetSchema, NodeTypeDataset, NodeTypeLayerGroup, NodeTypeLayerItem, }
View Source
var AllPluginExtensionType = []PluginExtensionType{ PluginExtensionTypePrimitive, PluginExtensionTypeWidget, PluginExtensionTypeBlock, PluginExtensionTypeVisualizer, PluginExtensionTypeInfobox, PluginExtensionTypeCluster, PluginExtensionTypeStory, PluginExtensionTypeStoryPage, PluginExtensionTypeStoryBlock, PluginExtensionTypeInfoboxBlock, }
View Source
var AllPosition = []Position{ PositionLeft, PositionRight, }
View Source
var AllPropertySchemaFieldUI = []PropertySchemaFieldUI{ PropertySchemaFieldUILayer, PropertySchemaFieldUIMultiline, PropertySchemaFieldUISelection, PropertySchemaFieldUIColor, PropertySchemaFieldUIRange, PropertySchemaFieldUISlider, PropertySchemaFieldUIImage, PropertySchemaFieldUIVideo, PropertySchemaFieldUIFile, PropertySchemaFieldUICameraPose, PropertySchemaFieldUIDatetime, PropertySchemaFieldUIMargin, PropertySchemaFieldUIPadding, }
View Source
var AllPublishmentStatus = []PublishmentStatus{ PublishmentStatusPublic, PublishmentStatusLimited, PublishmentStatusPrivate, }
View Source
var AllRole = []Role{ RoleReader, RoleWriter, RoleMaintainer, RoleOwner, }
View Source
var AllTextAlign = []TextAlign{ TextAlignLeft, TextAlignCenter, TextAlignRight, TextAlignJustify, TextAlignJustifyAll, }
View Source
var AllTheme = []Theme{ ThemeDefault, ThemeLight, ThemeDark, }
View Source
var AllValueType = []ValueType{ ValueTypeBool, ValueTypeNumber, ValueTypeString, ValueTypeRef, ValueTypeURL, ValueTypeLatlng, ValueTypeLatlngheight, ValueTypeCamera, ValueTypeTypography, ValueTypeCoordinates, ValueTypePolygon, ValueTypeRect, ValueTypeSpacing, ValueTypeArray, ValueTypeTimeline, }
View Source
var AllVisualizer = []Visualizer{ VisualizerCesium, }
View Source
var AllWidgetAreaAlign = []WidgetAreaAlign{ WidgetAreaAlignStart, WidgetAreaAlignCentered, WidgetAreaAlignEnd, }
View Source
var AllWidgetAreaType = []WidgetAreaType{ WidgetAreaTypeTop, WidgetAreaTypeMiddle, WidgetAreaTypeBottom, }
View Source
var AllWidgetSectionType = []WidgetSectionType{ WidgetSectionTypeLeft, WidgetSectionTypeCenter, WidgetSectionTypeRight, }
View Source
var AllWidgetZoneType = []WidgetZoneType{ WidgetZoneTypeInner, WidgetZoneTypeOuter, }
Functions ¶
func AssetSortTypeFrom ¶
func AssetSortTypeFrom(ast *AssetSortType) *asset.SortType
func FromLayerEncodingFormat ¶
func FromLayerEncodingFormat(v LayerEncodingFormat) decoding.LayerEncodingFormat
func FromListOperation ¶
func FromListOperation(op ListOperation) interfaces.ListOperation
func FromPointer ¶
func FromPointer(schemaItem *id.PropertySchemaGroupID, item *ID, field *id.PropertyFieldID) *property.Pointer
func FromPropertyFieldLink ¶
func FromPublishmentStatus ¶
func FromPublishmentStatus(v PublishmentStatus) project.PublishmentStatus
func FromSceneWidgetAreaPadding ¶
func FromSceneWidgetAreaPadding(p *WidgetAreaPaddingInput) *scene.WidgetAreaPadding
func FromSceneWidgetAreaType ¶
func FromSceneWidgetAreaType(t WidgetAreaType) scene.WidgetAreaType
func FromSceneWidgetLocation ¶
func FromSceneWidgetLocation(l *WidgetLocationInput) *scene.WidgetLocation
func FromSceneWidgetSectionType ¶
func FromSceneWidgetSectionType(t WidgetSectionType) scene.WidgetSectionType
func FromSceneWidgetZoneType ¶
func FromSceneWidgetZoneType(t WidgetZoneType) scene.WidgetZoneType
func FromStoryPositionRef ¶
func FromStoryPositionRef(v *Position) *storytelling.Position
func FromStoryPublishmentStatus ¶
func FromStoryPublishmentStatus(v PublishmentStatus) storytelling.PublishmentStatus
func FromValueType ¶
func FromWidgetAlignType ¶
func FromWidgetAlignType(a *WidgetAreaAlign) *scene.WidgetAlignType
func MarshalArray ¶
func MarshalDatasetFieldID ¶
func MarshalDatasetFieldID(t id.DatasetFieldID) graphql.Marshaler
func MarshalJSON ¶
func MarshalPluginExtensionID ¶
func MarshalPluginExtensionID(t id.PluginExtensionID) graphql.Marshaler
func MarshalPropertyFieldID ¶
func MarshalPropertyFieldID(t id.PropertyFieldID) graphql.Marshaler
func MarshalPropertySchemaGroupID ¶
func MarshalPropertySchemaGroupID(t id.PropertySchemaGroupID) graphql.Marshaler
func MarshalPropertySchemaID ¶
func MarshalPropertySchemaID(t id.PropertySchemaID) graphql.Marshaler
func RefToIndex ¶
func RefToString ¶
func ToDatasetValue ¶
func ToGoJsonRef ¶
func ToNLSConfig ¶
func ToNLSLayerType ¶
func ToPagination ¶
func ToPagination(pagination *Pagination) *usecasex.Pagination
func ToPluginIDRef ¶
func ToPropertyLatLng ¶
func ToPropertySchemaID ¶
func ToPropertySchemaID(a ID) (id.PropertySchemaID, error)
func ToPropertySchemaIDRef ¶
func ToPropertySchemaIDRef(a *ID) *id.PropertySchemaID
func ToPropertyValue ¶
func ToStoryBgColor ¶
func ToStyleValue ¶
func ToStyleValue(p JSON) *scene.StyleValue
func UnmarshalCursor ¶
func UnmarshalDatasetFieldID ¶
func UnmarshalDatasetFieldID(v interface{}) (id.DatasetFieldID, error)
func UnmarshalLang ¶
func UnmarshalMap ¶
func UnmarshalPluginExtensionID ¶
func UnmarshalPluginExtensionID(v interface{}) (id.PluginExtensionID, error)
func UnmarshalPluginID ¶
func UnmarshalPropertyFieldID ¶
func UnmarshalPropertyFieldID(v interface{}) (id.PropertyFieldID, error)
func UnmarshalPropertySchemaGroupID ¶
func UnmarshalPropertySchemaGroupID(v interface{}) (id.PropertySchemaGroupID, error)
func UnmarshalPropertySchemaID ¶
func UnmarshalPropertySchemaID(v interface{}) (id.PropertySchemaID, error)
func UnmarshalURL ¶
Types ¶
type AddClusterInput ¶
type AddClusterPayload ¶
type AddDatasetSchemaInput ¶
type AddDatasetSchemaPayload ¶
type AddDatasetSchemaPayload struct {
DatasetSchema *DatasetSchema `json:"datasetSchema,omitempty"`
}
type AddGeoJSONFeatureInput ¶
type AddInfoboxFieldInput ¶
type AddInfoboxFieldPayload ¶
type AddInfoboxFieldPayload struct { InfoboxField *InfoboxField `json:"infoboxField"` Layer Layer `json:"layer"` }
type AddLayerGroupInput ¶
type AddLayerGroupInput struct { ParentLayerID ID `json:"parentLayerId"` PluginID *ID `json:"pluginId,omitempty"` ExtensionID *ID `json:"extensionId,omitempty"` Index *int `json:"index,omitempty"` LinkedDatasetSchemaID *ID `json:"linkedDatasetSchemaID,omitempty"` Name *string `json:"name,omitempty"` RepresentativeFieldID *ID `json:"representativeFieldId,omitempty"` }
type AddLayerGroupPayload ¶
type AddLayerGroupPayload struct { Layer *LayerGroup `json:"layer"` ParentLayer *LayerGroup `json:"parentLayer"` Index *int `json:"index,omitempty"` }
type AddLayerItemInput ¶
type AddLayerItemPayload ¶
type AddLayerItemPayload struct { Layer *LayerItem `json:"layer"` ParentLayer *LayerGroup `json:"parentLayer"` Index *int `json:"index,omitempty"` }
type AddMemberToTeamInput ¶
type AddMemberToTeamPayload ¶
type AddMemberToTeamPayload struct {
Team *Team `json:"team"`
}
type AddNLSInfoboxBlockInput ¶
type AddNLSInfoboxBlockPayload ¶
type AddNLSInfoboxBlockPayload struct { InfoboxBlock *InfoboxBlock `json:"infoboxBlock"` Layer NLSLayer `json:"layer"` }
type AddNLSLayerSimpleInput ¶
type AddNLSLayerSimplePayload ¶
type AddNLSLayerSimplePayload struct {
Layers *NLSLayerSimple `json:"layers"`
}
type AddPropertyItemInput ¶
type AddStyleInput ¶
type AddStylePayload ¶
type AddStylePayload struct {
Style *Style `json:"style"`
}
type AddWidgetInput ¶
type AddWidgetPayload ¶
type AddWidgetPayload struct { Scene *Scene `json:"scene"` SceneWidget *SceneWidget `json:"sceneWidget"` }
type Asset ¶
type AssetConnection ¶
type AssetSortType ¶
type AssetSortType string
const ( AssetSortTypeDate AssetSortType = "DATE" AssetSortTypeSize AssetSortType = "SIZE" AssetSortTypeName AssetSortType = "NAME" )
func (AssetSortType) IsValid ¶
func (e AssetSortType) IsValid() bool
func (AssetSortType) MarshalGQL ¶
func (e AssetSortType) MarshalGQL(w io.Writer)
func (AssetSortType) String ¶
func (e AssetSortType) String() string
func (*AssetSortType) UnmarshalGQL ¶
func (e *AssetSortType) UnmarshalGQL(v interface{}) error
type AttachTagItemToGroupPayload ¶
type AttachTagItemToGroupPayload struct {
Tag *TagGroup `json:"tag"`
}
type AttachTagToLayerInput ¶
type AttachTagToLayerPayload ¶
type AttachTagToLayerPayload struct {
Layer Layer `json:"layer"`
}
type Cluster ¶
type CreateAssetInput ¶
type CreateAssetPayload ¶
type CreateAssetPayload struct {
Asset *Asset `json:"asset"`
}
type CreateInfoboxInput ¶
type CreateInfoboxInput struct {
LayerID ID `json:"layerId"`
}
type CreateInfoboxPayload ¶
type CreateInfoboxPayload struct {
Layer Layer `json:"layer"`
}
type CreateNLSInfoboxInput ¶
type CreateNLSInfoboxInput struct {
LayerID ID `json:"layerId"`
}
type CreateNLSInfoboxPayload ¶
type CreateNLSInfoboxPayload struct {
Layer NLSLayer `json:"layer"`
}
type CreateProjectInput ¶
type CreateProjectInput struct { TeamID ID `json:"teamId"` Visualizer Visualizer `json:"visualizer"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` ImageURL *url.URL `json:"imageUrl,omitempty"` Alias *string `json:"alias,omitempty"` Archived *bool `json:"archived,omitempty"` CoreSupport *bool `json:"coreSupport,omitempty"` }
type CreateSceneInput ¶
type CreateSceneInput struct {
ProjectID ID `json:"projectId"`
}
type CreateScenePayload ¶
type CreateScenePayload struct {
Scene *Scene `json:"scene"`
}
type CreateStoryBlockInput ¶
type CreateStoryBlockPayload ¶
type CreateStoryBlockPayload struct { Block *StoryBlock `json:"block"` Page *StoryPage `json:"page"` Story *Story `json:"story"` Index int `json:"index"` }
type CreateStoryInput ¶
type CreateStoryPageInput ¶
type CreateStoryPageInput struct { SceneID ID `json:"sceneId"` StoryID ID `json:"storyId"` Title *string `json:"title,omitempty"` Swipeable *bool `json:"swipeable,omitempty"` Layers []ID `json:"layers,omitempty"` SwipeableLayers []ID `json:"swipeableLayers,omitempty"` Index *int `json:"index,omitempty"` }
type CreateTagGroupInput ¶
type CreateTagGroupPayload ¶
type CreateTagGroupPayload struct {
Tag *TagGroup `json:"tag"`
}
type CreateTagItemInput ¶
type CreateTagItemInput struct { SceneID ID `json:"sceneId"` Label string `json:"label"` Parent *ID `json:"parent,omitempty"` LinkedDatasetSchemaID *ID `json:"linkedDatasetSchemaID,omitempty"` LinkedDatasetID *ID `json:"linkedDatasetID,omitempty"` LinkedDatasetField *ID `json:"linkedDatasetField,omitempty"` }
type CreateTagItemPayload ¶
type CreateTeamInput ¶
type CreateTeamInput struct {
Name string `json:"name"`
}
type CreateTeamPayload ¶
type CreateTeamPayload struct {
Team *Team `json:"team"`
}
type Dataset ¶
type Dataset struct { ID ID `json:"id"` Source string `json:"source"` SchemaID ID `json:"schemaId"` Fields []*DatasetField `json:"fields"` Schema *DatasetSchema `json:"schema,omitempty"` Name *string `json:"name,omitempty"` }
func (*Dataset) Field ¶
func (d *Dataset) Field(id ID) *DatasetField
type DatasetConnection ¶
type DatasetConnection struct { Edges []*DatasetEdge `json:"edges"` Nodes []*Dataset `json:"nodes"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type DatasetEdge ¶
type DatasetField ¶
type DatasetField struct { FieldID ID `json:"fieldId"` SchemaID ID `json:"schemaId"` Source string `json:"source"` Type ValueType `json:"type"` Value interface{} `json:"value,omitempty"` Schema *DatasetSchema `json:"schema,omitempty"` Field *DatasetSchemaField `json:"field,omitempty"` ValueRef *Dataset `json:"valueRef,omitempty"` }
func ToDatasetField ¶
func ToDatasetField(f *dataset.Field, parent *dataset.Dataset) *DatasetField
type DatasetSchema ¶
type DatasetSchema struct { ID ID `json:"id"` Source string `json:"source"` Name string `json:"name"` SceneID ID `json:"sceneId"` Fields []*DatasetSchemaField `json:"fields"` TotalCount int `json:"totalCount"` RepresentativeFieldID *ID `json:"representativeFieldId,omitempty"` Dynamic *bool `json:"dynamic,omitempty"` Datasets *DatasetConnection `json:"datasets"` Scene *Scene `json:"scene,omitempty"` RepresentativeField *DatasetSchemaField `json:"representativeField,omitempty"` }
func ToDatasetSchema ¶
func ToDatasetSchema(ds *dataset.Schema) *DatasetSchema
func (*DatasetSchema) Field ¶
func (d *DatasetSchema) Field(id ID) *DatasetSchemaField
func (DatasetSchema) GetID ¶
func (this DatasetSchema) GetID() ID
func (DatasetSchema) IsNode ¶
func (DatasetSchema) IsNode()
type DatasetSchemaConnection ¶
type DatasetSchemaConnection struct { Edges []*DatasetSchemaEdge `json:"edges"` Nodes []*DatasetSchema `json:"nodes"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type DatasetSchemaEdge ¶
type DatasetSchemaEdge struct { Cursor usecasex.Cursor `json:"cursor"` Node *DatasetSchema `json:"node,omitempty"` }
type DatasetSchemaField ¶
type DatasetSchemaField struct { ID ID `json:"id"` Source string `json:"source"` Name string `json:"name"` Type ValueType `json:"type"` SchemaID ID `json:"schemaId"` RefID *ID `json:"refId,omitempty"` Schema *DatasetSchema `json:"schema,omitempty"` Ref *DatasetSchema `json:"ref,omitempty"` }
func (DatasetSchemaField) GetID ¶
func (this DatasetSchemaField) GetID() ID
func (DatasetSchemaField) IsNode ¶
func (DatasetSchemaField) IsNode()
type DeleteGeoJSONFeaturePayload ¶
type DeleteGeoJSONFeaturePayload struct {
DeletedFeatureID ID `json:"deletedFeatureId"`
}
type DeleteMeInput ¶
type DeleteMeInput struct {
UserID ID `json:"userId"`
}
type DeleteMePayload ¶
type DeleteMePayload struct {
UserID ID `json:"userId"`
}
type DeleteProjectInput ¶
type DeleteProjectInput struct {
ProjectID ID `json:"projectId"`
}
type DeleteProjectPayload ¶
type DeleteProjectPayload struct {
ProjectID ID `json:"projectId"`
}
type DeleteStoryInput ¶
type DeleteStoryPageInput ¶
type DeleteStoryPagePayload ¶
type DeleteStoryPayload ¶
type DeleteStoryPayload struct {
StoryID ID `json:"storyId"`
}
type DeleteTeamInput ¶
type DeleteTeamInput struct {
TeamID ID `json:"teamId"`
}
type DeleteTeamPayload ¶
type DeleteTeamPayload struct {
TeamID ID `json:"teamId"`
}
type DetachTagFromLayerInput ¶
type DetachTagFromLayerPayload ¶
type DetachTagFromLayerPayload struct {
Layer Layer `json:"layer"`
}
type DetachTagItemFromGroupPayload ¶
type DetachTagItemFromGroupPayload struct {
Tag *TagGroup `json:"tag"`
}
type DuplicateNLSLayerInput ¶
type DuplicateNLSLayerInput struct {
LayerID ID `json:"layerId"`
}
type DuplicateNLSLayerPayload ¶
type DuplicateNLSLayerPayload struct {
Layer NLSLayer `json:"layer"`
}
type DuplicateStoryPageInput ¶
type DuplicateStyleInput ¶
type DuplicateStyleInput struct {
StyleID ID `json:"styleId"`
}
type DuplicateStylePayload ¶
type DuplicateStylePayload struct {
Style *Style `json:"style"`
}
type FeatureCollection ¶
type GeometryCollection ¶
type GeometryCollection struct { Type string `json:"type"` Geometries []Geometry `json:"geometries"` }
func (GeometryCollection) IsGeometry ¶
func (GeometryCollection) IsGeometry()
type ID ¶
type ID string
func IDFromPluginID ¶
func IDFromPluginIDRef ¶
func IDFromPropertySchemaID ¶
func IDFromPropertySchemaID(i id.PropertySchemaID) ID
func IDFromPropertySchemaIDRef ¶
func IDFromPropertySchemaIDRef(i *id.PropertySchemaID) *ID
type ImportDatasetInput ¶
type ImportDatasetPayload ¶
type ImportDatasetPayload struct {
DatasetSchema *DatasetSchema `json:"datasetSchema"`
}
type ImportLayerInput ¶
type ImportLayerInput struct { LayerID ID `json:"layerId"` File graphql.Upload `json:"file"` Format LayerEncodingFormat `json:"format"` }
type ImportLayerPayload ¶
type ImportLayerPayload struct { Layers []Layer `json:"layers"` ParentLayer *LayerGroup `json:"parentLayer"` }
type Infobox ¶
type Infobox struct { SceneID ID `json:"sceneId"` LayerID ID `json:"layerId"` PropertyID ID `json:"propertyId"` Fields []*InfoboxField `json:"fields"` LinkedDatasetID *ID `json:"linkedDatasetId,omitempty"` Layer Layer `json:"layer"` Property *Property `json:"property,omitempty"` LinkedDataset *Dataset `json:"linkedDataset,omitempty"` Merged *MergedInfobox `json:"merged,omitempty"` Scene *Scene `json:"scene,omitempty"` }
func (*Infobox) Field ¶
func (d *Infobox) Field(id ID) *InfoboxField
type InfoboxBlock ¶
type InfoboxBlock struct { ID ID `json:"id"` SceneID ID `json:"sceneId"` LayerID ID `json:"layerId"` PropertyID ID `json:"propertyId"` Property *Property `json:"property,omitempty"` PluginID ID `json:"pluginId"` Plugin *Plugin `json:"plugin,omitempty"` ExtensionID ID `json:"extensionId"` Extension *PluginExtension `json:"extension,omitempty"` Scene *Scene `json:"scene,omitempty"` }
func ToInfoboxBlocks ¶
func ToInfoboxBlocks(bl []*nlslayer.InfoboxBlock, parentSceneID id.SceneID) []*InfoboxBlock
func ToNLSInfoboxBlock ¶
func ToNLSInfoboxBlock(ibf *nlslayer.InfoboxBlock, parentSceneID id.SceneID) *InfoboxBlock
type InfoboxField ¶
type InfoboxField struct { ID ID `json:"id"` SceneID ID `json:"sceneId"` LayerID ID `json:"layerId"` PropertyID ID `json:"propertyId"` PluginID ID `json:"pluginId"` ExtensionID ID `json:"extensionId"` LinkedDatasetID *ID `json:"linkedDatasetId,omitempty"` Layer Layer `json:"layer"` Infobox *Infobox `json:"infobox"` Property *Property `json:"property,omitempty"` Plugin *Plugin `json:"plugin,omitempty"` Extension *PluginExtension `json:"extension,omitempty"` LinkedDataset *Dataset `json:"linkedDataset,omitempty"` Merged *MergedInfoboxField `json:"merged,omitempty"` Scene *Scene `json:"scene,omitempty"` ScenePlugin *ScenePlugin `json:"scenePlugin,omitempty"` }
func ToInfoboxField ¶
func ToInfoboxField(ibf *layer.InfoboxField, parentSceneID id.SceneID, parentDatasetID *id.DatasetID) *InfoboxField
type InstallPluginInput ¶
type InstallPluginPayload ¶
type InstallPluginPayload struct { Scene *Scene `json:"scene"` ScenePlugin *ScenePlugin `json:"scenePlugin"` }
type JSON ¶
func UnmarshalJSON ¶
type LatLngHeight ¶
type Layer ¶
type Layer interface { IsLayer() GetID() ID GetSceneID() ID GetName() string GetIsVisible() bool GetPropertyID() *ID GetPluginID() *ID GetExtensionID() *ID GetInfobox() *Infobox GetParentID() *ID GetParent() *LayerGroup GetProperty() *Property GetPlugin() *Plugin GetExtension() *PluginExtension GetScenePlugin() *ScenePlugin GetTags() []LayerTag }
func AttachParentLayer ¶
type LayerEncodingFormat ¶
type LayerEncodingFormat string
const ( LayerEncodingFormatKml LayerEncodingFormat = "KML" LayerEncodingFormatCzml LayerEncodingFormat = "CZML" LayerEncodingFormatGeojson LayerEncodingFormat = "GEOJSON" LayerEncodingFormatShape LayerEncodingFormat = "SHAPE" LayerEncodingFormatReearth LayerEncodingFormat = "REEARTH" )
func (LayerEncodingFormat) IsValid ¶
func (e LayerEncodingFormat) IsValid() bool
func (LayerEncodingFormat) MarshalGQL ¶
func (e LayerEncodingFormat) MarshalGQL(w io.Writer)
func (LayerEncodingFormat) String ¶
func (e LayerEncodingFormat) String() string
func (*LayerEncodingFormat) UnmarshalGQL ¶
func (e *LayerEncodingFormat) UnmarshalGQL(v interface{}) error
type LayerGroup ¶
type LayerGroup struct { ID ID `json:"id"` SceneID ID `json:"sceneId"` Name string `json:"name"` IsVisible bool `json:"isVisible"` PropertyID *ID `json:"propertyId,omitempty"` PluginID *ID `json:"pluginId,omitempty"` ExtensionID *ID `json:"extensionId,omitempty"` Infobox *Infobox `json:"infobox,omitempty"` ParentID *ID `json:"parentId,omitempty"` LinkedDatasetSchemaID *ID `json:"linkedDatasetSchemaId,omitempty"` Root bool `json:"root"` LayerIds []ID `json:"layerIds"` Tags []LayerTag `json:"tags"` Parent *LayerGroup `json:"parent,omitempty"` Property *Property `json:"property,omitempty"` Plugin *Plugin `json:"plugin,omitempty"` Extension *PluginExtension `json:"extension,omitempty"` LinkedDatasetSchema *DatasetSchema `json:"linkedDatasetSchema,omitempty"` Layers []Layer `json:"layers"` Scene *Scene `json:"scene,omitempty"` ScenePlugin *ScenePlugin `json:"scenePlugin,omitempty"` }
func ToLayerGroup ¶
func ToLayerGroup(l *layer.Group, parent *id.LayerID) *LayerGroup
func (LayerGroup) GetExtension ¶
func (this LayerGroup) GetExtension() *PluginExtension
func (LayerGroup) GetExtensionID ¶
func (this LayerGroup) GetExtensionID() *ID
func (LayerGroup) GetID ¶
func (this LayerGroup) GetID() ID
func (LayerGroup) GetInfobox ¶
func (this LayerGroup) GetInfobox() *Infobox
func (LayerGroup) GetIsVisible ¶
func (this LayerGroup) GetIsVisible() bool
func (LayerGroup) GetName ¶
func (this LayerGroup) GetName() string
func (LayerGroup) GetParent ¶
func (this LayerGroup) GetParent() *LayerGroup
func (LayerGroup) GetParentID ¶
func (this LayerGroup) GetParentID() *ID
func (LayerGroup) GetPlugin ¶
func (this LayerGroup) GetPlugin() *Plugin
func (LayerGroup) GetPluginID ¶
func (this LayerGroup) GetPluginID() *ID
func (LayerGroup) GetProperty ¶
func (this LayerGroup) GetProperty() *Property
func (LayerGroup) GetPropertyID ¶
func (this LayerGroup) GetPropertyID() *ID
func (LayerGroup) GetSceneID ¶
func (this LayerGroup) GetSceneID() ID
func (LayerGroup) GetScenePlugin ¶
func (this LayerGroup) GetScenePlugin() *ScenePlugin
func (LayerGroup) GetTags ¶
func (this LayerGroup) GetTags() []LayerTag
func (LayerGroup) IsLayer ¶
func (LayerGroup) IsLayer()
func (LayerGroup) IsNode ¶
func (LayerGroup) IsNode()
type LayerItem ¶
type LayerItem struct { ID ID `json:"id"` SceneID ID `json:"sceneId"` Name string `json:"name"` IsVisible bool `json:"isVisible"` PropertyID *ID `json:"propertyId,omitempty"` PluginID *ID `json:"pluginId,omitempty"` ExtensionID *ID `json:"extensionId,omitempty"` Infobox *Infobox `json:"infobox,omitempty"` ParentID *ID `json:"parentId,omitempty"` LinkedDatasetID *ID `json:"linkedDatasetId,omitempty"` Tags []LayerTag `json:"tags"` Parent *LayerGroup `json:"parent,omitempty"` Property *Property `json:"property,omitempty"` Plugin *Plugin `json:"plugin,omitempty"` Extension *PluginExtension `json:"extension,omitempty"` LinkedDataset *Dataset `json:"linkedDataset,omitempty"` Merged *MergedLayer `json:"merged,omitempty"` Scene *Scene `json:"scene,omitempty"` ScenePlugin *ScenePlugin `json:"scenePlugin,omitempty"` }
func (LayerItem) GetExtension ¶
func (this LayerItem) GetExtension() *PluginExtension
func (LayerItem) GetExtensionID ¶
func (LayerItem) GetInfobox ¶
func (LayerItem) GetIsVisible ¶
func (LayerItem) GetParent ¶
func (this LayerItem) GetParent() *LayerGroup
func (LayerItem) GetParentID ¶
func (LayerItem) GetPluginID ¶
func (LayerItem) GetProperty ¶
func (LayerItem) GetPropertyID ¶
func (LayerItem) GetSceneID ¶
func (LayerItem) GetScenePlugin ¶
func (this LayerItem) GetScenePlugin() *ScenePlugin
type LayerTag ¶
func ToLayerTag ¶
type LayerTagGroup ¶
type LayerTagGroup struct { TagID ID `json:"tagId"` Children []*LayerTagItem `json:"children"` Tag Tag `json:"tag,omitempty"` }
func ToLayerTagGroup ¶
func ToLayerTagGroup(t *layer.TagGroup) *LayerTagGroup
func (LayerTagGroup) GetTag ¶
func (this LayerTagGroup) GetTag() Tag
func (LayerTagGroup) GetTagID ¶
func (this LayerTagGroup) GetTagID() ID
func (LayerTagGroup) IsLayerTag ¶
func (LayerTagGroup) IsLayerTag()
type LayerTagItem ¶
func ToLayerTagItem ¶
func ToLayerTagItem(t *layer.TagItem) *LayerTagItem
func (LayerTagItem) GetTag ¶
func (this LayerTagItem) GetTag() Tag
func (LayerTagItem) GetTagID ¶
func (this LayerTagItem) GetTagID() ID
func (LayerTagItem) IsLayerTag ¶
func (LayerTagItem) IsLayerTag()
type LineString ¶
type LineString struct { Type string `json:"type"` LineStringCoordinates [][]float64 `json:"lineStringCoordinates"` }
func (LineString) IsGeometry ¶
func (LineString) IsGeometry()
type LinkDatasetToPropertyValueInput ¶
type LinkDatasetToPropertyValueInput struct { PropertyID ID `json:"propertyId"` SchemaGroupID *ID `json:"schemaGroupId,omitempty"` ItemID *ID `json:"itemId,omitempty"` FieldID ID `json:"fieldId"` DatasetSchemaIds []ID `json:"datasetSchemaIds"` DatasetSchemaFieldIds []ID `json:"datasetSchemaFieldIds"` DatasetIds []ID `json:"datasetIds,omitempty"` }
type ListOperation ¶
type ListOperation string
const ( ListOperationAdd ListOperation = "ADD" ListOperationMove ListOperation = "MOVE" ListOperationRemove ListOperation = "REMOVE" )
func (ListOperation) IsValid ¶
func (e ListOperation) IsValid() bool
func (ListOperation) MarshalGQL ¶
func (e ListOperation) MarshalGQL(w io.Writer)
func (ListOperation) String ¶
func (e ListOperation) String() string
func (*ListOperation) UnmarshalGQL ¶
func (e *ListOperation) UnmarshalGQL(v interface{}) error
type Me ¶
type MergedInfobox ¶
type MergedInfobox struct { SceneID ID `json:"sceneID"` Property *MergedProperty `json:"property,omitempty"` Fields []*MergedInfoboxField `json:"fields"` Scene *Scene `json:"scene,omitempty"` }
func ToMergedInfobox ¶
func ToMergedInfobox(ib *layer.MergedInfobox, sceneID id.SceneID) *MergedInfobox
func (*MergedInfobox) Field ¶
func (d *MergedInfobox) Field(id ID) *MergedInfoboxField
type MergedInfoboxField ¶
type MergedInfoboxField struct { OriginalID ID `json:"originalId"` SceneID ID `json:"sceneID"` PluginID ID `json:"pluginId"` ExtensionID ID `json:"extensionId"` Property *MergedProperty `json:"property,omitempty"` Plugin *Plugin `json:"plugin,omitempty"` Extension *PluginExtension `json:"extension,omitempty"` Scene *Scene `json:"scene,omitempty"` ScenePlugin *ScenePlugin `json:"scenePlugin,omitempty"` }
func ToMergedInfoboxField ¶
func ToMergedInfoboxField(ibf *layer.MergedInfoboxField, sceneID id.SceneID) *MergedInfoboxField
type MergedLayer ¶
type MergedLayer struct { OriginalID ID `json:"originalId"` ParentID *ID `json:"parentId,omitempty"` SceneID ID `json:"sceneID"` Property *MergedProperty `json:"property,omitempty"` Infobox *MergedInfobox `json:"infobox,omitempty"` Original *LayerItem `json:"original,omitempty"` Parent *LayerGroup `json:"parent,omitempty"` Scene *Scene `json:"scene,omitempty"` }
func ToMergedLayer ¶
func ToMergedLayer(layer *layer.Merged) *MergedLayer
type MergedProperty ¶
type MergedProperty struct { OriginalID *ID `json:"originalId,omitempty"` ParentID *ID `json:"parentId,omitempty"` SchemaID *ID `json:"schemaId,omitempty"` LinkedDatasetID *ID `json:"linkedDatasetId,omitempty"` Original *Property `json:"original,omitempty"` Parent *Property `json:"parent,omitempty"` Schema *PropertySchema `json:"schema,omitempty"` LinkedDataset *Dataset `json:"linkedDataset,omitempty"` Groups []*MergedPropertyGroup `json:"groups"` }
func ToMergedProperty ¶
func ToMergedProperty(m *property.Merged) *MergedProperty
func ToMergedPropertyFromMetadata ¶
func ToMergedPropertyFromMetadata(m *property.MergedMetadata) *MergedProperty
func (*MergedProperty) GroupByOriginal ¶
func (d *MergedProperty) GroupByOriginal(id ID) *MergedPropertyGroup
func (*MergedProperty) GroupByParent ¶
func (d *MergedProperty) GroupByParent(id ID) *MergedPropertyGroup
func (*MergedProperty) PropertyID ¶
func (d *MergedProperty) PropertyID() *ID
type MergedPropertyField ¶
type MergedPropertyField struct { SchemaID ID `json:"schemaId"` FieldID ID `json:"fieldId"` Value interface{} `json:"value,omitempty"` Type ValueType `json:"type"` Links []*PropertyFieldLink `json:"links,omitempty"` Overridden bool `json:"overridden"` Schema *PropertySchema `json:"schema,omitempty"` Field *PropertySchemaField `json:"field,omitempty"` ActualValue interface{} `json:"actualValue,omitempty"` }
func ToMergedPropertyField ¶
func ToMergedPropertyField(f *property.MergedField, s id.PropertySchemaID) *MergedPropertyField
type MergedPropertyGroup ¶
type MergedPropertyGroup struct { OriginalPropertyID *ID `json:"originalPropertyId,omitempty"` ParentPropertyID *ID `json:"parentPropertyId,omitempty"` OriginalID *ID `json:"originalId,omitempty"` ParentID *ID `json:"parentId,omitempty"` SchemaGroupID ID `json:"schemaGroupId"` SchemaID *ID `json:"schemaId,omitempty"` LinkedDatasetID *ID `json:"linkedDatasetId,omitempty"` Fields []*MergedPropertyField `json:"fields"` Groups []*MergedPropertyGroup `json:"groups"` OriginalProperty *Property `json:"originalProperty,omitempty"` ParentProperty *Property `json:"parentProperty,omitempty"` Original *PropertyGroup `json:"original,omitempty"` Parent *PropertyGroup `json:"parent,omitempty"` Schema *PropertySchema `json:"schema,omitempty"` LinkedDataset *Dataset `json:"linkedDataset,omitempty"` }
func ToMergedPropertyGroup ¶
func ToMergedPropertyGroup(f *property.MergedGroup, p *property.Merged) *MergedPropertyGroup
func (*MergedPropertyGroup) GroupByOriginal ¶
func (d *MergedPropertyGroup) GroupByOriginal(id ID) *MergedPropertyGroup
func (*MergedPropertyGroup) GroupByParent ¶
func (d *MergedPropertyGroup) GroupByParent(id ID) *MergedPropertyGroup
func (*MergedPropertyGroup) PropertyID ¶
func (d *MergedPropertyGroup) PropertyID() *ID
type MoveInfoboxFieldInput ¶
type MoveInfoboxFieldPayload ¶
type MoveLayerInput ¶
type MoveLayerPayload ¶
type MoveLayerPayload struct { LayerID ID `json:"layerId"` FromParentLayer *LayerGroup `json:"fromParentLayer"` ToParentLayer *LayerGroup `json:"toParentLayer"` Index int `json:"index"` }
type MovePropertyItemInput ¶
type MoveStoryBlockInput ¶
type MoveStoryBlockPayload ¶
type MoveStoryInput ¶
type MoveStoryPageInput ¶
type MoveStoryPagePayload ¶
type MoveStoryPayload ¶
type MultiPolygon ¶
type MultiPolygon struct { Type string `json:"type"` MultiPolygonCoordinates [][][][]float64 `json:"multiPolygonCoordinates"` }
func (MultiPolygon) IsGeometry ¶
func (MultiPolygon) IsGeometry()
type NLSInfobox ¶
type NLSInfobox struct { ID ID `json:"id"` SceneID ID `json:"sceneId"` LayerID ID `json:"layerId"` PropertyID ID `json:"propertyId"` Blocks []*InfoboxBlock `json:"blocks"` Property *Property `json:"property,omitempty"` Scene *Scene `json:"scene,omitempty"` }
func ToNLSInfobox ¶
func ToNLSInfobox(ib *nlslayer.Infobox, parent id.NLSLayerID, parentSceneID id.SceneID) *NLSInfobox
func (*NLSInfobox) Block ¶
func (d *NLSInfobox) Block(id ID) *InfoboxBlock
type NLSLayer ¶
type NLSLayer interface { IsNLSLayer() GetID() ID GetLayerType() string GetSceneID() ID GetConfig() JSON GetTitle() string GetVisible() bool GetInfobox() *NLSInfobox GetIsSketch() bool GetSketch() *SketchInfo }
func ToNLSLayer ¶
func ToNLSLayer(l nlslayer.NLSLayer, parent *id.NLSLayerID) NLSLayer
func ToNLSLayers ¶
func ToNLSLayers(layers nlslayer.NLSLayerList, parent *id.NLSLayerID) []NLSLayer
type NLSLayerGroup ¶
type NLSLayerGroup struct { ID ID `json:"id"` LayerType string `json:"layerType"` SceneID ID `json:"sceneId"` Children []NLSLayer `json:"children"` ChildrenIds []ID `json:"childrenIds"` Config JSON `json:"config,omitempty"` Title string `json:"title"` Visible bool `json:"visible"` Infobox *NLSInfobox `json:"infobox,omitempty"` Scene *Scene `json:"scene,omitempty"` IsSketch bool `json:"isSketch"` Sketch *SketchInfo `json:"sketch,omitempty"` }
func ToNLSLayerGroup ¶
func ToNLSLayerGroup(l *nlslayer.NLSLayerGroup, parent *id.NLSLayerID) *NLSLayerGroup
func (NLSLayerGroup) GetConfig ¶
func (this NLSLayerGroup) GetConfig() JSON
func (NLSLayerGroup) GetID ¶
func (this NLSLayerGroup) GetID() ID
func (NLSLayerGroup) GetInfobox ¶
func (this NLSLayerGroup) GetInfobox() *NLSInfobox
func (NLSLayerGroup) GetIsSketch ¶
func (this NLSLayerGroup) GetIsSketch() bool
func (NLSLayerGroup) GetLayerType ¶
func (this NLSLayerGroup) GetLayerType() string
func (NLSLayerGroup) GetSceneID ¶
func (this NLSLayerGroup) GetSceneID() ID
func (NLSLayerGroup) GetSketch ¶
func (this NLSLayerGroup) GetSketch() *SketchInfo
func (NLSLayerGroup) GetTitle ¶
func (this NLSLayerGroup) GetTitle() string
func (NLSLayerGroup) GetVisible ¶
func (this NLSLayerGroup) GetVisible() bool
func (NLSLayerGroup) IsNLSLayer ¶
func (NLSLayerGroup) IsNLSLayer()
type NLSLayerSimple ¶
type NLSLayerSimple struct { ID ID `json:"id"` LayerType string `json:"layerType"` SceneID ID `json:"sceneId"` Config JSON `json:"config,omitempty"` Title string `json:"title"` Visible bool `json:"visible"` Infobox *NLSInfobox `json:"infobox,omitempty"` Scene *Scene `json:"scene,omitempty"` IsSketch bool `json:"isSketch"` Sketch *SketchInfo `json:"sketch,omitempty"` }
func ToNLSLayerSimple ¶
func ToNLSLayerSimple(l *nlslayer.NLSLayerSimple) *NLSLayerSimple
func (NLSLayerSimple) GetConfig ¶
func (this NLSLayerSimple) GetConfig() JSON
func (NLSLayerSimple) GetID ¶
func (this NLSLayerSimple) GetID() ID
func (NLSLayerSimple) GetInfobox ¶
func (this NLSLayerSimple) GetInfobox() *NLSInfobox
func (NLSLayerSimple) GetIsSketch ¶
func (this NLSLayerSimple) GetIsSketch() bool
func (NLSLayerSimple) GetLayerType ¶
func (this NLSLayerSimple) GetLayerType() string
func (NLSLayerSimple) GetSceneID ¶
func (this NLSLayerSimple) GetSceneID() ID
func (NLSLayerSimple) GetSketch ¶
func (this NLSLayerSimple) GetSketch() *SketchInfo
func (NLSLayerSimple) GetTitle ¶
func (this NLSLayerSimple) GetTitle() string
func (NLSLayerSimple) GetVisible ¶
func (this NLSLayerSimple) GetVisible() bool
func (NLSLayerSimple) IsNLSLayer ¶
func (NLSLayerSimple) IsNLSLayer()
type NodeType ¶
type NodeType string
const ( NodeTypeAsset NodeType = "ASSET" NodeTypeUser NodeType = "USER" NodeTypeTeam NodeType = "TEAM" NodeTypeProject NodeType = "PROJECT" NodeTypePlugin NodeType = "PLUGIN" NodeTypeScene NodeType = "SCENE" NodeTypePropertySchema NodeType = "PROPERTY_SCHEMA" NodeTypeProperty NodeType = "PROPERTY" NodeTypeDatasetSchema NodeType = "DATASET_SCHEMA" NodeTypeDataset NodeType = "DATASET" NodeTypeLayerGroup NodeType = "LAYER_GROUP" NodeTypeLayerItem NodeType = "LAYER_ITEM" )
func (NodeType) MarshalGQL ¶
func (*NodeType) UnmarshalGQL ¶
type PageInfo ¶
type PageInfo struct { StartCursor *usecasex.Cursor `json:"startCursor,omitempty"` EndCursor *usecasex.Cursor `json:"endCursor,omitempty"` HasNextPage bool `json:"hasNextPage"` HasPreviousPage bool `json:"hasPreviousPage"` }
func NewEmptyPageInfo ¶
func NewEmptyPageInfo() *PageInfo
func ToPageInfo ¶
type PageLayerInput ¶
type Pagination ¶
type Plugin ¶
type Plugin struct { ID ID `json:"id"` SceneID *ID `json:"sceneId,omitempty"` Name string `json:"name"` Version string `json:"version"` Description string `json:"description"` Author string `json:"author"` RepositoryURL string `json:"repositoryUrl"` PropertySchemaID *ID `json:"propertySchemaId,omitempty"` Extensions []*PluginExtension `json:"extensions"` ScenePlugin *ScenePlugin `json:"scenePlugin,omitempty"` AllTranslatedDescription map[string]string `json:"allTranslatedDescription,omitempty"` AllTranslatedName map[string]string `json:"allTranslatedName,omitempty"` Scene *Scene `json:"scene,omitempty"` TranslatedName string `json:"translatedName"` TranslatedDescription string `json:"translatedDescription"` PropertySchema *PropertySchema `json:"propertySchema,omitempty"` }
func (*Plugin) Extension ¶
func (d *Plugin) Extension(id ID) *PluginExtension
type PluginExtension ¶
type PluginExtension struct { ExtensionID ID `json:"extensionId"` PluginID ID `json:"pluginId"` Type PluginExtensionType `json:"type"` Name string `json:"name"` Description string `json:"description"` Icon string `json:"icon"` SingleOnly *bool `json:"singleOnly,omitempty"` WidgetLayout *WidgetLayout `json:"widgetLayout,omitempty"` Visualizer *Visualizer `json:"visualizer,omitempty"` PropertySchemaID ID `json:"propertySchemaId"` AllTranslatedName map[string]string `json:"allTranslatedName,omitempty"` AllTranslatedDescription map[string]string `json:"allTranslatedDescription,omitempty"` Plugin *Plugin `json:"plugin,omitempty"` SceneWidget *SceneWidget `json:"sceneWidget,omitempty"` PropertySchema *PropertySchema `json:"propertySchema,omitempty"` TranslatedName string `json:"translatedName"` TranslatedDescription string `json:"translatedDescription"` }
type PluginExtensionType ¶
type PluginExtensionType string
const ( PluginExtensionTypePrimitive PluginExtensionType = "PRIMITIVE" PluginExtensionTypeWidget PluginExtensionType = "WIDGET" PluginExtensionTypeBlock PluginExtensionType = "BLOCK" PluginExtensionTypeVisualizer PluginExtensionType = "VISUALIZER" PluginExtensionTypeInfobox PluginExtensionType = "INFOBOX" PluginExtensionTypeCluster PluginExtensionType = "Cluster" PluginExtensionTypeStory PluginExtensionType = "Story" PluginExtensionTypeStoryPage PluginExtensionType = "StoryPage" PluginExtensionTypeStoryBlock PluginExtensionType = "StoryBlock" PluginExtensionTypeInfoboxBlock PluginExtensionType = "InfoboxBlock" )
func ToPluginExtensionType ¶
func ToPluginExtensionType(t plugin.ExtensionType) PluginExtensionType
func (PluginExtensionType) IsValid ¶
func (e PluginExtensionType) IsValid() bool
func (PluginExtensionType) MarshalGQL ¶
func (e PluginExtensionType) MarshalGQL(w io.Writer)
func (PluginExtensionType) String ¶
func (e PluginExtensionType) String() string
func (*PluginExtensionType) UnmarshalGQL ¶
func (e *PluginExtensionType) UnmarshalGQL(v interface{}) error
type Point ¶
type Point struct { Type string `json:"type"` PointCoordinates []float64 `json:"pointCoordinates"` }
func (Point) IsGeometry ¶
func (Point) IsGeometry()
type Policy ¶
type Policy struct { ID ID `json:"id"` Name string `json:"name"` ProjectCount *int `json:"projectCount,omitempty"` MemberCount *int `json:"memberCount,omitempty"` PublishedProjectCount *int `json:"publishedProjectCount,omitempty"` LayerCount *int `json:"layerCount,omitempty"` AssetStorageSize *int64 `json:"assetStorageSize,omitempty"` DatasetSchemaCount *int `json:"datasetSchemaCount,omitempty"` DatasetCount *int `json:"datasetCount,omitempty"` }
type Polygon ¶
type Polygon struct { Type string `json:"type"` PolygonCoordinates [][][]float64 `json:"polygonCoordinates"` }
func (Polygon) IsGeometry ¶
func (Polygon) IsGeometry()
type Position ¶
type Position string
func ToStoryPosition ¶
func ToStoryPosition(v storytelling.Position) Position
func (Position) MarshalGQL ¶
func (*Position) UnmarshalGQL ¶
type Project ¶
type Project struct { ID ID `json:"id"` IsArchived bool `json:"isArchived"` IsBasicAuthActive bool `json:"isBasicAuthActive"` BasicAuthUsername string `json:"basicAuthUsername"` BasicAuthPassword string `json:"basicAuthPassword"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` PublishedAt *time.Time `json:"publishedAt,omitempty"` Name string `json:"name"` Description string `json:"description"` Alias string `json:"alias"` PublicTitle string `json:"publicTitle"` PublicDescription string `json:"publicDescription"` PublicImage string `json:"publicImage"` PublicNoIndex bool `json:"publicNoIndex"` ImageURL *url.URL `json:"imageUrl,omitempty"` TeamID ID `json:"teamId"` Visualizer Visualizer `json:"visualizer"` PublishmentStatus PublishmentStatus `json:"publishmentStatus"` Team *Team `json:"team,omitempty"` Scene *Scene `json:"scene,omitempty"` CoreSupport bool `json:"coreSupport"` EnableGa bool `json:"enableGa"` TrackingID string `json:"trackingId"` }
type ProjectConnection ¶
type ProjectConnection struct { Edges []*ProjectEdge `json:"edges"` Nodes []*Project `json:"nodes"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type ProjectEdge ¶
type ProjectPayload ¶
type ProjectPayload struct {
Project *Project `json:"project"`
}
type Property ¶
type Property struct { ID ID `json:"id"` SchemaID ID `json:"schemaId"` Items []PropertyItem `json:"items"` Schema *PropertySchema `json:"schema,omitempty"` Layer Layer `json:"layer,omitempty"` Merged *MergedProperty `json:"merged,omitempty"` }
func ToProperty ¶
func (*Property) Field ¶
func (d *Property) Field(id id.PropertyFieldID) *PropertyField
func (*Property) Item ¶
func (d *Property) Item(id ID) PropertyItem
type PropertyCondition ¶
type PropertyCondition struct { FieldID ID `json:"fieldId"` Type ValueType `json:"type"` Value interface{} `json:"value,omitempty"` }
func ToPropertyConditon ¶
func ToPropertyConditon(c *property.Condition) *PropertyCondition
type PropertyField ¶
type PropertyField struct { ID string `json:"id"` ParentID ID `json:"parentId"` SchemaID ID `json:"schemaId"` FieldID ID `json:"fieldId"` Links []*PropertyFieldLink `json:"links,omitempty"` Type ValueType `json:"type"` Value interface{} `json:"value,omitempty"` Parent *Property `json:"parent,omitempty"` Schema *PropertySchema `json:"schema,omitempty"` Field *PropertySchemaField `json:"field,omitempty"` ActualValue interface{} `json:"actualValue,omitempty"` }
type PropertyFieldLink ¶
type PropertyFieldLink struct { DatasetID *ID `json:"datasetId,omitempty"` DatasetSchemaID ID `json:"datasetSchemaId"` DatasetSchemaFieldID ID `json:"datasetSchemaFieldId"` Dataset *Dataset `json:"dataset,omitempty"` DatasetField *DatasetField `json:"datasetField,omitempty"` DatasetSchema *DatasetSchema `json:"datasetSchema,omitempty"` DatasetSchemaField *DatasetSchemaField `json:"datasetSchemaField,omitempty"` }
func ToPropertyFieldLink ¶
func ToPropertyFieldLink(link *property.Link) *PropertyFieldLink
func ToPropertyFieldLinks ¶
func ToPropertyFieldLinks(flinks *property.Links) []*PropertyFieldLink
func (*PropertyFieldLink) Copy ¶
func (l *PropertyFieldLink) Copy() *PropertyFieldLink
type PropertyFieldPayload ¶
type PropertyFieldPayload struct { Property *Property `json:"property"` PropertyField *PropertyField `json:"propertyField,omitempty"` }
type PropertyGroup ¶
type PropertyGroup struct { ID ID `json:"id"` SchemaID ID `json:"schemaId"` SchemaGroupID ID `json:"schemaGroupId"` Fields []*PropertyField `json:"fields"` Schema *PropertySchema `json:"schema,omitempty"` SchemaGroup *PropertySchemaGroup `json:"schemaGroup,omitempty"` }
func ToPropertyGroup ¶
func (*PropertyGroup) Field ¶
func (d *PropertyGroup) Field(id ID) *PropertyField
func (PropertyGroup) IsPropertyItem ¶
func (PropertyGroup) IsPropertyItem()
type PropertyGroupList ¶
type PropertyGroupList struct { ID ID `json:"id"` SchemaID ID `json:"schemaId"` SchemaGroupID ID `json:"schemaGroupId"` Groups []*PropertyGroup `json:"groups"` Schema *PropertySchema `json:"schema,omitempty"` SchemaGroup *PropertySchemaGroup `json:"schemaGroup,omitempty"` }
func ToPropertyGroupList ¶
func ToPropertyGroupList(gl *property.GroupList, p *property.Property) *PropertyGroupList
func (*PropertyGroupList) Group ¶
func (d *PropertyGroupList) Group(id ID) *PropertyGroup
func (PropertyGroupList) IsPropertyItem ¶
func (PropertyGroupList) IsPropertyItem()
type PropertyItemPayload ¶
type PropertyItemPayload struct { Property *Property `json:"property"` PropertyItem PropertyItem `json:"propertyItem,omitempty"` }
type PropertyLinkableFields ¶
type PropertyLinkableFields struct { SchemaID ID `json:"schemaId"` Latlng *ID `json:"latlng,omitempty"` URL *ID `json:"url,omitempty"` LatlngField *PropertySchemaField `json:"latlngField,omitempty"` URLField *PropertySchemaField `json:"urlField,omitempty"` Schema *PropertySchema `json:"schema,omitempty"` }
func ToPropertyLinkableFields ¶
func ToPropertyLinkableFields(sid id.PropertySchemaID, l property.LinkableFields) *PropertyLinkableFields
type PropertySchema ¶
type PropertySchema struct { ID ID `json:"id"` Groups []*PropertySchemaGroup `json:"groups"` LinkableFields *PropertyLinkableFields `json:"linkableFields"` }
func ToPropertySchema ¶
func ToPropertySchema(propertySchema *property.Schema) *PropertySchema
func (*PropertySchema) Field ¶
func (d *PropertySchema) Field(id ID) *PropertySchemaField
func (*PropertySchema) Group ¶
func (d *PropertySchema) Group(id ID) *PropertySchemaGroup
type PropertySchemaField ¶
type PropertySchemaField struct { FieldID ID `json:"fieldId"` Type ValueType `json:"type"` Title string `json:"title"` Description string `json:"description"` Prefix *string `json:"prefix,omitempty"` Suffix *string `json:"suffix,omitempty"` DefaultValue interface{} `json:"defaultValue,omitempty"` UI *PropertySchemaFieldUI `json:"ui,omitempty"` Min *float64 `json:"min,omitempty"` Max *float64 `json:"max,omitempty"` Choices []*PropertySchemaFieldChoice `json:"choices,omitempty"` IsAvailableIf *PropertyCondition `json:"isAvailableIf,omitempty"` AllTranslatedTitle map[string]string `json:"allTranslatedTitle,omitempty"` AllTranslatedDescription map[string]string `json:"allTranslatedDescription,omitempty"` TranslatedTitle string `json:"translatedTitle"` TranslatedDescription string `json:"translatedDescription"` }
func ToPropertySchemaField ¶
func ToPropertySchemaField(f *property.SchemaField) *PropertySchemaField
type PropertySchemaFieldUI ¶
type PropertySchemaFieldUI string
const ( PropertySchemaFieldUILayer PropertySchemaFieldUI = "LAYER" PropertySchemaFieldUIMultiline PropertySchemaFieldUI = "MULTILINE" PropertySchemaFieldUISelection PropertySchemaFieldUI = "SELECTION" PropertySchemaFieldUIColor PropertySchemaFieldUI = "COLOR" PropertySchemaFieldUIRange PropertySchemaFieldUI = "RANGE" PropertySchemaFieldUISlider PropertySchemaFieldUI = "SLIDER" PropertySchemaFieldUIImage PropertySchemaFieldUI = "IMAGE" PropertySchemaFieldUIVideo PropertySchemaFieldUI = "VIDEO" PropertySchemaFieldUIFile PropertySchemaFieldUI = "FILE" PropertySchemaFieldUICameraPose PropertySchemaFieldUI = "CAMERA_POSE" PropertySchemaFieldUIDatetime PropertySchemaFieldUI = "DATETIME" PropertySchemaFieldUIMargin PropertySchemaFieldUI = "MARGIN" PropertySchemaFieldUIPadding PropertySchemaFieldUI = "PADDING" )
func ToPropertySchemaFieldUI ¶
func ToPropertySchemaFieldUI(ui *property.SchemaFieldUI) *PropertySchemaFieldUI
func (PropertySchemaFieldUI) IsValid ¶
func (e PropertySchemaFieldUI) IsValid() bool
func (PropertySchemaFieldUI) MarshalGQL ¶
func (e PropertySchemaFieldUI) MarshalGQL(w io.Writer)
func (PropertySchemaFieldUI) String ¶
func (e PropertySchemaFieldUI) String() string
func (*PropertySchemaFieldUI) UnmarshalGQL ¶
func (e *PropertySchemaFieldUI) UnmarshalGQL(v interface{}) error
type PropertySchemaGroup ¶
type PropertySchemaGroup struct { SchemaGroupID ID `json:"schemaGroupId"` SchemaID ID `json:"schemaId"` Fields []*PropertySchemaField `json:"fields"` Collection *string `json:"collection,omitempty"` IsList bool `json:"isList"` IsAvailableIf *PropertyCondition `json:"isAvailableIf,omitempty"` Title *string `json:"title,omitempty"` AllTranslatedTitle map[string]string `json:"allTranslatedTitle,omitempty"` RepresentativeFieldID *ID `json:"representativeFieldId,omitempty"` RepresentativeField *PropertySchemaField `json:"representativeField,omitempty"` Schema *PropertySchema `json:"schema,omitempty"` TranslatedTitle string `json:"translatedTitle"` }
func ToPropertySchemaGroup ¶
func ToPropertySchemaGroup(g *property.SchemaGroup, s property.SchemaID) *PropertySchemaGroup
type PublishProjectInput ¶
type PublishProjectInput struct { ProjectID ID `json:"projectId"` Alias *string `json:"alias,omitempty"` Status PublishmentStatus `json:"status"` }
type PublishStoryInput ¶
type PublishStoryInput struct { StoryID ID `json:"storyId"` Alias *string `json:"alias,omitempty"` Status PublishmentStatus `json:"status"` }
type PublishmentStatus ¶
type PublishmentStatus string
const ( PublishmentStatusPublic PublishmentStatus = "PUBLIC" PublishmentStatusLimited PublishmentStatus = "LIMITED" PublishmentStatusPrivate PublishmentStatus = "PRIVATE" )
func ToPublishmentStatus ¶
func ToPublishmentStatus(v project.PublishmentStatus) PublishmentStatus
func ToStoryPublishmentStatus ¶
func ToStoryPublishmentStatus(v storytelling.PublishmentStatus) PublishmentStatus
func (PublishmentStatus) IsValid ¶
func (e PublishmentStatus) IsValid() bool
func (PublishmentStatus) MarshalGQL ¶
func (e PublishmentStatus) MarshalGQL(w io.Writer)
func (PublishmentStatus) String ¶
func (e PublishmentStatus) String() string
func (*PublishmentStatus) UnmarshalGQL ¶
func (e *PublishmentStatus) UnmarshalGQL(v interface{}) error
type RemoveAssetInput ¶
type RemoveAssetInput struct {
AssetID ID `json:"assetId"`
}
type RemoveAssetPayload ¶
type RemoveAssetPayload struct {
AssetID ID `json:"assetId"`
}
type RemoveClusterInput ¶
type RemoveClusterPayload ¶
type RemoveDatasetSchemaPayload ¶
type RemoveDatasetSchemaPayload struct {
SchemaID ID `json:"schemaId"`
}
type RemoveInfoboxFieldInput ¶
type RemoveInfoboxInput ¶
type RemoveInfoboxInput struct {
LayerID ID `json:"layerId"`
}
type RemoveInfoboxPayload ¶
type RemoveInfoboxPayload struct {
Layer Layer `json:"layer"`
}
type RemoveLayerInput ¶
type RemoveLayerInput struct {
LayerID ID `json:"layerId"`
}
type RemoveLayerPayload ¶
type RemoveLayerPayload struct { LayerID ID `json:"layerId"` ParentLayer *LayerGroup `json:"parentLayer"` }
type RemoveMemberFromTeamPayload ¶
type RemoveMemberFromTeamPayload struct {
Team *Team `json:"team"`
}
type RemoveMyAuthInput ¶
type RemoveMyAuthInput struct {
Auth string `json:"auth"`
}
type RemoveNLSInfoboxInput ¶
type RemoveNLSInfoboxInput struct {
LayerID ID `json:"layerId"`
}
type RemoveNLSInfoboxPayload ¶
type RemoveNLSInfoboxPayload struct {
Layer NLSLayer `json:"layer"`
}
type RemoveNLSLayerInput ¶
type RemoveNLSLayerInput struct {
LayerID ID `json:"layerId"`
}
type RemoveNLSLayerPayload ¶
type RemoveNLSLayerPayload struct {
LayerID ID `json:"layerId"`
}
type RemovePropertyItemInput ¶
type RemoveStoryBlockInput ¶
type RemoveStoryBlockPayload ¶
type RemoveStyleInput ¶
type RemoveStyleInput struct {
StyleID ID `json:"styleId"`
}
type RemoveStylePayload ¶
type RemoveStylePayload struct {
StyleID ID `json:"styleId"`
}
type RemoveTagInput ¶
type RemoveTagInput struct {
TagID ID `json:"tagID"`
}
type RemoveTagPayload ¶
type RemoveWidgetInput ¶
type RemoveWidgetPayload ¶
type Scene ¶
type Scene struct { ID ID `json:"id"` ProjectID ID `json:"projectId"` TeamID ID `json:"teamId"` PropertyID ID `json:"propertyId"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` RootLayerID ID `json:"rootLayerId"` Widgets []*SceneWidget `json:"widgets"` Plugins []*ScenePlugin `json:"plugins"` WidgetAlignSystem *WidgetAlignSystem `json:"widgetAlignSystem,omitempty"` Project *Project `json:"project,omitempty"` Team *Team `json:"team,omitempty"` Property *Property `json:"property,omitempty"` RootLayer *LayerGroup `json:"rootLayer,omitempty"` NewLayers []NLSLayer `json:"newLayers"` Stories []*Story `json:"stories"` Styles []*Style `json:"styles"` DatasetSchemas *DatasetSchemaConnection `json:"datasetSchemas"` TagIds []ID `json:"tagIds"` Tags []Tag `json:"tags"` Clusters []*Cluster `json:"clusters"` }
func (*Scene) Plugin ¶
func (s *Scene) Plugin(pluginID ID) *ScenePlugin
func (*Scene) Widget ¶
func (s *Scene) Widget(pluginID, extensionID ID) *SceneWidget
type ScenePlugin ¶
type ScenePlugin struct { PluginID ID `json:"pluginId"` PropertyID *ID `json:"propertyId,omitempty"` Plugin *Plugin `json:"plugin,omitempty"` Property *Property `json:"property,omitempty"` }
func ToScenePlugin ¶
func ToScenePlugin(sp *scene.Plugin) *ScenePlugin
type SceneWidget ¶
type SceneWidget struct { ID ID `json:"id"` PluginID ID `json:"pluginId"` ExtensionID ID `json:"extensionId"` PropertyID ID `json:"propertyId"` Enabled bool `json:"enabled"` Extended bool `json:"extended"` Plugin *Plugin `json:"plugin,omitempty"` Extension *PluginExtension `json:"extension,omitempty"` Property *Property `json:"property,omitempty"` }
func ToSceneWidget ¶
func ToSceneWidget(w *scene.Widget) *SceneWidget
type SignupInput ¶
type SignupPayload ¶
type SketchInfo ¶
type SketchInfo struct { CustomPropertySchema JSON `json:"customPropertySchema,omitempty"` FeatureCollection *FeatureCollection `json:"featureCollection,omitempty"` }
func ToNLSLayerSketchInfo ¶
func ToNLSLayerSketchInfo(si *nlslayer.SketchInfo) *SketchInfo
type Story ¶
type Story struct { ID ID `json:"id"` Title string `json:"title"` Alias string `json:"alias"` PropertyID ID `json:"propertyId"` Property *Property `json:"property,omitempty"` Pages []*StoryPage `json:"pages"` PublishmentStatus PublishmentStatus `json:"publishmentStatus"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` PublishedAt *time.Time `json:"publishedAt,omitempty"` SceneID ID `json:"sceneId"` Scene *Scene `json:"scene,omitempty"` PanelPosition Position `json:"panelPosition"` BgColor *string `json:"bgColor,omitempty"` IsBasicAuthActive bool `json:"isBasicAuthActive"` BasicAuthUsername string `json:"basicAuthUsername"` BasicAuthPassword string `json:"basicAuthPassword"` PublicTitle string `json:"publicTitle"` PublicDescription string `json:"publicDescription"` PublicImage string `json:"publicImage"` PublicNoIndex bool `json:"publicNoIndex"` }
func ToStories ¶
func ToStories(sl storytelling.StoryList) []*Story
func ToStory ¶
func ToStory(s *storytelling.Story) *Story
type StoryBlock ¶
type StoryBlock struct { ID ID `json:"id"` PluginID ID `json:"pluginId"` Plugin *Plugin `json:"plugin,omitempty"` ExtensionID ID `json:"extensionId"` Extension *PluginExtension `json:"extension,omitempty"` PropertyID ID `json:"propertyId"` Property *Property `json:"property,omitempty"` LinkedDatasetID *ID `json:"linkedDatasetId,omitempty"` }
func ToBlock ¶
func ToBlock(b *storytelling.Block) *StoryBlock
func ToBlocks ¶
func ToBlocks(bl storytelling.BlockList) []*StoryBlock
func (StoryBlock) GetID ¶
func (this StoryBlock) GetID() ID
func (StoryBlock) IsNode ¶
func (StoryBlock) IsNode()
type StoryPage ¶
type StoryPage struct { ID ID `json:"id"` Title string `json:"title"` Blocks []*StoryBlock `json:"blocks"` Swipeable bool `json:"swipeable"` LayersIds []ID `json:"layersIds"` Layers []Layer `json:"layers"` SwipeableLayersIds []ID `json:"swipeableLayersIds,omitempty"` SwipeableLayers []Layer `json:"swipeableLayers,omitempty"` PropertyID ID `json:"propertyId"` Property *Property `json:"property,omitempty"` CreatedAt time.Time `json:"createdAt"` SceneID ID `json:"sceneId"` Scene *Scene `json:"scene,omitempty"` }
func ToPage ¶
func ToPage(p *storytelling.Page) *StoryPage
func ToPages ¶
func ToPages(pl *storytelling.PageList) []*StoryPage
type StoryPagePayload ¶
type StoryPayload ¶
type StoryPayload struct {
Story *Story `json:"story"`
}
type Style ¶
type SyncDatasetInput ¶
type SyncDatasetPayload ¶
type SyncDatasetPayload struct { SceneID ID `json:"sceneId"` URL string `json:"url"` DatasetSchema []*DatasetSchema `json:"datasetSchema"` Dataset []*Dataset `json:"dataset"` }
type TagGroup ¶
type TagGroup struct { ID ID `json:"id"` SceneID ID `json:"sceneId"` Label string `json:"label"` TagIds []ID `json:"tagIds,omitempty"` Tags []*TagItem `json:"tags"` Scene *Scene `json:"scene,omitempty"` Layers []Layer `json:"layers"` }
func ToTagGroup ¶
func (TagGroup) GetSceneID ¶
type TagItem ¶
type TagItem struct { ID ID `json:"id"` SceneID ID `json:"sceneId"` Label string `json:"label"` ParentID *ID `json:"parentId,omitempty"` LinkedDatasetID *ID `json:"linkedDatasetID,omitempty"` LinkedDatasetSchemaID *ID `json:"linkedDatasetSchemaID,omitempty"` LinkedDatasetFieldID *ID `json:"linkedDatasetFieldID,omitempty"` LinkedDatasetSchema *DatasetSchema `json:"linkedDatasetSchema,omitempty"` LinkedDataset *Dataset `json:"linkedDataset,omitempty"` LinkedDatasetField *DatasetField `json:"linkedDatasetField,omitempty"` Parent *TagGroup `json:"parent,omitempty"` Layers []Layer `json:"layers"` }
func (TagItem) GetSceneID ¶
type Team ¶
type Team struct { ID ID `json:"id"` Name string `json:"name"` Members []*TeamMember `json:"members"` Personal bool `json:"personal"` PolicyID *ID `json:"policyId,omitempty"` Policy *Policy `json:"policy,omitempty"` Assets *AssetConnection `json:"assets"` Projects *ProjectConnection `json:"projects"` }
func ToWorkspace ¶
type TeamMember ¶
type TextAlign ¶
type TextAlign string
func ToTextAlign ¶
func (TextAlign) MarshalGQL ¶
func (*TextAlign) UnmarshalGQL ¶
type Typography ¶
type Typography struct { FontFamily *string `json:"fontFamily,omitempty"` FontWeight *string `json:"fontWeight,omitempty"` FontSize *int `json:"fontSize,omitempty"` Color *string `json:"color,omitempty"` TextAlign *TextAlign `json:"textAlign,omitempty"` Bold *bool `json:"bold,omitempty"` Italic *bool `json:"italic,omitempty"` Underline *bool `json:"underline,omitempty"` }
type UninstallPluginInput ¶
type UninstallPluginPayload ¶
type UpdateClusterInput ¶
type UpdateClusterPayload ¶
type UpdateDatasetSchemaPayload ¶
type UpdateDatasetSchemaPayload struct {
DatasetSchema *DatasetSchema `json:"datasetSchema,omitempty"`
}
type UpdateLayerInput ¶
type UpdateLayerPayload ¶
type UpdateLayerPayload struct {
Layer Layer `json:"layer"`
}
type UpdateMeInput ¶
type UpdateMeInput struct { Name *string `json:"name,omitempty"` Email *string `json:"email,omitempty"` Lang *language.Tag `json:"lang,omitempty"` Theme *Theme `json:"theme,omitempty"` Password *string `json:"password,omitempty"` PasswordConfirmation *string `json:"passwordConfirmation,omitempty"` }
type UpdateMePayload ¶
type UpdateMePayload struct {
Me *Me `json:"me"`
}
type UpdateMemberOfTeamInput ¶
type UpdateMemberOfTeamPayload ¶
type UpdateMemberOfTeamPayload struct {
Team *Team `json:"team"`
}
type UpdateNLSLayerInput ¶
type UpdateNLSLayerPayload ¶
type UpdateNLSLayerPayload struct {
Layer NLSLayer `json:"layer"`
}
type UpdateProjectInput ¶
type UpdateProjectInput struct { ProjectID ID `json:"projectId"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Archived *bool `json:"archived,omitempty"` IsBasicAuthActive *bool `json:"isBasicAuthActive,omitempty"` BasicAuthUsername *string `json:"basicAuthUsername,omitempty"` BasicAuthPassword *string `json:"basicAuthPassword,omitempty"` Alias *string `json:"alias,omitempty"` ImageURL *url.URL `json:"imageUrl,omitempty"` PublicTitle *string `json:"publicTitle,omitempty"` PublicDescription *string `json:"publicDescription,omitempty"` PublicImage *string `json:"publicImage,omitempty"` PublicNoIndex *bool `json:"publicNoIndex,omitempty"` DeleteImageURL *bool `json:"deleteImageUrl,omitempty"` DeletePublicImage *bool `json:"deletePublicImage,omitempty"` EnableGa *bool `json:"enableGa,omitempty"` TrackingID *string `json:"trackingId,omitempty"` SceneID *ID `json:"sceneId,omitempty"` }
type UpdatePropertyItemInput ¶
type UpdatePropertyItemInput struct { PropertyID ID `json:"propertyId"` SchemaGroupID ID `json:"schemaGroupId"` Operations []*UpdatePropertyItemOperationInput `json:"operations"` }
type UpdatePropertyItemOperationInput ¶
type UpdatePropertyItemOperationInput struct { Operation ListOperation `json:"operation"` ItemID *ID `json:"itemId,omitempty"` Index *int `json:"index,omitempty"` NameFieldValue interface{} `json:"nameFieldValue,omitempty"` NameFieldType *ValueType `json:"nameFieldType,omitempty"` }
type UpdateStoryInput ¶
type UpdateStoryInput struct { SceneID ID `json:"sceneId"` StoryID ID `json:"storyId"` Title *string `json:"title,omitempty"` Index *int `json:"index,omitempty"` PanelPosition *Position `json:"panelPosition,omitempty"` BgColor *string `json:"bgColor,omitempty"` IsBasicAuthActive *bool `json:"isBasicAuthActive,omitempty"` BasicAuthUsername *string `json:"basicAuthUsername,omitempty"` BasicAuthPassword *string `json:"basicAuthPassword,omitempty"` Alias *string `json:"alias,omitempty"` PublicTitle *string `json:"publicTitle,omitempty"` PublicDescription *string `json:"publicDescription,omitempty"` PublicImage *string `json:"publicImage,omitempty"` PublicNoIndex *bool `json:"publicNoIndex,omitempty"` DeletePublicImage *bool `json:"deletePublicImage,omitempty"` }
type UpdateStoryPageInput ¶
type UpdateStoryPageInput struct { SceneID ID `json:"sceneId"` StoryID ID `json:"storyId"` PageID ID `json:"pageId"` Title *string `json:"title,omitempty"` Swipeable *bool `json:"swipeable,omitempty"` Layers []ID `json:"layers,omitempty"` SwipeableLayers []ID `json:"swipeableLayers,omitempty"` Index *int `json:"index,omitempty"` }
type UpdateStyleInput ¶
type UpdateStylePayload ¶
type UpdateStylePayload struct {
Style *Style `json:"style"`
}
type UpdateTagInput ¶
type UpdateTagPayload ¶
type UpdateTagPayload struct {
Tag Tag `json:"tag"`
}
type UpdateTeamInput ¶
type UpdateTeamPayload ¶
type UpdateTeamPayload struct {
Team *Team `json:"team"`
}
type UpdateWidgetAlignSystemInput ¶
type UpdateWidgetAlignSystemInput struct { SceneID ID `json:"sceneId"` Location *WidgetLocationInput `json:"location"` Align *WidgetAreaAlign `json:"align,omitempty"` Padding *WidgetAreaPaddingInput `json:"padding,omitempty"` Gap *int `json:"gap,omitempty"` Centered *bool `json:"centered,omitempty"` Background *string `json:"background,omitempty"` }
type UpdateWidgetAlignSystemPayload ¶
type UpdateWidgetAlignSystemPayload struct {
Scene *Scene `json:"scene"`
}
type UpdateWidgetInput ¶
type UpdateWidgetPayload ¶
type UpdateWidgetPayload struct { Scene *Scene `json:"scene"` SceneWidget *SceneWidget `json:"sceneWidget"` }
type UpgradePluginInput ¶
type UpgradePluginPayload ¶
type UpgradePluginPayload struct { Scene *Scene `json:"scene"` ScenePlugin *ScenePlugin `json:"scenePlugin"` }
type UploadPluginInput ¶
type UploadPluginPayload ¶
type UploadPluginPayload struct { Plugin *Plugin `json:"plugin"` Scene *Scene `json:"scene"` ScenePlugin *ScenePlugin `json:"scenePlugin"` }
type User ¶
type User struct { ID ID `json:"id"` Name string `json:"name"` Email string `json:"email"` Host *string `json:"host,omitempty"` }
func ToUserFromSimple ¶
type ValueType ¶
type ValueType string
const ( ValueTypeBool ValueType = "BOOL" ValueTypeNumber ValueType = "NUMBER" ValueTypeString ValueType = "STRING" ValueTypeRef ValueType = "REF" ValueTypeURL ValueType = "URL" ValueTypeLatlng ValueType = "LATLNG" ValueTypeLatlngheight ValueType = "LATLNGHEIGHT" ValueTypeCamera ValueType = "CAMERA" ValueTypeTypography ValueType = "TYPOGRAPHY" ValueTypeCoordinates ValueType = "COORDINATES" ValueTypePolygon ValueType = "POLYGON" ValueTypeRect ValueType = "RECT" ValueTypeSpacing ValueType = "SPACING" ValueTypeArray ValueType = "ARRAY" ValueTypeTimeline ValueType = "TIMELINE" )
func ToValueType ¶
func (ValueType) MarshalGQL ¶
func (*ValueType) UnmarshalGQL ¶
type Visualizer ¶
type Visualizer string
const (
VisualizerCesium Visualizer = "CESIUM"
)
func ToVisualizer ¶
func ToVisualizer(v visualizer.Visualizer) Visualizer
func ToVisualizerRef ¶
func ToVisualizerRef(v visualizer.Visualizer) *Visualizer
func (Visualizer) IsValid ¶
func (e Visualizer) IsValid() bool
func (Visualizer) MarshalGQL ¶
func (e Visualizer) MarshalGQL(w io.Writer)
func (Visualizer) String ¶
func (e Visualizer) String() string
func (*Visualizer) UnmarshalGQL ¶
func (e *Visualizer) UnmarshalGQL(v interface{}) error
type WidgetAlignSystem ¶
type WidgetAlignSystem struct { Inner *WidgetZone `json:"inner,omitempty"` Outer *WidgetZone `json:"outer,omitempty"` }
func ToWidgetAlignSystem ¶
func ToWidgetAlignSystem(sas *scene.WidgetAlignSystem) *WidgetAlignSystem
type WidgetArea ¶
type WidgetArea struct { WidgetIds []ID `json:"widgetIds"` Align WidgetAreaAlign `json:"align"` Padding *WidgetAreaPadding `json:"padding,omitempty"` Gap *int `json:"gap,omitempty"` Centered bool `json:"centered"` Background *string `json:"background,omitempty"` }
func ToWidgetArea ¶
func ToWidgetArea(a *scene.WidgetArea) *WidgetArea
type WidgetAreaAlign ¶
type WidgetAreaAlign string
const ( WidgetAreaAlignStart WidgetAreaAlign = "START" WidgetAreaAlignCentered WidgetAreaAlign = "CENTERED" WidgetAreaAlignEnd WidgetAreaAlign = "END" )
func ToWidgetAlignType ¶
func ToWidgetAlignType(s scene.WidgetAlignType) WidgetAreaAlign
func (WidgetAreaAlign) IsValid ¶
func (e WidgetAreaAlign) IsValid() bool
func (WidgetAreaAlign) MarshalGQL ¶
func (e WidgetAreaAlign) MarshalGQL(w io.Writer)
func (WidgetAreaAlign) String ¶
func (e WidgetAreaAlign) String() string
func (*WidgetAreaAlign) UnmarshalGQL ¶
func (e *WidgetAreaAlign) UnmarshalGQL(v interface{}) error
type WidgetAreaPadding ¶
type WidgetAreaPadding struct { Top int `json:"top"` Bottom int `json:"bottom"` Left int `json:"left"` Right int `json:"right"` }
func ToWidgetAreaPadding ¶
func ToWidgetAreaPadding(p *scene.WidgetAreaPadding) *WidgetAreaPadding
type WidgetAreaPaddingInput ¶
type WidgetAreaType ¶
type WidgetAreaType string
const ( WidgetAreaTypeTop WidgetAreaType = "TOP" WidgetAreaTypeMiddle WidgetAreaType = "MIDDLE" WidgetAreaTypeBottom WidgetAreaType = "BOTTOM" )
func ToPluginWidgetAreaType ¶
func ToPluginWidgetAreaType(t plugin.WidgetAreaType) WidgetAreaType
func (WidgetAreaType) IsValid ¶
func (e WidgetAreaType) IsValid() bool
func (WidgetAreaType) MarshalGQL ¶
func (e WidgetAreaType) MarshalGQL(w io.Writer)
func (WidgetAreaType) String ¶
func (e WidgetAreaType) String() string
func (*WidgetAreaType) UnmarshalGQL ¶
func (e *WidgetAreaType) UnmarshalGQL(v interface{}) error
type WidgetExtendable ¶
type WidgetLayout ¶
type WidgetLayout struct { Extendable *WidgetExtendable `json:"extendable"` Extended bool `json:"extended"` Floating bool `json:"floating"` DefaultLocation *WidgetLocation `json:"defaultLocation,omitempty"` }
func ToPluginWidgetLayout ¶
func ToPluginWidgetLayout(wl *plugin.WidgetLayout) *WidgetLayout
type WidgetLocation ¶
type WidgetLocation struct { Zone WidgetZoneType `json:"zone"` Section WidgetSectionType `json:"section"` Area WidgetAreaType `json:"area"` }
func ToPluginWidgetLocation ¶
func ToPluginWidgetLocation(l *plugin.WidgetLocation) *WidgetLocation
type WidgetLocationInput ¶
type WidgetLocationInput struct { Zone WidgetZoneType `json:"zone"` Section WidgetSectionType `json:"section"` Area WidgetAreaType `json:"area"` }
type WidgetSection ¶
type WidgetSection struct { Top *WidgetArea `json:"top,omitempty"` Middle *WidgetArea `json:"middle,omitempty"` Bottom *WidgetArea `json:"bottom,omitempty"` }
func ToWidgetSection ¶
func ToWidgetSection(s *scene.WidgetSection) *WidgetSection
type WidgetSectionType ¶
type WidgetSectionType string
const ( WidgetSectionTypeLeft WidgetSectionType = "LEFT" WidgetSectionTypeCenter WidgetSectionType = "CENTER" WidgetSectionTypeRight WidgetSectionType = "RIGHT" )
func ToPluginWidgetSectionType ¶
func ToPluginWidgetSectionType(t plugin.WidgetSectionType) WidgetSectionType
func (WidgetSectionType) IsValid ¶
func (e WidgetSectionType) IsValid() bool
func (WidgetSectionType) MarshalGQL ¶
func (e WidgetSectionType) MarshalGQL(w io.Writer)
func (WidgetSectionType) String ¶
func (e WidgetSectionType) String() string
func (*WidgetSectionType) UnmarshalGQL ¶
func (e *WidgetSectionType) UnmarshalGQL(v interface{}) error
type WidgetZone ¶
type WidgetZone struct { Left *WidgetSection `json:"left,omitempty"` Center *WidgetSection `json:"center,omitempty"` Right *WidgetSection `json:"right,omitempty"` }
func ToWidgetZone ¶
func ToWidgetZone(z *scene.WidgetZone) *WidgetZone
type WidgetZoneType ¶
type WidgetZoneType string
const ( WidgetZoneTypeInner WidgetZoneType = "INNER" WidgetZoneTypeOuter WidgetZoneType = "OUTER" )
func ToPluginWidgetZoneType ¶
func ToPluginWidgetZoneType(t plugin.WidgetZoneType) WidgetZoneType
func (WidgetZoneType) IsValid ¶
func (e WidgetZoneType) IsValid() bool
func (WidgetZoneType) MarshalGQL ¶
func (e WidgetZoneType) MarshalGQL(w io.Writer)
func (WidgetZoneType) String ¶
func (e WidgetZoneType) String() string
func (*WidgetZoneType) UnmarshalGQL ¶
func (e *WidgetZoneType) UnmarshalGQL(v interface{}) error
Source Files ¶
- convert.go
- convert_asset.go
- convert_dataset.go
- convert_layer.go
- convert_nlslayer.go
- convert_plugin.go
- convert_project.go
- convert_property.go
- convert_scene.go
- convert_scene_align.go
- convert_storytelling.go
- convert_tag.go
- convert_user.go
- convert_value.go
- convert_workspace.go
- models.go
- models_gen.go
- scalar.go
- scalar_id.go
Click to show internal directories.
Click to hide internal directories.