import { EntityDescriptor, RelationshipDef } from "../../common/interfaces/entity.schema.interface"; import { JsonApiSchemaObject } from "../schemas/jsonapi-base.schemas"; /** * Result of creating request body schemas. */ export interface RequestSchemas { /** POST request body schema (id optional) */ createRequest: JsonApiSchemaObject; /** PUT request body schema (id required) */ updateRequest: JsonApiSchemaObject; /** PATCH request body schema (all fields optional) */ patchRequest: JsonApiSchemaObject; /** Schema name prefix for registration */ schemaName: string; } /** * Creates POST/PUT/PATCH request body schemas from an EntityDescriptor. */ export declare function createRequestSchemas>(descriptor: EntityDescriptor): RequestSchemas; //# sourceMappingURL=request-schema.factory.d.ts.map