···6767export { createSchemaProcessor } from './ir/schema-processor';
6868export type { SchemaVisitor, SchemaVisitorContext, Walker } from './ir/schema-walker';
6969export { childContext, createSchemaWalker } from './ir/schema-walker';
7070-export type { IR } from './ir/types';
7070+export type {
7171+ IR,
7272+ IRModel,
7373+ IROperationObject,
7474+ IRParameterObject,
7575+ IRParametersObject,
7676+ IRSchemaObject,
7777+ IRServerObject,
7878+} from './ir/types';
7179export { addItemsToSchema } from './ir/utils';
7280export { parseOpenApiSpec } from './openApi';
7381export type { OpenApiV2_0_X, OpenApiV2_0_XTypes } from './openApi/2.0.x';
+6-5
packages/shared/src/ir/types.ts
···5252 tags?: ReadonlyArray<string>;
5353}
54545555-interface IRParametersObject {
5555+export interface IRParametersObject {
5656 cookie?: Record<string, IRParameterObject>;
5757 header?: Record<string, IRParameterObject>;
5858 path?: Record<string, IRParameterObject>;
5959 query?: Record<string, IRParameterObject>;
6060}
61616262-interface IRParameterObject
6262+export interface IRParameterObject
6363 extends Pick<JsonSchemaDraft2020_12, 'deprecated' | 'description'>, SpecificationExtensions {
6464 /**
6565 * Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 `:/?#[]@!$&'()*+,;=` to be included without percent-encoding. The default value is `false`. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded` or `multipart/form-data`. If a value is explicitly defined, then the value of `contentType` (implicit or explicit) SHALL be ignored.
···124124 schema: IRSchemaObject;
125125}
126126127127-interface IRSchemaObject
127127+export interface IRSchemaObject
128128 extends
129129 Pick<
130130 JsonSchemaDraft2020_12,
···221221222222type IRSecurityObject = SecuritySchemeObject;
223223224224-type IRServerObject = ServerObject;
224224+// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- Interface rather than type alias avoids TS4023 errors when bundled dist is consumed by tsgo/TypeScript 7
225225+export interface IRServerObject extends ServerObject {}
225226226227type IRWebhookObject = IRPathItemObject;
227228228228-interface IRModel {
229229+export interface IRModel {
229230 components?: IRComponentsObject;
230231 paths?: IRPathsObject;
231232 servers?: ReadonlyArray<IRServerObject>;