diff --git a/package-lock.json b/package-lock.json index d13c813..99d9d0e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lenne.tech/cli", - "version": "0.0.73", + "version": "0.0.74", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lenne.tech/cli", - "version": "0.0.73", + "version": "0.0.74", "license": "MIT", "dependencies": { "@lenne.tech/cli-plugin-helper": "0.0.11", diff --git a/package.json b/package.json index b86c374..872368f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lenne.tech/cli", - "version": "0.0.73", + "version": "0.0.74", "description": "lenne.Tech CLI: lt", "keywords": [ "lenne.Tech", diff --git a/src/templates/nest-server-module/inputs/template-create.input.ts.ejs b/src/templates/nest-server-module/inputs/template-create.input.ts.ejs index d8867b5..e4d27bd 100644 --- a/src/templates/nest-server-module/inputs/template-create.input.ts.ejs +++ b/src/templates/nest-server-module/inputs/template-create.input.ts.ejs @@ -13,9 +13,9 @@ export class <%= props.namePascal %>CreateInput extends <%= props.namePascal %>I // =================================================================================================================== /** - * Description of the property + * Description of the properties */ - @Field(() => [String], { description: 'Description of the property', nullable: true }) + @Field(() => [String], { description: 'Description of the properties', nullable: true }) @IsOptional() - property?: string[]; + properties?: string[]; } diff --git a/src/templates/nest-server-module/inputs/template.input.ts.ejs b/src/templates/nest-server-module/inputs/template.input.ts.ejs index 8cad097..bcfda60 100644 --- a/src/templates/nest-server-module/inputs/template.input.ts.ejs +++ b/src/templates/nest-server-module/inputs/template.input.ts.ejs @@ -13,10 +13,10 @@ export class <%= props.namePascal %>Input { // =================================================================================================================== /** - * Description of the property + * Description of the properties */ @Restricted(RoleEnum.ADMIN, RoleEnum.S_CREATOR) - @Field(() => [String], { description: 'Description of the property', nullable: true }) + @Field(() => [String], { description: 'Description of the properties', nullable: true }) @IsOptional() - property?: string[]; + properties?: string[]; } diff --git a/src/templates/nest-server-module/template.model.ts.ejs b/src/templates/nest-server-module/template.model.ts.ejs index d4f6a65..c177ba5 100644 --- a/src/templates/nest-server-module/template.model.ts.ejs +++ b/src/templates/nest-server-module/template.model.ts.ejs @@ -19,7 +19,7 @@ export class <%= props.namePascal %> extends PersistenceModel { // =================================================================================================================== /** - * Description of the property + * Description of properties */ @Restricted(RoleEnum.ADMIN, RoleEnum.S_CREATOR) @Field(() => [String], { description: 'Properties of <%= props.namePascal %>', nullable: 'items'})