@strapi/types
Version:
Shared typescript types for Strapi internal use
10 lines • 337 B
TypeScript
import type { Schema } from './schema';
/**
* Represents a generic Schema before being loaded by Strapi (e.g. app or user defined schemas)
*
* @internal
*/
export type SchemaDefinition = Omit<Schema, 'uid' | 'attributes'> & {
attributes: Record<string, Record<string, unknown>>;
};
//# sourceMappingURL=schema-definition.d.ts.map