Documentation ¶
Index ¶
- func Init(r *repo.Container) error
- func New(ctx context.Context, db *mongo.Database, account *accountrepo.Container, ...) (*repo.Container, error)
- func NewWithExtensions(ctx context.Context, db *mongo.Database, account *accountrepo.Container, ...) (*repo.Container, error)
- type Asset
- func (r *Asset) Filtered(f repo.WorkspaceFilter) repo.Asset
- func (r *Asset) FindByID(ctx context.Context, id id.AssetID) (*asset.Asset, error)
- func (r *Asset) FindByIDs(ctx context.Context, ids id.AssetIDList) ([]*asset.Asset, error)
- func (r *Asset) FindByWorkspace(ctx context.Context, id accountdomain.WorkspaceID, uFilter repo.AssetFilter) ([]*asset.Asset, *usecasex.PageInfo, error)
- func (r *Asset) Init(ctx context.Context) error
- func (r *Asset) Remove(ctx context.Context, id id.AssetID) error
- func (r *Asset) Save(ctx context.Context, asset *asset.Asset) error
- func (r *Asset) TotalSizeByWorkspace(ctx context.Context, wid accountdomain.WorkspaceID) (int64, error)
- type Config
- func (r *Config) LockAndLoad(ctx context.Context) (cfg *config.Config, err error)
- func (r *Config) Save(ctx context.Context, cfg *config.Config) error
- func (r *Config) SaveAndUnlock(ctx context.Context, cfg *config.Config) error
- func (r *Config) SaveAuth(ctx context.Context, cfg *config.Auth) error
- func (r *Config) Unlock(ctx context.Context) error
- type Dataset
- func (r *Dataset) CountBySchema(ctx context.Context, id id.DatasetSchemaID) (int, error)
- func (r *Dataset) Filtered(f repo.SceneFilter) repo.Dataset
- func (r *Dataset) FindByID(ctx context.Context, id id.DatasetID) (*dataset.Dataset, error)
- func (r *Dataset) FindByIDs(ctx context.Context, ids id.DatasetIDList) (dataset.List, error)
- func (r *Dataset) FindBySchema(ctx context.Context, schemaID id.DatasetSchemaID, ...) (dataset.List, *usecasex.PageInfo, error)
- func (r *Dataset) FindBySchemaAll(ctx context.Context, schemaID id.DatasetSchemaID) (dataset.List, error)
- func (r *Dataset) FindBySchemaAllBy(ctx context.Context, s id.DatasetSchemaID, cb func(*dataset.Dataset) error) error
- func (r *Dataset) FindGraph(ctx context.Context, did id.DatasetID, fields id.DatasetFieldIDList) (dataset.List, error)
- func (r *Dataset) Init(ctx context.Context) error
- func (r *Dataset) Remove(ctx context.Context, id id.DatasetID) error
- func (r *Dataset) RemoveAll(ctx context.Context, ids id.DatasetIDList) error
- func (r *Dataset) RemoveByScene(ctx context.Context, sceneID id.SceneID) error
- func (r *Dataset) Save(ctx context.Context, dataset *dataset.Dataset) error
- func (r *Dataset) SaveAll(ctx context.Context, datasetList dataset.List) error
- type DatasetSchema
- func (r *DatasetSchema) CountByScene(ctx context.Context, id id.SceneID) (int, error)
- func (r *DatasetSchema) Filtered(f repo.SceneFilter) repo.DatasetSchema
- func (r *DatasetSchema) FindByID(ctx context.Context, id id.DatasetSchemaID) (*dataset.Schema, error)
- func (r *DatasetSchema) FindByIDs(ctx context.Context, ids id.DatasetSchemaIDList) (dataset.SchemaList, error)
- func (r *DatasetSchema) FindByScene(ctx context.Context, sceneID id.SceneID, pagination *usecasex.Pagination) (dataset.SchemaList, *usecasex.PageInfo, error)
- func (r *DatasetSchema) FindBySceneAll(ctx context.Context, sceneID id.SceneID) (dataset.SchemaList, error)
- func (r *DatasetSchema) FindBySceneAndSource(ctx context.Context, sceneID id.SceneID, source string) (dataset.SchemaList, error)
- func (r *DatasetSchema) Init(ctx context.Context) error
- func (r *DatasetSchema) Remove(ctx context.Context, id id.DatasetSchemaID) error
- func (r *DatasetSchema) RemoveAll(ctx context.Context, ids id.DatasetSchemaIDList) error
- func (r *DatasetSchema) RemoveByScene(ctx context.Context, sceneID id.SceneID) error
- func (r *DatasetSchema) Save(ctx context.Context, datasetSchema *dataset.Schema) error
- func (r *DatasetSchema) SaveAll(ctx context.Context, datasetSchemas dataset.SchemaList) error
- type Layer
- func (r *Layer) CountByScene(ctx context.Context, sid id.SceneID) (int, error)
- func (r *Layer) Filtered(f repo.SceneFilter) repo.Layer
- func (r *Layer) FindAllByDatasetSchema(ctx context.Context, dsid id.DatasetSchemaID) (layer.List, error)
- func (r *Layer) FindByID(ctx context.Context, id id.LayerID) (layer.Layer, error)
- func (r *Layer) FindByIDs(ctx context.Context, ids id.LayerIDList) (layer.List, error)
- func (r *Layer) FindByPluginAndExtension(ctx context.Context, pid id.PluginID, eid *id.PluginExtensionID) (layer.List, error)
- func (r *Layer) FindByPluginAndExtensionOfBlocks(ctx context.Context, pid id.PluginID, eid *id.PluginExtensionID) (layer.List, error)
- func (r *Layer) FindByProperty(ctx context.Context, id id.PropertyID) (layer.Layer, error)
- func (r *Layer) FindByScene(ctx context.Context, id id.SceneID) (layer.List, error)
- func (r *Layer) FindByTag(ctx context.Context, tagID id.TagID) (layer.List, error)
- func (r *Layer) FindGroupByID(ctx context.Context, id id.LayerID) (*layer.Group, error)
- func (r *Layer) FindGroupByIDs(ctx context.Context, ids id.LayerIDList) (layer.GroupList, error)
- func (r *Layer) FindGroupBySceneAndLinkedDatasetSchema(ctx context.Context, sceneID id.SceneID, datasetSchemaID id.DatasetSchemaID) (layer.GroupList, error)
- func (r *Layer) FindItemByID(ctx context.Context, id id.LayerID) (*layer.Item, error)
- func (r *Layer) FindItemByIDs(ctx context.Context, ids id.LayerIDList) (layer.ItemList, error)
- func (r *Layer) FindParentByID(ctx context.Context, id id.LayerID) (*layer.Group, error)
- func (r *Layer) FindParentsByIDs(ctx context.Context, ids id.LayerIDList) (layer.GroupList, error)
- func (r *Layer) Init(ctx context.Context) error
- func (r *Layer) Remove(ctx context.Context, id id.LayerID) error
- func (r *Layer) RemoveAll(ctx context.Context, ids id.LayerIDList) error
- func (r *Layer) RemoveByScene(ctx context.Context, sceneID id.SceneID) error
- func (r *Layer) Save(ctx context.Context, layer layer.Layer) error
- func (r *Layer) SaveAll(ctx context.Context, layers layer.List) error
- func (r *Layer) UpdatePlugin(ctx context.Context, old, new id.PluginID) error
- type Lock
- type NLSLayer
- func (r *NLSLayer) Filtered(f repo.SceneFilter) repo.NLSLayer
- func (r *NLSLayer) FindByID(ctx context.Context, id id.NLSLayerID) (nlslayer.NLSLayer, error)
- func (r *NLSLayer) FindByIDs(ctx context.Context, ids id.NLSLayerIDList) (nlslayer.NLSLayerList, error)
- func (r *NLSLayer) FindByScene(ctx context.Context, id id.SceneID) (nlslayer.NLSLayerList, error)
- func (r *NLSLayer) FindNLSLayerGroupByID(ctx context.Context, id id.NLSLayerID) (*nlslayer.NLSLayerGroup, error)
- func (r *NLSLayer) FindNLSLayerGroupByIDs(ctx context.Context, ids id.NLSLayerIDList) (nlslayer.NLSLayerGroupList, error)
- func (r *NLSLayer) FindNLSLayerSimpleByID(ctx context.Context, id id.NLSLayerID) (*nlslayer.NLSLayerSimple, error)
- func (r *NLSLayer) FindNLSLayerSimpleByIDs(ctx context.Context, ids id.NLSLayerIDList) (nlslayer.NLSLayerSimpleList, error)
- func (r *NLSLayer) FindParentByID(ctx context.Context, id id.NLSLayerID) (*nlslayer.NLSLayerGroup, error)
- func (r *NLSLayer) FindParentsByIDs(ctx context.Context, ids id.NLSLayerIDList) (nlslayer.NLSLayerGroupList, error)
- func (r *NLSLayer) Init(ctx context.Context) error
- func (r *NLSLayer) Remove(ctx context.Context, id id.NLSLayerID) error
- func (r *NLSLayer) RemoveAll(ctx context.Context, ids id.NLSLayerIDList) error
- func (r *NLSLayer) RemoveByScene(ctx context.Context, sceneID id.SceneID) error
- func (r *NLSLayer) Save(ctx context.Context, layer nlslayer.NLSLayer) error
- func (r *NLSLayer) SaveAll(ctx context.Context, layers nlslayer.NLSLayerList) error
- type Plugin
- func (r *Plugin) Filtered(f repo.SceneFilter) repo.Plugin
- func (r *Plugin) FindByID(ctx context.Context, pid id.PluginID) (*plugin.Plugin, error)
- func (r *Plugin) FindByIDs(ctx context.Context, ids []id.PluginID) ([]*plugin.Plugin, error)
- func (r *Plugin) Init(ctx context.Context) error
- func (r *Plugin) Remove(ctx context.Context, id id.PluginID) error
- func (r *Plugin) Save(ctx context.Context, plugin *plugin.Plugin) error
- type Policy
- type Project
- func (r *Project) CountByWorkspace(ctx context.Context, ws accountdomain.WorkspaceID) (int, error)
- func (r *Project) CountPublicByWorkspace(ctx context.Context, ws accountdomain.WorkspaceID) (int, error)
- func (r *Project) Filtered(f repo.WorkspaceFilter) repo.Project
- func (r *Project) FindByID(ctx context.Context, id id.ProjectID) (*project.Project, error)
- func (r *Project) FindByIDs(ctx context.Context, ids id.ProjectIDList) ([]*project.Project, error)
- func (r *Project) FindByPublicName(ctx context.Context, name string) (*project.Project, error)
- func (r *Project) FindByScene(ctx context.Context, id id.SceneID) (*project.Project, error)
- func (r *Project) FindByWorkspace(ctx context.Context, id accountdomain.WorkspaceID, ...) ([]*project.Project, *usecasex.PageInfo, error)
- func (r *Project) Init(ctx context.Context) error
- func (r *Project) Remove(ctx context.Context, id id.ProjectID) error
- func (r *Project) Save(ctx context.Context, project *project.Project) error
- type Property
- func (r *Property) Filtered(f repo.SceneFilter) repo.Property
- func (r *Property) FindByDataset(ctx context.Context, sid id.DatasetSchemaID, did id.DatasetID) (property.List, error)
- func (r *Property) FindByID(ctx context.Context, id id.PropertyID) (*property.Property, error)
- func (r *Property) FindByIDs(ctx context.Context, ids id.PropertyIDList) (property.List, error)
- func (r *Property) FindByPlugin(ctx context.Context, pid id.PluginID, sid id.SceneID) (property.List, error)
- func (r *Property) FindBySchema(ctx context.Context, psids []id.PropertySchemaID, sid id.SceneID) (property.List, error)
- func (r *Property) FindLinkedAll(ctx context.Context, id id.SceneID) (property.List, error)
- func (r *Property) Init(ctx context.Context) error
- func (r *Property) Remove(ctx context.Context, id id.PropertyID) error
- func (r *Property) RemoveAll(ctx context.Context, ids id.PropertyIDList) error
- func (r *Property) RemoveByScene(ctx context.Context, sceneID id.SceneID) error
- func (r *Property) Save(ctx context.Context, property *property.Property) error
- func (r *Property) SaveAll(ctx context.Context, properties property.List) error
- func (r *Property) UpdateSchemaPlugin(ctx context.Context, old, new id.PluginID, s id.SceneID) error
- type PropertySchema
- func (r *PropertySchema) Filtered(f repo.SceneFilter) repo.PropertySchema
- func (r *PropertySchema) FindByID(ctx context.Context, id id.PropertySchemaID) (*property.Schema, error)
- func (r *PropertySchema) FindByIDs(ctx context.Context, ids []id.PropertySchemaID) (property.SchemaList, error)
- func (r *PropertySchema) Init(ctx context.Context) error
- func (r *PropertySchema) Remove(ctx context.Context, id id.PropertySchemaID) error
- func (r *PropertySchema) RemoveAll(ctx context.Context, ids []id.PropertySchemaID) error
- func (r *PropertySchema) Save(ctx context.Context, m *property.Schema) error
- func (r *PropertySchema) SaveAll(ctx context.Context, m property.SchemaList) error
- type Scene
- func (r *Scene) Filtered(f repo.WorkspaceFilter) repo.Scene
- func (r *Scene) FindByID(ctx context.Context, id id.SceneID) (*scene.Scene, error)
- func (r *Scene) FindByIDs(ctx context.Context, ids id.SceneIDList) (scene.List, error)
- func (r *Scene) FindByProject(ctx context.Context, id id.ProjectID) (*scene.Scene, error)
- func (r *Scene) FindByWorkspace(ctx context.Context, workspaces ...accountdomain.WorkspaceID) (scene.List, error)
- func (r *Scene) Init(ctx context.Context) error
- func (r *Scene) Remove(ctx context.Context, id id.SceneID) error
- func (r *Scene) Save(ctx context.Context, scene *scene.Scene) error
- type SceneLock
- func (r *SceneLock) GetAllLock(ctx context.Context, ids id.SceneIDList) ([]scene.LockMode, error)
- func (r *SceneLock) GetLock(ctx context.Context, sceneID id.SceneID) (scene.LockMode, error)
- func (r *SceneLock) ReleaseAllLock(ctx context.Context) error
- func (r *SceneLock) SaveLock(ctx context.Context, sceneID id.SceneID, lock scene.LockMode) error
- type Storytelling
- func (r *Storytelling) Filtered(f repo.SceneFilter) repo.Storytelling
- func (r *Storytelling) FindByID(ctx context.Context, id id.StoryID) (*storytelling.Story, error)
- func (r *Storytelling) FindByIDs(ctx context.Context, ids id.StoryIDList) (*storytelling.StoryList, error)
- func (r *Storytelling) FindByPublicName(ctx context.Context, name string) (*storytelling.Story, error)
- func (r *Storytelling) FindByScene(ctx context.Context, id id.SceneID) (*storytelling.StoryList, error)
- func (r *Storytelling) Init(ctx context.Context) error
- func (r *Storytelling) Remove(ctx context.Context, id id.StoryID) error
- func (r *Storytelling) RemoveAll(ctx context.Context, ids id.StoryIDList) error
- func (r *Storytelling) RemoveByScene(ctx context.Context, id id.SceneID) error
- func (r *Storytelling) Save(ctx context.Context, story storytelling.Story) error
- func (r *Storytelling) SaveAll(ctx context.Context, stories storytelling.StoryList) error
- type Style
- func (r *Style) Filtered(f repo.SceneFilter) repo.Style
- func (r *Style) FindByID(ctx context.Context, id id.StyleID) (*scene.Style, error)
- func (r *Style) FindByIDs(ctx context.Context, ids id.StyleIDList) (*scene.StyleList, error)
- func (r *Style) FindByScene(ctx context.Context, id id.SceneID) (*scene.StyleList, error)
- func (r *Style) Init(ctx context.Context) error
- func (r *Style) Remove(ctx context.Context, id id.StyleID) error
- func (r *Style) RemoveAll(ctx context.Context, ids id.StyleIDList) error
- func (r *Style) RemoveByScene(ctx context.Context, id id.SceneID) error
- func (r *Style) Save(ctx context.Context, style scene.Style) error
- func (r *Style) SaveAll(ctx context.Context, styles scene.StyleList) error
- type Tag
- func (r *Tag) Filtered(f repo.SceneFilter) repo.Tag
- func (r *Tag) FindByID(ctx context.Context, id id.TagID) (tag.Tag, error)
- func (r *Tag) FindByIDs(ctx context.Context, ids id.TagIDList) ([]*tag.Tag, error)
- func (r *Tag) FindByScene(ctx context.Context, id id.SceneID) ([]*tag.Tag, error)
- func (r *Tag) FindGroupByID(ctx context.Context, id id.TagID) (*tag.Group, error)
- func (r *Tag) FindGroupByIDs(ctx context.Context, ids id.TagIDList) ([]*tag.Group, error)
- func (r *Tag) FindGroupByItem(ctx context.Context, tagID id.TagID) (*tag.Group, error)
- func (r *Tag) FindItemByID(ctx context.Context, id id.TagID) (*tag.Item, error)
- func (r *Tag) FindItemByIDs(ctx context.Context, ids id.TagIDList) ([]*tag.Item, error)
- func (r *Tag) FindRootsByScene(ctx context.Context, id id.SceneID) ([]*tag.Tag, error)
- func (r *Tag) Init(ctx context.Context) error
- func (r *Tag) Remove(ctx context.Context, id id.TagID) error
- func (r *Tag) RemoveAll(ctx context.Context, ids id.TagIDList) error
- func (r *Tag) RemoveByScene(ctx context.Context, sceneID id.SceneID) error
- func (r *Tag) Save(ctx context.Context, tag tag.Tag) error
- func (r *Tag) SaveAll(ctx context.Context, tags []*tag.Tag) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Asset ¶
type Asset struct {
// contains filtered or unexported fields
}
func (*Asset) FindByWorkspace ¶
func (r *Asset) FindByWorkspace(ctx context.Context, id accountdomain.WorkspaceID, uFilter repo.AssetFilter) ([]*asset.Asset, *usecasex.PageInfo, error)
func (*Asset) TotalSizeByWorkspace ¶
func (r *Asset) TotalSizeByWorkspace(ctx context.Context, wid accountdomain.WorkspaceID) (int64, error)
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) LockAndLoad ¶
func (*Config) SaveAndUnlock ¶
type Dataset ¶
type Dataset struct {
// contains filtered or unexported fields
}
func NewDataset ¶
func (*Dataset) CountBySchema ¶
func (*Dataset) FindBySchema ¶
func (*Dataset) FindBySchemaAll ¶
func (*Dataset) FindBySchemaAllBy ¶
func (*Dataset) RemoveByScene ¶
type DatasetSchema ¶
type DatasetSchema struct {
// contains filtered or unexported fields
}
func NewDatasetSchema ¶
func NewDatasetSchema(client *mongox.Client) *DatasetSchema
func (*DatasetSchema) CountByScene ¶
func (*DatasetSchema) Filtered ¶
func (r *DatasetSchema) Filtered(f repo.SceneFilter) repo.DatasetSchema
func (*DatasetSchema) FindByID ¶
func (r *DatasetSchema) FindByID(ctx context.Context, id id.DatasetSchemaID) (*dataset.Schema, error)
func (*DatasetSchema) FindByIDs ¶
func (r *DatasetSchema) FindByIDs(ctx context.Context, ids id.DatasetSchemaIDList) (dataset.SchemaList, error)
func (*DatasetSchema) FindByScene ¶
func (r *DatasetSchema) FindByScene(ctx context.Context, sceneID id.SceneID, pagination *usecasex.Pagination) (dataset.SchemaList, *usecasex.PageInfo, error)
func (*DatasetSchema) FindBySceneAll ¶
func (r *DatasetSchema) FindBySceneAll(ctx context.Context, sceneID id.SceneID) (dataset.SchemaList, error)
func (*DatasetSchema) FindBySceneAndSource ¶
func (r *DatasetSchema) FindBySceneAndSource(ctx context.Context, sceneID id.SceneID, source string) (dataset.SchemaList, error)
func (*DatasetSchema) Remove ¶
func (r *DatasetSchema) Remove(ctx context.Context, id id.DatasetSchemaID) error
func (*DatasetSchema) RemoveAll ¶
func (r *DatasetSchema) RemoveAll(ctx context.Context, ids id.DatasetSchemaIDList) error
func (*DatasetSchema) RemoveByScene ¶
func (*DatasetSchema) SaveAll ¶
func (r *DatasetSchema) SaveAll(ctx context.Context, datasetSchemas dataset.SchemaList) error
type Layer ¶
type Layer struct {
// contains filtered or unexported fields
}
func (*Layer) CountByScene ¶
func (*Layer) FindAllByDatasetSchema ¶
func (*Layer) FindByPluginAndExtension ¶
func (*Layer) FindByPluginAndExtensionOfBlocks ¶
func (*Layer) FindByProperty ¶
func (*Layer) FindByScene ¶
func (*Layer) FindGroupByID ¶
func (*Layer) FindGroupByIDs ¶
func (*Layer) FindGroupBySceneAndLinkedDatasetSchema ¶
func (*Layer) FindItemByID ¶
func (*Layer) FindItemByIDs ¶
func (*Layer) FindParentByID ¶
func (*Layer) FindParentsByIDs ¶
func (*Layer) RemoveByScene ¶
type NLSLayer ¶
type NLSLayer struct {
// contains filtered or unexported fields
}
func NewNLSLayer ¶
func (*NLSLayer) FindByIDs ¶
func (r *NLSLayer) FindByIDs(ctx context.Context, ids id.NLSLayerIDList) (nlslayer.NLSLayerList, error)
func (*NLSLayer) FindByScene ¶
func (*NLSLayer) FindNLSLayerGroupByID ¶
func (r *NLSLayer) FindNLSLayerGroupByID(ctx context.Context, id id.NLSLayerID) (*nlslayer.NLSLayerGroup, error)
func (*NLSLayer) FindNLSLayerGroupByIDs ¶
func (r *NLSLayer) FindNLSLayerGroupByIDs(ctx context.Context, ids id.NLSLayerIDList) (nlslayer.NLSLayerGroupList, error)
func (*NLSLayer) FindNLSLayerSimpleByID ¶
func (r *NLSLayer) FindNLSLayerSimpleByID(ctx context.Context, id id.NLSLayerID) (*nlslayer.NLSLayerSimple, error)
func (*NLSLayer) FindNLSLayerSimpleByIDs ¶
func (r *NLSLayer) FindNLSLayerSimpleByIDs(ctx context.Context, ids id.NLSLayerIDList) (nlslayer.NLSLayerSimpleList, error)
func (*NLSLayer) FindParentByID ¶
func (r *NLSLayer) FindParentByID(ctx context.Context, id id.NLSLayerID) (*nlslayer.NLSLayerGroup, error)
func (*NLSLayer) FindParentsByIDs ¶
func (r *NLSLayer) FindParentsByIDs(ctx context.Context, ids id.NLSLayerIDList) (nlslayer.NLSLayerGroupList, error)
func (*NLSLayer) RemoveByScene ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
type Policy ¶
type Policy struct {
// contains filtered or unexported fields
}
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
func NewProject ¶
func (*Project) CountByWorkspace ¶
func (r *Project) CountByWorkspace(ctx context.Context, ws accountdomain.WorkspaceID) (int, error)
func (*Project) CountPublicByWorkspace ¶
func (r *Project) CountPublicByWorkspace(ctx context.Context, ws accountdomain.WorkspaceID) (int, error)
func (*Project) FindByPublicName ¶
func (*Project) FindByScene ¶
func (*Project) FindByWorkspace ¶
func (r *Project) FindByWorkspace(ctx context.Context, id accountdomain.WorkspaceID, pagination *usecasex.Pagination) ([]*project.Project, *usecasex.PageInfo, error)
type Property ¶
type Property struct {
// contains filtered or unexported fields
}
func NewProperty ¶
func (*Property) FindByDataset ¶
func (*Property) FindByPlugin ¶
func (*Property) FindBySchema ¶
func (*Property) FindLinkedAll ¶
func (*Property) RemoveByScene ¶
type PropertySchema ¶
type PropertySchema struct {
// contains filtered or unexported fields
}
func NewPropertySchema ¶
func NewPropertySchema(client *mongox.Client) *PropertySchema
func (*PropertySchema) Filtered ¶
func (r *PropertySchema) Filtered(f repo.SceneFilter) repo.PropertySchema
func (*PropertySchema) FindByID ¶
func (r *PropertySchema) FindByID(ctx context.Context, id id.PropertySchemaID) (*property.Schema, error)
func (*PropertySchema) FindByIDs ¶
func (r *PropertySchema) FindByIDs(ctx context.Context, ids []id.PropertySchemaID) (property.SchemaList, error)
func (*PropertySchema) Remove ¶
func (r *PropertySchema) Remove(ctx context.Context, id id.PropertySchemaID) error
func (*PropertySchema) RemoveAll ¶
func (r *PropertySchema) RemoveAll(ctx context.Context, ids []id.PropertySchemaID) error
func (*PropertySchema) SaveAll ¶
func (r *PropertySchema) SaveAll(ctx context.Context, m property.SchemaList) error
type Scene ¶
type Scene struct {
// contains filtered or unexported fields
}
func (*Scene) FindByProject ¶
func (*Scene) FindByWorkspace ¶
func (r *Scene) FindByWorkspace(ctx context.Context, workspaces ...accountdomain.WorkspaceID) (scene.List, error)
type SceneLock ¶
type SceneLock struct {
// contains filtered or unexported fields
}
func NewSceneLock ¶
func (*SceneLock) GetAllLock ¶
type Storytelling ¶
type Storytelling struct {
// contains filtered or unexported fields
}
func NewStorytelling ¶
func NewStorytelling(client *mongox.Client) *Storytelling
func (*Storytelling) Filtered ¶
func (r *Storytelling) Filtered(f repo.SceneFilter) repo.Storytelling
func (*Storytelling) FindByID ¶
func (r *Storytelling) FindByID(ctx context.Context, id id.StoryID) (*storytelling.Story, error)
func (*Storytelling) FindByIDs ¶
func (r *Storytelling) FindByIDs(ctx context.Context, ids id.StoryIDList) (*storytelling.StoryList, error)
func (*Storytelling) FindByPublicName ¶
func (r *Storytelling) FindByPublicName(ctx context.Context, name string) (*storytelling.Story, error)
func (*Storytelling) FindByScene ¶
func (r *Storytelling) FindByScene(ctx context.Context, id id.SceneID) (*storytelling.StoryList, error)
func (*Storytelling) RemoveAll ¶
func (r *Storytelling) RemoveAll(ctx context.Context, ids id.StoryIDList) error
func (*Storytelling) RemoveByScene ¶
func (*Storytelling) Save ¶
func (r *Storytelling) Save(ctx context.Context, story storytelling.Story) error
func (*Storytelling) SaveAll ¶
func (r *Storytelling) SaveAll(ctx context.Context, stories storytelling.StoryList) error
type Style ¶
type Style struct {
// contains filtered or unexported fields
}
func (*Style) FindByScene ¶
func (*Style) RemoveByScene ¶
type Tag ¶
type Tag struct {
// contains filtered or unexported fields
}
func (*Tag) FindByScene ¶
func (*Tag) FindGroupByID ¶
func (*Tag) FindGroupByIDs ¶
func (*Tag) FindGroupByItem ¶
func (*Tag) FindItemByID ¶
func (*Tag) FindItemByIDs ¶
func (*Tag) FindRootsByScene ¶
func (*Tag) RemoveByScene ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.