chore: added comments to certain fields
This commit is contained in:
parent
9e25aa1f9f
commit
80fdc6005b
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ export class UserEnvironment {
|
|||
nullable: true,
|
||||
description: 'Name of the environment',
|
||||
})
|
||||
name: string | null | undefined;
|
||||
name: string | null | undefined; // types have a union to avoid TS warnings and field is nullable when it is global env
|
||||
|
||||
@Field({
|
||||
description: 'All variables present in the environment',
|
||||
|
|
@ -24,7 +24,7 @@ export class UserEnvironment {
|
|||
variables: string; // JSON string of the variables object (format:[{ key: "bla", value: "bla_val" }, ...] ) which will be received from the client
|
||||
|
||||
@Field({
|
||||
description: 'isGlobal flag to indicate the environment is global or not',
|
||||
description: 'Flag to indicate the environment is global or not',
|
||||
})
|
||||
isGlobal: boolean;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue