@scalar/workspace-store 0.51.0 → 0.51.2

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 (58) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +23 -13
  4. package/dist/entities/auth/schema.d.ts +15 -0
  5. package/dist/entities/auth/schema.d.ts.map +1 -1
  6. package/dist/helpers/merge-object.d.ts +1 -1
  7. package/dist/helpers/merge-object.d.ts.map +1 -1
  8. package/dist/navigation/get-navigation-options.d.ts +1 -1
  9. package/dist/navigation/get-navigation-options.d.ts.map +1 -1
  10. package/dist/navigation/get-navigation-options.js +1 -0
  11. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  12. package/dist/navigation/helpers/traverse-document.js +8 -2
  13. package/dist/navigation/helpers/traverse-paths.d.ts +4 -2
  14. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  15. package/dist/navigation/helpers/traverse-paths.js +5 -3
  16. package/dist/navigation/types.d.ts +4 -0
  17. package/dist/navigation/types.d.ts.map +1 -1
  18. package/dist/request-example/builder/body/build-request-body.d.ts.map +1 -1
  19. package/dist/request-example/builder/body/build-request-body.js +65 -1
  20. package/dist/schemas/extensions/document/x-scalar-environments.d.ts +6 -6
  21. package/dist/schemas/extensions/document/x-scalar-original-source-url.d.ts +15 -0
  22. package/dist/schemas/extensions/document/x-scalar-original-source-url.d.ts.map +1 -0
  23. package/dist/schemas/extensions/document/x-scalar-original-source-url.js +16 -0
  24. package/dist/schemas/extensions/operation/x-badge.d.ts +2 -2
  25. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +1 -1
  26. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +2 -2
  27. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +1 -1
  28. package/dist/schemas/extensions/security/x-use-pkce.d.ts +1 -1
  29. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.d.ts +1 -1
  30. package/dist/schemas/reference-config/index.d.ts +3 -0
  31. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  32. package/dist/schemas/reference-config/settings.d.ts +3 -0
  33. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  34. package/dist/schemas/type-guards.d.ts +1 -1
  35. package/dist/schemas/type-guards.d.ts.map +1 -1
  36. package/dist/schemas/type-guards.js +3 -8
  37. package/dist/schemas/v3.1/openapi/index.d.ts +2 -2
  38. package/dist/schemas/v3.1/openapi/index.d.ts.map +1 -1
  39. package/dist/schemas/v3.1/openapi/index.js +2 -3
  40. package/dist/schemas/v3.1/strict/encoding.d.ts +12 -0
  41. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  42. package/dist/schemas/v3.1/strict/encoding.js +11 -0
  43. package/dist/schemas/v3.1/strict/openapi-document.d.ts +107 -2
  44. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  45. package/dist/schemas/v3.1/strict/openapi-document.js +2 -6
  46. package/dist/schemas/workspace.d.ts +1 -12
  47. package/dist/schemas/workspace.d.ts.map +1 -1
  48. package/dist/schemas/workspace.js +0 -13
  49. package/dist/schemas.d.ts +1 -2
  50. package/dist/schemas.d.ts.map +1 -1
  51. package/dist/schemas.js +0 -2
  52. package/package.json +7 -6
  53. package/dist/schemas/asyncapi/asyncapi-document.d.ts +0 -79
  54. package/dist/schemas/asyncapi/asyncapi-document.d.ts.map +0 -1
  55. package/dist/schemas/asyncapi/asyncapi-document.js +0 -58
  56. package/dist/schemas/extensions/document/workspace-managed-extensions.d.ts +0 -25
  57. package/dist/schemas/extensions/document/workspace-managed-extensions.d.ts.map +0 -1
  58. package/dist/schemas/extensions/document/workspace-managed-extensions.js +0 -26
@@ -31,6 +31,6 @@ export type XScalarCredentialsLocation = {
31
31
  'x-scalar-credentials-location'?: 'header' | 'body';
32
32
  };
33
33
  export declare const XScalarCredentialsLocation: import("@scalar/validation").ObjectSchema<{
34
- 'x-scalar-credentials-location': import("@scalar/validation").OptionalSchema<import("@scalar/validation").UnionSchema<(import("@scalar/validation").LiteralSchema<"header"> | import("@scalar/validation").LiteralSchema<"body">)[]>>;
34
+ 'x-scalar-credentials-location': import("@scalar/validation").OptionalSchema<import("@scalar/validation").UnionSchema<readonly [import("@scalar/validation").LiteralSchema<"header">, import("@scalar/validation").LiteralSchema<"body">]>>;
35
35
  }>;
