From 9d93a7b6f982ce741a43430c215db381d5ff22c1 Mon Sep 17 00:00:00 2001 From: muhammed-abdulkadir Date: Tue, 25 Aug 2026 14:21:54 +0100 Subject: [PATCH] chore(types): update generated types Signed-off-by: muhammed-abdulkadir --- .../unions/concerto.metamodel@1.0.0.ts | 6 +++ .../src/generated/unions/concerto@1.0.0.ts | 40 ++++++++++--------- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/packages/concerto-types/src/generated/unions/concerto.metamodel@1.0.0.ts b/packages/concerto-types/src/generated/unions/concerto.metamodel@1.0.0.ts index 472e278189..766a143b32 100644 --- a/packages/concerto-types/src/generated/unions/concerto.metamodel@1.0.0.ts +++ b/packages/concerto-types/src/generated/unions/concerto.metamodel@1.0.0.ts @@ -195,6 +195,7 @@ export interface IProperty extends IConcept { name: string; isArray: boolean; isOptional: boolean; + sizeValidator?: ICollectionSizeValidator; decorators?: IDecorator[]; location?: IRange; } @@ -208,6 +209,11 @@ IDoubleProperty | IIntegerProperty | ILongProperty; +export interface ICollectionSizeValidator extends IConcept { + minSize?: number; + maxSize?: number; +} + export interface IRelationshipProperty extends IProperty { type: ITypeIdentifier; } diff --git a/packages/concerto-types/src/generated/unions/concerto@1.0.0.ts b/packages/concerto-types/src/generated/unions/concerto@1.0.0.ts index 5a81da5320..49b34f845d 100644 --- a/packages/concerto-types/src/generated/unions/concerto@1.0.0.ts +++ b/packages/concerto-types/src/generated/unions/concerto@1.0.0.ts @@ -16,6 +16,7 @@ import type { IMapValueType, IEnumProperty, IProperty, + ICollectionSizeValidator, IStringRegexValidator, IStringLengthValidator, IDoubleDomainValidator, @@ -32,25 +33,26 @@ export interface IConcept { $class: string; } -export type ConceptUnion = IPosition | -IRange | -ITypeIdentifier | -IDecoratorLiteral | -IDecorator | -IIdentified | -IDeclaration | -IMapKeyType | -IMapValueType | -IEnumProperty | -IProperty | -IStringRegexValidator | -IStringLengthValidator | -IDoubleDomainValidator | -IIntegerDomainValidator | -ILongDomainValidator | -IAliasedType | -IImport | -IModel | +export type ConceptUnion = IPosition | +IRange | +ITypeIdentifier | +IDecoratorLiteral | +IDecorator | +IIdentified | +IDeclaration | +IMapKeyType | +IMapValueType | +IEnumProperty | +IProperty | +ICollectionSizeValidator | +IStringRegexValidator | +IStringLengthValidator | +IDoubleDomainValidator | +IIntegerDomainValidator | +ILongDomainValidator | +IAliasedType | +IImport | +IModel | IModels; export interface IAsset extends IConcept {