@scalar/workspace-store 0.15.1 → 0.15.3

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/mutators/helpers.js +1 -1
  3. package/dist/mutators/helpers.js.map +2 -2
  4. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +2 -1
  5. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts.map +1 -1
  6. package/dist/schemas/extensions/schema/x-enum-descriptions.js +6 -1
  7. package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +2 -2
  8. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts +22 -0
  9. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts.map +1 -0
  10. package/dist/schemas/extensions/schema/x-enum-varnames.js +9 -0
  11. package/dist/schemas/extensions/schema/x-enum-varnames.js.map +7 -0
  12. package/dist/schemas/inmemory-workspace.d.ts +84 -0
  13. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  14. package/dist/schemas/reference-config/index.d.ts +42 -0
  15. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  16. package/dist/schemas/reference-config/settings.d.ts +42 -0
  17. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  18. package/dist/schemas/v3.1/strict/callback.d.ts +10 -1
  19. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
  20. package/dist/schemas/v3.1/strict/components.d.ts +90 -9
  21. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  22. package/dist/schemas/v3.1/strict/encoding.d.ts +10 -1
  23. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  24. package/dist/schemas/v3.1/strict/header.d.ts +40 -4
  25. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  26. package/dist/schemas/v3.1/strict/media-type.d.ts +20 -2
  27. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  28. package/dist/schemas/v3.1/strict/openapi-document.d.ts +1176 -0
  29. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  30. package/dist/schemas/v3.1/strict/operation.d.ts +30 -3
  31. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  32. package/dist/schemas/v3.1/strict/parameter.d.ts +40 -4
  33. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  34. package/dist/schemas/v3.1/strict/path-item.d.ts +100 -10
  35. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  36. package/dist/schemas/v3.1/strict/reference.d.ts +22 -11
  37. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
  38. package/dist/schemas/v3.1/strict/reference.js.map +2 -2
  39. package/dist/schemas/v3.1/strict/response.d.ts +20 -2
  40. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  41. package/dist/schemas/v3.1/strict/responses.d.ts +10 -1
  42. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  43. package/dist/schemas/v3.1/strict/schema.d.ts +392 -35
  44. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  45. package/dist/schemas/v3.1/strict/schema.js +5 -0
  46. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  47. package/dist/schemas/v3.1/strict/type-guards.d.ts +14 -0
  48. package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -0
  49. package/dist/schemas/v3.1/strict/type-guards.js +19 -0
  50. package/dist/schemas/v3.1/strict/type-guards.js.map +7 -0
  51. package/dist/schemas/workspace-specification/config.d.ts +42 -0
  52. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  53. package/dist/schemas/workspace-specification/index.d.ts +42 -0
  54. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  55. package/dist/schemas/workspace.d.ts +294 -0
  56. package/dist/schemas/workspace.d.ts.map +1 -1
  57. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/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;;;;;;;;;;IAEzC,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMhC,wCAAwC;;IAExC,wCAAwC;;IAExC,0CAA0C;;IAE1C,8BAA8B;;;;;;;;;;;IAE9B,mCAAmC;;;;;;;;;;;;;IA9DnC,8BAA8B;;IAE9B,mCAAmC;;IAEnC,oCAAoC;;IAEpC,+BAA+B;;IAE/B,8CAA8C;;IAI9C,yCAAyC;;IAEzC,wBAAwB;;IAExB,qCAAqC;;;;;;;;;;;IAErC,wCAAwC;;IAExC,0LAA0L;;IAE1L,uCAAuC;;IAEvC,wCAAwC;;IAExC,iKAAiK;;IAEjK,yDAAyD;;IAEzD;;;;OAIG;;IAEH;;;OAGG;;IAGH,iCAAiC;;;;;;;;;;;IAEjC,wCAAwC;;;;;;;;;;;IAExC,yCAAyC;;;;;;;;;;;IAEzC,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwDhC,CAAA"}
@@ -4,6 +4,8 @@ import { XInternalSchema } from "../../../schemas/extensions/document/x-internal
4
4
  import { XScalarIgnoreSchema } from "../../../schemas/extensions/document/x-scalar-ignore.js";
5
5
  import { XTags } from "../../../schemas/extensions/document/x-tags.js";
6
6
  import { XAdditionalPropertiesNameSchema } from "../../../schemas/extensions/schema/x-additional-properties-name.js";
7
+ import { XEnumDescriptionsSchema } from "../../../schemas/extensions/schema/x-enum-descriptions.js";
8
+ import { XEnumVarNamesSchema } from "../../../schemas/extensions/schema/x-enum-varnames.js";
7
9
  import { XVariableSchema } from "../../../schemas/extensions/schema/x-variable.js";
