@scalar/workspace-store 0.5.2 → 0.7.0

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 (93) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +94 -7
  3. package/dist/client.d.ts +11713 -11143
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +27 -2
  6. package/dist/client.js.map +2 -2
  7. package/dist/helpers/json-path-utils.d.ts +1 -1
  8. package/dist/helpers/json-path-utils.d.ts.map +1 -1
  9. package/dist/helpers/json-path-utils.js.map +2 -2
  10. package/dist/helpers/merge-object.d.ts +23 -0
  11. package/dist/helpers/merge-object.d.ts.map +1 -0
  12. package/dist/helpers/merge-object.js +20 -0
  13. package/dist/helpers/merge-object.js.map +7 -0
  14. package/dist/helpers/proxy.d.ts.map +1 -1
  15. package/dist/helpers/proxy.js +5 -2
  16. package/dist/helpers/proxy.js.map +2 -2
  17. package/dist/schemas/reference-config/appearance.d.ts +13 -0
  18. package/dist/schemas/reference-config/appearance.d.ts.map +1 -0
  19. package/dist/schemas/reference-config/appearance.js +26 -0
  20. package/dist/schemas/reference-config/appearance.js.map +7 -0
  21. package/dist/schemas/reference-config/features.d.ts +15 -0
  22. package/dist/schemas/reference-config/features.d.ts.map +1 -0
  23. package/dist/schemas/reference-config/features.js +30 -0
  24. package/dist/schemas/reference-config/features.js.map +7 -0
  25. package/dist/schemas/reference-config/index.d.ts +53 -0
  26. package/dist/schemas/reference-config/index.d.ts.map +1 -0
  27. package/dist/schemas/reference-config/index.js +66 -0
  28. package/dist/schemas/reference-config/index.js.map +7 -0
  29. package/dist/schemas/reference-config/meta.d.ts +12 -0
  30. package/dist/schemas/reference-config/meta.d.ts.map +1 -0
  31. package/dist/schemas/reference-config/meta.js +24 -0
  32. package/dist/schemas/reference-config/meta.js.map +7 -0
  33. package/dist/schemas/reference-config/routing.d.ts +8 -0
  34. package/dist/schemas/reference-config/routing.d.ts.map +1 -0
  35. package/dist/schemas/reference-config/routing.js +16 -0
  36. package/dist/schemas/reference-config/routing.js.map +7 -0
  37. package/dist/schemas/reference-config/settings.d.ts +8 -0
  38. package/dist/schemas/reference-config/settings.d.ts.map +1 -0
  39. package/dist/schemas/reference-config/settings.js +16 -0
  40. package/dist/schemas/reference-config/settings.js.map +7 -0
  41. package/dist/schemas/v3.1/strict/components.d.ts +167 -40
  42. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  43. package/dist/schemas/v3.1/strict/header.d.ts +2 -0
  44. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  45. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +6 -0
  46. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +1 -1
  47. package/dist/schemas/v3.1/strict/media-type.d.ts +1 -0
  48. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  49. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +73 -2
  50. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  51. package/dist/schemas/v3.1/strict/oauth-flow.js +44 -7
  52. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  53. package/dist/schemas/v3.1/strict/oauthflows.d.ts +11 -10
  54. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  55. package/dist/schemas/v3.1/strict/oauthflows.js +11 -8
  56. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  57. package/dist/schemas/v3.1/strict/operation.d.ts +11 -2
  58. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  59. package/dist/schemas/v3.1/strict/parameter.d.ts +11 -5
  60. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  61. package/dist/schemas/v3.1/strict/parameter.js +1 -1
  62. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  63. package/dist/schemas/v3.1/strict/path-item.d.ts +5 -2
  64. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  65. package/dist/schemas/v3.1/strict/path-operations.d.ts +158 -32
  66. package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -1
  67. package/dist/schemas/v3.1/strict/paths.d.ts +71 -14
  68. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  69. package/dist/schemas/v3.1/strict/request-body.d.ts +2 -0
  70. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  71. package/dist/schemas/v3.1/strict/response.d.ts +4 -0
  72. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  73. package/dist/schemas/v3.1/strict/responses.d.ts +4 -0
  74. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  75. package/dist/schemas/v3.1/strict/schema.d.ts +6 -1
  76. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  77. package/dist/schemas/v3.1/strict/schema.js +7 -2
  78. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  79. package/dist/schemas/v3.1/strict/security-scheme.d.ts +22 -20
  80. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  81. package/dist/schemas/v3.1/type-guard.d.ts +5 -0
  82. package/dist/schemas/v3.1/type-guard.d.ts.map +1 -1
  83. package/dist/schemas/v3.1/type-guard.js +1 -3
  84. package/dist/schemas/v3.1/type-guard.js.map +2 -2
  85. package/dist/server.d.ts +687 -651
  86. package/dist/server.d.ts.map +1 -1
  87. package/dist/server.js +52 -49
  88. package/dist/server.js.map +2 -2
  89. package/dist/types.d.ts +57 -0
  90. package/dist/types.d.ts.map +1 -0
  91. package/dist/types.js +1 -0
  92. package/dist/types.js.map +7 -0
  93. package/package.json +19 -7
