Skip to main content

CollectionCreate

@hyperledger/identus-sdk v8.0.0


@hyperledger/identus-sdk / overview / CollectionCreate

Type Alias: CollectionCreate

CollectionCreate = { migrationStrategies?: MigrationPathsForSchema<any>; schema: SchemaType; }

Defined in: packages/lib/sdk/src/pluto/collections/index.ts:18

Descriptor for a single RIDB collection.

Properties

PropertyTypeDescriptionDefined in
migrationStrategies?MigrationPathsForSchema<any>Optional version migration functions.packages/lib/sdk/src/pluto/collections/index.ts:20
schemaSchemaTypeThe typed RIDB SchemaType for this collection.packages/lib/sdk/src/pluto/collections/index.ts:19