Type Alias StrategyContext
StrategyContext: { authorityAccess?: Record<string, AuthorityConfiguration>; authorityIRI: string; createDeeperContext: CreateDeeperContextFn; currentMapping?: DeclarativeMappings; getPrimaryIRIBySecondaryIRI: ( secondaryIRI: string, authorityIRI: string, typeIRI?: string, ) => Promise<string | null>; logger: Logger; mappingTable?: DeclarativeMapping; newIRI: (typeIRI: string) => string; normDataMappings: NormDataMappings<DeclarativeMapping>; onNewDocument?: (document: any) => Promise<any>; options?: { strictCheckSourceData?: boolean; strictCheckTargetData?: boolean; }; path: string[]; primaryFields: PrimaryFieldDeclaration; searchEntityByLabel: ( label: string, typeIRI: string, ) => Promise<string | null>; typeIRItoTypeName: IRIToStringFn;} Type declaration
authorityIRI: string
getPrimaryIRIBySecondaryIRI: (
secondaryIRI: string,
authorityIRI: string,
typeIRI?: string,
) => Promise<string | null>
newIRI: (typeIRI: string) => string
OptionalonNewDocument?: (document: any) => Promise<any>
Optionaloptions?: { strictCheckSourceData?: boolean; strictCheckTargetData?: boolean }
path: string[]
primaryFields: PrimaryFieldDeclaration
searchEntityByLabel: (label: string, typeIRI: string) => Promise<string | null>
typeIRItoTypeName: IRIToStringFn