CollectionSchemas
@hyperledger/identus-sdk v8.0.0
@hyperledger/identus-sdk / overview / CollectionSchemas
Type Alias: CollectionSchemas
CollectionSchemas =
{ [K in keyof Collections]: Collections[K] extends { schema: infer S extends SchemaType } ? S : never }
Defined in: packages/lib/sdk/src/pluto/types.ts:93
Maps each collection name to its concrete SchemaType.
Derived from the schema property of each entry in Collections.
Used to parameterise Query so that selectors are type-checked
against the real schema shape.