Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: added comments to certain fields
ankitsridhar1680fdc6005bbc
diff --git a/packages/hoppscotch-backend/src/user-environment/user-environments.model.ts b/packages/hoppscotch-backend/src/user-environment/user-environments.model.tsindex 552299f60..be99821e3 100644--- a/packages/hoppscotch-backend/src/user-environment/user-environments.model.ts+++ b/packages/hoppscotch-backend/src/user-environment/user-environments.model.ts@@ -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;}