@@ -1 +1 @@
1
- {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oSAO7B,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -22,6 +22,7 @@ export declare const RequestBodyObjectSchema: import("@sinclair/typebox").TInter
22
22
  url: import("@sinclair/typebox").TString;
23
23
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
24
24
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
25
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
25
26
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
26
27
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
27
28
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -65,6 +66,7 @@ export declare const RequestBodyObjectSchema: import("@sinclair/typebox").TInter
65
66
  url: import("@sinclair/typebox").TString;
66
67
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
67
68
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
69
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
68
70
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
69
71
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
70
72
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"request-body.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/request-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD,uCAAuC;AACvC,eAAO,MAAM,uBAAuB;IAEhC,+IAA+I;;IAE/I,8OAA8O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE9O,oFAAoF;;kJAIvF,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"request-body.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/request-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD,uCAAuC;AACvC,eAAO,MAAM,uBAAuB;IAEhC,+IAA+I;;IAE/I,8OAA8O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE9O,oFAAoF;;kJAIvF,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -27,6 +27,7 @@ export declare const ResponseObjectSchema: import("@sinclair/typebox").TIntersec
27
27
  url: import("@sinclair/typebox").TString;
28
28
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
29
29
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
30
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
30
31
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
31
32
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
32
33
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -74,6 +75,7 @@ export declare const ResponseObjectSchema: import("@sinclair/typebox").TIntersec
74
75
  url: import("@sinclair/typebox").TString;
75
76
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
76
77
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
78
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
77
79
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
78
80
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
79
81
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -130,6 +132,7 @@ export declare const ResponseObjectSchema: import("@sinclair/typebox").TIntersec
130
132
  url: import("@sinclair/typebox").TString;
131
133
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
132
134
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
135
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
133
136
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
134
137
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
135
138
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -173,6 +176,7 @@ export declare const ResponseObjectSchema: import("@sinclair/typebox").TIntersec
173
176
  url: import("@sinclair/typebox").TString;
174
177
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
175
178
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
179
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
176
180
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
177
181
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
178
182
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAOrD,eAAO,MAAM,oBAAoB;IAE7B,2GAA2G;;IAE3G,iLAAiL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEjL,oQAAoQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEpQ,8LAA8L;;;;;;;;;;;;;;;;;;;;;;;;kJAIjM,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
1
+ {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAOrD,eAAO,MAAM,oBAAoB;IAE7B,2GAA2G;;IAE3G,iLAAiL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEjL,oQAAoQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEpQ,8LAA8L;;;;;;;;;;;;;;;;;;;;;;;;kJAIjM,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -34,6 +34,7 @@ export declare const ResponsesObjectSchema: import("@sinclair/typebox").TInterse
34
34
  url: import("@sinclair/typebox").TString;
35
35
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
36
36
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
37
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
37
38
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
38
39
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
39
40
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -81,6 +82,7 @@ export declare const ResponsesObjectSchema: import("@sinclair/typebox").TInterse
81
82
  url: import("@sinclair/typebox").TString;
82
83
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
83
84
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
85
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
84
86
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
85
87
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
86
88
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -136,6 +138,7 @@ export declare const ResponsesObjectSchema: import("@sinclair/typebox").TInterse
136
138
  url: import("@sinclair/typebox").TString;
137
139
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
138
140
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
141
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
139
142
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
140
143
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
141
144
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -179,6 +182,7 @@ export declare const ResponsesObjectSchema: import("@sinclair/typebox").TInterse
179
182
  url: import("@sinclair/typebox").TString;
180
183
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
181
184
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
185
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
182
186
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
183
187
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
184
188
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAMrD;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qSAGjC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAMrD;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qSAGjC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -28,9 +28,14 @@ export declare const SchemaObjectSchema: import("@sinclair/typebox").TIntersect<
28
28
  /**
29
29
  * 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.
30
30
  *
31
- * 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.
31
+ * @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.
32
32
  */
33
33
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
34
+ /**
35
+ * An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.
36
+ * Each example should be a valid instance of the schema.
37
+ */
38
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
34
39
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
35
40
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
36
41
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAarD;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;IAE3B,0LAA0L;;;;;IAE1L,iKAAiK;;;;;;;;IAEjK,yDAAyD;;;;;IAEzD;;;;OAIG;;;;oHAMN,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAarD;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;IAE3B,0LAA0L;;;;;IAE1L,iKAAiK;;;;;;;;IAEjK,yDAAyD;;;;;IAEzD;;;;OAIG;;IAEH;;;OAGG;;;;oHAMN,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
@@ -20,9 +20,14 @@ const SchemaObjectSchema = compose(
20
20
  /**
21
21
  * 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.
22
22
  *
23
- * 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.
23
+ * @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.
24
24
  */
25
- example: Type.Optional(Type.Any())
25
+ example: Type.Optional(Type.Any()),
26
+ /**
27
+ * An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.
28
+ * Each example should be a valid instance of the schema.
29
+ */
30
+ examples: Type.Optional(Type.Array(Type.Unknown()))
26
31
  }),
27
32
  ExtensionsSchema,
28
33
  SchemaExtensionsSchema,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/schema.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { DiscriminatorObjectSchema } from './discriminator'\nimport { XMLObjectSchema } from './xml'\nimport { ExternalDocumentationObjectSchema } from './external-documentation'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/v3.1/compose'\n\nconst SchemaExtensionsSchema = Type.Partial(\n Type.Object({\n 'x-tags': Type.Array(Type.String()),\n }),\n)\n\n/**\n * The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 2020-12. The empty schema (which allows any instance to validate) MAY be represented by the boolean value true and a schema which allows no instance to validate MAY be represented by the boolean value false.\n *\n * For more information about the keywords, see JSON Schema Core and JSON Schema Validation.\n *\n * Unless stated otherwise, the keyword definitions follow those of JSON Schema and do not add any additional semantics; this includes keywords such as $schema, $id, $ref, and $dynamicRef being URIs rather than URLs. Where JSON Schema indicates that behavior is defined by the application (e.g. for annotations), OAS also defers the definition of semantics to the application consuming the OpenAPI document.\n */\nexport const SchemaObjectSchema = compose(\n Type.Object({\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(DiscriminatorObjectSchema),\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(XMLObjectSchema),\n /** Additional external documentation for this schema. */\n externalDocs: Type.Optional(ExternalDocumentationObjectSchema),\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.Any()),\n }),\n ExtensionsSchema,\n SchemaExtensionsSchema,\n Type.Record(Type.String(), Type.Unknown()),\n)\n\nexport type SchemaObject = Static<typeof SchemaObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,iCAAiC;AAC1C,SAAS,uBAAuB;AAChC,SAAS,yCAAyC;AAClD,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAExB,MAAM,yBAAyB,KAAK;AAAA,EAClC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,MAAM,KAAK,OAAO,CAAC;AAAA,EACpC,CAAC;AACH;AASO,MAAM,qBAAqB;AAAA,EAChC,KAAK,OAAO;AAAA;AAAA,IAEV,eAAe,KAAK,SAAS,yBAAyB;AAAA;AAAA,IAEtD,KAAK,KAAK,SAAS,eAAe;AAAA;AAAA,IAElC,cAAc,KAAK,SAAS,iCAAiC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAM7D,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA,EACnC,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,QAAQ,CAAC;AAC3C;",
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { DiscriminatorObjectSchema } from './discriminator'\nimport { XMLObjectSchema } from './xml'\nimport { ExternalDocumentationObjectSchema } from './external-documentation'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/v3.1/compose'\n\nconst SchemaExtensionsSchema = Type.Partial(\n Type.Object({\n 'x-tags': Type.Array(Type.String()),\n }),\n)\n\n/**\n * The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 2020-12. The empty schema (which allows any instance to validate) MAY be represented by the boolean value true and a schema which allows no instance to validate MAY be represented by the boolean value false.\n *\n * For more information about the keywords, see JSON Schema Core and JSON Schema Validation.\n *\n * Unless stated otherwise, the keyword definitions follow those of JSON Schema and do not add any additional semantics; this includes keywords such as $schema, $id, $ref, and $dynamicRef being URIs rather than URLs. Where JSON Schema indicates that behavior is defined by the application (e.g. for annotations), OAS also defers the definition of semantics to the application consuming the OpenAPI document.\n */\nexport const SchemaObjectSchema = compose(\n Type.Object({\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(DiscriminatorObjectSchema),\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(XMLObjectSchema),\n /** Additional external documentation for this schema. */\n externalDocs: Type.Optional(ExternalDocumentationObjectSchema),\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.Any()),\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 ExtensionsSchema,\n SchemaExtensionsSchema,\n Type.Record(Type.String(), Type.Unknown()),\n)\n\nexport type SchemaObject = Static<typeof SchemaObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,iCAAiC;AAC1C,SAAS,uBAAuB;AAChC,SAAS,yCAAyC;AAClD,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAExB,MAAM,yBAAyB,KAAK;AAAA,EAClC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,MAAM,KAAK,OAAO,CAAC;AAAA,EACpC,CAAC;AACH;AASO,MAAM,qBAAqB;AAAA,EAChC,KAAK,OAAO;AAAA;AAAA,IAEV,eAAe,KAAK,SAAS,yBAAyB;AAAA;AAAA,IAEtD,KAAK,KAAK,SAAS,eAAe;AAAA;AAAA,IAElC,cAAc,KAAK,SAAS,iCAAiC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAM7D,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKjC,UAAU,KAAK,SAAS,KAAK,MAAM,KAAK,QAAQ,CAAC,CAAC;AAAA,EACpD,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,QAAQ,CAAC;AAC3C;",
6
6
  "names": []
7
7
  }