36
36
  //# sourceMappingURL=x-scalar-credentials-location.d.ts.map
@@ -11,6 +11,6 @@ export type XusePkce = {
11
11
  'x-usePkce': 'SHA-256' | 'plain' | 'no';
12
12
  };
13
13
  export declare const XusePkce: import("@scalar/validation").ObjectSchema<{
14
- 'x-usePkce': import("@scalar/validation").UnionSchema<(import("@scalar/validation").LiteralSchema<"SHA-256"> | import("@scalar/validation").LiteralSchema<"plain"> | import("@scalar/validation").LiteralSchema<"no">)[]>;
14
+ 'x-usePkce': import("@scalar/validation").UnionSchema<readonly [import("@scalar/validation").LiteralSchema<"SHA-256">, import("@scalar/validation").LiteralSchema<"plain">, import("@scalar/validation").LiteralSchema<"no">]>;
15
15
  }>;
16
16
  //# sourceMappingURL=x-use-pkce.d.ts.map
@@ -16,6 +16,6 @@ export type XScalarActiveProxy = {
16
16
  'x-scalar-active-proxy'?: string | null;
17
17
  };
18
18
  export declare const XScalarActiveProxy: import("@scalar/validation").ObjectSchema<{
19
- 'x-scalar-active-proxy': import("@scalar/validation").OptionalSchema<import("@scalar/validation").UnionSchema<(import("@scalar/validation").StringSchema | import("@scalar/validation").NullableSchema)[]>>;
19
+ 'x-scalar-active-proxy': import("@scalar/validation").OptionalSchema<import("@scalar/validation").UnionSchema<readonly [import("@scalar/validation").StringSchema, import("@scalar/validation").NullableSchema]>>;
20
20
  }>;
21
21
  //# sourceMappingURL=x-scalar-active-proxy.d.ts.map
@@ -936,6 +936,9 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
936
936
  }>]>, import("@scalar/typebox").TObject<{
937
937
  '$ref-value': import("@scalar/typebox").TRef<"HeaderObject">;
938
938
  }>]>]>>>;
939
+ style: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[TLiteral<"form">, TLiteral<"spaceDelimited">, TLiteral<"pipeDelimited">, TLiteral<"deepObject">]>>;
940
+ explode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
941
+ allowReserved: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
939
942
  }>;
940
943
  MediaTypeObject: import("@scalar/typebox").TObject<{
941
944
  schema: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAQ,MAAM,iBAAiB,CAAA;AAClE,OAAO,EAA2C,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACvG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAE7C,OAAO,EAAE,KAAK,UAAU,EAAuC,MAAM,cAAc,CAAA;AACnF,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,QAAQ,CAAA;AAC3D,OAAO,EAAE,KAAK,OAAO,EAAiC,MAAM,WAAW,CAAA;AACvE,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,YAAY,CAAA;AAE3E;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ar/typebox").TRef<"HeaderObject">;
924
924
  }>]>]>>>;
925
+ style: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"spaceDelimited">, import("@scalar/typebox").TLiteral<"pipeDelimited">, import("@scalar/typebox").TLiteral<"deepObject">]>>;
926
+ explode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
927
+ allowReserved: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
925
928
  }>;
