export type { GuidV4Buffer, SignatureBuffer, } from '@digitaldefiance/node-ecies-lib'; export type ClientSession = any; import type { DefaultBackendIdType as DefaultBackendIdType_ } from './types/backend-id'; export type DefaultBackendIdType = DefaultBackendIdType_; /** * Block storage schema definition (replaces Mongoose Schema) * Uses generic string for model name to avoid domain-specific enum dependency. * Consumers can narrow the type with their own enum (e.g., ModelName from api-lib). */ export interface IBlockStorageSchema { name: string; fields: Record; indexes?: Array<{ fields: Record; options?: Record; }>; validate?: (doc: Partial) => void; } /** * Block storage model definition (replaces Mongoose Model) * Uses generic string for model name to avoid domain-specific enum dependency. */ export interface IBlockStorageModel { readonly modelName: string; readonly schema: IBlockStorageSchema; } /** * Block storage schema entry (replaces ISchema from node-express-suite) * Uses generic strings for collection and model name to avoid domain-specific enum dependencies. */ export interface IBlockStorageSchemaEntry { collection: string; model: IBlockStorageModel; modelName: string; schema: IBlockStorageSchema; } /** * Schema map type for validation schemas */ export type SchemaMap = Record>; //# sourceMappingURL=shared-types.d.ts.map