@ones-open/cli 0.0.8
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.
- package/LICENSE +201 -0
- package/bin/ones.js +4 -0
- package/dist/index.cjs +1889 -0
- package/dist/index.js +1888 -0
- package/dist/types/actions/build/index.d.ts +4 -0
- package/dist/types/actions/build/index.d.ts.map +1 -0
- package/dist/types/actions/build/normalize.d.ts +6 -0
- package/dist/types/actions/build/normalize.d.ts.map +1 -0
- package/dist/types/actions/build/regexp.d.ts +2 -0
- package/dist/types/actions/build/regexp.d.ts.map +1 -0
- package/dist/types/actions/dev/enums.d.ts +11 -0
- package/dist/types/actions/dev/enums.d.ts.map +1 -0
- package/dist/types/actions/dev/index.d.ts +4 -0
- package/dist/types/actions/dev/index.d.ts.map +1 -0
- package/dist/types/actions/dev/normalize.d.ts +6 -0
- package/dist/types/actions/dev/normalize.d.ts.map +1 -0
- package/dist/types/actions/dev/types.d.ts +10 -0
- package/dist/types/actions/dev/types.d.ts.map +1 -0
- package/dist/types/actions/disable/index.d.ts +4 -0
- package/dist/types/actions/disable/index.d.ts.map +1 -0
- package/dist/types/actions/disable/normalize.d.ts +6 -0
- package/dist/types/actions/disable/normalize.d.ts.map +1 -0
- package/dist/types/actions/enable/index.d.ts +4 -0
- package/dist/types/actions/enable/index.d.ts.map +1 -0
- package/dist/types/actions/enable/normalize.d.ts +6 -0
- package/dist/types/actions/enable/normalize.d.ts.map +1 -0
- package/dist/types/actions/index.d.ts +15 -0
- package/dist/types/actions/index.d.ts.map +1 -0
- package/dist/types/actions/install/index.d.ts +5 -0
- package/dist/types/actions/install/index.d.ts.map +1 -0
- package/dist/types/actions/install/install.d.ts +3 -0
- package/dist/types/actions/install/install.d.ts.map +1 -0
- package/dist/types/actions/install/normalize.d.ts +6 -0
- package/dist/types/actions/install/normalize.d.ts.map +1 -0
- package/dist/types/actions/legacy/index.d.ts +4 -0
- package/dist/types/actions/legacy/index.d.ts.map +1 -0
- package/dist/types/actions/legacy/normalize.d.ts +6 -0
- package/dist/types/actions/legacy/normalize.d.ts.map +1 -0
- package/dist/types/actions/login/consts.d.ts +2 -0
- package/dist/types/actions/login/consts.d.ts.map +1 -0
- package/dist/types/actions/login/index.d.ts +4 -0
- package/dist/types/actions/login/index.d.ts.map +1 -0
- package/dist/types/actions/login/normalize.d.ts +6 -0
- package/dist/types/actions/login/normalize.d.ts.map +1 -0
- package/dist/types/actions/login/regexp.d.ts +2 -0
- package/dist/types/actions/login/regexp.d.ts.map +1 -0
- package/dist/types/actions/logout/index.d.ts +4 -0
- package/dist/types/actions/logout/index.d.ts.map +1 -0
- package/dist/types/actions/logout/normalize.d.ts +6 -0
- package/dist/types/actions/logout/normalize.d.ts.map +1 -0
- package/dist/types/actions/tunnel/consts.d.ts +4 -0
- package/dist/types/actions/tunnel/consts.d.ts.map +1 -0
- package/dist/types/actions/tunnel/index.d.ts +7 -0
- package/dist/types/actions/tunnel/index.d.ts.map +1 -0
- package/dist/types/actions/tunnel/normalize.d.ts +6 -0
- package/dist/types/actions/tunnel/normalize.d.ts.map +1 -0
- package/dist/types/actions/tunnel/regexp.d.ts +2 -0
- package/dist/types/actions/tunnel/regexp.d.ts.map +1 -0
- package/dist/types/actions/tunnel/tunnel-client.d.ts +25 -0
- package/dist/types/actions/tunnel/tunnel-client.d.ts.map +1 -0
- package/dist/types/actions/tunnel/tunnel.d.ts +3 -0
- package/dist/types/actions/tunnel/tunnel.d.ts.map +1 -0
- package/dist/types/actions/tunnel/types.d.ts +31 -0
- package/dist/types/actions/tunnel/types.d.ts.map +1 -0
- package/dist/types/actions/tunnel/utils.d.ts +7 -0
- package/dist/types/actions/tunnel/utils.d.ts.map +1 -0
- package/dist/types/actions/uninstall/index.d.ts +4 -0
- package/dist/types/actions/uninstall/index.d.ts.map +1 -0
- package/dist/types/actions/uninstall/normalize.d.ts +6 -0
- package/dist/types/actions/uninstall/normalize.d.ts.map +1 -0
- package/dist/types/actions/whoami/index.d.ts +4 -0
- package/dist/types/actions/whoami/index.d.ts.map +1 -0
- package/dist/types/actions/whoami/normalize.d.ts +6 -0
- package/dist/types/actions/whoami/normalize.d.ts.map +1 -0
- package/dist/types/cli/index.d.ts +2 -0
- package/dist/types/cli/index.d.ts.map +1 -0
- package/dist/types/command/app/index.d.ts +4 -0
- package/dist/types/command/app/index.d.ts.map +1 -0
- package/dist/types/command/build/index.d.ts +10 -0
- package/dist/types/command/build/index.d.ts.map +1 -0
- package/dist/types/command/dev/index.d.ts +11 -0
- package/dist/types/command/dev/index.d.ts.map +1 -0
- package/dist/types/command/disable/index.d.ts +8 -0
- package/dist/types/command/disable/index.d.ts.map +1 -0
- package/dist/types/command/enable/index.d.ts +8 -0
- package/dist/types/command/enable/index.d.ts.map +1 -0
- package/dist/types/command/index.d.ts +16 -0
- package/dist/types/command/index.d.ts.map +1 -0
- package/dist/types/command/install/index.d.ts +8 -0
- package/dist/types/command/install/index.d.ts.map +1 -0
- package/dist/types/command/legacy/index.d.ts +8 -0
- package/dist/types/command/legacy/index.d.ts.map +1 -0
- package/dist/types/command/login/index.d.ts +8 -0
- package/dist/types/command/login/index.d.ts.map +1 -0
- package/dist/types/command/logout/index.d.ts +8 -0
- package/dist/types/command/logout/index.d.ts.map +1 -0
- package/dist/types/command/tunnel/index.d.ts +9 -0
- package/dist/types/command/tunnel/index.d.ts.map +1 -0
- package/dist/types/command/uninstall/index.d.ts +8 -0
- package/dist/types/command/uninstall/index.d.ts.map +1 -0
- package/dist/types/command/whoami/index.d.ts +8 -0
- package/dist/types/command/whoami/index.d.ts.map +1 -0
- package/dist/types/common/base/index.d.ts +5 -0
- package/dist/types/common/base/index.d.ts.map +1 -0
- package/dist/types/common/base/utils.d.ts +7 -0
- package/dist/types/common/base/utils.d.ts.map +1 -0
- package/dist/types/common/command/index.d.ts +6 -0
- package/dist/types/common/command/index.d.ts.map +1 -0
- package/dist/types/common/command/types.d.ts +2 -0
- package/dist/types/common/command/types.d.ts.map +1 -0
- package/dist/types/common/command/utils.d.ts +2 -0
- package/dist/types/common/command/utils.d.ts.map +1 -0
- package/dist/types/common/config/consts.d.ts +5 -0
- package/dist/types/common/config/consts.d.ts.map +1 -0
- package/dist/types/common/config/index.d.ts +7 -0
- package/dist/types/common/config/index.d.ts.map +1 -0
- package/dist/types/common/config/types.d.ts +8 -0
- package/dist/types/common/config/types.d.ts.map +1 -0
- package/dist/types/common/config/utils.d.ts +3 -0
- package/dist/types/common/config/utils.d.ts.map +1 -0
- package/dist/types/common/context/index.d.ts +6 -0
- package/dist/types/common/context/index.d.ts.map +1 -0
- package/dist/types/common/context/types.d.ts +2 -0
- package/dist/types/common/context/types.d.ts.map +1 -0
- package/dist/types/common/context/utils.d.ts +2 -0
- package/dist/types/common/context/utils.d.ts.map +1 -0
- package/dist/types/common/error/enums.d.ts +20 -0
- package/dist/types/common/error/enums.d.ts.map +1 -0
- package/dist/types/common/error/index.d.ts +7 -0
- package/dist/types/common/error/index.d.ts.map +1 -0
- package/dist/types/common/error/types.d.ts +2 -0
- package/dist/types/common/error/types.d.ts.map +1 -0
- package/dist/types/common/error/utils.d.ts +2 -0
- package/dist/types/common/error/utils.d.ts.map +1 -0
- package/dist/types/common/locales/en/index.d.ts +41 -0
- package/dist/types/common/locales/en/index.d.ts.map +1 -0
- package/dist/types/common/locales/index.d.ts +6 -0
- package/dist/types/common/locales/index.d.ts.map +1 -0
- package/dist/types/common/locales/types.d.ts +4 -0
- package/dist/types/common/locales/types.d.ts.map +1 -0
- package/dist/types/common/locales/utils.d.ts +6 -0
- package/dist/types/common/locales/utils.d.ts.map +1 -0
- package/dist/types/common/package/index.d.ts +7 -0
- package/dist/types/common/package/index.d.ts.map +1 -0
- package/dist/types/common/package/schema.d.ts +3 -0
- package/dist/types/common/package/schema.d.ts.map +1 -0
- package/dist/types/common/package/types.d.ts +2 -0
- package/dist/types/common/package/types.d.ts.map +1 -0
- package/dist/types/common/package/utils.d.ts +16 -0
- package/dist/types/common/package/utils.d.ts.map +1 -0
- package/dist/types/common/public/consts.d.ts +2 -0
- package/dist/types/common/public/consts.d.ts.map +1 -0
- package/dist/types/common/public/index.d.ts +6 -0
- package/dist/types/common/public/index.d.ts.map +1 -0
- package/dist/types/common/public/utils.d.ts +2 -0
- package/dist/types/common/public/utils.d.ts.map +1 -0
- package/dist/types/common/request/consts.d.ts +16 -0
- package/dist/types/common/request/consts.d.ts.map +1 -0
- package/dist/types/common/request/fetch.d.ts +13 -0
- package/dist/types/common/request/fetch.d.ts.map +1 -0
- package/dist/types/common/request/index.d.ts +8 -0
- package/dist/types/common/request/index.d.ts.map +1 -0
- package/dist/types/common/request/types.d.ts +98 -0
- package/dist/types/common/request/types.d.ts.map +1 -0
- package/dist/types/common/request/utils.d.ts +11 -0
- package/dist/types/common/request/utils.d.ts.map +1 -0
- package/dist/types/common/store/index.d.ts +6 -0
- package/dist/types/common/store/index.d.ts.map +1 -0
- package/dist/types/common/store/schema.d.ts +75 -0
- package/dist/types/common/store/schema.d.ts.map +1 -0
- package/dist/types/common/store/utils.d.ts +13 -0
- package/dist/types/common/store/utils.d.ts.map +1 -0
- package/dist/types/common/template/index.d.ts +5 -0
- package/dist/types/common/template/index.d.ts.map +1 -0
- package/dist/types/common/template/utils.d.ts +3 -0
- package/dist/types/common/template/utils.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +83 -0
- package/public/callback.html +65 -0
- package/public/logo.svg +4 -0
- package/template/legacy/README.md +13 -0
- package/template/legacy/_backend_npmrc +5 -0
- package/template/legacy/_backend_tsconfig.json +23 -0
- package/template/legacy/_eslintignore +2 -0
- package/template/legacy/_eslintrc.js +97 -0
- package/template/legacy/_gitignore +21 -0
- package/template/legacy/_gitlab-ci.yml +3 -0
- package/template/legacy/_husky_pre-commit +1 -0
- package/template/legacy/_npmrc +5 -0
- package/template/legacy/_prettierignore +15 -0
- package/template/legacy/_prettierrc +6 -0
- package/template/legacy/_web_npmrc +5 -0
- package/template/legacy/_web_tsconfig.json +20 -0
- package/template/legacy/backend/package.json +10 -0
- package/template/legacy/backend/src/index.ts +139 -0
- package/template/legacy/backend/src/ones.d.ts +6 -0
- package/template/legacy/config/ci-deploy.yaml +11 -0
- package/template/legacy/config/local.yaml +30 -0
- package/template/legacy/config/plugin.yaml +25 -0
- package/template/legacy/config/upgrade.yaml +8 -0
- package/template/legacy/op.config.mjs +4 -0
- package/template/legacy/package-lock.json +17446 -0
- package/template/legacy/package.json +73 -0
- package/template/legacy/web/browserslist +4 -0
- package/template/legacy/web/package.json +29 -0
- package/template/legacy/web/public/logo.svg +5 -0
- package/template/legacy/workspace/plugin.sql +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/build/index.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAAyB,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAI3E,eAAO,MAAM,KAAK,GAAU,GAAG,MAAM,gBAAgB,CAAC,mBAAmB,CAAC,uBA6GzE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { BuildCommandArguments, BuildCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<BuildCommandArguments, BuildCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/build/normalize.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE3E,KAAK,gBAAgB,GAAG,cAAc,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAA;AAO7F,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAqB7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regexp.d.ts","sourceRoot":"","sources":["../../../../src/actions/build/regexp.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,QAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/actions/dev/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IAExB,IAAI,SAAS;IAEb,IAAI,SAAS;IAEb,KAAK,UAAU;CAChB;AAED,oBAAY,iBAAiB;IAC3B,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IACb,IAAI,SAAS;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/dev/index.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAAuB,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAIvE,eAAO,MAAM,GAAG,GAAU,GAAG,MAAM,gBAAgB,CAAC,iBAAiB,CAAC,mBA0MrE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { DevCommandArguments, DevCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<DevCommandArguments, DevCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/dev/normalize.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAEvE,KAAK,gBAAgB,GAAG,cAAc,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAA;AAOzF,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAoB7F,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type ProcessEnv = typeof process.env;
|
|
2
|
+
export interface DevEnv extends ProcessEnv {
|
|
3
|
+
ONES_HOSTED_PORT: string;
|
|
4
|
+
ONES_DEV_WEB_SERVER_PORT: string;
|
|
5
|
+
ONES_HOSTED_TOKEN: string;
|
|
6
|
+
ONES_HOSTED_APP_ID: string;
|
|
7
|
+
ONES_HOSTED_BASE_URL: string;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/actions/dev/types.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG,OAAO,OAAO,CAAC,GAAG,CAAA;AAEpC,MAAM,WAAW,MAAO,SAAQ,UAAU;IACxC,gBAAgB,EAAE,MAAM,CAAA;IACxB,wBAAwB,EAAE,MAAM,CAAA;IAChC,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/disable/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAA2B,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAE/E,eAAO,MAAM,OAAO,GAAU,GAAG,MAAM,gBAAgB,CAAC,qBAAqB,CAAC,kBAiB7E,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { DisableCommandArguments, DisableCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<DisableCommandArguments, DisableCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/disable/normalize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAE/E,KAAK,gBAAgB,GAAG,cAAc,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAA;AAEjG,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAG7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/enable/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAA0B,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,eAAO,MAAM,MAAM,GAAU,GAAG,MAAM,gBAAgB,CAAC,oBAAoB,CAAC,kBAiB3E,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { EnableCommandArguments, EnableCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<EnableCommandArguments, EnableCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/enable/normalize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,KAAK,gBAAgB,GAAG,cAAc,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAA;AAE/F,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAG7F,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 动作集合
|
|
3
|
+
*/
|
|
4
|
+
export * from './build';
|
|
5
|
+
export * from './dev';
|
|
6
|
+
export * from './tunnel';
|
|
7
|
+
export * from './login';
|
|
8
|
+
export * from './logout';
|
|
9
|
+
export * from './whoami';
|
|
10
|
+
export * from './install';
|
|
11
|
+
export * from './enable';
|
|
12
|
+
export * from './disable';
|
|
13
|
+
export * from './uninstall';
|
|
14
|
+
export * from './legacy';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { CommandArguments } from '../../common/command';
|
|
2
|
+
import type { InstallCommandOptions } from '../../command';
|
|
3
|
+
export { invokeInstall, displayAppDetail } from './install';
|
|
4
|
+
export declare const install: (...args: CommandArguments<InstallCommandOptions>) => Promise<void>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/install/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAA2B,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAE/E,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAoC3D,eAAO,MAAM,OAAO,GAAU,GAAG,MAAM,gBAAgB,CAAC,qBAAqB,CAAC,kBAyB7E,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../src/actions/install/install.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,GAAU,gBAAgB,MAAM,kBAc5D,CAAA;AAED,eAAO,MAAM,aAAa,GAAU,aAAa,MAAM,KAAG,OAAO,CAAC,OAAO,CAyBxE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { InstallCommandArguments, InstallCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<InstallCommandArguments, InstallCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/install/normalize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAE/E,KAAK,gBAAgB,GAAG,cAAc,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAA;AAEjG,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAG7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/legacy/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAA0B,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAI7E,eAAO,MAAM,MAAM,GAAU,GAAG,MAAM,gBAAgB,CAAC,oBAAoB,CAAC,kBAgC3E,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { LegacyCommandArguments, LegacyCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<LegacyCommandArguments, LegacyCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/legacy/normalize.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,KAAK,gBAAgB,GAAG,cAAc,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAA;AAE/F,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAiB7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/actions/login/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,UAAyD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/login/index.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAAyB,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAQ3E,eAAO,MAAM,KAAK,GAAU,GAAG,MAAM,gBAAgB,CAAC,mBAAmB,CAAC,uBAwJzE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { LoginCommandArguments, LoginCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<LoginCommandArguments, LoginCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/login/normalize.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE3E,KAAK,gBAAgB,GAAG,cAAc,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAA;AAE7F,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAkC7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regexp.d.ts","sourceRoot":"","sources":["../../../../src/actions/login/regexp.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,QAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/logout/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAA0B,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,eAAO,MAAM,MAAM,GAAU,GAAG,MAAM,gBAAgB,CAAC,oBAAoB,CAAC,kBAS3E,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { LogoutCommandArguments, LogoutCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<LogoutCommandArguments, LogoutCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/logout/normalize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,KAAK,gBAAgB,GAAG,cAAc,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAA;AAE/F,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAG7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/actions/tunnel/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,cAAc,CAAA;AACxC,eAAO,MAAM,+BAA+B,oCAAoC,CAAA;AAEhF,eAAO,MAAM,oBAAoB,QAAmB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CommandArguments } from '../../common/command';
|
|
2
|
+
import type { TunnelCommandOptions } from '../../command';
|
|
3
|
+
export { invokeTunnel } from './tunnel';
|
|
4
|
+
export { buildTunnelUrl } from './utils';
|
|
5
|
+
export { MANIFEST_PATH, ONES_CLI_INTERNAL_MANIFEST_PATH } from './consts';
|
|
6
|
+
export declare const tunnel: (...args: CommandArguments<TunnelCommandOptions>) => Promise<void>;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/tunnel/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAA0B,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAA;AAEzE,eAAO,MAAM,MAAM,GAAU,GAAG,MAAM,gBAAgB,CAAC,oBAAoB,CAAC,kBAgB3E,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { TunnelCommandArguments, TunnelCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<TunnelCommandArguments, TunnelCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/tunnel/normalize.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,KAAK,gBAAgB,GAAG,cAAc,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAA;AAE/F,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CA8B7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regexp.d.ts","sourceRoot":"","sources":["../../../../src/actions/tunnel/regexp.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAmB,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class TunnelClient {
|
|
2
|
+
private ws;
|
|
3
|
+
private localPort;
|
|
4
|
+
private baseUrl;
|
|
5
|
+
private appID;
|
|
6
|
+
private hostedToken;
|
|
7
|
+
private enableInternalManifestRoute;
|
|
8
|
+
private replaceExisting;
|
|
9
|
+
constructor(localPort: number, baseUrl: string, appID: string, hostedToken: string, enableInternalManifestRoute?: boolean, replaceExisting?: boolean);
|
|
10
|
+
connect(): Promise<void>;
|
|
11
|
+
close(): void;
|
|
12
|
+
private buildProxyUrl;
|
|
13
|
+
private parseMessage;
|
|
14
|
+
private handleMessage;
|
|
15
|
+
private getRequestPayload;
|
|
16
|
+
private forwardRequest;
|
|
17
|
+
private collectHeaders;
|
|
18
|
+
private sendBinaryEnvelope;
|
|
19
|
+
private encodeBinaryEnvelope;
|
|
20
|
+
private toBodyBuffer;
|
|
21
|
+
private parseBinaryEnvelope;
|
|
22
|
+
private parseJSONEnvelope;
|
|
23
|
+
private toBuffer;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=tunnel-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tunnel-client.d.ts","sourceRoot":"","sources":["../../../../src/actions/tunnel/tunnel-client.ts"],"names":[],"mappings":"AAaA,qBAAa,YAAY;IACvB,OAAO,CAAC,EAAE,CAAyB;IACnC,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,OAAO,CAAQ;IACvB,OAAO,CAAC,KAAK,CAAQ;IACrB,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,2BAA2B,CAAS;IAC5C,OAAO,CAAC,eAAe,CAAS;gBAG9B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,2BAA2B,UAAO,EAClC,eAAe,UAAO;IAUlB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IA+B9B,KAAK,IAAI,IAAI;IAIb,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,YAAY;YAcN,aAAa;IA8C3B,OAAO,CAAC,iBAAiB;YAQX,cAAc;IAiC5B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,oBAAoB;IAc5B,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,mBAAmB;IAyB3B,OAAO,CAAC,iBAAiB;IAazB,OAAO,CAAC,QAAQ;CAYjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tunnel.d.ts","sourceRoot":"","sources":["../../../../src/actions/tunnel/tunnel.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD,eAAO,MAAM,YAAY,GAAU,MAAM,MAAM,EAAE,UAAS,mBAAwB,uBAsCjF,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AppManifestJSON } from '../../common/package';
|
|
2
|
+
export type TunnelHeaders = Record<string, string[]>;
|
|
3
|
+
export type TunnelQuery = Record<string, string | string[]>;
|
|
4
|
+
export interface TunnelEnvelope {
|
|
5
|
+
id: string;
|
|
6
|
+
payload?: TunnelRequestPayload | TunnelResponsePayload;
|
|
7
|
+
}
|
|
8
|
+
export interface TunnelRequestPayload {
|
|
9
|
+
app_id?: string;
|
|
10
|
+
method: string;
|
|
11
|
+
path: string;
|
|
12
|
+
headers?: TunnelHeaders;
|
|
13
|
+
query?: TunnelQuery;
|
|
14
|
+
body?: unknown;
|
|
15
|
+
}
|
|
16
|
+
export interface TunnelResponsePayload {
|
|
17
|
+
status: number;
|
|
18
|
+
headers?: TunnelHeaders;
|
|
19
|
+
body?: unknown;
|
|
20
|
+
}
|
|
21
|
+
export type InvokeTunnelOptions = {
|
|
22
|
+
enableInternalManifestRoute?: boolean;
|
|
23
|
+
rebuildWhenExists?: boolean;
|
|
24
|
+
clearStorageForDev?: boolean;
|
|
25
|
+
};
|
|
26
|
+
export type TunnelContext = {
|
|
27
|
+
appID: string;
|
|
28
|
+
regionURL: string;
|
|
29
|
+
appManifestJSON: AppManifestJSON;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/actions/tunnel/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAEvD,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;AACpD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;AAE3D,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,oBAAoB,GAAG,qBAAqB,CAAA;CACvD;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,2BAA2B,CAAC,EAAE,OAAO,CAAA;IACrC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,eAAe,CAAA;CACjC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TunnelContext } from './types';
|
|
2
|
+
import type { AppManifestJSON } from '../../common/package';
|
|
3
|
+
export declare const getTunnelContext: () => Promise<TunnelContext>;
|
|
4
|
+
export declare const getStorageTokenScopes: (ones?: AppManifestJSON["ones"]) => string[];
|
|
5
|
+
export declare const getRelayScope: () => string;
|
|
6
|
+
export declare const buildTunnelUrl: () => Promise<string>;
|
|
7
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/actions/tunnel/utils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAEvD,eAAO,MAAM,gBAAgB,QAAa,OAAO,CAAC,aAAa,CAe9D,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,OAAO,eAAe,CAAC,MAAM,CAAC,KAAG,MAAM,EAa5E,CAAA;AAED,eAAO,MAAM,aAAa,QAAO,MAEhC,CAAA;AAED,eAAO,MAAM,cAAc,QAAa,OAAO,CAAC,MAAM,CAKrD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/uninstall/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAA6B,uBAAuB,EAAE,MAAM,WAAW,CAAA;AAEnF,eAAO,MAAM,SAAS,GAAU,GAAG,MAAM,gBAAgB,CAAC,uBAAuB,CAAC,kBAiBjF,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { UninstallCommandArguments, UninstallCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<UninstallCommandArguments, UninstallCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/uninstall/normalize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AAEnF,KAAK,gBAAgB,GAAG,cAAc,CACpC,yBAAyB,EACzB,uBAAuB,CACxB,CAAC,SAAS,CAAC,CAAA;AAEZ,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAG7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/actions/whoami/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAA0B,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,eAAO,MAAM,MAAM,GAAU,GAAG,MAAM,gBAAgB,CAAC,oBAAoB,CAAC,kBAoB3E,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandOptions } from '../../common/command';
|
|
2
|
+
import type { WhoamiCommandArguments, WhoamiCommandOptions } from '../../command';
|
|
3
|
+
type NormalizeOptions = CommandOptions<WhoamiCommandArguments, WhoamiCommandOptions>['options'];
|
|
4
|
+
export declare const normalize: (options: NormalizeOptions) => Promise<Required<NormalizeOptions>>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../src/actions/whoami/normalize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AAE7E,KAAK,gBAAgB,GAAG,cAAc,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAA;AAE/F,eAAO,MAAM,SAAS,GAAU,SAAS,gBAAgB,KAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAG7F,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/index.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,cAAc,qBAM1B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/app/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAQnC,QAAA,MAAM,IAAI,SAAqD,CAAA;AAO/D,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare const buildCommandArguments: readonly [];
|
|
3
|
+
export type BuildCommandArguments = typeof buildCommandArguments;
|
|
4
|
+
export interface BuildCommandOptions {
|
|
5
|
+
output?: string;
|
|
6
|
+
command?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const $build: Command;
|
|
9
|
+
export { $build };
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/build/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKnC,eAAO,MAAM,qBAAqB,aAAc,CAAA;AAEhD,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA;AAEhE,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,QAAA,MAAM,MAAM,SAII,CAAA;AAKhB,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare const devCommandArguments: readonly [];
|
|
3
|
+
export type DevCommandArguments = typeof devCommandArguments;
|
|
4
|
+
export interface DevCommandOptions {
|
|
5
|
+
install?: string;
|
|
6
|
+
command?: string;
|
|
7
|
+
clearStorage?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const $dev: Command;
|
|
10
|
+
export { $dev };
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/dev/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKnC,eAAO,MAAM,mBAAmB,aAAc,CAAA;AAE9C,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,QAAA,MAAM,IAAI,SAKI,CAAA;AAKd,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare const disableCommandArguments: readonly [];
|
|
3
|
+
export type DisableCommandArguments = typeof disableCommandArguments;
|
|
4
|
+
export interface DisableCommandOptions {
|
|
5
|
+
}
|
|
6
|
+
declare const $disable: Command;
|
|
7
|
+
export { $disable };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/disable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKnC,eAAO,MAAM,uBAAuB,aAAc,CAAA;AAElD,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,qBAAqB;CAAG;AAEzC,QAAA,MAAM,QAAQ,SAA6E,CAAA;AAK3F,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare const enableCommandArguments: readonly [];
|
|
3
|
+
export type EnableCommandArguments = typeof enableCommandArguments;
|
|
4
|
+
export interface EnableCommandOptions {
|
|
5
|
+
}
|
|
6
|
+
declare const $enable: Command;
|
|
7
|
+
export { $enable };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/enable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKnC,eAAO,MAAM,sBAAsB,aAAc,CAAA;AAEjD,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAElE,MAAM,WAAW,oBAAoB;CAAG;AAExC,QAAA,MAAM,OAAO,SAA0E,CAAA;AAKvF,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 命令集合
|
|
3
|
+
*/
|
|
4
|
+
export * from './build';
|
|
5
|
+
export * from './dev';
|
|
6
|
+
export * from './tunnel';
|
|
7
|
+
export * from './login';
|
|
8
|
+
export * from './logout';
|
|
9
|
+
export * from './whoami';
|
|
10
|
+
export * from './app';
|
|
11
|
+
export * from './install';
|
|
12
|
+
export * from './enable';
|
|
13
|
+
export * from './disable';
|
|
14
|
+
export * from './uninstall';
|
|
15
|
+
export * from './legacy';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/command/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,OAAO,CAAA;AACrB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare const installCommandArguments: readonly [];
|
|
3
|
+
export type InstallCommandArguments = typeof installCommandArguments;
|
|
4
|
+
export interface InstallCommandOptions {
|
|
5
|
+
}
|
|
6
|
+
declare const $install: Command;
|
|
7
|
+
export { $install };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/install/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKnC,eAAO,MAAM,uBAAuB,aAAc,CAAA;AAElD,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA;AAEpE,MAAM,WAAW,qBAAqB;CAAG;AAEzC,QAAA,MAAM,QAAQ,SAA6E,CAAA;AAK3F,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare const legacyCommandArguments: readonly ["projectPath"];
|
|
3
|
+
export type LegacyCommandArguments = typeof legacyCommandArguments;
|
|
4
|
+
export interface LegacyCommandOptions {
|
|
5
|
+
}
|
|
6
|
+
declare const $legacy: Command;
|
|
7
|
+
export { $legacy };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/legacy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKnC,eAAO,MAAM,sBAAsB,0BAA2B,CAAA;AAE9D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAElE,MAAM,WAAW,oBAAoB;CAAG;AAUxC,QAAA,MAAM,OAAO,SAA2D,CAAA;AAOxE,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
export declare const loginCommandArguments: readonly ["baseURL"];
|
|
3
|
+
export type LoginCommandArguments = typeof loginCommandArguments;
|
|
4
|
+
export interface LoginCommandOptions {
|
|
5
|
+
}
|
|
6
|
+
declare const $login: Command;
|
|
7
|
+
export { $login };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/command/login/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKnC,eAAO,MAAM,qBAAqB,sBAAuB,CAAA;AAEzD,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAA;AAEhE,MAAM,WAAW,mBAAmB;CAAG;AAEvC,QAAA,MAAM,MAAM,SAGI,CAAA;AAKhB,OAAO,EAAE,MAAM,EAAE,CAAA"}
|