Skip to content

Commit

Permalink
fix: add envirnment type to env list
Browse files Browse the repository at this point in the history
@W-9922044@
  • Loading branch information
peternhale committed Sep 21, 2021
1 parent 1af15c9 commit 8f020df
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
}
},
"dependencies": {
"@oclif/core": "^0.5.38",
"@salesforce/core": "^3.6.1",
"@oclif/core": "^0.5.39",
"@salesforce/core": "^3.6.2",
"@salesforce/kit": "^1.5.17",
"@salesforce/ts-types": "^1.5.20",
"cli-ux": "^5.6.3",
Expand Down
7 changes: 7 additions & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,14 @@ export namespace EnvDisplay {
* | foo | https://example.com
*/
export namespace EnvList {
export enum EnvType {
'salesforceOrg' = 'salesforceOrg',
'scratchOrg' = 'scratchOrg',
'computeEnv' = 'computeEnv',
}

type Table<T extends JsonObject> = {
type: EnvType;
data: T[];
keys?: Record<keyof T, string>;
title: string;
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,10 @@
is-wsl "^2.1.1"
tslib "^2.0.0"

"@oclif/core@^0.5.38":
version "0.5.38"
resolved "https://registry.npmjs.org/@oclif/core/-/core-0.5.38.tgz#293e14e426fa340d68c549171925c6c18884b995"
integrity sha512-mR4YKwGAdVhN9mN7DEPnRl/fopmVu2C4xlJYI68+6nW/uZQzZ9WjsiRgjwAMOWdAju8mG35+sVlwSg0hDIlCCA==
"@oclif/core@^0.5.39":
version "0.5.39"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-0.5.39.tgz#d00705f31c5e6617145e84bb9dd50156cf3b01c5"
integrity sha512-4XusxLX8PnHDQxtRP25PImlkIj1Mlx6wt0NWb1FxQGvTJOAgXGJZl3YB02ZeXZLYbeKA2A3AqqxFTTKbADnZng==
dependencies:
"@oclif/linewrap" "^1.0.0"
chalk "^4.1.0"
Expand Down Expand Up @@ -531,10 +531,10 @@
mv "~2"
safe-json-stringify "~1"

"@salesforce/core@^3.6.1":
version "3.6.1"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-3.6.1.tgz#2f5fb779036008d08cf2fa213dece1f808d29f4e"
integrity sha512-TIrlx7k3paTi162Wlqkk6Bnu6MEJxUkuW0fKuqPPnc0uuRzXg+apGmL/G7Mk6E/FQEnWY+0TCPnUJwdn5SWoqw==
"@salesforce/core@^3.6.2":
version "3.6.2"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-3.6.2.tgz#a67f065fc0095e35ff553c7acf7b9f6ac116e4ef"
integrity sha512-X3V8Voun/u/B0O3ZeR/DLgUB5IwqTgpn80i+/XRLTVh0U2TH1/pV6948DVxkw3SRQ8NMN7JZCTq/Dq3GhGXf/g==
dependencies:
"@salesforce/bunyan" "^2.0.0"
"@salesforce/kit" "^1.5.8"
Expand Down

0 comments on commit 8f020df

Please sign in to comment.