import type CollectionCustomizer from './collection-customizer'; import type CollectionCustomizationContext from './context/collection-context'; import type DataSourceCustomizer from './datasource-customizer'; import type { TCollectionName, TFieldName, TRow, TSchema } from './templates'; import type { Logger, PrimitiveTypes } from '@forestadmin/datasource-toolkit'; export type OneToManyEmbeddedDefinition = TCollectionName> = { schema: Record; dependencies?: TFieldName[]; listRecords(record: TRow, context: CollectionCustomizationContext): Promise | unknown[]; }; export type DataSourceOptions = { rename?: ((oldName: string) => string) | { [oldName: string]: string; }; include?: string[]; exclude?: string[]; }; export type Plugin = (dataSourceCustomizer: DataSourceCustomizer, collectionCustomizer: CollectionCustomizer, options?: Options, logger?: Logger) => Promise | void; //# sourceMappingURL=types.d.ts.map