@lenne.tech/cli 0.0.73 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,9 +13,9 @@ export class <%= props.namePascal %>CreateInput extends <%= props.namePascal %>I
|
|
|
13
13
|
// ===================================================================================================================
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Description of the
|
|
16
|
+
* Description of the properties
|
|
17
17
|
*/
|
|
18
|
-
@Field(() => [String], { description: 'Description of the
|
|
18
|
+
@Field(() => [String], { description: 'Description of the properties', nullable: true })
|
|
19
19
|
@IsOptional()
|
|
20
|
-
|
|
20
|
+
properties?: string[];
|
|
21
21
|
}
|
|
@@ -13,10 +13,10 @@ export class <%= props.namePascal %>Input {
|
|
|
13
13
|
// ===================================================================================================================
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Description of the
|
|
16
|
+
* Description of the properties
|
|
17
17
|
*/
|
|
18
18
|
@Restricted(RoleEnum.ADMIN, RoleEnum.S_CREATOR)
|
|
19
|
-
@Field(() => [String], { description: 'Description of the
|
|
19
|
+
@Field(() => [String], { description: 'Description of the properties', nullable: true })
|
|
20
20
|
@IsOptional()
|
|
21
|
-
|
|
21
|
+
properties?: string[];
|
|
22
22
|
}
|
|
@@ -19,7 +19,7 @@ export class <%= props.namePascal %> extends PersistenceModel {
|
|
|
19
19
|
// ===================================================================================================================
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Description of
|
|
22
|
+
* Description of properties
|
|
23
23
|
*/
|
|
24
24
|
@Restricted(RoleEnum.ADMIN, RoleEnum.S_CREATOR)
|
|
25
25
|
@Field(() => [String], { description: 'Properties of <%= props.namePascal %>', nullable: 'items'})
|