UNPKG

@overture-stack/lyric

Version:
15 lines (14 loc) 710 B
import type { DataRecord } from '@overture-stack/lectern-client'; import type { SubmittedData } from '@overture-stack/lyric-data-model/models'; import type { BaseDependencies } from '../../config/config.js'; import type { SchemaChildNode } from '../../utils/dictionarySchemaRelations.js'; declare const searchDataRelations: (dependencies: BaseDependencies) => { searchDirectDependents: ({ data, dictionaryRelations, entityName, organization, systemId, }: { data: DataRecord; dictionaryRelations: Record<string, SchemaChildNode[]>; entityName: string; organization: string; systemId: string; }) => Promise<SubmittedData[]>; }; export default searchDataRelations;