chore: added comments to certain fields
This commit is contained in:
@@ -16,7 +16,7 @@ export class UserEnvironment {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
description: 'Name of the environment',
|
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({
|
@Field({
|
||||||
description: 'All variables present in the environment',
|
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
|
variables: string; // JSON string of the variables object (format:[{ key: "bla", value: "bla_val" }, ...] ) which will be received from the client
|
||||||
|
|
||||||
@Field({
|
@Field({
|
||||||
description: 'isGlobal flag to indicate the environment is global or not',
|
description: 'Flag to indicate the environment is global or not',
|
||||||
})
|
})
|
||||||
isGlobal: boolean;
|
isGlobal: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user