js-bao-wss-client / CreateCollectionTypeConfigParams
Interface: CreateCollectionTypeConfigParams
Parameters for collectionTypeConfigs.create(): the collection type to configure plus its optional rule set and declared-access manifest.
Properties
collectionType
collectionType:
string
The collection type identifier to configure (e.g., "class-students")
metadataManifest?
optionalmetadataManifest?:DeclaredMetadataManifest
Optional declared-access manifest that lets this type's rule set load metadata categories as md.self.<category>.<key>. Declaring a category here is the prerequisite for migrating a collection.contextId binding to a metadata category.
ruleSetId?
optionalruleSetId?:string
Rule set to enforce for collections of this type. Must have resourceType: "collection".