diff --git a/.changeset/friendly-masks-dress.md b/.changeset/friendly-masks-dress.md new file mode 100644 index 0000000000..31405f88eb --- /dev/null +++ b/.changeset/friendly-masks-dress.md @@ -0,0 +1,5 @@ +--- +'@backstage/catalog-model': patch +--- + +Export the `schemaValidator` helper function. diff --git a/packages/catalog-model/src/kinds/index.ts b/packages/catalog-model/src/kinds/index.ts index 914d7efea7..e00a49acb5 100644 --- a/packages/catalog-model/src/kinds/index.ts +++ b/packages/catalog-model/src/kinds/index.ts @@ -14,6 +14,8 @@ * limitations under the License. */ +export { schemaValidator } from './util'; +export type { KindValidator } from './types'; export { apiEntityV1alpha1Validator } from './ApiEntityV1alpha1'; export type { ApiEntityV1alpha1 as ApiEntity, @@ -40,7 +42,6 @@ export type { TemplateEntityV1alpha1 as TemplateEntity, TemplateEntityV1alpha1, } from './TemplateEntityV1alpha1'; -export type { KindValidator } from './types'; export { userEntityV1alpha1Validator } from './UserEntityV1alpha1'; export type { UserEntityV1alpha1 as UserEntity,