UNPKG

lambdaorm-base

Version:
22 lines (21 loc) 821 B
import { Mapping, MatchOptions, Schema } from '../../domain'; import { SchemaHelper } from '../../infrastructure/schemaHelper'; import { SchemaService } from '../services/schemaService'; export declare class MatchSchema { private readonly schemaService; private readonly helper; constructor(schemaService: SchemaService, helper: SchemaHelper); match(schema: Schema, mappings: Mapping[], options: MatchOptions): void; private matchMapping; private createEntity; private createEntityMapping; private upsertProperties; private propertyFromPropertyMapping; private mergeIndexes; private mergeRelations; private updateEntityMapping; private removeEntitiesAndProperties; private removeEntityMappingsAndProperties; private removeProperties; private mergeValues; }