@swagger-api/apidom-parser-adapter-asyncapi-json-2 1.0.0-beta.2 → 1.0.0-beta.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.
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-beta.3](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2024-11-25)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
9
+
6
10
  # [1.0.0-beta.2](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2024-11-22)
7
11
 
8
12
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
@@ -37094,6 +37094,9 @@ __webpack_require__.r(__webpack_exports__);
37094
37094
 
37095
37095
  /* eslint-disable class-methods-use-this */
37096
37096
 
37097
+ /**
37098
+ * @public
37099
+ */
37097
37100
  class JSONSchema extends _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_0__.JSONSchemaElement {
37098
37101
  constructor(content, meta, attributes) {
37099
37102
  super(content, meta, attributes);
@@ -37220,6 +37223,7 @@ __webpack_require__.r(__webpack_exports__);
37220
37223
 
37221
37224
  /**
37222
37225
  * URI: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-hyperschema-01#section-6
37226
+ * @public
37223
37227
  */
37224
37228
 
37225
37229
  class LinkDescription extends _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_0__.LinkDescriptionElement {
@@ -37284,6 +37288,9 @@ __webpack_require__.r(__webpack_exports__);
37284
37288
 
37285
37289
 
37286
37290
 
37291
+ /**
37292
+ * @public
37293
+ */
37287
37294
  const jsonSchemaDraft6 = {
37288
37295
  namespace: options => {
37289
37296
  const {
@@ -37319,6 +37326,10 @@ __webpack_require__.r(__webpack_exports__);
37319
37326
 
37320
37327
 
37321
37328
 
37329
+
37330
+ /**
37331
+ * @public
37332
+ */
37322
37333
  const isJSONSchemaElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_1__["default"])(({
37323
37334
  hasBasicElementProps,
37324
37335
  isElementType,
@@ -37326,6 +37337,10 @@ const isJSONSchemaElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE
37326
37337
  }) => {
37327
37338
  return element => element instanceof _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_2__["default"] || hasBasicElementProps(element) && isElementType('JSONSchemaDraft6', element) && primitiveEq('object', element);
37328
37339
  });
37340
+
37341
+ /**
37342
+ * @public
37343
+ */
37329
37344
  const isLinkDescriptionElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_1__["default"])(({
37330
37345
  hasBasicElementProps,
37331
37346
  isElementType,
@@ -37358,6 +37373,9 @@ __webpack_require__.r(__webpack_exports__);
37358
37373
 
37359
37374
 
37360
37375
 
37376
+ /**
37377
+ * @public
37378
+ */
37361
37379
  const refract = (value, {
37362
37380
  specPath = ['visitors', 'document', 'objects', 'JSONSchema', '$visitor'],
37363
37381
  plugins = [],
@@ -37388,6 +37406,10 @@ const refract = (value, {
37388
37406
  }
37389
37407
  });
37390
37408
  };
37409
+
37410
+ /**
37411
+ * @public
37412
+ */
37391
37413
  const createRefractor = specPath => (value, options = {}) => refract(value, {
37392
37414
  specPath,
37393
37415
  ...options
@@ -37488,6 +37510,9 @@ __webpack_require__.r(__webpack_exports__);
37488
37510
  /* harmony export */ });
37489
37511
  /* harmony import */ var _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89160);
37490
37512
 
37513
+ /**
37514
+ * @public
37515
+ */
37491
37516
  class ExamplesVisitor extends _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_0__["default"] {
37492
37517
  ArrayElement(arrayElement) {
37493
37518
  const result = this.enter(arrayElement);
@@ -37517,6 +37542,14 @@ __webpack_require__.r(__webpack_exports__);
37517
37542
 
37518
37543
 
37519
37544
 
37545
+
37546
+ /**
37547
+ * @public
37548
+ */
37549
+
37550
+ /**
37551
+ * @public
37552
+ */
37520
37553
  class ItemsVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_2__["default"], _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_3__["default"]) {
37521
37554
  ObjectElement(objectElement) {
37522
37555
  const specPath = (0,_swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_4__.isJSONReferenceLikeElement)(objectElement) ? ['document', 'objects', 'JSONReference'] : ['document', 'objects', 'JSONSchema'];
@@ -37560,6 +37593,12 @@ __webpack_require__.r(__webpack_exports__);
37560
37593
 
37561
37594
 
37562
37595
 
37596
+ /**
37597
+ * @public
37598
+ */
37599
+ /**
37600
+ * @public
37601
+ */
37563
37602
  class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_2__["default"]) {
37564
37603
  constructor(options) {
37565
37604
  super(options);
@@ -37596,6 +37635,12 @@ __webpack_require__.r(__webpack_exports__);
37596
37635
 
37597
37636
 
37598
37637
 
37638
+ /**
37639
+ * @public
37640
+ */
37641
+ /**
37642
+ * @public
37643
+ */
37599
37644
  class LinkDescriptionVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_4__WEBPACK_IMPORTED_MODULE_2__["default"]) {
37600
37645
  constructor(options) {
37601
37646
  super(options);
@@ -37620,13 +37665,19 @@ __webpack_require__.r(__webpack_exports__);
37620
37665
  /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17258);
37621
37666
 
37622
37667
 
37623
- // getNodeType :: Node -> String
37668
+ /**
37669
+ * @public
37670
+ */
37624
37671
  const getNodeType = element => {
37625
37672
  if (!(0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.isElement)(element)) {
37626
37673
  return undefined;
37627
37674
  }
37628
37675
  return `${element.element.charAt(0).toUpperCase() + element.element.slice(1)}Element`;
37629
37676
  };
37677
+
37678
+ /**
37679
+ * @public
37680
+ */
37630
37681
  const keyMap = {
37631
37682
  JSONSchemaDraft6Element: ['content'],
37632
37683
  JSONReferenceElement: ['content'],
@@ -37651,7 +37702,9 @@ __webpack_require__.r(__webpack_exports__);
37651
37702
 
37652
37703
 
37653
37704
  /* eslint-disable class-methods-use-this */
37654
-
37705
+ /**
37706
+ * @public
37707
+ */
37655
37708
  class JSONSchema extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_0__.JSONSchemaElement {
37656
37709
  constructor(content, meta, attributes) {
37657
37710
  super(content, meta, attributes);
@@ -37761,6 +37814,7 @@ __webpack_require__.r(__webpack_exports__);
37761
37814
 
37762
37815
  /**
37763
37816
  * URI: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-hyperschema-01#section-6
37817
+ * @public
37764
37818
  */
37765
37819
 
37766
37820
  class LinkDescription extends _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_0__.LinkDescriptionElement {
@@ -37875,6 +37929,9 @@ __webpack_require__.r(__webpack_exports__);
37875
37929
 
37876
37930
 
37877
37931
 
37932
+ /**
37933
+ * @public
37934
+ */
37878
37935
  const jsonSchemaDraft7 = {
37879
37936
  namespace: options => {
37880
37937
  const {
@@ -37908,6 +37965,10 @@ __webpack_require__.r(__webpack_exports__);
37908
37965
 
37909
37966
 
37910
37967
 
37968
+
37969
+ /**
37970
+ * @public
37971
+ */
37911
37972
  const isJSONSchemaElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_1__["default"])(({
37912
37973
  hasBasicElementProps,
37913
37974
  isElementType,
@@ -37915,6 +37976,10 @@ const isJSONSchemaElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE
37915
37976
  }) => {
37916
37977
  return element => element instanceof _elements_JSONSchema_mjs__WEBPACK_IMPORTED_MODULE_2__["default"] || hasBasicElementProps(element) && isElementType('JSONSchemaDraft7', element) && primitiveEq('object', element);
37917
37978
  });
37979
+
37980
+ /**
37981
+ * @public
37982
+ */
37918
37983
  const isLinkDescriptionElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_1__["default"])(({
37919
37984
  hasBasicElementProps,
37920
37985
  isElementType,
@@ -37947,6 +38012,9 @@ __webpack_require__.r(__webpack_exports__);
37947
38012
 
37948
38013
 
37949
38014
 
38015
+ /**
38016
+ * @public
38017
+ */
37950
38018
  const refract = (value, {
37951
38019
  specPath = ['visitors', 'document', 'objects', 'JSONSchema', '$visitor'],
37952
38020
  plugins = [],
@@ -37978,6 +38046,10 @@ const refract = (value, {
37978
38046
  }
37979
38047
  });
37980
38048
  };
38049
+
38050
+ /**
38051
+ * @public
38052
+ */
37981
38053
  const createRefractor = specPath => (value, options = {}) => refract(value, {
37982
38054
  specPath,
37983
38055
  ...options
@@ -38081,6 +38153,12 @@ __webpack_require__.r(__webpack_exports__);
38081
38153
 
38082
38154
 
38083
38155
 
38156
+ /**
38157
+ * @public
38158
+ */
38159
+ /**
38160
+ * @public
38161
+ */
38084
38162
  class JSONSchemaVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_2__["default"]) {
38085
38163
  constructor(options) {
38086
38164
  super(options);
@@ -38117,6 +38195,12 @@ __webpack_require__.r(__webpack_exports__);
38117
38195
 
38118
38196
 
38119
38197
 
38198
+ /**
38199
+ * @public
38200
+ */
38201
+ /**
38202
+ * @public
38203
+ */
38120
38204
  class LinkDescriptionVisitor extends (0,ts_mixer__WEBPACK_IMPORTED_MODULE_0__.Mixin)(_swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_1__["default"], _swagger_api_apidom_ns_json_schema_draft_6__WEBPACK_IMPORTED_MODULE_2__["default"]) {
38121
38205
  constructor(options) {
38122
38206
  super(options);
@@ -38141,13 +38225,19 @@ __webpack_require__.r(__webpack_exports__);
38141
38225
  /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17258);
38142
38226
 
38143
38227
 
38144
- // getNodeType :: Node -> String
38228
+ /**
38229
+ * @public
38230
+ */
38145
38231
  const getNodeType = element => {
38146
38232
  if (!(0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.isElement)(element)) {
38147
38233
  return undefined;
38148
38234
  }
38149
38235
  return `${element.element.charAt(0).toUpperCase() + element.element.slice(1)}Element`;
38150
38236
  };
38237
+
38238
+ /**
38239
+ * @public
38240
+ */
38151
38241
  const keyMap = {
38152
38242
  JSONSchemaDraft7Element: ['content'],
38153
38243
  JSONReferenceElement: ['content'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-parser-adapter-asyncapi-json-2",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "Parser adapter for parsing JSON documents into AsyncAPI 2.x.y namespace.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -43,9 +43,9 @@
43
43
  "license": "Apache-2.0",
44
44
  "dependencies": {
45
45
  "@babel/runtime-corejs3": "^7.20.7",
46
- "@swagger-api/apidom-core": "^1.0.0-beta.2",
47
- "@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-beta.2",
48
- "@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.2",
46
+ "@swagger-api/apidom-core": "^1.0.0-beta.3",
47
+ "@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-beta.3",
48
+ "@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.3",
49
49
  "@types/ramda": "~0.30.0",
50
50
  "ramda": "~0.30.0",
51
51
  "ramda-adjunct": "^5.0.0"
@@ -60,5 +60,5 @@
60
60
  "README.md",
61
61
  "CHANGELOG.md"
62
62
  ],
63
- "gitHead": "aa9027fa0a6de3d5a4bf840f120b874d6cdf5ada"
63
+ "gitHead": "a0cf66f3e4520986db154bd2b97001715a8a3287"
64
64
  }