926
929
  MediaTypeObject: import("@scalar/typebox").TObject<{
927
930
  schema: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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O,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { AsyncApiDocument } from './asyncapi/asyncapi-document.js';
1
+ import type { AsyncApiDocument } from '@scalar/types/asyncapi/3.1';
2
2
  import type { OpenApiDocument } from './v3.1/strict/openapi-document.js';
3
3
  /**
4
4
  * Narrow a value to an OpenAPI document.
@@ -1 +1 @@
1
- {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../src/schemas/type-guards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAErE;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,eAIC,CAAA;AAE7D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,gBAIE,CAAA;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,OAAO,KAAG,SAAS,GAAG,UAAU,GAAG,SAUzE,CAAA"}
1
+ {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../src/schemas/type-guards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAElE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAErE;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,eACgB,CAAA;AAE5E;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,gBACiB,CAAA;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,OAAO,KAAG,SAAS,GAAG,UAAU,GAAG,SAUzE,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { isObject } from '@scalar/helpers/object/is-object';
1
2
  /**
2
3
  * Narrow a value to an OpenAPI document.
3
4
  *
@@ -5,19 +6,13 @@
5
6
  * so it can narrow at any call site (e.g., workspace lookups typed as `WorkspaceDocument`,
6
7
  * or broader contexts that mix documents with the workspace itself).
7
8
  */
8
- export const isOpenApiDocument = (value) => typeof value === 'object' &&
9
- value !== null &&
10
- 'openapi' in value &&
11
- typeof value.openapi === 'string';
9
+ export const isOpenApiDocument = (value) => isObject(value) && 'openapi' in value && typeof value.openapi === 'string';
12
10
  /**
13
11
  * Narrow a value to an AsyncAPI document.
14
12
  *
15
13
  * Discriminated by the required `asyncapi` string field on AsyncAPI documents.
16
14
  */
17
- export const isAsyncApiDocument = (value) => typeof value === 'object' &&
18
- value !== null &&
19
- 'asyncapi' in value &&
20
- typeof value.asyncapi === 'string';
15
+ export const isAsyncApiDocument = (value) => isObject(value) && 'asyncapi' in value && typeof value.asyncapi === 'string';
21
16
  /**
22
17
  * Identify the document type of a value.
23
18
  *
@@ -76,10 +76,10 @@ export declare const generateSchema: (maybeRef: (inner: Schema) => Schema) => im
76
76
  color: import("@scalar/validation").StringSchema;
77
77
  variables: import("@scalar/validation").ArraySchema<import("@scalar/validation").ObjectSchema<{
78
78
  name: import("@scalar/validation").StringSchema;
79
- value: import("@scalar/validation").UnionSchema<(import("@scalar/validation").StringSchema | import("@scalar/validation").ObjectSchema<{
79
+ value: import("@scalar/validation").UnionSchema<readonly [import("@scalar/validation").ObjectSchema<{
80
80
  description: import("@scalar/validation").OptionalSchema<import("@scalar/validation").StringSchema>;
81
81
  default: import("@scalar/validation").StringSchema;
82
- }>)[]>;
82
+ }>, import("@scalar/validation").StringSchema]>;
83
83
  }>>;
84
84
  }>>>;
85
85
  }>, import("@scalar/validation").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/openapi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAaZ,MAAM,oBAAoB,CAAA;AA2C3B,eAAO,MAAM,cAAc,GAAI,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6gCjE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/openapi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAaZ,MAAM,oBAAoB,CAAA;AA2C3B,eAAO,MAAM,cAAc,GAAI,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4gCjE,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import { any, array, boolean, intersection, lazy, literal, number, object, optional, record, string, union, } from '@scalar/validation';
2
2
  import { extensions } from '../../../schemas/extensions.js';
3
- import { WorkspaceManagedExtensions } from '../../../schemas/extensions/document/workspace-managed-extensions.js';
4
3
  import { XInternal } from '../../../schemas/extensions/document/x-internal.js';
5
4
  import { XScalarEnvironments } from '../../../schemas/extensions/document/x-scalar-environments.js';
6
5
  import { XScalarIcon } from '../../../schemas/extensions/document/x-scalar-icon.js';
7
6
  import { XScalarIgnore } from '../../../schemas/extensions/document/x-scalar-ignore.js';
8
7
  import { XScalarIsDirty } from '../../../schemas/extensions/document/x-scalar-is-dirty.js';
9
8
  import { XScalarOriginalDocumentHash } from '../../../schemas/extensions/document/x-scalar-original-document-hash.js';
9
+ import { XScalarOriginalSourceUrl } from '../../../schemas/extensions/document/x-scalar-original-source-url.js';
10
10
  import { XScalarRegistryMeta } from '../../../schemas/extensions/document/x-scalar-registry-meta.js';
11
11
  import { XScalarSdkInstallation } from '../../../schemas/extensions/document/x-scalar-sdk-installation.js';
12
12
  import { XScalarWatchMode } from '../../../schemas/extensions/document/x-scalar-watch-mode.js';
@@ -626,8 +626,7 @@ export const generateSchema = (maybeRef) => {
626
626
  const openapi = intersection([
627
627
  openApiDocumentCore,
628
628
  openApiExtensionsPartial,
629
- // Shared with AsyncAPI — see workspace-managed-extensions.ts.
630
- WorkspaceManagedExtensions,
629
+ XScalarOriginalSourceUrl,
631
630
  XTagGroups,
632
631
  XScalarEnvironments,
633
632
  XScalarSelectedServer,
@@ -21,6 +21,12 @@ export declare const EncodingObjectSchemaDefinition: import("@scalar/typebox").T
21
21
  }>]>, import("@scalar/typebox").TObject<{
22
22
  '$ref-value': import("@scalar/typebox").TRef<"HeaderObject">;
23
23
  }>]>]>>>;
24
+ /** Describes how a specific property value will be serialized depending on its type. See the Parameter Object for details on the style field. The behavior follows the same values as query parameters, including default values. Valid values are "form", "spaceDelimited", "pipeDelimited", and "deepObject". This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
25
+ style: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"spaceDelimited">, import("@scalar/typebox").TLiteral<"pipeDelimited">, import("@scalar/typebox").TLiteral<"deepObject">]>>;
26
+ /** When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this field has no effect. When style is "form", the default value is true. For all other styles, the default value is false. This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
27
+ explode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
28
+ /** When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570, which allows RFC3986's reserved character set, as well as percent-encoded triples, to pass through unchanged, while still percent-encoding all other disallowed characters (including % outside of percent-encoded triples). The default value is false. This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
29
+ allowReserved: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
24
30
  }>;
25
31
  /**
26
32
  * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.
@@ -34,5 +40,11 @@ export type EncodingObject = {
34
40
  contentType?: string;
35
41
  /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */
36
42
  headers?: Record<string, ReferenceType<HeaderObject>>;
43
+ /** Describes how a specific property value will be serialized depending on its type. See the Parameter Object for details on the style field. The behavior follows the same values as query parameters, including default values. Valid values are "form", "spaceDelimited", "pipeDelimited", and "deepObject". This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
44
+ style?: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | undefined;
45
+ /** When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this field has no effect. When style is "form", the default value is true. For all other styles, the default value is false. This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
46
+ explode?: boolean;
47
+ /** When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570, which allows RFC3986's reserved character set, as well as percent-encoded triples, to pass through unchanged, while still percent-encoding all other disallowed characters (including % outside of percent-encoded triples). The default value is false. This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
48
+ allowReserved?: boolean;
37
49
  };
38
50
  //# sourceMappingURL=encoding.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/encoding.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAE3D;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;IACzC,sRAAsR;;IAEtR,iOAAiO;;;;;;;;;;;EAEjO,CAAA;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,sRAAsR;IACtR,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iOAAiO;IACjO,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAA;CACtD,CAAA"}
1
+ {"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/encoding.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAE3D;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;IACzC,sRAAsR;;IAEtR,iOAAiO;;;;;;;;;;;IAEjO,whBAAwhB;;IASxhB,yhBAAyhB;;IAEzhB,wkBAAwkB;;EAExkB,CAAA;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,sRAAsR;IACtR,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iOAAiO;IACjO,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAA;IACrD,whBAAwhB;IACxhB,KAAK,CAAC,EAAE,MAAM,GAAG,gBAAgB,GAAG,eAAe,GAAG,YAAY,GAAG,SAAS,CAAA;IAC9E,yhBAAyhB;IACzhB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wkBAAwkB;IACxkB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA"}
@@ -13,4 +13,15 @@ export const EncodingObjectSchemaDefinition = Type.Object({
13
13
  contentType: Type.Optional(Type.String()),
14
14
  /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */
15
15
  headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectRef, reference(HeaderObjectRef)]))),
16
+ /** Describes how a specific property value will be serialized depending on its type. See the Parameter Object for details on the style field. The behavior follows the same values as query parameters, including default values. Valid values are "form", "spaceDelimited", "pipeDelimited", and "deepObject". This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
17
+ style: Type.Optional(Type.Union([
18
+ Type.Literal('form'),
19
+ Type.Literal('spaceDelimited'),
20
+ Type.Literal('pipeDelimited'),
21
+ Type.Literal('deepObject'),
22
+ ])),
23
+ /** When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this field has no effect. When style is "form", the default value is true. For all other styles, the default value is false. This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
24
+ explode: Type.Optional(Type.Boolean()),
25
+ /** When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570, which allows RFC3986's reserved character set, as well as percent-encoded triples, to pass through unchanged, while still percent-encoding all other disallowed characters (including % outside of percent-encoded triples). The default value is false. This field SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored. */
26
+ allowReserved: Type.Optional(Type.Boolean()),
16
27
  });