@swagger-api/apidom-ns-json-schema-draft-6 1.0.0-alpha.8 → 1.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +5 -5
- package/types/dist.d.ts +2 -140
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-alpha.9](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2024-08-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-6
|
|
9
|
+
|
|
6
10
|
# [1.0.0-alpha.8](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2024-08-08)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-6
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-ns-json-schema-draft-6",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.9",
|
|
4
4
|
"description": "JSON Schema Draft 6 namespace for ApiDOM.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime-corejs3": "^7.20.7",
|
|
45
|
-
"@swagger-api/apidom-core": "^1.0.0-alpha.
|
|
46
|
-
"@swagger-api/apidom-error": "^1.0.0-alpha.
|
|
47
|
-
"@swagger-api/apidom-ns-json-schema-draft-4": "^1.0.0-alpha.
|
|
45
|
+
"@swagger-api/apidom-core": "^1.0.0-alpha.9",
|
|
46
|
+
"@swagger-api/apidom-error": "^1.0.0-alpha.9",
|
|
47
|
+
"@swagger-api/apidom-ns-json-schema-draft-4": "^1.0.0-alpha.9",
|
|
48
48
|
"@types/ramda": "~0.30.0",
|
|
49
49
|
"ramda": "~0.30.0",
|
|
50
50
|
"ramda-adjunct": "^5.0.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"README.md",
|
|
61
61
|
"CHANGELOG.md"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "e9473c9c721dc565f12a0216539060370e67a985"
|
|
64
64
|
}
|
package/types/dist.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="@swagger-api/apidom-core/types/minim" />
|
|
2
1
|
import * as _swagger_api_apidom_core from '@swagger-api/apidom-core';
|
|
3
2
|
import { MediaTypes, NamespacePluginOptions, StringElement, Element, Meta, Attributes, NumberElement, BooleanElement, ArrayElement, ObjectElement } from '@swagger-api/apidom-core';
|
|
4
3
|
export { isArrayElement, isBooleanElement, isElement, isLinkElement, isMemberElement, isNullElement, isNumberElement, isObjectElement, isRefElement, isStringElement } from '@swagger-api/apidom-core';
|
|
5
4
|
import * as minim from 'minim';
|
|
6
5
|
import * as _swagger_api_apidom_ns_json_schema_draft_4 from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
7
|
-
import { JSONSchemaElement, JSONReferenceElement, LinkDescriptionElement, FixedFieldsVisitorOptions, FallbackVisitorOptions, SpecPath, FixedFieldsVisitor, FallbackVisitor, SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, SpecificationVisitor, ParentSchemaAwareVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
6
|
+
import { specificationObj, JSONSchemaElement, JSONReferenceElement, LinkDescriptionElement, FixedFieldsVisitorOptions, FallbackVisitorOptions, SpecPath, FixedFieldsVisitor, FallbackVisitor, SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, SpecificationVisitor, ParentSchemaAwareVisitor } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
8
7
|
export { AllOfVisitorOptions, AlternatingVisitor, AlternatingVisitorOptions, AnyOfVisitorOptions, DefinitionsVisitorOptions, DependenciesVisitorOptions, FallbackVisitorOptions as ExamplesVisitorOptions, FallbackVisitor, FallbackVisitorOptions, FixedFieldsVisitor, FixedFieldsVisitorOptions, JSONReferenceElement, MapVisitor, MapVisitorOptions, MediaElement, OneOfVisitorOptions, ParentSchemaAwareVisitor, ParentSchemaAwareVisitorOptions, PatternPropertiesVisitorOptions, PatternedFieldsVisitor, PatternedFieldsVisitorOptions, PropertiesVisitorOptions, SchemaOrReferenceVisitorOptions, SpecPath, SpecificationVisitor, SpecificationVisitorOptions, Visitor, VisitorOptions, isJSONReferenceElement, isJSONReferenceLikeElement, isMediaElement } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
9
8
|
import * as ts_mixer_dist_types_types from 'ts-mixer/dist/types/types';
|
|
10
9
|
|
|
@@ -170,144 +169,7 @@ declare const refract: <T extends Element>(value: unknown, { specPath, plugins,
|
|
|
170
169
|
}) => T;
|
|
171
170
|
declare const createRefractor: (specPath: string[]) => (value: unknown, options?: {}) => Element;
|
|
172
171
|
|
|
173
|
-
declare const _default:
|
|
174
|
-
visitors: {
|
|
175
|
-
value: typeof _swagger_api_apidom_ns_json_schema_draft_4.FallbackVisitor;
|
|
176
|
-
JSONSchemaOrJSONReferenceVisitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.SchemaOrReferenceVisitor;
|
|
177
|
-
document: {
|
|
178
|
-
objects: {
|
|
179
|
-
JSONSchema: {
|
|
180
|
-
$visitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.JSONSchemaVisitor;
|
|
181
|
-
fixedFields: {
|
|
182
|
-
id: {
|
|
183
|
-
$ref: string;
|
|
184
|
-
};
|
|
185
|
-
$schema: {
|
|
186
|
-
$ref: string;
|
|
187
|
-
};
|
|
188
|
-
multipleOf: {
|
|
189
|
-
$ref: string;
|
|
190
|
-
};
|
|
191
|
-
maximum: {
|
|
192
|
-
$ref: string;
|
|
193
|
-
};
|
|
194
|
-
exclusiveMaximum: {
|
|
195
|
-
$ref: string;
|
|
196
|
-
};
|
|
197
|
-
minimum: {
|
|
198
|
-
$ref: string;
|
|
199
|
-
};
|
|
200
|
-
exclusiveMinimum: {
|
|
201
|
-
$ref: string;
|
|
202
|
-
};
|
|
203
|
-
maxLength: {
|
|
204
|
-
$ref: string;
|
|
205
|
-
};
|
|
206
|
-
minLength: {
|
|
207
|
-
$ref: string;
|
|
208
|
-
};
|
|
209
|
-
pattern: {
|
|
210
|
-
$ref: string;
|
|
211
|
-
};
|
|
212
|
-
additionalItems: typeof _swagger_api_apidom_ns_json_schema_draft_4.SchemaOrReferenceVisitor;
|
|
213
|
-
items: typeof _swagger_api_apidom_ns_json_schema_draft_4.ItemsVisitor;
|
|
214
|
-
maxItems: {
|
|
215
|
-
$ref: string;
|
|
216
|
-
};
|
|
217
|
-
minItems: {
|
|
218
|
-
$ref: string;
|
|
219
|
-
};
|
|
220
|
-
uniqueItems: {
|
|
221
|
-
$ref: string;
|
|
222
|
-
};
|
|
223
|
-
maxProperties: {
|
|
224
|
-
$ref: string;
|
|
225
|
-
};
|
|
226
|
-
minProperties: {
|
|
227
|
-
$ref: string;
|
|
228
|
-
};
|
|
229
|
-
required: typeof _swagger_api_apidom_ns_json_schema_draft_4.RequiredVisitor;
|
|
230
|
-
properties: typeof _swagger_api_apidom_ns_json_schema_draft_4.PropertiesVisitor;
|
|
231
|
-
additionalProperties: typeof _swagger_api_apidom_ns_json_schema_draft_4.SchemaOrReferenceVisitor;
|
|
232
|
-
patternProperties: typeof _swagger_api_apidom_ns_json_schema_draft_4.PatternPropertiesVisitor;
|
|
233
|
-
dependencies: typeof _swagger_api_apidom_ns_json_schema_draft_4.DependenciesVisitor;
|
|
234
|
-
enum: typeof _swagger_api_apidom_ns_json_schema_draft_4.EnumVisitor;
|
|
235
|
-
type: typeof _swagger_api_apidom_ns_json_schema_draft_4.TypeVisitor;
|
|
236
|
-
allOf: typeof _swagger_api_apidom_ns_json_schema_draft_4.AllOfVisitor;
|
|
237
|
-
anyOf: typeof _swagger_api_apidom_ns_json_schema_draft_4.AnyOfVisitor;
|
|
238
|
-
oneOf: typeof _swagger_api_apidom_ns_json_schema_draft_4.OneOfVisitor;
|
|
239
|
-
not: typeof _swagger_api_apidom_ns_json_schema_draft_4.SchemaOrReferenceVisitor;
|
|
240
|
-
definitions: typeof _swagger_api_apidom_ns_json_schema_draft_4.DefinitionsVisitor;
|
|
241
|
-
title: {
|
|
242
|
-
$ref: string;
|
|
243
|
-
};
|
|
244
|
-
description: {
|
|
245
|
-
$ref: string;
|
|
246
|
-
};
|
|
247
|
-
default: {
|
|
248
|
-
$ref: string;
|
|
249
|
-
};
|
|
250
|
-
format: {
|
|
251
|
-
$ref: string;
|
|
252
|
-
};
|
|
253
|
-
base: {
|
|
254
|
-
$ref: string;
|
|
255
|
-
};
|
|
256
|
-
links: typeof _swagger_api_apidom_ns_json_schema_draft_4.LinksVisitor;
|
|
257
|
-
media: {
|
|
258
|
-
$ref: string;
|
|
259
|
-
};
|
|
260
|
-
readOnly: {
|
|
261
|
-
$ref: string;
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
JSONReference: {
|
|
266
|
-
$visitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.JSONReferenceVisitor;
|
|
267
|
-
fixedFields: {
|
|
268
|
-
$ref: typeof _swagger_api_apidom_ns_json_schema_draft_4.JSONReference$RefVisitor;
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
Media: {
|
|
272
|
-
$visitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.MediaVisitor;
|
|
273
|
-
fixedFields: {
|
|
274
|
-
binaryEncoding: {
|
|
275
|
-
$ref: string;
|
|
276
|
-
};
|
|
277
|
-
type: {
|
|
278
|
-
$ref: string;
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
};
|
|
282
|
-
LinkDescription: {
|
|
283
|
-
$visitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.LinkDescriptionVisitor;
|
|
284
|
-
fixedFields: {
|
|
285
|
-
href: {
|
|
286
|
-
$ref: string;
|
|
287
|
-
};
|
|
288
|
-
rel: {
|
|
289
|
-
$ref: string;
|
|
290
|
-
};
|
|
291
|
-
title: {
|
|
292
|
-
$ref: string;
|
|
293
|
-
};
|
|
294
|
-
targetSchema: typeof _swagger_api_apidom_ns_json_schema_draft_4.SchemaOrReferenceVisitor;
|
|
295
|
-
mediaType: {
|
|
296
|
-
$ref: string;
|
|
297
|
-
};
|
|
298
|
-
method: {
|
|
299
|
-
$ref: string;
|
|
300
|
-
};
|
|
301
|
-
encType: {
|
|
302
|
-
$ref: string;
|
|
303
|
-
};
|
|
304
|
-
schema: typeof _swagger_api_apidom_ns_json_schema_draft_4.SchemaOrReferenceVisitor;
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
};
|
|
172
|
+
declare const _default: typeof specificationObj;
|
|
311
173
|
|
|
312
174
|
declare class JSONSchema extends JSONSchemaElement {
|
|
313
175
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|