8
10
  import {
9
11
  DiscriminatorObjectRef,
@@ -120,6 +122,7 @@ const StringValidationProperties = Type.Object({
120
122
  pattern: Type.Optional(Type.String())
121
123
  });
122
124
  const CorePropertiesWithSchema = Type.Object({
125
+ name: Type.Optional(Type.String()),
123
126
  /** A title for the schema. */
124
127
  title: Type.Optional(Type.String()),
125
128
  /** A description of the schema. */
@@ -201,6 +204,8 @@ const Extensions = compose(
201
204
  XScalarIgnoreSchema,
202
205
  XInternalSchema,
203
206
  XVariableSchema,
207
+ XEnumDescriptionsSchema,
208
+ XEnumVarNamesSchema,
204
209
  XAdditionalPropertiesNameSchema,
205
210
  XTags
206
211
  );
@@ -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 { 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 /** 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 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,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,MAAM,oBAAoB,KAAK,OAAO;AAAA,EACpC,MAAM,KAAK,MAAM,CAAC,KAAK,QAAQ,QAAQ,GAAG,KAAK,QAAQ,SAAS,CAAC,CAAC;AAAA;AAAA,EAElE,QAAQ,KAAK;AAAA,IACX,KAAK,MAAM;AAAA;AAAA,MAET,KAAK,QAAQ,MAAM;AAAA,MACnB,KAAK,QAAQ,OAAO;AAAA,MACpB,KAAK,QAAQ,OAAO;AAAA,MACpB,KAAK,QAAQ,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AC;",
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,MAAM,oBAAoB,KAAK,OAAO;AAAA,EACpC,MAAM,KAAK,MAAM,CAAC,KAAK,QAAQ,QAAQ,GAAG,KAAK,QAAQ,SAAS,CAAC,CAAC;AAAA;AAAA,EAElE,QAAQ,KAAK;AAAA,IACX,KAAK,MAAM;AAAA;AAAA,MAET,KAAK,QAAQ,MAAM;AAAA,MACnB,KAAK,QAAQ,OAAO;AAAA,MACpB,KAAK,QAAQ,OAAO;AAAA,MACpB,KAAK,QAAQ,OAAO;AAAA,MACpB,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U;AAAA,EAClF,QAAQ,qCAAqC,0BAA0B,UAAU;AACnF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,14 @@
1
+ import type { SchemaObject } from '../../../schemas/v3.1/strict/openapi-document.js';
2
+ export declare const isObjectSchema: (schema: SchemaObject) => schema is Extract<SchemaObject, {
3
+ type: "object";
4
+ }>;
5
+ export declare const isArraySchema: (schema: SchemaObject) => schema is Extract<SchemaObject, {
6
+ type: "array";
7
+ }>;
8
+ export declare const isStringSchema: (schema: SchemaObject) => schema is Extract<SchemaObject, {
9
+ type: "string";
10
+ }>;
11
+ export declare const isNumberSchema: (schema: SchemaObject) => schema is Extract<SchemaObject, {
12
+ type: "number" | "integer";
13
+ }>;
14
+ //# sourceMappingURL=type-guards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/type-guards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AAE1E,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAErG,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,cAAc,GACzB,QAAQ,YAAY,KACnB,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAQhE,CAAA"}
@@ -0,0 +1,19 @@
1
+ const isObjectSchema = (schema) => {
2
+ return "type" in schema && (schema.type === "object" || Array.isArray(schema.type) && schema.type.includes("object"));
3
+ };
4
+ const isArraySchema = (schema) => {
5
+ return "type" in schema && (schema.type === "array" || Array.isArray(schema.type) && schema.type.includes("array"));
6
+ };
7
+ const isStringSchema = (schema) => {
8
+ return "type" in schema && (schema.type === "string" || Array.isArray(schema.type) && schema.type.includes("string"));
9
+ };
10
+ const isNumberSchema = (schema) => {
11
+ return "type" in schema && (schema.type === "number" || schema.type === "integer" || Array.isArray(schema.type) && schema.type.includes("number") || Array.isArray(schema.type) && schema.type.includes("integer"));
12
+ };
13
+ export {
14
+ isArraySchema,
15
+ isNumberSchema,
16
+ isObjectSchema,
17
+ isStringSchema
18
+ };
19
+ //# sourceMappingURL=type-guards.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/schemas/v3.1/strict/type-guards.ts"],
4
+ "sourcesContent": ["import type { SchemaObject } from '@/schemas/v3.1/strict/openapi-document'\n\nexport const isObjectSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'object' }> => {\n return (\n 'type' in schema && (schema.type === 'object' || (Array.isArray(schema.type) && schema.type.includes('object')))\n )\n}\n\nexport const isArraySchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'array' }> => {\n return 'type' in schema && (schema.type === 'array' || (Array.isArray(schema.type) && schema.type.includes('array')))\n}\n\nexport const isStringSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'string' }> => {\n return (\n 'type' in schema && (schema.type === 'string' || (Array.isArray(schema.type) && schema.type.includes('string')))\n )\n}\n\nexport const isNumberSchema = (\n schema: SchemaObject,\n): schema is Extract<SchemaObject, { type: 'number' | 'integer' }> => {\n return (\n 'type' in schema &&\n (schema.type === 'number' ||\n schema.type === 'integer' ||\n (Array.isArray(schema.type) && schema.type.includes('number')) ||\n (Array.isArray(schema.type) && schema.type.includes('integer')))\n )\n}\n"],
5
+ "mappings": "AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,gBAAgB,CAAC,WAA6E;AACzG,SAAO,UAAU,WAAW,OAAO,SAAS,WAAY,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,OAAO;AACpH;AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,iBAAiB,CAC5B,WACoE;AACpE,SACE,UAAU,WACT,OAAO,SAAS,YACf,OAAO,SAAS,aACf,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ,KAC3D,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,SAAS;AAEnE;",
6
+ "names": []
7
+ }
@@ -319,6 +319,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
319
319
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
320
320
  _: import("@scalar/typebox").TString;
321
321
  }>, import("@scalar/typebox").TObject<{
322
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
322
323
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
323
324
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
324
325
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -390,6 +391,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
390
391
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
391
392
  }>, import("@scalar/typebox").TObject<{
392
393
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
394
+ }>, import("@scalar/typebox").TObject<{
395
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
396
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
397
+ }>, import("@scalar/typebox").TObject<{
398
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
399
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
393
400
  }>, import("@scalar/typebox").TObject<{
394
401
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
395
402
  }>, import("@scalar/typebox").TObject<{
@@ -397,6 +404,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
397
404
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
398
405
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean">, import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean">, import("@scalar/typebox").TLiteral<"string">, import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">, import("@scalar/typebox").TLiteral<"object">, import("@scalar/typebox").TLiteral<"array">]>>]>;
399
406
  }>, import("@scalar/typebox").TObject<{
407
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
400
408
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
401
409
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
402
410
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -468,6 +476,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
468
476
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
469
477
  }>, import("@scalar/typebox").TObject<{
470
478
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
479
+ }>, import("@scalar/typebox").TObject<{
480
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
481
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
482
+ }>, import("@scalar/typebox").TObject<{
483
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
484
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
471
485
  }>, import("@scalar/typebox").TObject<{
472
486
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
473
487
  }>, import("@scalar/typebox").TObject<{
@@ -481,6 +495,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
481
495
  minimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
482
496
  exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
483
497
  }>, import("@scalar/typebox").TObject<{
498
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
484
499
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
485
500
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
486
501
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -552,6 +567,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
552
567
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
553
568
  }>, import("@scalar/typebox").TObject<{
554
569
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
570
+ }>, import("@scalar/typebox").TObject<{
571
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
572
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
573
+ }>, import("@scalar/typebox").TObject<{
574
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
575
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
555
576
  }>, import("@scalar/typebox").TObject<{
556
577
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
557
578
  }>, import("@scalar/typebox").TObject<{
@@ -563,6 +584,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
563
584
  minLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
564
585
  pattern: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
565
586
  }>, import("@scalar/typebox").TObject<{
587
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
566
588
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
567
589
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
568
590
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -634,6 +656,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
634
656
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
635
657
  }>, import("@scalar/typebox").TObject<{
636
658
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
659
+ }>, import("@scalar/typebox").TObject<{
660
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
661
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
662
+ }>, import("@scalar/typebox").TObject<{
663
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
664
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
637
665
  }>, import("@scalar/typebox").TObject<{
638
666
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
639
667
  }>, import("@scalar/typebox").TObject<{
@@ -674,6 +702,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
674
702
  '$ref-value': import("@scalar/typebox").TRef<"SchemaObject">;
675
703
  }>]>]>>>;
676
704
  }>, import("@scalar/typebox").TObject<{
705
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
677
706
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
678
707
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
679
708
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -745,6 +774,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
745
774
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
746
775
  }>, import("@scalar/typebox").TObject<{
747
776
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
777
+ }>, import("@scalar/typebox").TObject<{
778
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
779
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
780
+ }>, import("@scalar/typebox").TObject<{
781
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
782
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
748
783
  }>, import("@scalar/typebox").TObject<{
749
784
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
750
785
  }>, import("@scalar/typebox").TObject<{
@@ -775,6 +810,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
775
810
  '$ref-value': import("@scalar/typebox").TRef<"SchemaObject">;
776
811
  }>]>]>>>;
777
812
  }>, import("@scalar/typebox").TObject<{
813
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
778
814
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
779
815
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
780
816
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -846,6 +882,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
846
882
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
847
883
  }>, import("@scalar/typebox").TObject<{
848
884
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
885
+ }>, import("@scalar/typebox").TObject<{
886
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
887
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
888
+ }>, import("@scalar/typebox").TObject<{
889
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
890
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
849
891
  }>, import("@scalar/typebox").TObject<{
850
892
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
851
893
  }>, import("@scalar/typebox").TObject<{
@@ -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;AAInD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIxB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA"}
@@ -329,6 +329,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
329
329
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
330
330
  _: import("@scalar/typebox").TString;
331
331
  }>, import("@scalar/typebox").TObject<{
332
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
332
333
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
333
334
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
334
335
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -400,6 +401,12 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
400
401
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
401
402
  }>, import("@scalar/typebox").TObject<{
402
403
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
404
+ }>, import("@scalar/typebox").TObject<{
405
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
406
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
407
+ }>, import("@scalar/typebox").TObject<{
408
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
409
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
403
410
  }>, import("@scalar/typebox").TObject<{
404
411
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
405
412
  }>, import("@scalar/typebox").TObject<{
@@ -407,6 +414,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
407
414
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
408
415
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean">, import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean">, import("@scalar/typebox").TLiteral<"string">, import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">, import("@scalar/typebox").TLiteral<"object">, import("@scalar/typebox").TLiteral<"array">]>>]>;
409
416
  }>, import("@scalar/typebox").TObject<{
417
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
410
418
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
411
419
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
412
420
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -478,6 +486,12 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
478
486
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
479
487
  }>, import("@scalar/typebox").TObject<{
480
488
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
489
+ }>, import("@scalar/typebox").TObject<{
490
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
491
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
492
+ }>, import("@scalar/typebox").TObject<{
493
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
494
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
481
495
  }>, import("@scalar/typebox").TObject<{
482
496
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
483
497
  }>, import("@scalar/typebox").TObject<{
@@ -491,6 +505,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
491
505
  minimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
492
506
  exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
493
507
  }>, import("@scalar/typebox").TObject<{
508
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
494
509
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
495
510
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
496
511
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -562,6 +577,12 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
562
577
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
563
578
  }>, import("@scalar/typebox").TObject<{
564
579
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
580
+ }>, import("@scalar/typebox").TObject<{
581
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
582
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
583
+ }>, import("@scalar/typebox").TObject<{
584
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
585
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
565
586
  }>, import("@scalar/typebox").TObject<{
566
587
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
567
588
  }>, import("@scalar/typebox").TObject<{
@@ -573,6 +594,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
573
594
  minLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
574
595
  pattern: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
575
596
  }>, import("@scalar/typebox").TObject<{
597
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
576
598
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
577
599
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
578
600
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -644,6 +666,12 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
644
666
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
645
667
  }>, import("@scalar/typebox").TObject<{
646
668
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
669
+ }>, import("@scalar/typebox").TObject<{
670
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
671
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
672
+ }>, import("@scalar/typebox").TObject<{
673
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
674
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
647
675
  }>, import("@scalar/typebox").TObject<{
648
676
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
649
677
  }>, import("@scalar/typebox").TObject<{
@@ -684,6 +712,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
684
712
  '$ref-value': import("@scalar/typebox").TRef<"SchemaObject">;
685
713
  }>]>]>>>;
686
714
  }>, import("@scalar/typebox").TObject<{
715
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
687
716
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
688
717
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
689
718
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -755,6 +784,12 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
755
784
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
756
785
  }>, import("@scalar/typebox").TObject<{
757
786
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
787
+ }>, import("@scalar/typebox").TObject<{
788
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
789
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
790
+ }>, import("@scalar/typebox").TObject<{
791
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
792
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
758
793
  }>, import("@scalar/typebox").TObject<{
759
794
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
760
795
  }>, import("@scalar/typebox").TObject<{
@@ -785,6 +820,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
785
820
  '$ref-value': import("@scalar/typebox").TRef<"SchemaObject">;
786
821
  }>]>]>>>;
787
822
  }>, import("@scalar/typebox").TObject<{
823
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
788
824
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
789
825
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
790
826
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
@@ -856,6 +892,12 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
856
892
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
857
893
  }>, import("@scalar/typebox").TObject<{
858
894
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
895
+ }>, import("@scalar/typebox").TObject<{
896
+ 'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
897
+ 'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
898
+ }>, import("@scalar/typebox").TObject<{
899
+ 'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
900
+ 'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
859
901
  }>, import("@scalar/typebox").TObject<{
860
902
  'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
861
903
  }>, import("@scalar/typebox").TObject<{
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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