@scalar/workspace-store 0.15.7 → 0.15.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/client.d.ts +1 -38
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -5
- package/dist/client.js.map +2 -2
- package/dist/navigation/get-navigation-options.d.ts +9 -0
- package/dist/navigation/get-navigation-options.d.ts.map +1 -0
- package/dist/navigation/get-navigation-options.js +77 -0
- package/dist/navigation/get-navigation-options.js.map +7 -0
- package/dist/navigation/helpers/get-x-keys.d.ts +10 -0
- package/dist/navigation/helpers/get-x-keys.d.ts.map +1 -0
- package/dist/navigation/helpers/get-x-keys.js +10 -0
- package/dist/navigation/helpers/get-x-keys.js.map +7 -0
- package/dist/navigation/helpers/traverse-description.d.ts +3 -5
- package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-description.js +4 -5
- package/dist/navigation/helpers/traverse-description.js.map +2 -2
- package/dist/navigation/helpers/traverse-document.d.ts +121 -28
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.js +16 -21
- package/dist/navigation/helpers/traverse-document.js.map +2 -2
- package/dist/navigation/helpers/traverse-paths.d.ts +4 -5
- package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.js +14 -7
- package/dist/navigation/helpers/traverse-paths.js.map +2 -2
- package/dist/navigation/helpers/traverse-schemas.d.ts +3 -6
- package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-schemas.js +7 -7
- package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
- package/dist/navigation/helpers/traverse-tags.d.ts +2 -5
- package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-tags.js +16 -13
- package/dist/navigation/helpers/traverse-tags.js.map +2 -2
- package/dist/navigation/helpers/traverse-webhooks.d.ts +3 -6
- package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-webhooks.js +27 -7
- package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
- package/dist/navigation/index.d.ts +1 -0
- package/dist/navigation/index.d.ts.map +1 -1
- package/dist/navigation/index.js +2 -0
- package/dist/navigation/index.js.map +2 -2
- package/dist/navigation/types.d.ts +3 -4
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/schemas/inmemory-workspace.d.ts +162 -102
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/navigation.d.ts +60 -128
- package/dist/schemas/navigation.d.ts.map +1 -1
- package/dist/schemas/navigation.js +40 -44
- package/dist/schemas/navigation.js.map +2 -2
- package/dist/schemas/reference-config/index.d.ts +81 -51
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +81 -51
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +9980 -1429
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.js +31 -4
- package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts +8 -0
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/ref-definitions.js +12 -1
- package/dist/schemas/v3.1/strict/ref-definitions.js.map +2 -2
- package/dist/schemas/v3.1/strict/schema.d.ts +2 -2
- package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/schema.js +2 -44
- package/dist/schemas/v3.1/strict/schema.js.map +2 -2
- package/dist/schemas/workspace-specification/config.d.ts +113 -51
- package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/config.js.map +2 -2
- package/dist/schemas/workspace-specification/index.d.ts +81 -51
- package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
- package/dist/schemas/workspace.d.ts +567 -357
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/server.d.ts +3 -4
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js.map +2 -2
- package/package.json +9 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/schemas/v3.1/strict/schema.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { XTags } from '@/schemas/extensions/document/x-tags'\nimport { XAdditionalPropertiesNameSchema } from '@/schemas/extensions/schema/x-additional-properties-name'\nimport { XEnumDescriptionsSchema } from '@/schemas/extensions/schema/x-enum-descriptions'\nimport { XEnumVarNamesSchema } from '@/schemas/extensions/schema/x-enum-varnames'\nimport { XVariableSchema } from '@/schemas/extensions/schema/x-variable'\nimport {\n DiscriminatorObjectRef,\n ExternalDocumentationObjectRef,\n SchemaObjectRef,\n XMLObjectRef,\n} from '@/schemas/v3.1/strict/ref-definitions'\nimport { reference } from '@/schemas/v3.1/strict/reference'\n\nconst schemaOrReference = Type.Union([SchemaObjectRef, reference(SchemaObjectRef)])\n\n/**\n * Primitive types that don't have additional validation properties.\n * These types (null, boolean, string, number, integer, object, array) can be used\n * without additional validation constraints.\n *\n * TODO: Type array will actually validate against every union type but we can cross that bridge when we come to it\n */\nconst OtherTypes = Type.Object({\n type: Type.Union([\n Type.Literal('null'),\n Type.Literal('boolean'),\n Type.Array(\n Type.Union([\n Type.Literal('null'),\n Type.Literal('boolean'),\n Type.Literal('string'),\n Type.Literal('number'),\n Type.Literal('integer'),\n Type.Literal('object'),\n Type.Literal('array'),\n ]),\n ),\n ]),\n})\n\n/**\n * Numeric validation properties for number and integer types.\n */\nconst NumericProperties = Type.Object({\n type: Type.Union([Type.Literal('number'), Type.Literal('integer')]),\n /** Different subtypes */\n format: Type.Optional(\n Type.Union([\n // Integer formats\n Type.Literal('int8'),\n Type.Literal('int16'),\n Type.Literal('int32'),\n Type.Literal('int64'),\n Type.Literal('uint8'),\n Type.Literal('uint16'),\n Type.Literal('uint32'),\n Type.Literal('uint64'),\n Type.Literal('double-int'),\n // Number formats\n Type.Literal('float'),\n Type.Literal('double'),\n Type.Literal('decimal'),\n Type.Literal('decimal128'),\n // Structured field number formats\n Type.Literal('sf-integer'),\n Type.Literal('sf-decimal'),\n ]),\n ),\n /** Number must be a multiple of this value. */\n multipleOf: Type.Optional(Type.Number()),\n /** Maximum value (inclusive). */\n maximum: Type.Optional(Type.Number()),\n /** Maximum value (exclusive). */\n exclusiveMaximum: Type.Optional(Type.Union([Type.Boolean(), Type.Number()])),\n /** Minimum value (inclusive). */\n minimum: Type.Optional(Type.Number()),\n /** Minimum value (exclusive). */\n exclusiveMinimum: Type.Optional(Type.Union([Type.Boolean(), Type.Number()])),\n})\n\n/**\n * String validation properties for string types.\n */\nconst StringValidationProperties = Type.Object({\n type: Type.Literal('string'),\n /** Different subtypes */\n format: Type.Optional(\n Type.Union([\n // Date and time formats\n Type.Literal('date'),\n Type.Literal('date-time'),\n Type.Literal('date-time-local'),\n Type.Literal('time'),\n Type.Literal('time-local'),\n Type.Literal('duration'),\n Type.Literal('http-date'),\n // Network formats\n Type.Literal('email'),\n Type.Literal('idn-email'),\n Type.Literal('hostname'),\n Type.Literal('idn-hostname'),\n Type.Literal('ipv4'),\n Type.Literal('ipv6'),\n Type.Literal('uri'),\n Type.Literal('uri-reference'),\n Type.Literal('uri-template'),\n Type.Literal('iri'),\n Type.Literal('iri-reference'),\n Type.Literal('uuid'),\n // Content formats\n Type.Literal('binary'),\n Type.Literal('byte'),\n Type.Literal('base64url'),\n Type.Literal('html'),\n Type.Literal('commonmark'),\n Type.Literal('password'),\n Type.Literal('regex'),\n Type.Literal('json-pointer'),\n Type.Literal('relative-json-pointer'),\n Type.Literal('media-range'),\n // Character formats\n Type.Literal('char'),\n // Structured field string formats\n Type.Literal('sf-string'),\n Type.Literal('sf-token'),\n Type.Literal('sf-binary'),\n Type.Literal('sf-boolean'),\n ]),\n ),\n /** Maximum string length. */\n maxLength: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum string length. */\n minLength: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Regular expression pattern. */\n pattern: Type.Optional(Type.String()),\n})\n\nconst CorePropertiesWithSchema = Type.Object({\n name: Type.Optional(Type.String()),\n /** A title for the schema. */\n title: Type.Optional(Type.String()),\n /** A description of the schema. */\n description: Type.Optional(Type.String()),\n /** Default value for the schema. */\n default: Type.Optional(Type.Unknown()),\n /** Array of allowed values. */\n enum: Type.Optional(Type.Array(Type.Unknown())),\n /** Constant value that must match exactly. */\n const: Type.Optional(Type.Unknown()),\n\n // OpenAPI 3.1\n /** Media type for content validation. */\n contentMediaType: Type.Optional(Type.String()),\n /** Content encoding. */\n contentEncoding: Type.Optional(Type.String()),\n /** Schema for content validation. */\n contentSchema: Type.Optional(schemaOrReference),\n /** Whether the schema is deprecated. */\n deprecated: Type.Optional(Type.Boolean()),\n /** Adds support for polymorphism. The discriminator is used to determine which of a set of schemas a payload is expected to satisfy. See Composition and Inheritance for more details. */\n discriminator: Type.Optional(DiscriminatorObjectRef),\n /** Whether the schema is read-only. */\n readOnly: Type.Optional(Type.Boolean()),\n /** Whether the schema is write-only. */\n writeOnly: Type.Optional(Type.Boolean()),\n /** This MAY be used only on property schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property. */\n xml: Type.Optional(XMLObjectRef),\n /** Additional external documentation for this schema. */\n externalDocs: Type.Optional(ExternalDocumentationObjectRef),\n /**\n * A free-form field to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary.\n *\n * @deprecated The example field has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.\n */\n example: Type.Optional(Type.Unknown()),\n /**\n * An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.\n * Each example should be a valid instance of the schema.\n */\n examples: Type.Optional(Type.Array(Type.Unknown())),\n\n /** All schemas must be valid. */\n allOf: Type.Optional(Type.Array(schemaOrReference)),\n /** Exactly one schema must be valid. */\n oneOf: Type.Optional(Type.Array(schemaOrReference)),\n /** At least one schema must be valid. */\n anyOf: Type.Optional(Type.Array(schemaOrReference)),\n /** Schema must not be valid. */\n not: Type.Optional(schemaOrReference),\n})\n\nconst ArrayValidationPropertiesWithSchema = Type.Object({\n type: Type.Literal('array'),\n /** Maximum number of items in array. */\n maxItems: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum number of items in array. */\n minItems: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Whether array items must be unique. */\n uniqueItems: Type.Optional(Type.Boolean()),\n /** Schema for array items. */\n items: Type.Optional(schemaOrReference),\n /** Schema for tuple validation. */\n prefixItems: Type.Optional(Type.Array(schemaOrReference)),\n})\n\nconst ObjectValidationPropertiesWithSchema = Type.Object({\n type: Type.Literal('object'),\n /** Maximum number of properties. */\n maxProperties: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum number of properties. */\n minProperties: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Array of required property names. */\n required: Type.Optional(Type.Array(Type.String())),\n /** Object property definitions. */\n properties: Type.Optional(Type.Record(Type.String(), schemaOrReference)),\n /** Schema for additional properties. */\n additionalProperties: Type.Optional(Type.Union([Type.Boolean(), schemaOrReference])),\n /** Properties matching regex patterns. */\n patternProperties: Type.Optional(Type.Record(Type.String(), schemaOrReference)),\n})\n\nconst Extensions = compose(\n XScalarIgnoreSchema,\n XInternalSchema,\n XVariableSchema,\n XEnumDescriptionsSchema,\n XEnumVarNamesSchema,\n XAdditionalPropertiesNameSchema,\n XTags,\n)\n\n/** Builds the recursive schema schema */\nexport const SchemaObjectSchemaDefinition = Type.Union([\n // Keep compositions first so they get priority when union is evaluated\n // Make sure there is always a required field so not all properties are optional\n // When all properties are optional (1) typescript will not throw any warnings/error and accepts anything\n // even a non resolved ref and (2) it will match any schema so it will not validate the refs correctly\n compose(Type.Object({ _: Type.String() }), CorePropertiesWithSchema, Extensions),\n compose(OtherTypes, CorePropertiesWithSchema, Extensions),\n compose(NumericProperties, CorePropertiesWithSchema, Extensions),\n compose(StringValidationProperties, CorePropertiesWithSchema, Extensions),\n compose(ObjectValidationPropertiesWithSchema, CorePropertiesWithSchema, Extensions),\n compose(ArrayValidationPropertiesWithSchema, CorePropertiesWithSchema, Extensions),\n])\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAS,uBAAuB;AAChC,SAAS,2BAA2B;AACpC,SAAS,aAAa;AACtB,SAAS,uCAAuC;AAChD,SAAS,+BAA+B;AACxC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,iBAAiB;AAE1B,MAAM,oBAAoB,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC;AASlF,MAAM,aAAa,KAAK,OAAO;AAAA,EAC7B,MAAM,KAAK,MAAM;AAAA,IACf,KAAK,QAAQ,MAAM;AAAA,IACnB,KAAK,QAAQ,SAAS;AAAA,IACtB,KAAK;AAAA,MACH,KAAK,MAAM;AAAA,QACT,KAAK,QAAQ,MAAM;AAAA,QACnB,KAAK,QAAQ,SAAS;AAAA,QACtB,KAAK,QAAQ,QAAQ;AAAA,QACrB,KAAK,QAAQ,QAAQ;AAAA,QACrB,KAAK,QAAQ,SAAS;AAAA,QACtB,KAAK,QAAQ,QAAQ;AAAA,QACrB,KAAK,QAAQ,OAAO;AAAA,MACtB,CAAC;AAAA,IACH;AAAA,EACF,CAAC;AACH,CAAC;AAKD,MA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ebox'\n\nimport { compose } from '@/schemas/compose'\nimport { XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { XTags } from '@/schemas/extensions/document/x-tags'\nimport { XAdditionalPropertiesNameSchema } from '@/schemas/extensions/schema/x-additional-properties-name'\nimport { XEnumDescriptionsSchema } from '@/schemas/extensions/schema/x-enum-descriptions'\nimport { XEnumVarNamesSchema } from '@/schemas/extensions/schema/x-enum-varnames'\nimport { XVariableSchema } from '@/schemas/extensions/schema/x-variable'\nimport {\n DiscriminatorObjectRef,\n ExternalDocumentationObjectRef,\n SchemaObjectRef,\n XMLObjectRef,\n} from '@/schemas/v3.1/strict/ref-definitions'\nimport { reference } from '@/schemas/v3.1/strict/reference'\n\nconst schemaOrReference = Type.Union([SchemaObjectRef, reference(SchemaObjectRef)])\n\n/**\n * Primitive types that don't have additional validation properties.\n * These types (null, boolean, string, number, integer, object, array) can be used\n * without additional validation constraints.\n *\n * TODO: Type array will actually validate against every union type but we can cross that bridge when we come to it\n */\nconst OtherTypes = Type.Object({\n type: Type.Union([\n Type.Literal('null'),\n Type.Literal('boolean'),\n Type.Array(\n Type.Union([\n Type.Literal('null'),\n Type.Literal('boolean'),\n Type.Literal('string'),\n Type.Literal('number'),\n Type.Literal('integer'),\n Type.Literal('object'),\n Type.Literal('array'),\n ]),\n ),\n ]),\n})\n\n/**\n * Numeric validation properties for number and integer types.\n */\nconst NumericProperties = Type.Object({\n type: Type.Union([Type.Literal('number'), Type.Literal('integer')]),\n /** Different subtypes */\n format: Type.Optional(\n Type.Union([\n // Integer formats\n Type.Literal('int8'),\n Type.Literal('int16'),\n Type.Literal('int32'),\n Type.Literal('int64'),\n Type.Literal('uint8'),\n Type.Literal('uint16'),\n Type.Literal('uint32'),\n Type.Literal('uint64'),\n Type.Literal('double-int'),\n // Number formats\n Type.Literal('float'),\n Type.Literal('double'),\n Type.Literal('decimal'),\n Type.Literal('decimal128'),\n // Structured field number formats\n Type.Literal('sf-integer'),\n Type.Literal('sf-decimal'),\n ]),\n ),\n /** Number must be a multiple of this value. */\n multipleOf: Type.Optional(Type.Number()),\n /** Maximum value (inclusive). */\n maximum: Type.Optional(Type.Number()),\n /** Maximum value (exclusive). */\n exclusiveMaximum: Type.Optional(Type.Union([Type.Boolean(), Type.Number()])),\n /** Minimum value (inclusive). */\n minimum: Type.Optional(Type.Number()),\n /** Minimum value (exclusive). */\n exclusiveMinimum: Type.Optional(Type.Union([Type.Boolean(), Type.Number()])),\n})\n\n/**\n * String validation properties for string types.\n */\nconst StringValidationProperties = Type.Object({\n type: Type.Literal('string'),\n /** Different subtypes - allow any arbitrary string, this negates the purpose of having a union of formats so we type it in typescript instead */\n format: Type.Optional(Type.String()),\n /** Maximum string length. */\n maxLength: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum string length. */\n minLength: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Regular expression pattern. */\n pattern: Type.Optional(Type.String()),\n})\n\nconst CorePropertiesWithSchema = Type.Object({\n name: Type.Optional(Type.String()),\n /** A title for the schema. */\n title: Type.Optional(Type.String()),\n /** A description of the schema. */\n description: Type.Optional(Type.String()),\n /** Default value for the schema. */\n default: Type.Optional(Type.Unknown()),\n /** Array of allowed values. */\n enum: Type.Optional(Type.Array(Type.Unknown())),\n /** Constant value that must match exactly. */\n const: Type.Optional(Type.Unknown()),\n\n // OpenAPI 3.1\n /** Media type for content validation. */\n contentMediaType: Type.Optional(Type.String()),\n /** Content encoding. */\n contentEncoding: Type.Optional(Type.String()),\n /** Schema for content validation. */\n contentSchema: Type.Optional(schemaOrReference),\n /** Whether the schema is deprecated. */\n deprecated: Type.Optional(Type.Boolean()),\n /** Adds support for polymorphism. The discriminator is used to determine which of a set of schemas a payload is expected to satisfy. See Composition and Inheritance for more details. */\n discriminator: Type.Optional(DiscriminatorObjectRef),\n /** Whether the schema is read-only. */\n readOnly: Type.Optional(Type.Boolean()),\n /** Whether the schema is write-only. */\n writeOnly: Type.Optional(Type.Boolean()),\n /** This MAY be used only on property schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property. */\n xml: Type.Optional(XMLObjectRef),\n /** Additional external documentation for this schema. */\n externalDocs: Type.Optional(ExternalDocumentationObjectRef),\n /**\n * A free-form field to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary.\n *\n * @deprecated The example field has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.\n */\n example: Type.Optional(Type.Unknown()),\n /**\n * An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.\n * Each example should be a valid instance of the schema.\n */\n examples: Type.Optional(Type.Array(Type.Unknown())),\n\n /** All schemas must be valid. */\n allOf: Type.Optional(Type.Array(schemaOrReference)),\n /** Exactly one schema must be valid. */\n oneOf: Type.Optional(Type.Array(schemaOrReference)),\n /** At least one schema must be valid. */\n anyOf: Type.Optional(Type.Array(schemaOrReference)),\n /** Schema must not be valid. */\n not: Type.Optional(schemaOrReference),\n})\n\nconst ArrayValidationPropertiesWithSchema = Type.Object({\n type: Type.Literal('array'),\n /** Maximum number of items in array. */\n maxItems: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum number of items in array. */\n minItems: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Whether array items must be unique. */\n uniqueItems: Type.Optional(Type.Boolean()),\n /** Schema for array items. */\n items: Type.Optional(schemaOrReference),\n /** Schema for tuple validation. */\n prefixItems: Type.Optional(Type.Array(schemaOrReference)),\n})\n\nconst ObjectValidationPropertiesWithSchema = Type.Object({\n type: Type.Literal('object'),\n /** Maximum number of properties. */\n maxProperties: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum number of properties. */\n minProperties: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Array of required property names. */\n required: Type.Optional(Type.Array(Type.String())),\n /** Object property definitions. */\n properties: Type.Optional(Type.Record(Type.String(), schemaOrReference)),\n /** Schema for additional properties. */\n additionalProperties: Type.Optional(Type.Union([Type.Boolean(), schemaOrReference])),\n /** Properties matching regex patterns. */\n patternProperties: Type.Optional(Type.Record(Type.String(), schemaOrReference)),\n})\n\nconst Extensions = compose(\n XScalarIgnoreSchema,\n XInternalSchema,\n XVariableSchema,\n XEnumDescriptionsSchema,\n XEnumVarNamesSchema,\n XAdditionalPropertiesNameSchema,\n XTags,\n)\n\n/** Builds the recursive schema schema */\nexport const SchemaObjectSchemaDefinition = Type.Union([\n // Keep compositions first so they get priority when union is evaluated\n // Make sure there is always a required field so not all properties are optional\n // When all properties are optional (1) typescript will not throw any warnings/error and accepts anything\n // even a non resolved ref and (2) it will match any schema so it will not validate the refs correctly\n compose(Type.Object({ _: Type.String() }), CorePropertiesWithSchema, Extensions),\n compose(OtherTypes, CorePropertiesWithSchema, Extensions),\n compose(NumericProperties, CorePropertiesWithSchema, Extensions),\n compose(StringValidationProperties, CorePropertiesWithSchema, Extensions),\n compose(ObjectValidationPropertiesWithSchema, CorePropertiesWithSchema, Extensions),\n compose(ArrayValidationPropertiesWithSchema, CorePropertiesWithSchema, Extensions),\n])\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAS,uBAAuB;AAChC,SAAS,2BAA2B;AACpC,SAAS,aAAa;AACtB,SAAS,uCAAuC;AAChD,SAAS,+BAA+B;AACxC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,iBAAiB;AAE1B,MAAM,oBAAoB,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC;AASlF,MAAM,aAAa,KAAK,OAAO;AAAA,EAC7B,MAAM,KAAK,MAAM;AAAA,IACf,KAAK,QAAQ,MAAM;AAAA,IACnB,KAAK,QAAQ,SAAS;AAAA,IACtB,KAAK;AAAA,MACH,KAAK,MAAM;AAA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CAAC;AAAA;AAAA,EAEjD,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,iBAAiB,CAAC;AAAA;AAAA,EAEvE,sBAAsB,KAAK,SAAS,KAAK,MAAM,CAAC,KAAK,QAAQ,GAAG,iBAAiB,CAAC,CAAC;AAAA;AAAA,EAEnF,mBAAmB,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,iBAAiB,CAAC;AAChF,CAAC;AAED,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAGO,MAAM,+BAA+B,KAAK,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,EAKrD,QAAQ,KAAK,OAAO,EAAE,GAAG,KAAK,OAAO,EAAE,CAAC,GAAG,0BAA0B,UAAU;AAAA,EAC/E,QAAQ,YAAY,0BAA0B,UAAU;AAAA,EACxD,QAAQ,mBAAmB,0BAA0B,UAAU;AAAA,EAC/D,QAAQ,4BAA4B,0BAA0B,UAAU;AAAA,EACxE,QAAQ,sCAAsC,0BAA0B,UAAU;AAAA,EAClF,QAAQ,qCAAqC,0BAA0B,UAAU;AACnF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { type Static } from '@scalar/typebox';
|
|
2
|
+
import type { PartialDeep } from 'type-fest';
|
|
3
|
+
import type { TraverseSpecOptions } from '../../navigation/types.js';
|
|
2
4
|
export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
3
5
|
'x-scalar-reference-config': import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
|
|
4
6
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -579,7 +581,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
579
581
|
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
580
582
|
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
581
583
|
type: import("@scalar/typebox").TLiteral<"string">;
|
|
582
|
-
format: import("@scalar/typebox").TOptional<import("@scalar/typebox").
|
|
584
|
+
format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
583
585
|
maxLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
584
586
|
minLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
585
587
|
pattern: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1206,57 +1208,87 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1206
1208
|
path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1207
1209
|
}>>>;
|
|
1208
1210
|
'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1209
|
-
"x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").
|
|
1210
|
-
TraversedTagSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1211
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1212
|
-
id: import("@scalar/typebox").TString;
|
|
1213
|
-
title: import("@scalar/typebox").TString;
|
|
1214
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1215
|
-
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
1216
|
-
name: import("@scalar/typebox").TString;
|
|
1217
|
-
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntrySchema">>>;
|
|
1218
|
-
isGroup: import("@scalar/typebox").TBoolean;
|
|
1219
|
-
}>]>;
|
|
1220
|
-
TraversedEntrySchema: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagSchema">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1221
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1222
|
-
id: import("@scalar/typebox").TString;
|
|
1223
|
-
title: import("@scalar/typebox").TString;
|
|
1224
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1225
|
-
type: import("@scalar/typebox").TLiteral<"text">;
|
|
1226
|
-
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
1227
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1228
|
-
id: import("@scalar/typebox").TString;
|
|
1229
|
-
title: import("@scalar/typebox").TString;
|
|
1230
|
-
}>>>;
|
|
1231
|
-
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1232
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1233
|
-
id: import("@scalar/typebox").TString;
|
|
1234
|
-
title: import("@scalar/typebox").TString;
|
|
1235
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1236
|
-
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
1237
|
-
ref: import("@scalar/typebox").TString;
|
|
1238
|
-
method: import("@scalar/typebox").TString;
|
|
1239
|
-
path: import("@scalar/typebox").TString;
|
|
1240
|
-
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1241
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1242
|
-
id: import("@scalar/typebox").TString;
|
|
1243
|
-
title: import("@scalar/typebox").TString;
|
|
1244
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1245
|
-
type: import("@scalar/typebox").TLiteral<"model">;
|
|
1246
|
-
ref: import("@scalar/typebox").TString;
|
|
1247
|
-
name: import("@scalar/typebox").TString;
|
|
1248
|
-
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1249
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1250
|
-
id: import("@scalar/typebox").TString;
|
|
1251
|
-
title: import("@scalar/typebox").TString;
|
|
1252
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1253
|
-
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
1254
|
-
ref: import("@scalar/typebox").TString;
|
|
1255
|
-
method: import("@scalar/typebox").TString;
|
|
1256
|
-
name: import("@scalar/typebox").TString;
|
|
1257
|
-
}>]>]>;
|
|
1258
|
-
}, "TraversedEntrySchema">>>;
|
|
1211
|
+
"x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1259
1212
|
}>]>;
|
|
1213
|
+
TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1214
|
+
id: import("@scalar/typebox").TString;
|
|
1215
|
+
title: import("@scalar/typebox").TString;
|
|
1216
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1217
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
1218
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1219
|
+
}>]>;
|
|
1220
|
+
TraversedOperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1221
|
+
id: import("@scalar/typebox").TString;
|
|
1222
|
+
title: import("@scalar/typebox").TString;
|
|
1223
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1224
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
1225
|
+
ref: import("@scalar/typebox").TString;
|
|
1226
|
+
method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
|
|
1227
|
+
path: import("@scalar/typebox").TString;
|
|
1228
|
+
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1229
|
+
}>]>;
|
|
1230
|
+
TraversedSchemaObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1231
|
+
id: import("@scalar/typebox").TString;
|
|
1232
|
+
title: import("@scalar/typebox").TString;
|
|
1233
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1234
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
1235
|
+
ref: import("@scalar/typebox").TString;
|
|
1236
|
+
name: import("@scalar/typebox").TString;
|
|
1237
|
+
}>]>;
|
|
1238
|
+
TraversedWebhookObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1239
|
+
id: import("@scalar/typebox").TString;
|
|
1240
|
+
title: import("@scalar/typebox").TString;
|
|
1241
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1242
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
1243
|
+
ref: import("@scalar/typebox").TString;
|
|
1244
|
+
method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
|
|
1245
|
+
name: import("@scalar/typebox").TString;
|
|
1246
|
+
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1247
|
+
}>]>;
|
|
1248
|
+
TraversedTagObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1249
|
+
id: import("@scalar/typebox").TString;
|
|
1250
|
+
title: import("@scalar/typebox").TString;
|
|
1251
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1252
|
+
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
1253
|
+
name: import("@scalar/typebox").TString;
|
|
1254
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1255
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1256
|
+
isGroup: import("@scalar/typebox").TBoolean;
|
|
1257
|
+
isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1258
|
+
xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
|
|
1259
|
+
}>]>;
|
|
1260
|
+
TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1261
|
+
id: import("@scalar/typebox").TString;
|
|
1262
|
+
title: import("@scalar/typebox").TString;
|
|
1263
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1264
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
1265
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1266
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1267
|
+
id: import("@scalar/typebox").TString;
|
|
1268
|
+
title: import("@scalar/typebox").TString;
|
|
1269
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1270
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
1271
|
+
ref: import("@scalar/typebox").TString;
|
|
1272
|
+
method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
|
|
1273
|
+
path: import("@scalar/typebox").TString;
|
|
1274
|
+
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1275
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1276
|
+
id: import("@scalar/typebox").TString;
|
|
1277
|
+
title: import("@scalar/typebox").TString;
|
|
1278
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1279
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
1280
|
+
ref: import("@scalar/typebox").TString;
|
|
1281
|
+
name: import("@scalar/typebox").TString;
|
|
1282
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1283
|
+
id: import("@scalar/typebox").TString;
|
|
1284
|
+
title: import("@scalar/typebox").TString;
|
|
1285
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1286
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
1287
|
+
ref: import("@scalar/typebox").TString;
|
|
1288
|
+
method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
|
|
1289
|
+
name: import("@scalar/typebox").TString;
|
|
1290
|
+
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1291
|
+
}>]>]>;
|
|
1260
1292
|
}, "ServerObject">>>;
|
|
1261
1293
|
baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1262
1294
|
}>>;
|
|
@@ -1296,4 +1328,34 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1296
1328
|
}>>;
|
|
1297
1329
|
}>;
|
|
1298
1330
|
export type Config = Static<typeof ConfigSchema>;
|
|
1331
|
+
export type DocumentConfiguration = Config & PartialDeep<{
|
|
1332
|
+
'x-scalar-reference-config': {
|
|
1333
|
+
tagSort: TraverseSpecOptions['tagsSorter'];
|
|
1334
|
+
operationsSorter: TraverseSpecOptions['operationsSorter'];
|
|
1335
|
+
getHeadingId: TraverseSpecOptions['getHeadingId'];
|
|
1336
|
+
getOperationId: TraverseSpecOptions['getOperationId'];
|
|
1337
|
+
getWebhookId: TraverseSpecOptions['getWebhookId'];
|
|
1338
|
+
getModelId: TraverseSpecOptions['getModelId'];
|
|
1339
|
+
getTagId: TraverseSpecOptions['getTagId'];
|
|
1340
|
+
generateOperationSlug?: (details: {
|
|
1341
|
+
path: string;
|
|
1342
|
+
operationId?: string;
|
|
1343
|
+
method: string;
|
|
1344
|
+
summary?: string;
|
|
1345
|
+
}) => string;
|
|
1346
|
+
generateHeadingSlug?: (details: {
|
|
1347
|
+
slug?: string;
|
|
1348
|
+
}) => string;
|
|
1349
|
+
generateTagSlug?: (details: {
|
|
1350
|
+
name?: string;
|
|
1351
|
+
}) => string;
|
|
1352
|
+
generateModelSlug?: (details: {
|
|
1353
|
+
name?: string;
|
|
1354
|
+
}) => string;
|
|
1355
|
+
generateWebhookSlug?: (details: {
|
|
1356
|
+
name: string;
|
|
1357
|
+
method?: string;
|
|
1358
|
+
}) => string;
|
|
1359
|
+
};
|
|
1360
|
+
}>;
|
|
1299
1361
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM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KAAK,MAAM,CAAA;QACZ,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC5D,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QACxD,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC1D,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;KAC7E,CAAA;CACF,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/schemas/workspace-specification/config.ts"],
|
|
4
|
-
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { ReferenceConfigSchema } from '@/schemas/reference-config'\n\nexport const ConfigSchema = Type.Partial(\n Type.Object({\n 'x-scalar-reference-config': ReferenceConfigSchema,\n }),\n)\n\nexport type Config = Static<typeof ConfigSchema>\n"],
|
|
5
|
-
"mappings": "AAAA,SAAsB,YAAY;
|
|
4
|
+
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\nimport type { PartialDeep } from 'type-fest'\n\nimport type { TraverseSpecOptions } from '@/navigation/types'\nimport { ReferenceConfigSchema } from '@/schemas/reference-config'\n\nexport const ConfigSchema = Type.Partial(\n Type.Object({\n 'x-scalar-reference-config': ReferenceConfigSchema,\n }),\n)\n\nexport type Config = Static<typeof ConfigSchema>\n\nexport type DocumentConfiguration = Config &\n PartialDeep<{\n 'x-scalar-reference-config': {\n tagSort: TraverseSpecOptions['tagsSorter']\n operationsSorter: TraverseSpecOptions['operationsSorter']\n getHeadingId: TraverseSpecOptions['getHeadingId']\n getOperationId: TraverseSpecOptions['getOperationId']\n getWebhookId: TraverseSpecOptions['getWebhookId']\n getModelId: TraverseSpecOptions['getModelId']\n getTagId: TraverseSpecOptions['getTagId']\n generateOperationSlug?: (details: {\n path: string\n operationId?: string\n method: string\n summary?: string\n }) => string\n generateHeadingSlug?: (details: { slug?: string }) => string\n generateTagSlug?: (details: { name?: string }) => string\n generateModelSlug?: (details: { name?: string }) => string\n generateWebhookSlug?: (details: { name: string; method?: string }) => string\n }\n }>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAsB,YAAY;AAIlC,SAAS,6BAA6B;AAE/B,MAAM,eAAe,KAAK;AAAA,EAC/B,KAAK,OAAO;AAAA,IACV,6BAA6B;AAAA,EAC/B,CAAC;AACH;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -589,7 +589,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
|
|
|
589
589
|
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
590
590
|
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
591
591
|
type: import("@scalar/typebox").TLiteral<"string">;
|
|
592
|
-
format: import("@scalar/typebox").TOptional<import("@scalar/typebox").
|
|
592
|
+
format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
593
593
|
maxLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
594
594
|
minLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
595
595
|
pattern: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1216,57 +1216,87 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
|
|
|
1216
1216
|
path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1217
1217
|
}>>>;
|
|
1218
1218
|
'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1219
|
-
"x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").
|
|
1220
|
-
TraversedTagSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1221
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1222
|
-
id: import("@scalar/typebox").TString;
|
|
1223
|
-
title: import("@scalar/typebox").TString;
|
|
1224
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1225
|
-
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
1226
|
-
name: import("@scalar/typebox").TString;
|
|
1227
|
-
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntrySchema">>>;
|
|
1228
|
-
isGroup: import("@scalar/typebox").TBoolean;
|
|
1229
|
-
}>]>;
|
|
1230
|
-
TraversedEntrySchema: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagSchema">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1231
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1232
|
-
id: import("@scalar/typebox").TString;
|
|
1233
|
-
title: import("@scalar/typebox").TString;
|
|
1234
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1235
|
-
type: import("@scalar/typebox").TLiteral<"text">;
|
|
1236
|
-
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
1237
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1238
|
-
id: import("@scalar/typebox").TString;
|
|
1239
|
-
title: import("@scalar/typebox").TString;
|
|
1240
|
-
}>>>;
|
|
1241
|
-
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1242
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1243
|
-
id: import("@scalar/typebox").TString;
|
|
1244
|
-
title: import("@scalar/typebox").TString;
|
|
1245
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1246
|
-
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
1247
|
-
ref: import("@scalar/typebox").TString;
|
|
1248
|
-
method: import("@scalar/typebox").TString;
|
|
1249
|
-
path: import("@scalar/typebox").TString;
|
|
1250
|
-
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1251
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1252
|
-
id: import("@scalar/typebox").TString;
|
|
1253
|
-
title: import("@scalar/typebox").TString;
|
|
1254
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1255
|
-
type: import("@scalar/typebox").TLiteral<"model">;
|
|
1256
|
-
ref: import("@scalar/typebox").TString;
|
|
1257
|
-
name: import("@scalar/typebox").TString;
|
|
1258
|
-
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1259
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
1260
|
-
id: import("@scalar/typebox").TString;
|
|
1261
|
-
title: import("@scalar/typebox").TString;
|
|
1262
|
-
}>, import("@scalar/typebox").TObject<{
|
|
1263
|
-
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
1264
|
-
ref: import("@scalar/typebox").TString;
|
|
1265
|
-
method: import("@scalar/typebox").TString;
|
|
1266
|
-
name: import("@scalar/typebox").TString;
|
|
1267
|
-
}>]>]>;
|
|
1268
|
-
}, "TraversedEntrySchema">>>;
|
|
1219
|
+
"x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1269
1220
|
}>]>;
|
|
1221
|
+
TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1222
|
+
id: import("@scalar/typebox").TString;
|
|
1223
|
+
title: import("@scalar/typebox").TString;
|
|
1224
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1225
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
1226
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1227
|
+
}>]>;
|
|
1228
|
+
TraversedOperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1229
|
+
id: import("@scalar/typebox").TString;
|
|
1230
|
+
title: import("@scalar/typebox").TString;
|
|
1231
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1232
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
1233
|
+
ref: import("@scalar/typebox").TString;
|
|
1234
|
+
method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
|
|
1235
|
+
path: import("@scalar/typebox").TString;
|
|
1236
|
+
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1237
|
+
}>]>;
|
|
1238
|
+
TraversedSchemaObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1239
|
+
id: import("@scalar/typebox").TString;
|
|
1240
|
+
title: import("@scalar/typebox").TString;
|
|
1241
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1242
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
1243
|
+
ref: import("@scalar/typebox").TString;
|
|
1244
|
+
name: import("@scalar/typebox").TString;
|
|
1245
|
+
}>]>;
|
|
1246
|
+
TraversedWebhookObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1247
|
+
id: import("@scalar/typebox").TString;
|
|
1248
|
+
title: import("@scalar/typebox").TString;
|
|
1249
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1250
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
1251
|
+
ref: import("@scalar/typebox").TString;
|
|
1252
|
+
method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
|
|
1253
|
+
name: import("@scalar/typebox").TString;
|
|
1254
|
+
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1255
|
+
}>]>;
|
|
1256
|
+
TraversedTagObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1257
|
+
id: import("@scalar/typebox").TString;
|
|
1258
|
+
title: import("@scalar/typebox").TString;
|
|
1259
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1260
|
+
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
1261
|
+
name: import("@scalar/typebox").TString;
|
|
1262
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1263
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1264
|
+
isGroup: import("@scalar/typebox").TBoolean;
|
|
1265
|
+
isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1266
|
+
xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
|
|
1267
|
+
}>]>;
|
|
1268
|
+
TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1269
|
+
id: import("@scalar/typebox").TString;
|
|
1270
|
+
title: import("@scalar/typebox").TString;
|
|
1271
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1272
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
1273
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1274
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1275
|
+
id: import("@scalar/typebox").TString;
|
|
1276
|
+
title: import("@scalar/typebox").TString;
|
|
1277
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1278
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
1279
|
+
ref: import("@scalar/typebox").TString;
|
|
1280
|
+
method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
|
|
1281
|
+
path: import("@scalar/typebox").TString;
|
|
1282
|
+
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1283
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1284
|
+
id: import("@scalar/typebox").TString;
|
|
1285
|
+
title: import("@scalar/typebox").TString;
|
|
1286
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1287
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
1288
|
+
ref: import("@scalar/typebox").TString;
|
|
1289
|
+
name: import("@scalar/typebox").TString;
|
|
1290
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1291
|
+
id: import("@scalar/typebox").TString;
|
|
1292
|
+
title: import("@scalar/typebox").TString;
|
|
1293
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1294
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
1295
|
+
ref: import("@scalar/typebox").TString;
|
|
1296
|
+
method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
|
|
1297
|
+
name: import("@scalar/typebox").TString;
|
|
1298
|
+
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1299
|
+
}>]>]>;
|
|
1270
1300
|
}, "ServerObject">>>;
|
|
1271
1301
|
baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1272
1302
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAOnD,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAOnD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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