@gravitee/graphene-core 2.59.0-jsf-deprecated.ec5476a → 2.59.0-renovate-react.7d23b03

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.
@@ -1 +1 @@
1
- {"version":3,"file":"extractDefaults.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/form-bindings/extractDefaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAK9D,iBAAS,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAYpD;AA+CD,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"extractDefaults.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/form-bindings/extractDefaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAI9D,iBAAS,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAYpD;AA+CD,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -1,12 +1,9 @@
1
1
  import { JsonSchema } from '../../models/json-schema.types';
2
2
  /**
3
- * Schema preprocessor for `deprecated` nodes. Runs in **both** pipelines (renderer and
3
+ * Schema preprocessor for `deprecated: true` nodes. Runs in **both** pipelines (renderer and
4
4
  * resolver) so the same enriched schema flows everywhere — no asymmetry, no dead metadata.
5
- * Reads `deprecated` via `isDeprecated` (shared) which also accepts off-spec string forms
6
- * (`"true"` / free-form message); downstream code in the renderer path sees the normalized
7
- * `deprecated: true | undefined` boolean since deprecated nodes are substituted below.
8
5
  *
9
- * Property-level deprecation: a deprecated node is substituted with `{ deprecated: true }`
6
+ * Property-level deprecation: a `deprecated: true` node is substituted with `{ deprecated: true }`
10
7
  * — a schema with no `type`, no constraints, no `properties`. Functionally equivalent to `{}`
11
8
  * for ajv (accepts any value), AND preserves the flag for `SchemaField`'s early-return so the UI
12
9
  * keeps hiding the field. The replacement key stays in the parent's `properties` (so
@@ -14,11 +11,12 @@ import { JsonSchema } from '../../models/json-schema.types';
14
11
  * Plugin authors retire a field by flipping the flag; previously-saved configs keep round-
15
12
  * tripping without manual cleanup.
16
13
  *
17
- * `oneOf` / `anyOf` deprecation: when an entire **variant** is deprecated, the variant is
14
+ * `oneOf` / `anyOf` deprecation: when an entire **variant** is `deprecated: true`, the variant is
18
15
  * **dropped** from the array instead of being replaced by `{ deprecated: true }`. Replacement
19
16
  * would yield a permissive stub (`{}` for ajv) that matches any value and overmatches against
20
17
  * the live variants — violating `oneOf`'s "exactly one" constraint for any valid submission.
21
- * Dropping aligns ajv's view with the renderer's UI filter so both sides see the same variant list.
18
+ * Dropping aligns ajv's view with the renderer's UI filter (`OneOfField` already filters
19
+ * `v.deprecated !== true` before mounting) so both sides see the same variant list.
22
20
  */
23
21
  declare function relaxDeprecated(schema: JsonSchema): JsonSchema;
24
22
  export { relaxDeprecated };
@@ -1 +1 @@
1
- {"version":3,"file":"relaxDeprecated.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAIjE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAS,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAkCvD;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"relaxDeprecated.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAGjE;;;;;;;;;;;;;;;;;;GAkBG;AACH,iBAAS,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAkCvD;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -2,9 +2,8 @@ import { JsonSchema } from '../models/json-schema.types';
2
2
  declare function isOneOfConstSelect(schema: JsonSchema): boolean;
3
3
  declare function isMultiSelectArray(schema: JsonSchema): boolean;
4
4
  declare function isHeadersArray(schema: JsonSchema): boolean;
5
- declare function isDeprecated(schema: JsonSchema): boolean;
6
5
  declare function isCodeEditor(schema: JsonSchema): boolean;
7
6
  declare function isOneOfWithProperties(schema: JsonSchema): boolean;
8
7
  declare function isAnyOfWithProperties(schema: JsonSchema): boolean;
9
- export { isAnyOfWithProperties, isCodeEditor, isDeprecated, isHeadersArray, isMultiSelectArray, isOneOfConstSelect, isOneOfWithProperties, };
8
+ export { isAnyOfWithProperties, isCodeEditor, isHeadersArray, isMultiSelectArray, isOneOfConstSelect, isOneOfWithProperties, };
10
9
  //# sourceMappingURL=schemaShape.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemaShape.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/schemaShape.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAK9D,iBAAS,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAMvD;AAID,iBAAS,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAIvD;AAOD,iBAAS,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAEnD;AAQD,iBAAS,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAQjD;AAOD,iBAAS,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAGjD;AAMD,iBAAS,qBAAqB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAO1D;AAKD,iBAAS,qBAAqB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAM1D;AAED,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,G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