@@ -32,32 +32,33 @@ export declare const OAuth2: import("@sinclair/typebox").TIntersect<[import("@si
32
32
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
33
33
  type: import("@sinclair/typebox").TLiteral<"oauth2">;
34
34
  /** REQUIRED. An object containing configuration information for the flow types supported. */
35
- flows: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
35
+ flows: import("@sinclair/typebox").TObject<{
36
36
  implicit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
37
- authorizationUrl: import("@sinclair/typebox").TString;
38
- tokenUrl: import("@sinclair/typebox").TString;
39
37
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
40
38
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
39
+ }>, import("@sinclair/typebox").TObject<{
40
+ authorizationUrl: import("@sinclair/typebox").TString;
41
41
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
42
42
  password: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
43
- authorizationUrl: import("@sinclair/typebox").TString;
44
- tokenUrl: import("@sinclair/typebox").TString;
45
43
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
46
44
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
45
+ }>, import("@sinclair/typebox").TObject<{
46
+ tokenUrl: import("@sinclair/typebox").TString;
47
47
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
48
48
  clientCredentials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
49
- authorizationUrl: import("@sinclair/typebox").TString;
50
- tokenUrl: import("@sinclair/typebox").TString;
51
49
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
52
50
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
51
+ }>, import("@sinclair/typebox").TObject<{
52
+ tokenUrl: import("@sinclair/typebox").TString;
53
53
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
54
54
  authorizationCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
55
- authorizationUrl: import("@sinclair/typebox").TString;
56
- tokenUrl: import("@sinclair/typebox").TString;
57
55
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
58
56
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
57
+ }>, import("@sinclair/typebox").TObject<{
58
+ authorizationUrl: import("@sinclair/typebox").TString;
59
+ tokenUrl: import("@sinclair/typebox").TString;
59
60
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
60
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
61
+ }>;
61
62
  }>]>;
