import { EntityDescriptor, RelationshipDef } from "../../common/interfaces/entity.schema.interface"; import { JsonApiSchemaObject } from "../schemas/jsonapi-base.schemas"; /** * Result of creating entity schemas - includes resource schema and response wrappers. */ export interface EntitySchemas { /** The core resource schema (type, id, attributes, relationships) */ resource: JsonApiSchemaObject; /** Single resource response wrapper */ singleResponse: JsonApiSchemaObject; /** Collection response wrapper */ collectionResponse: JsonApiSchemaObject; /** Schema name for registration (e.g., 'Photograph') */ schemaName: string; } /** * Creates OpenAPI schemas from an EntityDescriptor. * Generates resource schema, single response, and collection response schemas. */ export declare function createEntitySchemas>(descriptor: EntityDescriptor): EntitySchemas; //# sourceMappingURL=entity-schema.factory.d.ts.map