UNPKG

@getanthill/datastore

Version:

Event-Sourced Datastore

8 lines (7 loc) 649 B
import type { AnyObject, ModelConfig, ModelSchema, Services } from '../typings'; export declare function mergeWithArrays(objValue: any, srcValue: any, key: string): any[] | undefined; export declare function merge(...args: AnyObject[]): any; export declare function replaceEntityEncryptedFields(modelConfig: ModelConfig, clonedModelConfig: ModelConfig): ModelConfig; export declare function replaceEncryptedFields(modelConfig: ModelConfig): ModelConfig; export default function buildJsonSchema(services: Services, modelConfig: ModelConfig): ModelSchema; export declare function mapDateTimeFormatToEitherStringOrObject(schema: AnyObject): AnyObject;