62
63
  export declare const OpenIdConnect: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
63
64
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
@@ -100,32 +101,33 @@ export declare const SecuritySchemeObjectSchema: import("@sinclair/typebox").TUn
100
101
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
101
102
  type: import("@sinclair/typebox").TLiteral<"oauth2">;
102
103
  /** REQUIRED. An object containing configuration information for the flow types supported. */
103
- flows: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
104
+ flows: import("@sinclair/typebox").TObject<{
104
105
  implicit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
105
- authorizationUrl: import("@sinclair/typebox").TString;
106
- tokenUrl: import("@sinclair/typebox").TString;
107
106
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
108
107
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
108
+ }>, import("@sinclair/typebox").TObject<{
109
+ authorizationUrl: import("@sinclair/typebox").TString;
109
110
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
110
111
  password: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
111
- authorizationUrl: import("@sinclair/typebox").TString;
112
- tokenUrl: import("@sinclair/typebox").TString;
113
112
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
114
113
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
114
+ }>, import("@sinclair/typebox").TObject<{
115
+ tokenUrl: import("@sinclair/typebox").TString;
115
116
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
116
117
  clientCredentials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
117
- authorizationUrl: import("@sinclair/typebox").TString;
118
- tokenUrl: import("@sinclair/typebox").TString;
119
118
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
120
119
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
120
+ }>, import("@sinclair/typebox").TObject<{
121
+ tokenUrl: import("@sinclair/typebox").TString;
121
122
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
122
123
  authorizationCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
123
- authorizationUrl: import("@sinclair/typebox").TString;
124
- tokenUrl: import("@sinclair/typebox").TString;
125
124
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
126
125
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
126
+ }>, import("@sinclair/typebox").TObject<{
127
+ authorizationUrl: import("@sinclair/typebox").TString;
128
+ tokenUrl: import("@sinclair/typebox").TString;
127
129
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
128
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
130
+ }>;
129
131
  }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
130
132
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
131
133
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -1 +1 @@
1
- {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD,eAAO,MAAM,iBAAiB;IAE1B,qGAAqG;;kJAIxG,CAAA;AAED,eAAO,MAAM,YAAY;IANrB,qGAAqG;;;IASrG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;IAGjG,CAAA;AAED,eAAO,MAAM,UAAU;IAlBnB,qGAAqG;;;IAqBrG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;IAG1M,CAAA;AAED,eAAO,MAAM,MAAM;IA9Bf,qGAAqG;;;IAiCrG,4HAA4H;;IAE5H,6FAA6F;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGhG,CAAA;AAED,eAAO,MAAM,aAAa;IAxCtB,qGAAqG;;;IA2CrG,4HAA4H;;IAE5H,+FAA+F;;IAGlG,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;IAvDnC,qGAAqG;;;IASrG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;;IAb9F,qGAAqG;;;IAqBrG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMA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AG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
@@ -1,3 +1,8 @@
1
1
  import type { ReferenceObject } from '../../schemas/v3.1/strict/reference.js';
2
+ /** Type guard to check if a value is a reference */
2
3
  export declare const isReference: (value: unknown) => value is ReferenceObject;
4
+ /**
5
+ * Type helper we can use if we have performed the isReference check higher in the stack
6
+ */
7
+ export type Dereference<T> = Exclude<T, ReferenceObject>;
3
8
  //# sourceMappingURL=type-guard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type-guard.d.ts","sourceRoot":"","sources":["../../../src/schemas/v3.1/type-guard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AAEtE,eAAO,MAAM,WAAW,UAAW,OAAO,KAAG,KAAK,IAAI,eAErD,CAAA"}
1
+ {"version":3,"file":"type-guard.d.ts","sourceRoot":"","sources":["../../../src/schemas/v3.1/type-guard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AAEtE,oDAAoD;AACpD,eAAO,MAAM,WAAW,UAAW,OAAO,KAAG,KAAK,IAAI,eACU,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,EAAE,eAAe,CAAC,CAAA"}
@@ -1,6 +1,4 @@
1
- const isReference = (value) => {
2
- return typeof value === "object" && value !== null && "$ref" in value;
3
- };
1
+ const isReference = (value) => typeof value === "object" && value !== null && "$ref" in value;
4
2
  export {
5
3
  isReference
6
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/v3.1/type-guard.ts"],
4
- "sourcesContent": ["import type { ReferenceObject } from '@/schemas/v3.1/strict/reference'\n\nexport const isReference = (value: unknown): value is ReferenceObject => {\n return typeof value === 'object' && value !== null && '$ref' in value\n}\n"],
5
- "mappings": "AAEO,MAAM,cAAc,CAAC,UAA6C;AACvE,SAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,UAAU;AAClE;",
4
+ "sourcesContent": ["import type { ReferenceObject } from '@/schemas/v3.1/strict/reference'\n\n/** Type guard to check if a value is a reference */\nexport const isReference = (value: unknown): value is ReferenceObject =>\n typeof value === 'object' && value !== null && '$ref' in value\n\n/**\n * Type helper we can use if we have performed the isReference check higher in the stack\n */\nexport type Dereference<T> = Exclude<T, ReferenceObject>\n"],
5
+ "mappings": "AAGO,MAAM,cAAc,CAAC,UAC1B,OAAO,UAAU,YAAY,UAAU,QAAQ,UAAU;",
6
6
  "names": []
7
7
  }