Skip to content

Commit f3b064e

Browse files
committed
Export the schemaValidator helper function
1 parent c3d9088 commit f3b064e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/friendly-masks-dress.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@backstage/catalog-model': patch
3+
---
4+
5+
Export the `schemaValidator` helper function.

packages/catalog-model/src/kinds/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
export { schemaValidator } from './util';
18+
export type { KindValidator } from './types';
1719
export { apiEntityV1alpha1Validator } from './ApiEntityV1alpha1';
1820
export type {
1921
ApiEntityV1alpha1 as ApiEntity,
@@ -40,7 +42,6 @@ export type {
4042
TemplateEntityV1alpha1 as TemplateEntity,
4143
TemplateEntityV1alpha1,
4244
} from './TemplateEntityV1alpha1';
43-
export type { KindValidator } from './types';
4445
export { userEntityV1alpha1Validator } from './UserEntityV1alpha1';
4546
export type {
4647
UserEntityV1alpha1 as UserEntity,

0 commit comments

Comments
 (0)