Merge pull request #9536 from backstage/jhaals/jsonschema

catalog-model: deprecate JSONSchema
This commit is contained in:
Johan Haals
2022-02-17 10:39:56 +01:00
committed by GitHub
3 changed files with 7 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/catalog-model': patch
---
Deprecated `JSONSchema` export type.
+1 -1
View File
@@ -311,7 +311,7 @@ export { GroupEntityV1alpha1 };
// @public
export const groupEntityV1alpha1Validator: KindValidator;
// @public
// @public @deprecated
export type JSONSchema = JSONSchema7 & {
[key in string]?: JsonValue;
};
+1
View File
@@ -21,6 +21,7 @@ import { JSONSchema7 } from 'json-schema';
* JSONSchema extendable by arbitrary JSON attributes
*
* @public
* @deprecated use JSONSchema7 from the json-schema package instead.
*/
export type JSONSchema = JSONSchema7 & { [key in string]?: JsonValue };