import type CollectionRenameDataSourceDecorator from './datasource'; import type { CollectionSchema } from '@forestadmin/datasource-toolkit'; import { CollectionDecorator } from '@forestadmin/datasource-toolkit'; /** * This decorator renames collections. * It should be used with RenameCollectionDataSourceDecorator, and not the raw DataSourceDecorator */ export default class RenameCollectionCollectionDecorator extends CollectionDecorator { readonly dataSource: CollectionRenameDataSourceDecorator; get name(): string; protected refineSchema(childSchema: CollectionSchema): CollectionSchema; /** * Override visibility of the markSchemaAsDirty method so that we can call it * from the datasource. */ markSchemaAsDirty(): void; } //# sourceMappingURL=collection.d.ts.map