@hubspot/cli 8.0.10-experimental.5 → 8.0.10-experimental.6
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/package.json +5 -2
- package/api/__tests__/migrate.test.d.ts +0 -1
- package/api/__tests__/migrate.test.js +0 -199
- package/api/migrate.d.ts +0 -77
- package/api/migrate.js +0 -55
- package/bin/cli.d.ts +0 -2
- package/bin/cli.js +0 -136
- package/bin/hs.d.ts +0 -2
- package/bin/hscms.d.ts +0 -2
- package/bin/silenceErrors.d.ts +0 -2
- package/bin/silenceErrors.js +0 -11
- package/commands/__tests__/account.test.d.ts +0 -1
- package/commands/__tests__/account.test.js +0 -69
- package/commands/__tests__/auth.test.d.ts +0 -1
- package/commands/__tests__/auth.test.js +0 -43
- package/commands/__tests__/cms.test.d.ts +0 -1
- package/commands/__tests__/cms.test.js +0 -87
- package/commands/__tests__/config.test.d.ts +0 -1
- package/commands/__tests__/config.test.js +0 -44
- package/commands/__tests__/customObject.test.d.ts +0 -1
- package/commands/__tests__/customObject.test.js +0 -68
- package/commands/__tests__/doctor.test.d.ts +0 -1
- package/commands/__tests__/doctor.test.js +0 -132
- package/commands/__tests__/feedback.test.d.ts +0 -1
- package/commands/__tests__/feedback.test.js +0 -24
- package/commands/__tests__/filemanager.test.d.ts +0 -1
- package/commands/__tests__/filemanager.test.js +0 -45
- package/commands/__tests__/getStarted.test.d.ts +0 -1
- package/commands/__tests__/getStarted.test.js +0 -173
- package/commands/__tests__/hubdb.test.d.ts +0 -1
- package/commands/__tests__/hubdb.test.js +0 -50
- package/commands/__tests__/init.test.d.ts +0 -1
- package/commands/__tests__/init.test.js +0 -42
- package/commands/__tests__/mcp.test.d.ts +0 -1
- package/commands/__tests__/mcp.test.js +0 -46
- package/commands/__tests__/open.test.d.ts +0 -1
- package/commands/__tests__/open.test.js +0 -58
- package/commands/__tests__/project.test.d.ts +0 -1
- package/commands/__tests__/project.test.js +0 -125
- package/commands/__tests__/sandbox.test.d.ts +0 -1
- package/commands/__tests__/sandbox.test.js +0 -44
- package/commands/__tests__/secret.test.d.ts +0 -1
- package/commands/__tests__/secret.test.js +0 -49
- package/commands/__tests__/testAccount.test.d.ts +0 -1
- package/commands/__tests__/testAccount.test.js +0 -57
- package/commands/__tests__/upgrade.test.d.ts +0 -1
- package/commands/__tests__/upgrade.test.js +0 -309
- package/commands/account/__tests__/auth.test.d.ts +0 -1
- package/commands/account/__tests__/auth.test.js +0 -206
- package/commands/account/__tests__/clean.test.d.ts +0 -1
- package/commands/account/__tests__/clean.test.js +0 -28
- package/commands/account/__tests__/createOverride.test.d.ts +0 -1
- package/commands/account/__tests__/createOverride.test.js +0 -32
- package/commands/account/__tests__/info.test.d.ts +0 -1
- package/commands/account/__tests__/info.test.js +0 -28
- package/commands/account/__tests__/list.test.d.ts +0 -1
- package/commands/account/__tests__/list.test.js +0 -153
- package/commands/account/__tests__/remove.test.d.ts +0 -1
- package/commands/account/__tests__/remove.test.js +0 -36
- package/commands/account/__tests__/removeOverride.d.ts +0 -1
- package/commands/account/__tests__/removeOverride.js +0 -25
- package/commands/account/__tests__/rename.test.d.ts +0 -1
- package/commands/account/__tests__/rename.test.js +0 -82
- package/commands/account/__tests__/use.test.d.ts +0 -1
- package/commands/account/__tests__/use.test.js +0 -170
- package/commands/account/auth.d.ts +0 -8
- package/commands/account/auth.js +0 -102
- package/commands/account/clean.d.ts +0 -6
- package/commands/account/clean.js +0 -125
- package/commands/account/createOverride.d.ts +0 -6
- package/commands/account/createOverride.js +0 -93
- package/commands/account/info.d.ts +0 -4
- package/commands/account/info.js +0 -75
- package/commands/account/list.d.ts +0 -4
- package/commands/account/list.js +0 -107
- package/commands/account/remove.d.ts +0 -6
- package/commands/account/remove.js +0 -87
- package/commands/account/removeOverride.d.ts +0 -6
- package/commands/account/removeOverride.js +0 -71
- package/commands/account/rename.d.ts +0 -7
- package/commands/account/rename.js +0 -51
- package/commands/account/use.d.ts +0 -6
- package/commands/account/use.js +0 -93
- package/commands/account.d.ts +0 -3
- package/commands/account.js +0 -35
- package/commands/app/__tests__/migrate.test.d.ts +0 -1
- package/commands/app/__tests__/migrate.test.js +0 -111
- package/commands/app/migrate.d.ts +0 -6
- package/commands/app/migrate.js +0 -96
- package/commands/app/secret/__tests__/add.test.d.ts +0 -1
- package/commands/app/secret/__tests__/add.test.js +0 -140
- package/commands/app/secret/__tests__/delete.test.d.ts +0 -1
- package/commands/app/secret/__tests__/delete.test.js +0 -28
- package/commands/app/secret/__tests__/list.test.d.ts +0 -1
- package/commands/app/secret/__tests__/list.test.js +0 -25
- package/commands/app/secret/__tests__/update.test.d.ts +0 -1
- package/commands/app/secret/__tests__/update.test.js +0 -28
- package/commands/app/secret/add.d.ts +0 -7
- package/commands/app/secret/add.js +0 -63
- package/commands/app/secret/delete.d.ts +0 -8
- package/commands/app/secret/delete.js +0 -86
- package/commands/app/secret/list.d.ts +0 -6
- package/commands/app/secret/list.js +0 -63
- package/commands/app/secret/update.d.ts +0 -7
- package/commands/app/secret/update.js +0 -76
- package/commands/app/secret.d.ts +0 -3
- package/commands/app/secret.js +0 -26
- package/commands/app.d.ts +0 -3
- package/commands/app.js +0 -18
- package/commands/auth.d.ts +0 -9
- package/commands/auth.js +0 -190
- package/commands/cms/__tests__/delete.test.d.ts +0 -1
- package/commands/cms/__tests__/delete.test.js +0 -39
- package/commands/cms/__tests__/fetch.test.d.ts +0 -1
- package/commands/cms/__tests__/fetch.test.js +0 -156
- package/commands/cms/__tests__/function.test.d.ts +0 -1
- package/commands/cms/__tests__/function.test.js +0 -50
- package/commands/cms/__tests__/lint.test.d.ts +0 -1
- package/commands/cms/__tests__/lint.test.js +0 -33
- package/commands/cms/__tests__/list.test.d.ts +0 -1
- package/commands/cms/__tests__/list.test.js +0 -42
- package/commands/cms/__tests__/module.test.d.ts +0 -1
- package/commands/cms/__tests__/module.test.js +0 -45
- package/commands/cms/__tests__/mv.test.d.ts +0 -1
- package/commands/cms/__tests__/mv.test.js +0 -46
- package/commands/cms/__tests__/theme.test.d.ts +0 -1
- package/commands/cms/__tests__/theme.test.js +0 -54
- package/commands/cms/__tests__/upload.test.d.ts +0 -1
- package/commands/cms/__tests__/upload.test.js +0 -312
- package/commands/cms/__tests__/watch.test.d.ts +0 -1
- package/commands/cms/__tests__/watch.test.js +0 -204
- package/commands/cms/app/create.d.ts +0 -9
- package/commands/cms/app/create.js +0 -81
- package/commands/cms/app.d.ts +0 -3
- package/commands/cms/app.js +0 -17
- package/commands/cms/convertFields.d.ts +0 -7
- package/commands/cms/convertFields.js +0 -97
- package/commands/cms/delete.d.ts +0 -6
- package/commands/cms/delete.js +0 -43
- package/commands/cms/fetch.d.ts +0 -12
- package/commands/cms/fetch.js +0 -80
- package/commands/cms/function/__tests__/logs.test.d.ts +0 -1
- package/commands/cms/function/__tests__/logs.test.js +0 -70
- package/commands/cms/function/create.d.ts +0 -12
- package/commands/cms/function/create.js +0 -84
- package/commands/cms/function/deploy.d.ts +0 -6
- package/commands/cms/function/deploy.js +0 -89
- package/commands/cms/function/list.d.ts +0 -6
- package/commands/cms/function/list.js +0 -59
- package/commands/cms/function/logs.d.ts +0 -10
- package/commands/cms/function/logs.js +0 -136
- package/commands/cms/function/server.d.ts +0 -10
- package/commands/cms/function/server.js +0 -69
- package/commands/cms/function.d.ts +0 -3
- package/commands/cms/function.js +0 -27
- package/commands/cms/getReactModule.d.ts +0 -7
- package/commands/cms/getReactModule.js +0 -77
- package/commands/cms/lighthouseScore.d.ts +0 -8
- package/commands/cms/lighthouseScore.js +0 -281
- package/commands/cms/lint.d.ts +0 -6
- package/commands/cms/lint.js +0 -83
- package/commands/cms/list.d.ts +0 -6
- package/commands/cms/list.js +0 -96
- package/commands/cms/module/create.d.ts +0 -11
- package/commands/cms/module/create.js +0 -84
- package/commands/cms/module/marketplace-validate.d.ts +0 -6
- package/commands/cms/module/marketplace-validate.js +0 -62
- package/commands/cms/module.d.ts +0 -3
- package/commands/cms/module.js +0 -21
- package/commands/cms/mv.d.ts +0 -7
- package/commands/cms/mv.js +0 -60
- package/commands/cms/template/create.d.ts +0 -9
- package/commands/cms/template/create.js +0 -72
- package/commands/cms/template.d.ts +0 -3
- package/commands/cms/template.js +0 -17
- package/commands/cms/theme/__tests__/generate-selectors.test.d.ts +0 -1
- package/commands/cms/theme/__tests__/generate-selectors.test.js +0 -28
- package/commands/cms/theme/__tests__/marketplace-validate.test.d.ts +0 -1
- package/commands/cms/theme/__tests__/marketplace-validate.test.js +0 -36
- package/commands/cms/theme/__tests__/preview.test.d.ts +0 -1
- package/commands/cms/theme/__tests__/preview.test.js +0 -54
- package/commands/cms/theme/create.d.ts +0 -6
- package/commands/cms/theme/create.js +0 -58
- package/commands/cms/theme/generate-selectors.d.ts +0 -6
- package/commands/cms/theme/generate-selectors.js +0 -171
- package/commands/cms/theme/marketplace-validate.d.ts +0 -6
- package/commands/cms/theme/marketplace-validate.js +0 -64
- package/commands/cms/theme/preview.d.ts +0 -11
- package/commands/cms/theme/preview.js +0 -126
- package/commands/cms/theme.d.ts +0 -3
- package/commands/cms/theme.js +0 -25
- package/commands/cms/upload.d.ts +0 -12
- package/commands/cms/upload.js +0 -212
- package/commands/cms/watch.d.ts +0 -13
- package/commands/cms/watch.js +0 -132
- package/commands/cms/webpack/create.d.ts +0 -6
- package/commands/cms/webpack/create.js +0 -58
- package/commands/cms/webpack.d.ts +0 -3
- package/commands/cms/webpack.js +0 -17
- package/commands/cms.d.ts +0 -3
- package/commands/cms.js +0 -49
- package/commands/completion.d.ts +0 -3
- package/commands/completion.js +0 -27
- package/commands/config/migrate.d.ts +0 -6
- package/commands/config/migrate.js +0 -70
- package/commands/config/set.d.ts +0 -11
- package/commands/config/set.js +0 -141
- package/commands/config.d.ts +0 -3
- package/commands/config.js +0 -18
- package/commands/customObject/__tests__/create.test.d.ts +0 -1
- package/commands/customObject/__tests__/create.test.js +0 -40
- package/commands/customObject/__tests__/createSchema.test.d.ts +0 -1
- package/commands/customObject/__tests__/createSchema.test.js +0 -28
- package/commands/customObject/__tests__/deleteSchema.test.d.ts +0 -1
- package/commands/customObject/__tests__/deleteSchema.test.js +0 -42
- package/commands/customObject/__tests__/fetch-all-schemas.test.d.ts +0 -1
- package/commands/customObject/__tests__/fetch-all-schemas.test.js +0 -41
- package/commands/customObject/__tests__/fetchSchema.test.d.ts +0 -1
- package/commands/customObject/__tests__/fetchSchema.test.js +0 -45
- package/commands/customObject/__tests__/listSchemas.test.d.ts +0 -1
- package/commands/customObject/__tests__/listSchemas.test.js +0 -29
- package/commands/customObject/__tests__/updateSchema.test.d.ts +0 -1
- package/commands/customObject/__tests__/updateSchema.test.js +0 -40
- package/commands/customObject/create.d.ts +0 -7
- package/commands/customObject/create.js +0 -64
- package/commands/customObject/createSchema.d.ts +0 -6
- package/commands/customObject/createSchema.js +0 -55
- package/commands/customObject/deleteSchema.d.ts +0 -7
- package/commands/customObject/deleteSchema.js +0 -69
- package/commands/customObject/fetchAllSchemas.d.ts +0 -6
- package/commands/customObject/fetchAllSchemas.js +0 -57
- package/commands/customObject/fetchSchema.d.ts +0 -7
- package/commands/customObject/fetchSchema.js +0 -67
- package/commands/customObject/listSchemas.d.ts +0 -4
- package/commands/customObject/listSchemas.js +0 -35
- package/commands/customObject/updateSchema.d.ts +0 -7
- package/commands/customObject/updateSchema.js +0 -70
- package/commands/customObject.d.ts +0 -3
- package/commands/customObject.js +0 -38
- package/commands/doctor.d.ts +0 -6
- package/commands/doctor.js +0 -70
- package/commands/feedback.d.ts +0 -4
- package/commands/feedback.js +0 -32
- package/commands/filemanager/__tests__/fetch.test.d.ts +0 -1
- package/commands/filemanager/__tests__/fetch.test.js +0 -32
- package/commands/filemanager/__tests__/upload.test.d.ts +0 -1
- package/commands/filemanager/__tests__/upload.test.js +0 -191
- package/commands/filemanager/fetch.d.ts +0 -8
- package/commands/filemanager/fetch.js +0 -58
- package/commands/filemanager/upload.d.ts +0 -7
- package/commands/filemanager/upload.js +0 -97
- package/commands/filemanager.d.ts +0 -3
- package/commands/filemanager.js +0 -18
- package/commands/getStarted.d.ts +0 -8
- package/commands/getStarted.js +0 -322
- package/commands/hubdb/__tests__/clear.test.d.ts +0 -1
- package/commands/hubdb/__tests__/clear.test.js +0 -28
- package/commands/hubdb/__tests__/create.test.d.ts +0 -1
- package/commands/hubdb/__tests__/create.test.js +0 -28
- package/commands/hubdb/__tests__/delete.test.d.ts +0 -1
- package/commands/hubdb/__tests__/delete.test.js +0 -28
- package/commands/hubdb/__tests__/fetch.test.d.ts +0 -1
- package/commands/hubdb/__tests__/fetch.test.js +0 -28
- package/commands/hubdb/__tests__/list.test.d.ts +0 -1
- package/commands/hubdb/__tests__/list.test.js +0 -88
- package/commands/hubdb/clear.d.ts +0 -7
- package/commands/hubdb/clear.js +0 -58
- package/commands/hubdb/create.d.ts +0 -6
- package/commands/hubdb/create.js +0 -74
- package/commands/hubdb/delete.d.ts +0 -6
- package/commands/hubdb/delete.js +0 -68
- package/commands/hubdb/fetch.d.ts +0 -7
- package/commands/hubdb/fetch.js +0 -55
- package/commands/hubdb/list.d.ts +0 -4
- package/commands/hubdb/list.js +0 -79
- package/commands/hubdb.d.ts +0 -5
- package/commands/hubdb.js +0 -27
- package/commands/init.d.ts +0 -8
- package/commands/init.js +0 -200
- package/commands/mcp/__tests__/setup.test.d.ts +0 -1
- package/commands/mcp/__tests__/setup.test.js +0 -26
- package/commands/mcp/__tests__/start.test.d.ts +0 -1
- package/commands/mcp/__tests__/start.test.js +0 -144
- package/commands/mcp/setup.d.ts +0 -6
- package/commands/mcp/setup.js +0 -36
- package/commands/mcp/start.d.ts +0 -6
- package/commands/mcp/start.js +0 -72
- package/commands/mcp.d.ts +0 -3
- package/commands/mcp.js +0 -20
- package/commands/open.d.ts +0 -7
- package/commands/open.js +0 -70
- package/commands/project/__tests__/add.test.d.ts +0 -1
- package/commands/project/__tests__/add.test.js +0 -107
- package/commands/project/__tests__/create.test.d.ts +0 -1
- package/commands/project/__tests__/create.test.js +0 -97
- package/commands/project/__tests__/deploy.test.d.ts +0 -1
- package/commands/project/__tests__/deploy.test.js +0 -307
- package/commands/project/__tests__/dev.test.d.ts +0 -1
- package/commands/project/__tests__/dev.test.js +0 -273
- package/commands/project/__tests__/devUnifiedFlow.test.d.ts +0 -1
- package/commands/project/__tests__/devUnifiedFlow.test.js +0 -434
- package/commands/project/__tests__/download.test.d.ts +0 -1
- package/commands/project/__tests__/download.test.js +0 -39
- package/commands/project/__tests__/installDeps.test.d.ts +0 -1
- package/commands/project/__tests__/installDeps.test.js +0 -140
- package/commands/project/__tests__/lint.test.d.ts +0 -1
- package/commands/project/__tests__/lint.test.js +0 -704
- package/commands/project/__tests__/list.test.d.ts +0 -1
- package/commands/project/__tests__/list.test.js +0 -31
- package/commands/project/__tests__/listBuilds.test.d.ts +0 -1
- package/commands/project/__tests__/listBuilds.test.js +0 -38
- package/commands/project/__tests__/logs.test.d.ts +0 -1
- package/commands/project/__tests__/logs.test.js +0 -202
- package/commands/project/__tests__/migrate.test.d.ts +0 -1
- package/commands/project/__tests__/migrate.test.js +0 -106
- package/commands/project/__tests__/open.test.d.ts +0 -1
- package/commands/project/__tests__/open.test.js +0 -39
- package/commands/project/__tests__/profile.test.d.ts +0 -1
- package/commands/project/__tests__/profile.test.js +0 -42
- package/commands/project/__tests__/updateDeps.test.d.ts +0 -1
- package/commands/project/__tests__/updateDeps.test.js +0 -140
- package/commands/project/__tests__/upload.test.d.ts +0 -1
- package/commands/project/__tests__/upload.test.js +0 -234
- package/commands/project/__tests__/validate.test.d.ts +0 -1
- package/commands/project/__tests__/validate.test.js +0 -381
- package/commands/project/__tests__/watch.test.d.ts +0 -1
- package/commands/project/__tests__/watch.test.js +0 -35
- package/commands/project/add.d.ts +0 -10
- package/commands/project/add.js +0 -79
- package/commands/project/cloneApp.d.ts +0 -1
- package/commands/project/cloneApp.js +0 -1
- package/commands/project/create.d.ts +0 -4
- package/commands/project/create.js +0 -175
- package/commands/project/deploy.d.ts +0 -11
- package/commands/project/deploy.js +0 -196
- package/commands/project/dev/deprecatedFlow.d.ts +0 -11
- package/commands/project/dev/deprecatedFlow.js +0 -135
- package/commands/project/dev/index.d.ts +0 -5
- package/commands/project/dev/index.js +0 -174
- package/commands/project/dev/unifiedFlow.d.ts +0 -14
- package/commands/project/dev/unifiedFlow.js +0 -162
- package/commands/project/download.d.ts +0 -8
- package/commands/project/download.js +0 -95
- package/commands/project/installDeps.d.ts +0 -6
- package/commands/project/installDeps.js +0 -80
- package/commands/project/lint.d.ts +0 -6
- package/commands/project/lint.js +0 -178
- package/commands/project/list.d.ts +0 -4
- package/commands/project/list.js +0 -62
- package/commands/project/listBuilds.d.ts +0 -7
- package/commands/project/listBuilds.js +0 -120
- package/commands/project/logs.d.ts +0 -10
- package/commands/project/logs.js +0 -119
- package/commands/project/migrate.d.ts +0 -7
- package/commands/project/migrate.js +0 -91
- package/commands/project/open.d.ts +0 -6
- package/commands/project/open.js +0 -61
- package/commands/project/profile/add.d.ts +0 -7
- package/commands/project/profile/add.js +0 -203
- package/commands/project/profile/delete.d.ts +0 -6
- package/commands/project/profile/delete.js +0 -129
- package/commands/project/profile.d.ts +0 -3
- package/commands/project/profile.js +0 -19
- package/commands/project/updateDeps.d.ts +0 -6
- package/commands/project/updateDeps.js +0 -80
- package/commands/project/upload.d.ts +0 -10
- package/commands/project/upload.js +0 -145
- package/commands/project/validate.d.ts +0 -6
- package/commands/project/validate.js +0 -156
- package/commands/project/watch.d.ts +0 -6
- package/commands/project/watch.js +0 -152
- package/commands/project.d.ts +0 -3
- package/commands/project.js +0 -72
- package/commands/sandbox/__tests__/create.test.d.ts +0 -1
- package/commands/sandbox/__tests__/create.test.js +0 -198
- package/commands/sandbox/__tests__/delete.test.d.ts +0 -1
- package/commands/sandbox/__tests__/delete.test.js +0 -31
- package/commands/sandbox/create.d.ts +0 -8
- package/commands/sandbox/create.js +0 -156
- package/commands/sandbox/delete.d.ts +0 -7
- package/commands/sandbox/delete.js +0 -189
- package/commands/sandbox.d.ts +0 -3
- package/commands/sandbox.js +0 -19
- package/commands/secret/__tests__/addSecret.test.d.ts +0 -1
- package/commands/secret/__tests__/addSecret.test.js +0 -162
- package/commands/secret/__tests__/deleteSecret.test.d.ts +0 -1
- package/commands/secret/__tests__/deleteSecret.test.js +0 -41
- package/commands/secret/__tests__/listSecret.test.d.ts +0 -1
- package/commands/secret/__tests__/listSecret.test.js +0 -29
- package/commands/secret/__tests__/updateSecret.test.d.ts +0 -1
- package/commands/secret/__tests__/updateSecret.test.js +0 -29
- package/commands/secret/addSecret.d.ts +0 -6
- package/commands/secret/addSecret.js +0 -58
- package/commands/secret/deleteSecret.d.ts +0 -7
- package/commands/secret/deleteSecret.js +0 -71
- package/commands/secret/listSecret.d.ts +0 -4
- package/commands/secret/listSecret.js +0 -43
- package/commands/secret/updateSecret.d.ts +0 -6
- package/commands/secret/updateSecret.js +0 -57
- package/commands/secret.d.ts +0 -3
- package/commands/secret.js +0 -25
- package/commands/testAccount/__tests__/create.test.d.ts +0 -1
- package/commands/testAccount/__tests__/create.test.js +0 -106
- package/commands/testAccount/__tests__/createConfig.test.d.ts +0 -1
- package/commands/testAccount/__tests__/createConfig.test.js +0 -32
- package/commands/testAccount/__tests__/delete.test.d.ts +0 -1
- package/commands/testAccount/__tests__/delete.test.js +0 -29
- package/commands/testAccount/__tests__/importData.test.d.ts +0 -1
- package/commands/testAccount/__tests__/importData.test.js +0 -92
- package/commands/testAccount/create.d.ts +0 -15
- package/commands/testAccount/create.js +0 -232
- package/commands/testAccount/createConfig.d.ts +0 -8
- package/commands/testAccount/createConfig.js +0 -92
- package/commands/testAccount/delete.d.ts +0 -7
- package/commands/testAccount/delete.js +0 -188
- package/commands/testAccount/importData.d.ts +0 -9
- package/commands/testAccount/importData.js +0 -61
- package/commands/testAccount.d.ts +0 -3
- package/commands/testAccount.js +0 -25
- package/commands/upgrade.d.ts +0 -8
- package/commands/upgrade.js +0 -119
- package/lang/en.d.ts +0 -3990
- package/lang/en.js +0 -4013
- package/lib/CLIWebSocketServer.d.ts +0 -28
- package/lib/CLIWebSocketServer.js +0 -91
- package/lib/__tests__/CLIWebSocketServer.test.d.ts +0 -1
- package/lib/__tests__/CLIWebSocketServer.test.js +0 -252
- package/lib/__tests__/accountAuth.test.d.ts +0 -1
- package/lib/__tests__/accountAuth.test.js +0 -258
- package/lib/__tests__/accountTypes.test.d.ts +0 -1
- package/lib/__tests__/accountTypes.test.js +0 -98
- package/lib/__tests__/buildAccount.test.d.ts +0 -1
- package/lib/__tests__/buildAccount.test.js +0 -211
- package/lib/__tests__/cliUpgradeUtils.test.d.ts +0 -1
- package/lib/__tests__/cliUpgradeUtils.test.js +0 -131
- package/lib/__tests__/commandSuggestion.test.d.ts +0 -1
- package/lib/__tests__/commandSuggestion.test.js +0 -121
- package/lib/__tests__/commonOpts.test.d.ts +0 -1
- package/lib/__tests__/commonOpts.test.js +0 -80
- package/lib/__tests__/dependencyManagement.test.d.ts +0 -1
- package/lib/__tests__/dependencyManagement.test.js +0 -1067
- package/lib/__tests__/developerTestAccounts.test.d.ts +0 -1
- package/lib/__tests__/developerTestAccounts.test.js +0 -156
- package/lib/__tests__/hasFeature.test.d.ts +0 -1
- package/lib/__tests__/hasFeature.test.js +0 -167
- package/lib/__tests__/http.test.d.ts +0 -1
- package/lib/__tests__/http.test.js +0 -40
- package/lib/__tests__/importData.test.d.ts +0 -1
- package/lib/__tests__/importData.test.js +0 -98
- package/lib/__tests__/npmCli.test.d.ts +0 -1
- package/lib/__tests__/npmCli.test.js +0 -84
- package/lib/__tests__/oauth.test.d.ts +0 -1
- package/lib/__tests__/oauth.test.js +0 -109
- package/lib/__tests__/parsing.test.d.ts +0 -1
- package/lib/__tests__/parsing.test.js +0 -34
- package/lib/__tests__/polling.test.d.ts +0 -1
- package/lib/__tests__/polling.test.js +0 -76
- package/lib/__tests__/process.test.d.ts +0 -1
- package/lib/__tests__/process.test.js +0 -89
- package/lib/__tests__/sandboxes.test.d.ts +0 -1
- package/lib/__tests__/sandboxes.test.js +0 -128
- package/lib/__tests__/serverlessLogs.test.d.ts +0 -1
- package/lib/__tests__/serverlessLogs.test.js +0 -163
- package/lib/__tests__/usageTracking.test.d.ts +0 -1
- package/lib/__tests__/usageTracking.test.js +0 -197
- package/lib/__tests__/validation.test.d.ts +0 -1
- package/lib/__tests__/validation.test.js +0 -143
- package/lib/__tests__/yargsUtils.test.d.ts +0 -1
- package/lib/__tests__/yargsUtils.test.js +0 -124
- package/lib/accountAuth.d.ts +0 -10
- package/lib/accountAuth.js +0 -109
- package/lib/accountTypes.d.ts +0 -9
- package/lib/accountTypes.js +0 -41
- package/lib/app/__tests__/migrate.test.d.ts +0 -1
- package/lib/app/__tests__/migrate.test.js +0 -638
- package/lib/app/migrate.d.ts +0 -44
- package/lib/app/migrate.js +0 -384
- package/lib/app/urls.d.ts +0 -17
- package/lib/app/urls.js +0 -16
- package/lib/buildAccount.d.ts +0 -15
- package/lib/buildAccount.js +0 -184
- package/lib/cliUpgradeUtils.d.ts +0 -22
- package/lib/cliUpgradeUtils.js +0 -62
- package/lib/cmsAssets/api-sample.d.ts +0 -3
- package/lib/cmsAssets/api-sample.js +0 -60
- package/lib/cmsAssets/app.d.ts +0 -3
- package/lib/cmsAssets/app.js +0 -12
- package/lib/cmsAssets/function.d.ts +0 -3
- package/lib/cmsAssets/function.js +0 -11
- package/lib/cmsAssets/index.d.ts +0 -5
- package/lib/cmsAssets/index.js +0 -21
- package/lib/cmsAssets/module.d.ts +0 -3
- package/lib/cmsAssets/module.js +0 -20
- package/lib/cmsAssets/react-app.d.ts +0 -3
- package/lib/cmsAssets/react-app.js +0 -12
- package/lib/cmsAssets/template.d.ts +0 -3
- package/lib/cmsAssets/template.js +0 -20
- package/lib/cmsAssets/vue-app.d.ts +0 -3
- package/lib/cmsAssets/vue-app.js +0 -12
- package/lib/cmsAssets/webpack-serverless.d.ts +0 -3
- package/lib/cmsAssets/webpack-serverless.js +0 -12
- package/lib/cmsAssets/website-theme.d.ts +0 -3
- package/lib/cmsAssets/website-theme.js +0 -19
- package/lib/commandSuggestion.d.ts +0 -3
- package/lib/commandSuggestion.js +0 -39
- package/lib/commonOpts.d.ts +0 -25
- package/lib/commonOpts.js +0 -181
- package/lib/configMigrate.d.ts +0 -2
- package/lib/configMigrate.js +0 -182
- package/lib/configOptions.d.ts +0 -21
- package/lib/configOptions.js +0 -111
- package/lib/constants.d.ts +0 -145
- package/lib/constants.js +0 -146
- package/lib/customObject.d.ts +0 -3
- package/lib/customObject.js +0 -11
- package/lib/dependencyManagement.d.ts +0 -21
- package/lib/dependencyManagement.js +0 -243
- package/lib/developerTestAccounts.d.ts +0 -6
- package/lib/developerTestAccounts.js +0 -66
- package/lib/doctor/Diagnosis.d.ts +0 -27
- package/lib/doctor/Diagnosis.js +0 -113
- package/lib/doctor/DiagnosticInfoBuilder.d.ts +0 -69
- package/lib/doctor/DiagnosticInfoBuilder.js +0 -169
- package/lib/doctor/Doctor.d.ts +0 -35
- package/lib/doctor/Doctor.js +0 -566
- package/lib/doctor/__tests__/Diagnosis.test.d.ts +0 -1
- package/lib/doctor/__tests__/Diagnosis.test.js +0 -84
- package/lib/doctor/__tests__/DiagnosticInfoBuilder.test.d.ts +0 -1
- package/lib/doctor/__tests__/DiagnosticInfoBuilder.test.js +0 -177
- package/lib/doctor/__tests__/Doctor.test.d.ts +0 -1
- package/lib/doctor/__tests__/Doctor.test.js +0 -560
- package/lib/enums/exitCodes.d.ts +0 -5
- package/lib/enums/exitCodes.js +0 -10
- package/lib/errorHandlers/__tests__/index.test.d.ts +0 -1
- package/lib/errorHandlers/__tests__/index.test.js +0 -278
- package/lib/errorHandlers/index.d.ts +0 -19
- package/lib/errorHandlers/index.js +0 -99
- package/lib/errorHandlers/suppressError.d.ts +0 -2
- package/lib/errorHandlers/suppressError.js +0 -53
- package/lib/errors/ProjectErrors.d.ts +0 -15
- package/lib/errors/ProjectErrors.js +0 -30
- package/lib/errors/ProjectValidationError.d.ts +0 -4
- package/lib/errors/ProjectValidationError.js +0 -9
- package/lib/errors/PromptExitError.d.ts +0 -4
- package/lib/errors/PromptExitError.js +0 -8
- package/lib/filesystem.d.ts +0 -2
- package/lib/filesystem.js +0 -19
- package/lib/generateSelectors.d.ts +0 -20
- package/lib/generateSelectors.js +0 -110
- package/lib/getStarted/getStartedV2.d.ts +0 -7
- package/lib/getStarted/getStartedV2.js +0 -18
- package/lib/getStartedV2Actions.d.ts +0 -50
- package/lib/getStartedV2Actions.js +0 -199
- package/lib/hasFeature.d.ts +0 -4
- package/lib/hasFeature.js +0 -18
- package/lib/http.d.ts +0 -1
- package/lib/http.js +0 -28
- package/lib/importData.d.ts +0 -3
- package/lib/importData.js +0 -51
- package/lib/interpolation.d.ts +0 -7
- package/lib/interpolation.js +0 -84
- package/lib/jsonLoader.d.ts +0 -14
- package/lib/jsonLoader.js +0 -60
- package/lib/links.d.ts +0 -11
- package/lib/links.js +0 -107
- package/lib/marketplaceValidate.d.ts +0 -16
- package/lib/marketplaceValidate.js +0 -88
- package/lib/mcp/__tests__/setup.test.d.ts +0 -1
- package/lib/mcp/__tests__/setup.test.js +0 -523
- package/lib/mcp/setup.d.ts +0 -17
- package/lib/mcp/setup.js +0 -345
- package/lib/middleware/__tests__/commandTargetingUtils.test.d.ts +0 -1
- package/lib/middleware/__tests__/commandTargetingUtils.test.js +0 -99
- package/lib/middleware/__tests__/configMiddleware.test.d.ts +0 -1
- package/lib/middleware/__tests__/configMiddleware.test.js +0 -118
- package/lib/middleware/__tests__/gitMiddleware.test.d.ts +0 -1
- package/lib/middleware/__tests__/gitMiddleware.test.js +0 -43
- package/lib/middleware/__tests__/requestMiddleware.test.d.ts +0 -1
- package/lib/middleware/__tests__/requestMiddleware.test.js +0 -15
- package/lib/middleware/__tests__/usageTrackingMiddleware.test.d.ts +0 -1
- package/lib/middleware/__tests__/usageTrackingMiddleware.test.js +0 -44
- package/lib/middleware/__tests__/yargsChecksMiddleware.test.d.ts +0 -1
- package/lib/middleware/__tests__/yargsChecksMiddleware.test.js +0 -39
- package/lib/middleware/autoUpdateMiddleware.d.ts +0 -4
- package/lib/middleware/autoUpdateMiddleware.js +0 -105
- package/lib/middleware/commandTargetingUtils.d.ts +0 -8
- package/lib/middleware/commandTargetingUtils.js +0 -76
- package/lib/middleware/configMiddleware.d.ts +0 -15
- package/lib/middleware/configMiddleware.js +0 -93
- package/lib/middleware/fireAlarmMiddleware.d.ts +0 -4
- package/lib/middleware/fireAlarmMiddleware.js +0 -118
- package/lib/middleware/gitMiddleware.d.ts +0 -2
- package/lib/middleware/gitMiddleware.js +0 -21
- package/lib/middleware/requestMiddleware.d.ts +0 -1
- package/lib/middleware/requestMiddleware.js +0 -5
- package/lib/middleware/spinniesMiddleware.d.ts +0 -1
- package/lib/middleware/spinniesMiddleware.js +0 -4
- package/lib/middleware/usageTrackingMiddleware.d.ts +0 -13
- package/lib/middleware/usageTrackingMiddleware.js +0 -16
- package/lib/middleware/yargsChecksMiddleware.d.ts +0 -4
- package/lib/middleware/yargsChecksMiddleware.js +0 -18
- package/lib/npm/npmCli.d.ts +0 -17
- package/lib/npm/npmCli.js +0 -59
- package/lib/npm/packageJson.d.ts +0 -24
- package/lib/npm/packageJson.js +0 -102
- package/lib/npm/workspaces.d.ts +0 -12
- package/lib/npm/workspaces.js +0 -48
- package/lib/oauth.d.ts +0 -2
- package/lib/oauth.js +0 -93
- package/lib/parsing.d.ts +0 -1
- package/lib/parsing.js +0 -8
- package/lib/polling.d.ts +0 -21
- package/lib/polling.js +0 -48
- package/lib/process.d.ts +0 -13
- package/lib/process.js +0 -56
- package/lib/projects/ProjectLogsManager.d.ts +0 -29
- package/lib/projects/ProjectLogsManager.js +0 -155
- package/lib/projects/__tests__/AppDevModeInterface.test.d.ts +0 -1
- package/lib/projects/__tests__/AppDevModeInterface.test.js +0 -541
- package/lib/projects/__tests__/DevServerManager.test.d.ts +0 -1
- package/lib/projects/__tests__/DevServerManager.test.js +0 -185
- package/lib/projects/__tests__/DevSessionManager.test.d.ts +0 -1
- package/lib/projects/__tests__/DevSessionManager.test.js +0 -250
- package/lib/projects/__tests__/LocalDevProcess.test.d.ts +0 -1
- package/lib/projects/__tests__/LocalDevProcess.test.js +0 -481
- package/lib/projects/__tests__/LocalDevWebsocketServer.test.d.ts +0 -1
- package/lib/projects/__tests__/LocalDevWebsocketServer.test.js +0 -231
- package/lib/projects/__tests__/ProjectLogsManager.test.d.ts +0 -1
- package/lib/projects/__tests__/ProjectLogsManager.test.js +0 -302
- package/lib/projects/__tests__/UIExtensionsDevModeInterface.test.d.ts +0 -1
- package/lib/projects/__tests__/UIExtensionsDevModeInterface.test.js +0 -160
- package/lib/projects/__tests__/components.test.d.ts +0 -1
- package/lib/projects/__tests__/components.test.js +0 -440
- package/lib/projects/__tests__/deploy.test.d.ts +0 -1
- package/lib/projects/__tests__/deploy.test.js +0 -231
- package/lib/projects/__tests__/localDevProjectHelpers.test.d.ts +0 -1
- package/lib/projects/__tests__/localDevProjectHelpers.test.js +0 -120
- package/lib/projects/__tests__/platformVersion.test.d.ts +0 -1
- package/lib/projects/__tests__/platformVersion.test.js +0 -63
- package/lib/projects/__tests__/pollProjectBuildAndDeploy.test.d.ts +0 -1
- package/lib/projects/__tests__/pollProjectBuildAndDeploy.test.js +0 -328
- package/lib/projects/__tests__/projectProfiles.test.d.ts +0 -1
- package/lib/projects/__tests__/projectProfiles.test.js +0 -441
- package/lib/projects/__tests__/projects.test.d.ts +0 -1
- package/lib/projects/__tests__/projects.test.js +0 -58
- package/lib/projects/__tests__/structure.test.d.ts +0 -1
- package/lib/projects/__tests__/structure.test.js +0 -210
- package/lib/projects/__tests__/uieLinting.test.d.ts +0 -1
- package/lib/projects/__tests__/uieLinting.test.js +0 -631
- package/lib/projects/__tests__/upload.test.d.ts +0 -1
- package/lib/projects/__tests__/upload.test.js +0 -183
- package/lib/projects/add/__tests__/legacyAddComponent.test.d.ts +0 -1
- package/lib/projects/add/__tests__/legacyAddComponent.test.js +0 -245
- package/lib/projects/add/__tests__/v2AddComponent.test.d.ts +0 -1
- package/lib/projects/add/__tests__/v2AddComponent.test.js +0 -343
- package/lib/projects/add/legacyAddComponent.d.ts +0 -5
- package/lib/projects/add/legacyAddComponent.js +0 -46
- package/lib/projects/add/v2AddComponent.d.ts +0 -9
- package/lib/projects/add/v2AddComponent.js +0 -111
- package/lib/projects/components.d.ts +0 -16
- package/lib/projects/components.js +0 -251
- package/lib/projects/config.d.ts +0 -9
- package/lib/projects/config.js +0 -73
- package/lib/projects/create/__tests__/legacy.test.d.ts +0 -1
- package/lib/projects/create/__tests__/legacy.test.js +0 -72
- package/lib/projects/create/__tests__/v2.test.d.ts +0 -1
- package/lib/projects/create/__tests__/v2.test.js +0 -257
- package/lib/projects/create/index.d.ts +0 -24
- package/lib/projects/create/index.js +0 -33
- package/lib/projects/create/legacy.d.ts +0 -6
- package/lib/projects/create/legacy.js +0 -48
- package/lib/projects/create/v2.d.ts +0 -26
- package/lib/projects/create/v2.js +0 -158
- package/lib/projects/deploy.d.ts +0 -13
- package/lib/projects/deploy.js +0 -76
- package/lib/projects/ensureProjectExists.d.ts +0 -11
- package/lib/projects/ensureProjectExists.js +0 -89
- package/lib/projects/localDev/AppDevModeInterface.d.ts +0 -41
- package/lib/projects/localDev/AppDevModeInterface.js +0 -337
- package/lib/projects/localDev/DevServerManager.d.ts +0 -21
- package/lib/projects/localDev/DevServerManager.js +0 -64
- package/lib/projects/localDev/DevServerManager_DEPRECATED.d.ts +0 -40
- package/lib/projects/localDev/DevServerManager_DEPRECATED.js +0 -128
- package/lib/projects/localDev/DevSessionManager.d.ts +0 -18
- package/lib/projects/localDev/DevSessionManager.js +0 -95
- package/lib/projects/localDev/LocalDevLogger.d.ts +0 -34
- package/lib/projects/localDev/LocalDevLogger.js +0 -178
- package/lib/projects/localDev/LocalDevManager_DEPRECATED.d.ts +0 -59
- package/lib/projects/localDev/LocalDevManager_DEPRECATED.js +0 -387
- package/lib/projects/localDev/LocalDevProcess.d.ts +0 -39
- package/lib/projects/localDev/LocalDevProcess.js +0 -277
- package/lib/projects/localDev/LocalDevState.d.ts +0 -63
- package/lib/projects/localDev/LocalDevState.js +0 -139
- package/lib/projects/localDev/LocalDevWatcher.d.ts +0 -10
- package/lib/projects/localDev/LocalDevWatcher.js +0 -48
- package/lib/projects/localDev/LocalDevWebsocketServer.d.ts +0 -21
- package/lib/projects/localDev/LocalDevWebsocketServer.js +0 -169
- package/lib/projects/localDev/UIExtensionsDevModeInterface.d.ts +0 -13
- package/lib/projects/localDev/UIExtensionsDevModeInterface.js +0 -37
- package/lib/projects/localDev/helpers/account.d.ts +0 -14
- package/lib/projects/localDev/helpers/account.js +0 -222
- package/lib/projects/localDev/helpers/devSessionsApi.d.ts +0 -9
- package/lib/projects/localDev/helpers/devSessionsApi.js +0 -19
- package/lib/projects/localDev/helpers/process.d.ts +0 -1
- package/lib/projects/localDev/helpers/process.js +0 -17
- package/lib/projects/localDev/helpers/project.d.ts +0 -16
- package/lib/projects/localDev/helpers/project.js +0 -216
- package/lib/projects/localDev/localDevWebsocketServerUtils.d.ts +0 -8
- package/lib/projects/localDev/localDevWebsocketServerUtils.js +0 -19
- package/lib/projects/platformVersion.d.ts +0 -9
- package/lib/projects/platformVersion.js +0 -39
- package/lib/projects/pollProjectBuildAndDeploy.d.ts +0 -10
- package/lib/projects/pollProjectBuildAndDeploy.js +0 -344
- package/lib/projects/projectProfiles.d.ts +0 -17
- package/lib/projects/projectProfiles.js +0 -140
- package/lib/projects/structure.d.ts +0 -18
- package/lib/projects/structure.js +0 -130
- package/lib/projects/ui.d.ts +0 -1
- package/lib/projects/ui.js +0 -12
- package/lib/projects/uieLinting.d.ts +0 -33
- package/lib/projects/uieLinting.js +0 -220
- package/lib/projects/upload.d.ts +0 -33
- package/lib/projects/upload.js +0 -147
- package/lib/projects/urls.d.ts +0 -10
- package/lib/projects/urls.js +0 -42
- package/lib/projects/watch.d.ts +0 -5
- package/lib/projects/watch.js +0 -168
- package/lib/prompts/__tests__/createDeveloperTestAccountConfigPrompt.test.d.ts +0 -1
- package/lib/prompts/__tests__/createDeveloperTestAccountConfigPrompt.test.js +0 -157
- package/lib/prompts/__tests__/createFunctionPrompt.test.d.ts +0 -1
- package/lib/prompts/__tests__/createFunctionPrompt.test.js +0 -129
- package/lib/prompts/__tests__/createModulePrompt.test.d.ts +0 -1
- package/lib/prompts/__tests__/createModulePrompt.test.js +0 -187
- package/lib/prompts/__tests__/createTemplatePrompt.test.d.ts +0 -1
- package/lib/prompts/__tests__/createTemplatePrompt.test.js +0 -102
- package/lib/prompts/__tests__/downloadProjectPrompt.test.d.ts +0 -1
- package/lib/prompts/__tests__/downloadProjectPrompt.test.js +0 -31
- package/lib/prompts/__tests__/projectAddPrompt.test.d.ts +0 -1
- package/lib/prompts/__tests__/projectAddPrompt.test.js +0 -143
- package/lib/prompts/__tests__/projectsLogsPrompt.test.d.ts +0 -1
- package/lib/prompts/__tests__/projectsLogsPrompt.test.js +0 -37
- package/lib/prompts/__tests__/selectProjectTemplatePrompt.test.d.ts +0 -1
- package/lib/prompts/__tests__/selectProjectTemplatePrompt.test.js +0 -160
- package/lib/prompts/accountNamePrompt.d.ts +0 -11
- package/lib/prompts/accountNamePrompt.js +0 -64
- package/lib/prompts/accountsPrompt.d.ts +0 -2
- package/lib/prompts/accountsPrompt.js +0 -33
- package/lib/prompts/cmsFieldPrompt.d.ts +0 -1
- package/lib/prompts/cmsFieldPrompt.js +0 -40
- package/lib/prompts/confirmImportDataPrompt.d.ts +0 -1
- package/lib/prompts/confirmImportDataPrompt.js +0 -12
- package/lib/prompts/createApiSamplePrompt.d.ts +0 -10
- package/lib/prompts/createApiSamplePrompt.js +0 -58
- package/lib/prompts/createDeveloperTestAccountConfigPrompt.d.ts +0 -25
- package/lib/prompts/createDeveloperTestAccountConfigPrompt.js +0 -162
- package/lib/prompts/createFunctionPrompt.d.ts +0 -9
- package/lib/prompts/createFunctionPrompt.js +0 -94
- package/lib/prompts/createModulePrompt.d.ts +0 -10
- package/lib/prompts/createModulePrompt.js +0 -116
- package/lib/prompts/createTemplatePrompt.d.ts +0 -6
- package/lib/prompts/createTemplatePrompt.js +0 -29
- package/lib/prompts/downloadProjectPrompt.d.ts +0 -10
- package/lib/prompts/downloadProjectPrompt.js +0 -53
- package/lib/prompts/importDataFilePathPrompt.d.ts +0 -1
- package/lib/prompts/importDataFilePathPrompt.js +0 -26
- package/lib/prompts/importDataTestAccountSelectPrompt.d.ts +0 -3
- package/lib/prompts/importDataTestAccountSelectPrompt.js +0 -28
- package/lib/prompts/installAppPrompt.d.ts +0 -2
- package/lib/prompts/installAppPrompt.js +0 -39
- package/lib/prompts/personalAccessKeyPrompt.d.ts +0 -29
- package/lib/prompts/personalAccessKeyPrompt.js +0 -135
- package/lib/prompts/previewPrompt.d.ts +0 -15
- package/lib/prompts/previewPrompt.js +0 -48
- package/lib/prompts/projectAddPrompt.d.ts +0 -15
- package/lib/prompts/projectAddPrompt.js +0 -82
- package/lib/prompts/projectDevTargetAccountPrompt.d.ts +0 -12
- package/lib/prompts/projectDevTargetAccountPrompt.js +0 -166
- package/lib/prompts/projectNameAndDestPrompt.d.ts +0 -3
- package/lib/prompts/projectNameAndDestPrompt.js +0 -53
- package/lib/prompts/projectNamePrompt.d.ts +0 -6
- package/lib/prompts/projectNamePrompt.js +0 -27
- package/lib/prompts/projectsLogsPrompt.d.ts +0 -12
- package/lib/prompts/projectsLogsPrompt.js +0 -20
- package/lib/prompts/promptUtils.d.ts +0 -32
- package/lib/prompts/promptUtils.js +0 -222
- package/lib/prompts/sandboxesPrompt.d.ts +0 -10
- package/lib/prompts/sandboxesPrompt.js +0 -63
- package/lib/prompts/secretPrompt.d.ts +0 -13
- package/lib/prompts/secretPrompt.js +0 -31
- package/lib/prompts/selectAppPrompt.d.ts +0 -2
- package/lib/prompts/selectAppPrompt.js +0 -37
- package/lib/prompts/selectHubDBTablePrompt.d.ts +0 -12
- package/lib/prompts/selectHubDBTablePrompt.js +0 -66
- package/lib/prompts/selectProjectTemplatePrompt.d.ts +0 -27
- package/lib/prompts/selectProjectTemplatePrompt.js +0 -75
- package/lib/prompts/selectPublicAppForMigrationPrompt.d.ts +0 -9
- package/lib/prompts/selectPublicAppForMigrationPrompt.js +0 -68
- package/lib/prompts/setAsDefaultAccountPrompt.d.ts +0 -1
- package/lib/prompts/setAsDefaultAccountPrompt.js +0 -26
- package/lib/prompts/uploadPrompt.d.ts +0 -9
- package/lib/prompts/uploadPrompt.js +0 -32
- package/lib/sandboxes.d.ts +0 -14
- package/lib/sandboxes.js +0 -105
- package/lib/schema.d.ts +0 -3
- package/lib/schema.js +0 -27
- package/lib/serverlessLogs.d.ts +0 -4
- package/lib/serverlessLogs.js +0 -154
- package/lib/testUtils.d.ts +0 -14
- package/lib/testUtils.js +0 -18
- package/lib/theme/__tests__/migrate.test.d.ts +0 -1
- package/lib/theme/__tests__/migrate.test.js +0 -247
- package/lib/theme/cmsDevServerProcess.d.ts +0 -12
- package/lib/theme/cmsDevServerProcess.js +0 -148
- package/lib/theme/cmsDevServerRunner.d.ts +0 -14
- package/lib/theme/cmsDevServerRunner.js +0 -90
- package/lib/theme/migrate.d.ts +0 -13
- package/lib/theme/migrate.js +0 -85
- package/lib/ui/SpinniesManager.d.ts +0 -39
- package/lib/ui/SpinniesManager.js +0 -257
- package/lib/ui/__tests__/SpinniesManager.test.d.ts +0 -1
- package/lib/ui/__tests__/SpinniesManager.test.js +0 -488
- package/lib/ui/__tests__/removeAnsiCodes.test.d.ts +0 -1
- package/lib/ui/__tests__/removeAnsiCodes.test.js +0 -84
- package/lib/ui/git.d.ts +0 -1
- package/lib/ui/git.js +0 -25
- package/lib/ui/index.d.ts +0 -31
- package/lib/ui/index.js +0 -150
- package/lib/ui/logger.d.ts +0 -11
- package/lib/ui/logger.js +0 -13
- package/lib/ui/removeAnsiCodes.d.ts +0 -1
- package/lib/ui/removeAnsiCodes.js +0 -4
- package/lib/ui/serverlessFunctionLogs.d.ts +0 -9
- package/lib/ui/serverlessFunctionLogs.js +0 -88
- package/lib/ui/spinniesUtils.d.ts +0 -32
- package/lib/ui/spinniesUtils.js +0 -151
- package/lib/ui/supportHyperlinks.d.ts +0 -7
- package/lib/ui/supportHyperlinks.js +0 -59
- package/lib/ui/supportsColor.d.ts +0 -17
- package/lib/ui/supportsColor.js +0 -97
- package/lib/ui/uiMessages.d.ts +0 -73
- package/lib/ui/uiMessages.js +0 -76
- package/lib/upload.d.ts +0 -1
- package/lib/upload.js +0 -49
- package/lib/usageTracking.d.ts +0 -32
- package/lib/usageTracking.js +0 -174
- package/lib/utils/hasFlag.d.ts +0 -1
- package/lib/utils/hasFlag.js +0 -9
- package/lib/validation.d.ts +0 -13
- package/lib/validation.js +0 -142
- package/lib/yargsUtils.d.ts +0 -16
- package/lib/yargsUtils.js +0 -49
- package/mcp-server/server.d.ts +0 -1
- package/mcp-server/server.js +0 -13
- package/mcp-server/tools/cms/HsCreateFunctionTool.d.ts +0 -24
- package/mcp-server/tools/cms/HsCreateFunctionTool.js +0 -105
- package/mcp-server/tools/cms/HsCreateModuleTool.d.ts +0 -20
- package/mcp-server/tools/cms/HsCreateModuleTool.js +0 -127
- package/mcp-server/tools/cms/HsCreateTemplateTool.d.ts +0 -25
- package/mcp-server/tools/cms/HsCreateTemplateTool.js +0 -84
- package/mcp-server/tools/cms/HsFunctionLogsTool.d.ts +0 -18
- package/mcp-server/tools/cms/HsFunctionLogsTool.js +0 -75
- package/mcp-server/tools/cms/HsListFunctionsTool.d.ts +0 -15
- package/mcp-server/tools/cms/HsListFunctionsTool.js +0 -64
- package/mcp-server/tools/cms/HsListTool.d.ts +0 -15
- package/mcp-server/tools/cms/HsListTool.js +0 -64
- package/mcp-server/tools/cms/__tests__/HsCreateFunctionTool.test.d.ts +0 -1
- package/mcp-server/tools/cms/__tests__/HsCreateFunctionTool.test.js +0 -254
- package/mcp-server/tools/cms/__tests__/HsCreateModuleTool.test.d.ts +0 -1
- package/mcp-server/tools/cms/__tests__/HsCreateModuleTool.test.js +0 -227
- package/mcp-server/tools/cms/__tests__/HsCreateTemplateTool.test.d.ts +0 -1
- package/mcp-server/tools/cms/__tests__/HsCreateTemplateTool.test.js +0 -208
- package/mcp-server/tools/cms/__tests__/HsFunctionLogsTool.test.d.ts +0 -1
- package/mcp-server/tools/cms/__tests__/HsFunctionLogsTool.test.js +0 -186
- package/mcp-server/tools/cms/__tests__/HsListFunctionsTool.test.d.ts +0 -1
- package/mcp-server/tools/cms/__tests__/HsListFunctionsTool.test.js +0 -124
- package/mcp-server/tools/cms/__tests__/HsListTool.test.d.ts +0 -1
- package/mcp-server/tools/cms/__tests__/HsListTool.test.js +0 -124
- package/mcp-server/tools/index.d.ts +0 -3
- package/mcp-server/tools/index.js +0 -48
- package/mcp-server/tools/project/AddFeatureToProjectTool.d.ts +0 -36
- package/mcp-server/tools/project/AddFeatureToProjectTool.js +0 -82
- package/mcp-server/tools/project/CreateProjectTool.d.ts +0 -40
- package/mcp-server/tools/project/CreateProjectTool.js +0 -98
- package/mcp-server/tools/project/CreateTestAccountTool.d.ts +0 -51
- package/mcp-server/tools/project/CreateTestAccountTool.js +0 -170
- package/mcp-server/tools/project/DeployProjectTool.d.ts +0 -15
- package/mcp-server/tools/project/DeployProjectTool.js +0 -58
- package/mcp-server/tools/project/DocFetchTool.d.ts +0 -14
- package/mcp-server/tools/project/DocFetchTool.js +0 -57
- package/mcp-server/tools/project/DocsSearchTool.d.ts +0 -23
- package/mcp-server/tools/project/DocsSearchTool.js +0 -69
- package/mcp-server/tools/project/GetApiUsagePatternsByAppIdTool.d.ts +0 -16
- package/mcp-server/tools/project/GetApiUsagePatternsByAppIdTool.js +0 -73
- package/mcp-server/tools/project/GetApplicationInfoTool.d.ts +0 -13
- package/mcp-server/tools/project/GetApplicationInfoTool.js +0 -56
- package/mcp-server/tools/project/GetBuildLogsTool.d.ts +0 -21
- package/mcp-server/tools/project/GetBuildLogsTool.js +0 -124
- package/mcp-server/tools/project/GetBuildStatusTool.d.ts +0 -16
- package/mcp-server/tools/project/GetBuildStatusTool.js +0 -165
- package/mcp-server/tools/project/GetConfigValuesTool.d.ts +0 -15
- package/mcp-server/tools/project/GetConfigValuesTool.js +0 -65
- package/mcp-server/tools/project/GuidedWalkthroughTool.d.ts +0 -19
- package/mcp-server/tools/project/GuidedWalkthroughTool.js +0 -50
- package/mcp-server/tools/project/UploadProjectTools.d.ts +0 -16
- package/mcp-server/tools/project/UploadProjectTools.js +0 -83
- package/mcp-server/tools/project/ValidateProjectTool.d.ts +0 -14
- package/mcp-server/tools/project/ValidateProjectTool.js +0 -42
- package/mcp-server/tools/project/__tests__/AddFeatureToProjectTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/AddFeatureToProjectTool.test.js +0 -157
- package/mcp-server/tools/project/__tests__/CreateProjectTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/CreateProjectTool.test.js +0 -131
- package/mcp-server/tools/project/__tests__/CreateTestAccountTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/CreateTestAccountTool.test.js +0 -461
- package/mcp-server/tools/project/__tests__/DeployProjectTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/DeployProjectTool.test.js +0 -125
- package/mcp-server/tools/project/__tests__/DocFetchTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/DocFetchTool.test.js +0 -125
- package/mcp-server/tools/project/__tests__/DocsSearchTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/DocsSearchTool.test.js +0 -210
- package/mcp-server/tools/project/__tests__/GetApiUsagePatternsByAppIdTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/GetApiUsagePatternsByAppIdTool.test.js +0 -146
- package/mcp-server/tools/project/__tests__/GetApplicationInfoTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/GetApplicationInfoTool.test.js +0 -124
- package/mcp-server/tools/project/__tests__/GetBuildLogsTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/GetBuildLogsTool.test.js +0 -307
- package/mcp-server/tools/project/__tests__/GetBuildStatusTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/GetBuildStatusTool.test.js +0 -242
- package/mcp-server/tools/project/__tests__/GetConfigValuesTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/GetConfigValuesTool.test.js +0 -209
- package/mcp-server/tools/project/__tests__/GuidedWalkthroughTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/GuidedWalkthroughTool.test.js +0 -158
- package/mcp-server/tools/project/__tests__/UploadProjectTools.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/UploadProjectTools.test.js +0 -187
- package/mcp-server/tools/project/__tests__/ValidateProjectTool.test.d.ts +0 -1
- package/mcp-server/tools/project/__tests__/ValidateProjectTool.test.js +0 -118
- package/mcp-server/tools/project/constants.d.ts +0 -18
- package/mcp-server/tools/project/constants.js +0 -29
- package/mcp-server/types.d.ts +0 -14
- package/mcp-server/types.js +0 -13
- package/mcp-server/utils/__tests__/command.test.d.ts +0 -1
- package/mcp-server/utils/__tests__/command.test.js +0 -275
- package/mcp-server/utils/__tests__/content.test.d.ts +0 -1
- package/mcp-server/utils/__tests__/content.test.js +0 -164
- package/mcp-server/utils/__tests__/feedbackTracking.test.d.ts +0 -1
- package/mcp-server/utils/__tests__/feedbackTracking.test.js +0 -69
- package/mcp-server/utils/command.d.ts +0 -8
- package/mcp-server/utils/command.js +0 -33
- package/mcp-server/utils/config.d.ts +0 -1
- package/mcp-server/utils/config.js +0 -10
- package/mcp-server/utils/content.d.ts +0 -3
- package/mcp-server/utils/content.js +0 -24
- package/mcp-server/utils/feedbackTracking.d.ts +0 -1
- package/mcp-server/utils/feedbackTracking.js +0 -26
- package/mcp-server/utils/toolUsageTracking.d.ts +0 -3
- package/mcp-server/utils/toolUsageTracking.js +0 -24
- package/types/Cms.d.ts +0 -46
- package/types/Cms.js +0 -27
- package/types/LocalDev.d.ts +0 -47
- package/types/LocalDev.js +0 -1
- package/types/PackageJson.d.ts +0 -10
- package/types/PackageJson.js +0 -1
- package/types/ProjectComponents.d.ts +0 -23
- package/types/ProjectComponents.js +0 -2
- package/types/Projects.d.ts +0 -130
- package/types/Projects.js +0 -6
- package/types/Prompts.d.ts +0 -28
- package/types/Prompts.js +0 -1
- package/types/Sandboxes.d.ts +0 -5
- package/types/Sandboxes.js +0 -1
- package/types/Yargs.d.ts +0 -46
- package/types/Yargs.js +0 -1
- package/ui/components/ActionSection.d.ts +0 -12
- package/ui/components/ActionSection.js +0 -25
- package/ui/components/BoxWithTitle.d.ts +0 -11
- package/ui/components/BoxWithTitle.js +0 -9
- package/ui/components/FullScreen.d.ts +0 -6
- package/ui/components/FullScreen.js +0 -13
- package/ui/components/HorizontalSelectPrompt.d.ts +0 -8
- package/ui/components/HorizontalSelectPrompt.js +0 -30
- package/ui/components/InputField.d.ts +0 -10
- package/ui/components/InputField.js +0 -10
- package/ui/components/SelectInput.d.ts +0 -11
- package/ui/components/SelectInput.js +0 -59
- package/ui/components/StatusIcon.d.ts +0 -9
- package/ui/components/StatusIcon.js +0 -17
- package/ui/components/StatusMessageBoxes.d.ts +0 -13
- package/ui/components/StatusMessageBoxes.js +0 -31
- package/ui/components/Table.d.ts +0 -89
- package/ui/components/Table.js +0 -246
- package/ui/components/getStarted/GetStartedFlow.d.ts +0 -8
- package/ui/components/getStarted/GetStartedFlow.js +0 -213
- package/ui/components/getStarted/reducer.d.ts +0 -79
- package/ui/components/getStarted/reducer.js +0 -108
- package/ui/components/getStarted/screens/InstallationScreen.d.ts +0 -7
- package/ui/components/getStarted/screens/InstallationScreen.js +0 -16
- package/ui/components/getStarted/screens/ProjectSetupScreen.d.ts +0 -16
- package/ui/components/getStarted/screens/ProjectSetupScreen.js +0 -40
- package/ui/components/getStarted/screens/UploadScreen.d.ts +0 -7
- package/ui/components/getStarted/screens/UploadScreen.js +0 -43
- package/ui/components/getStarted/selectors.d.ts +0 -2
- package/ui/components/getStarted/selectors.js +0 -1
- package/ui/constants.d.ts +0 -6
- package/ui/constants.js +0 -6
- package/ui/lib/constants.d.ts +0 -17
- package/ui/lib/constants.js +0 -17
- package/ui/lib/table.d.ts +0 -2
- package/ui/lib/table.js +0 -11
- package/ui/lib/useTerminalSize.d.ts +0 -13
- package/ui/lib/useTerminalSize.js +0 -31
- package/ui/playground/Playground.d.ts +0 -5
- package/ui/playground/Playground.js +0 -25
- package/ui/playground/fixtures.d.ts +0 -9
- package/ui/playground/fixtures.js +0 -126
- package/ui/render.d.ts +0 -23
- package/ui/render.js +0 -75
- package/ui/styles.d.ts +0 -21
- package/ui/styles.js +0 -21
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ArgumentsCamelCase } from 'yargs';
|
|
2
|
-
import { ProjectTemplateRepoConfig } from '../../../types/Projects.js';
|
|
3
|
-
import { SelectProjectTemplatePromptResponse, ProjectNameAndDestPromptResponse } from '../../prompts/selectProjectTemplatePrompt.js';
|
|
4
|
-
import { AccountArgs, CommonArgs, ConfigArgs, EnvironmentArgs } from '../../../types/Yargs.js';
|
|
5
|
-
import { RepoPath } from '@hubspot/local-dev-lib/types/Github';
|
|
6
|
-
export type ProjectCreateArgs = CommonArgs & ConfigArgs & AccountArgs & EnvironmentArgs & {
|
|
7
|
-
name?: string;
|
|
8
|
-
dest?: string;
|
|
9
|
-
templateSource?: RepoPath;
|
|
10
|
-
template?: string;
|
|
11
|
-
features?: string[];
|
|
12
|
-
platformVersion: string;
|
|
13
|
-
projectBase?: string;
|
|
14
|
-
auth?: string;
|
|
15
|
-
distribution?: string;
|
|
16
|
-
};
|
|
17
|
-
export declare function handleProjectCreationFlow(args: ArgumentsCamelCase<ProjectCreateArgs>): Promise<{
|
|
18
|
-
authType?: string;
|
|
19
|
-
distribution?: string;
|
|
20
|
-
repoConfig?: ProjectTemplateRepoConfig;
|
|
21
|
-
projectContents?: string;
|
|
22
|
-
selectProjectTemplatePromptResponse: SelectProjectTemplatePromptResponse;
|
|
23
|
-
projectNameAndDestPromptResponse: ProjectNameAndDestPromptResponse;
|
|
24
|
-
}>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { selectProjectTemplatePrompt, } from '../../prompts/selectProjectTemplatePrompt.js';
|
|
2
|
-
import { projectNameAndDestPrompt } from '../../prompts/projectNameAndDestPrompt.js';
|
|
3
|
-
import { DEFAULT_PROJECT_TEMPLATE_BRANCH, HUBSPOT_PROJECT_COMPONENTS_GITHUB_PATH, EMPTY_PROJECT, } from '../../constants.js';
|
|
4
|
-
import { isV2Project } from '../platformVersion.js';
|
|
5
|
-
import { v2ComponentFlow } from './v2.js';
|
|
6
|
-
import { getProjectTemplateListFromRepo } from './legacy.js';
|
|
7
|
-
import { commands } from '../../../lang/en.js';
|
|
8
|
-
export async function handleProjectCreationFlow(args) {
|
|
9
|
-
const { platformVersion, templateSource, projectBase, auth: providedAuth, distribution: providedDistribution, } = args;
|
|
10
|
-
const repo = templateSource || HUBSPOT_PROJECT_COMPONENTS_GITHUB_PATH;
|
|
11
|
-
const projectNameAndDestPromptResponse = await projectNameAndDestPrompt(args);
|
|
12
|
-
if (isV2Project(platformVersion)) {
|
|
13
|
-
const { componentTemplateChoices, authType, distribution, repoConfig, projectContents, } = await v2ComponentFlow(platformVersion, projectBase, providedAuth, providedDistribution, args.derivedAccountId);
|
|
14
|
-
const selectProjectTemplatePromptResponse = await selectProjectTemplatePrompt(args, undefined, projectContents !== EMPTY_PROJECT ? componentTemplateChoices : undefined);
|
|
15
|
-
return {
|
|
16
|
-
authType,
|
|
17
|
-
distribution,
|
|
18
|
-
repoConfig,
|
|
19
|
-
projectContents,
|
|
20
|
-
selectProjectTemplatePromptResponse,
|
|
21
|
-
projectNameAndDestPromptResponse,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
const projectTemplates = await getProjectTemplateListFromRepo(repo, DEFAULT_PROJECT_TEMPLATE_BRANCH);
|
|
25
|
-
if (!projectTemplates.length) {
|
|
26
|
-
throw new Error(commands.project.create.errors.failedToFetchProjectList);
|
|
27
|
-
}
|
|
28
|
-
const selectProjectTemplatePromptResponse = await selectProjectTemplatePrompt(args, projectTemplates);
|
|
29
|
-
return {
|
|
30
|
-
selectProjectTemplatePromptResponse,
|
|
31
|
-
projectNameAndDestPromptResponse,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { RepoPath } from '@hubspot/local-dev-lib/types/Github';
|
|
2
|
-
import { ProjectTemplate, ComponentTemplate, ProjectTemplateRepoConfig } from '../../../types/Projects.js';
|
|
3
|
-
export declare const EMPTY_PROJECT_TEMPLATE_NAME = "no-template";
|
|
4
|
-
export declare function getConfigForPlatformVersion(platformVersion: string): Promise<ProjectTemplateRepoConfig> | never;
|
|
5
|
-
export declare function getProjectComponentListFromRepo(platformVersion: string): Promise<ComponentTemplate[]>;
|
|
6
|
-
export declare function getProjectTemplateListFromRepo(templateSource: RepoPath, githubRef: string): Promise<ProjectTemplate[]>;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { fetchRepoFile } from '@hubspot/local-dev-lib/api/github';
|
|
2
|
-
import { DEFAULT_PROJECT_TEMPLATE_BRANCH, HUBSPOT_PROJECT_COMPONENTS_GITHUB_PATH, PROJECT_COMPONENT_TYPES, } from '../../constants.js';
|
|
3
|
-
import { debugError } from '../../errorHandlers/index.js';
|
|
4
|
-
import { isV2Project } from '../platformVersion.js';
|
|
5
|
-
import { lib } from '../../../lang/en.js';
|
|
6
|
-
const PROJECT_TEMPLATE_PROPERTIES = ['name', 'label', 'path'];
|
|
7
|
-
export const EMPTY_PROJECT_TEMPLATE_NAME = 'no-template';
|
|
8
|
-
export async function getConfigForPlatformVersion(platformVersion) {
|
|
9
|
-
let path = '';
|
|
10
|
-
if (isV2Project(platformVersion)) {
|
|
11
|
-
path = `${platformVersion}/`;
|
|
12
|
-
}
|
|
13
|
-
const { data } = await fetchRepoFile(HUBSPOT_PROJECT_COMPONENTS_GITHUB_PATH, `${path}config.json`, DEFAULT_PROJECT_TEMPLATE_BRANCH);
|
|
14
|
-
return data;
|
|
15
|
-
}
|
|
16
|
-
export async function getProjectComponentListFromRepo(platformVersion) {
|
|
17
|
-
let config;
|
|
18
|
-
try {
|
|
19
|
-
config = await getConfigForPlatformVersion(platformVersion);
|
|
20
|
-
}
|
|
21
|
-
catch (err) {
|
|
22
|
-
debugError(err);
|
|
23
|
-
}
|
|
24
|
-
if (config) {
|
|
25
|
-
return config[PROJECT_COMPONENT_TYPES.COMPONENTS] || [];
|
|
26
|
-
}
|
|
27
|
-
return [];
|
|
28
|
-
}
|
|
29
|
-
export async function getProjectTemplateListFromRepo(templateSource, githubRef) {
|
|
30
|
-
let config;
|
|
31
|
-
try {
|
|
32
|
-
const { data } = await fetchRepoFile(templateSource, 'config.json', githubRef);
|
|
33
|
-
config = data;
|
|
34
|
-
}
|
|
35
|
-
catch (e) {
|
|
36
|
-
debugError(e);
|
|
37
|
-
throw new Error(lib.projects.create.errors.missingConfigFileTemplateSource);
|
|
38
|
-
}
|
|
39
|
-
if (!config || !config[PROJECT_COMPONENT_TYPES.PROJECTS]) {
|
|
40
|
-
throw new Error(lib.projects.create.errors.noProjectsInConfig);
|
|
41
|
-
}
|
|
42
|
-
const templates = config[PROJECT_COMPONENT_TYPES.PROJECTS];
|
|
43
|
-
const templatesContainAllProperties = templates.every(config => PROJECT_TEMPLATE_PROPERTIES.every(p => Object.prototype.hasOwnProperty.call(config, p)));
|
|
44
|
-
if (!templatesContainAllProperties) {
|
|
45
|
-
throw new Error(lib.projects.create.errors.missingPropertiesInConfig);
|
|
46
|
-
}
|
|
47
|
-
return templates;
|
|
48
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Separator } from '@inquirer/prompts';
|
|
2
|
-
import { ComponentTemplate, ComponentTemplateChoice, ProjectTemplateRepoConfig } from '../../../types/Projects.js';
|
|
3
|
-
import type { ProjectMetadata } from '@hubspot/project-parsing-lib/projects';
|
|
4
|
-
import { SelectProjectTemplatePromptResponse } from '../../prompts/selectProjectTemplatePrompt.js';
|
|
5
|
-
export declare function createV2App(providedAuth: string | undefined, providedDistribution: string | undefined): Promise<{
|
|
6
|
-
authType: string;
|
|
7
|
-
distribution: string;
|
|
8
|
-
}>;
|
|
9
|
-
export declare function calculateComponentTemplateChoices(components: ComponentTemplate[], authType: string | undefined, distribution: string | undefined, accountId: number, projectMetadata?: ProjectMetadata): Promise<(ComponentTemplateChoice | Separator)[]>;
|
|
10
|
-
type V2ComponentInfo = {
|
|
11
|
-
authType?: string;
|
|
12
|
-
distribution?: string;
|
|
13
|
-
repoConfig?: ProjectTemplateRepoConfig;
|
|
14
|
-
projectContents?: string;
|
|
15
|
-
componentTemplateChoices?: (ComponentTemplateChoice | Separator)[];
|
|
16
|
-
};
|
|
17
|
-
export declare function v2ComponentFlow(platformVersion: string, projectBase: string | undefined, providedAuth: string | undefined, providedDistribution: string | undefined, accountId: number): Promise<V2ComponentInfo>;
|
|
18
|
-
export declare function generateComponentPaths({ selectProjectTemplatePromptResponse, platformVersion, repoConfig, projectContents, authType, distribution, }: {
|
|
19
|
-
selectProjectTemplatePromptResponse: SelectProjectTemplatePromptResponse;
|
|
20
|
-
platformVersion: string;
|
|
21
|
-
repoConfig?: ProjectTemplateRepoConfig;
|
|
22
|
-
projectContents?: string;
|
|
23
|
-
authType?: string;
|
|
24
|
-
distribution?: string;
|
|
25
|
-
}): string[];
|
|
26
|
-
export {};
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { marketplaceDistribution, oAuth, privateDistribution, staticAuth, EMPTY_PROJECT, PROJECT_WITH_APP, FEATURES, } from '../../constants.js';
|
|
2
|
-
import { commands, lib } from '../../../lang/en.js';
|
|
3
|
-
import { listPrompt } from '../../prompts/promptUtils.js';
|
|
4
|
-
import { APP_EVENTS_KEY as AppEventsKey, PAGES_KEY as PagesKey, } from '@hubspot/project-parsing-lib/constants';
|
|
5
|
-
import { isV2Project } from '../platformVersion.js';
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { getConfigForPlatformVersion } from './legacy.js';
|
|
8
|
-
import { hasFeature } from '../../hasFeature.js';
|
|
9
|
-
export async function createV2App(providedAuth, providedDistribution) {
|
|
10
|
-
let authType;
|
|
11
|
-
if (providedAuth &&
|
|
12
|
-
providedDistribution === marketplaceDistribution &&
|
|
13
|
-
providedAuth !== oAuth) {
|
|
14
|
-
throw new Error(lib.projects.create.errors.invalidAuthDistCombo(providedAuth, providedDistribution));
|
|
15
|
-
}
|
|
16
|
-
const distribution = providedDistribution ||
|
|
17
|
-
(await listPrompt(lib.projects.create.prompt.distribution, {
|
|
18
|
-
choices: [
|
|
19
|
-
{
|
|
20
|
-
name: lib.projects.create.prompt.marketPlaceDistribution,
|
|
21
|
-
value: marketplaceDistribution,
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
name: lib.projects.create.prompt.privateDistribution,
|
|
25
|
-
value: privateDistribution,
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
}));
|
|
29
|
-
if (distribution === marketplaceDistribution) {
|
|
30
|
-
// This is the only valid auth type for marketplace
|
|
31
|
-
authType = oAuth;
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
authType =
|
|
35
|
-
providedAuth ||
|
|
36
|
-
(await listPrompt(lib.projects.create.prompt.auth, {
|
|
37
|
-
choices: [
|
|
38
|
-
{ name: lib.projects.create.prompt.staticAuth, value: staticAuth },
|
|
39
|
-
{ name: lib.projects.create.prompt.oauth, value: oAuth },
|
|
40
|
-
],
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
distribution: distribution,
|
|
45
|
-
authType: authType,
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
const componentTypeToGateMap = {
|
|
49
|
-
[AppEventsKey]: FEATURES.APP_EVENTS,
|
|
50
|
-
[PagesKey]: FEATURES.APPS_HOME,
|
|
51
|
-
'workflow-action-tool': FEATURES.AGENT_TOOLS,
|
|
52
|
-
};
|
|
53
|
-
export async function calculateComponentTemplateChoices(components, authType, distribution, accountId, projectMetadata) {
|
|
54
|
-
const enabledComponents = [];
|
|
55
|
-
const disabledComponents = [];
|
|
56
|
-
for (const template of components) {
|
|
57
|
-
const { supportedAuthTypes, supportedDistributions } = template;
|
|
58
|
-
const disabledReasons = [];
|
|
59
|
-
if (projectMetadata) {
|
|
60
|
-
const componentMetadata = projectMetadata.components[template.type];
|
|
61
|
-
if (!componentMetadata) {
|
|
62
|
-
disabledReasons.push(commands.project.add.error.invalidComponentType(template.type));
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
const { count, maxCount } = componentMetadata;
|
|
66
|
-
if (count >= maxCount) {
|
|
67
|
-
disabledReasons.push(commands.project.add.error.maxExceeded(maxCount));
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
if (Array.isArray(supportedAuthTypes) &&
|
|
72
|
-
authType &&
|
|
73
|
-
!supportedAuthTypes.includes(authType.toLowerCase())) {
|
|
74
|
-
const supportedAuthTypesString = supportedAuthTypes.join(', ');
|
|
75
|
-
disabledReasons.push(commands.project.add.error.authTypeNotAllowed(supportedAuthTypesString));
|
|
76
|
-
}
|
|
77
|
-
if (Array.isArray(supportedDistributions) &&
|
|
78
|
-
distribution &&
|
|
79
|
-
!supportedDistributions.includes(distribution.toLowerCase())) {
|
|
80
|
-
const supportedDistributionsString = supportedDistributions.join(', ');
|
|
81
|
-
disabledReasons.push(commands.project.add.error.distributionNotAllowed(supportedDistributionsString));
|
|
82
|
-
}
|
|
83
|
-
const templateGate = componentTypeToGateMap[template.cliSelector || template.type];
|
|
84
|
-
if (templateGate) {
|
|
85
|
-
const isUngated = await hasFeature(accountId, templateGate);
|
|
86
|
-
if (!isUngated) {
|
|
87
|
-
disabledReasons.unshift(commands.project.add.error.portalDoesNotHaveAccessToThisFeature());
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
if (disabledReasons.length > 0) {
|
|
91
|
-
disabledComponents.push({
|
|
92
|
-
name: `${template.label} [${template.cliSelector || template.type}]`,
|
|
93
|
-
value: template,
|
|
94
|
-
disabled: `– ${disabledReasons.join(' ')}`,
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
enabledComponents.push({
|
|
99
|
-
name: `${template.label} [${template.cliSelector || template.type}]`,
|
|
100
|
-
value: template,
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
return disabledComponents.length
|
|
105
|
-
? [...enabledComponents, ...disabledComponents]
|
|
106
|
-
: [...enabledComponents];
|
|
107
|
-
}
|
|
108
|
-
export async function v2ComponentFlow(platformVersion, projectBase, providedAuth, providedDistribution, accountId) {
|
|
109
|
-
let repoConfig = undefined;
|
|
110
|
-
let authType;
|
|
111
|
-
let distribution;
|
|
112
|
-
repoConfig = await getConfigForPlatformVersion(platformVersion);
|
|
113
|
-
const projectContentsChoice = projectBase ||
|
|
114
|
-
(await listPrompt(commands.project.create.prompts.parentComponents, {
|
|
115
|
-
choices: [
|
|
116
|
-
{
|
|
117
|
-
name: commands.project.create.prompts.emptyProject,
|
|
118
|
-
value: EMPTY_PROJECT,
|
|
119
|
-
},
|
|
120
|
-
{ name: commands.project.create.prompts.app, value: PROJECT_WITH_APP },
|
|
121
|
-
],
|
|
122
|
-
}));
|
|
123
|
-
if (projectContentsChoice === PROJECT_WITH_APP) {
|
|
124
|
-
const { authType: selectedAuthType, distribution: selectedDistribution } = await createV2App(providedAuth, providedDistribution);
|
|
125
|
-
authType = selectedAuthType;
|
|
126
|
-
distribution = selectedDistribution;
|
|
127
|
-
}
|
|
128
|
-
const componentTemplateChoices = await calculateComponentTemplateChoices(repoConfig?.components || [], authType, distribution, accountId);
|
|
129
|
-
return {
|
|
130
|
-
componentTemplateChoices,
|
|
131
|
-
authType,
|
|
132
|
-
distribution,
|
|
133
|
-
projectContents: projectContentsChoice,
|
|
134
|
-
repoConfig,
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
export function generateComponentPaths({ selectProjectTemplatePromptResponse, platformVersion, repoConfig, projectContents, authType, distribution, }) {
|
|
138
|
-
if (!isV2Project(platformVersion)) {
|
|
139
|
-
return [];
|
|
140
|
-
}
|
|
141
|
-
const components = selectProjectTemplatePromptResponse.componentTemplates?.map((componentTemplate) => {
|
|
142
|
-
return path.join(platformVersion, componentTemplate.path);
|
|
143
|
-
}) || [];
|
|
144
|
-
if (projectContents && projectContents !== EMPTY_PROJECT) {
|
|
145
|
-
const parentComponent = repoConfig?.parentComponents?.find(possibleParent => {
|
|
146
|
-
return (possibleParent.type === projectContents &&
|
|
147
|
-
possibleParent.authType === authType &&
|
|
148
|
-
possibleParent.distribution === distribution);
|
|
149
|
-
});
|
|
150
|
-
if (parentComponent) {
|
|
151
|
-
components.push(path.join(platformVersion, parentComponent.path));
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
if (repoConfig?.defaultFiles) {
|
|
155
|
-
components.push(path.join(platformVersion, repoConfig?.defaultFiles));
|
|
156
|
-
}
|
|
157
|
-
return components;
|
|
158
|
-
}
|
package/lib/projects/deploy.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Deploy } from '@hubspot/local-dev-lib/types/Deploy';
|
|
2
|
-
export declare function validateBuildIdForDeploy(buildId: number, deployedBuildId: number | undefined, latestBuildId: number, projectName: string | undefined, accountId: number): boolean | string;
|
|
3
|
-
export declare function logDeployErrors(errorData: {
|
|
4
|
-
message: string;
|
|
5
|
-
errors: Array<{
|
|
6
|
-
message: string;
|
|
7
|
-
subCategory: string;
|
|
8
|
-
context: {
|
|
9
|
-
COMPONENT_NAME: string;
|
|
10
|
-
};
|
|
11
|
-
}>;
|
|
12
|
-
}): void;
|
|
13
|
-
export declare function handleProjectDeploy(targetAccountId: number, projectName: string, buildId: number, isV2Project: boolean, force: boolean): Promise<Deploy | undefined>;
|
package/lib/projects/deploy.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { uiLogger } from '../ui/logger.js';
|
|
2
|
-
import { commands } from '../../lang/en.js';
|
|
3
|
-
import { PROJECT_ERROR_TYPES } from '../constants.js';
|
|
4
|
-
import { deployProjectV1, deployProjectV2, } from '@hubspot/local-dev-lib/api/projects';
|
|
5
|
-
import { pollDeployStatus } from './pollProjectBuildAndDeploy.js';
|
|
6
|
-
export function validateBuildIdForDeploy(buildId, deployedBuildId, latestBuildId, projectName, accountId) {
|
|
7
|
-
if (Number(buildId) > latestBuildId) {
|
|
8
|
-
return commands.project.deploy.errors.buildIdDoesNotExist(accountId, buildId, projectName);
|
|
9
|
-
}
|
|
10
|
-
if (Number(buildId) === deployedBuildId) {
|
|
11
|
-
return commands.project.deploy.errors.buildAlreadyDeployed(accountId, buildId, projectName);
|
|
12
|
-
}
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
export function logDeployErrors(errorData) {
|
|
16
|
-
uiLogger.error(errorData.message);
|
|
17
|
-
errorData.errors.forEach(err => {
|
|
18
|
-
// This is how the pre-deploy check manifests itself in < 2025.2 projects
|
|
19
|
-
if (err.subCategory === PROJECT_ERROR_TYPES.DEPLOY_CONTAINS_REMOVALS) {
|
|
20
|
-
uiLogger.log(commands.project.deploy.errors.deployContainsRemovals(err.context.COMPONENT_NAME));
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
uiLogger.log(err.message);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function handleBlockedDeploy(deployResp) {
|
|
28
|
-
const deployCanBeForced = deployResp.issues.every(issue => issue.blockingMessages.every(message => message.isWarning));
|
|
29
|
-
uiLogger.log('');
|
|
30
|
-
if (deployCanBeForced) {
|
|
31
|
-
uiLogger.warn(commands.project.deploy.errors.deployWarningsHeader);
|
|
32
|
-
uiLogger.log('');
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
uiLogger.error(commands.project.deploy.errors.deployBlockedHeader);
|
|
36
|
-
uiLogger.log('');
|
|
37
|
-
}
|
|
38
|
-
deployResp.issues.forEach(issue => {
|
|
39
|
-
if (issue.blockingMessages.length > 0) {
|
|
40
|
-
issue.blockingMessages.forEach(message => {
|
|
41
|
-
uiLogger.log(commands.project.deploy.errors.deployIssueComponentWarning(issue.uid, issue.componentTypeName, message.message));
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
uiLogger.log(commands.project.deploy.errors.deployIssueComponentGeneric(issue.uid, issue.componentTypeName));
|
|
46
|
-
}
|
|
47
|
-
uiLogger.log('');
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
export async function handleProjectDeploy(targetAccountId, projectName, buildId, isV2Project, force) {
|
|
51
|
-
let deployId;
|
|
52
|
-
if (isV2Project) {
|
|
53
|
-
const { data: deployResp } = await deployProjectV2(targetAccountId, projectName, buildId, force);
|
|
54
|
-
if (!deployResp || deployResp.buildResultType !== 'DEPLOY_QUEUED') {
|
|
55
|
-
if (deployResp?.buildResultType === 'DEPLOY_BLOCKED') {
|
|
56
|
-
handleBlockedDeploy(deployResp);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
uiLogger.error(commands.project.deploy.errors.deploy);
|
|
60
|
-
}
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
deployId = deployResp.id;
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
const response = await deployProjectV1(targetAccountId, projectName, buildId, force);
|
|
67
|
-
const { data: deployResp } = response;
|
|
68
|
-
if (!deployResp) {
|
|
69
|
-
uiLogger.error(commands.project.deploy.errors.deploy);
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
deployId = deployResp.id;
|
|
73
|
-
}
|
|
74
|
-
const deployResult = await pollDeployStatus(targetAccountId, projectName, Number(deployId), buildId);
|
|
75
|
-
return deployResult;
|
|
76
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Project } from '@hubspot/local-dev-lib/types/Project';
|
|
2
|
-
export declare function ensureProjectExists(accountId: number, projectName: string, { forceCreate, allowCreate, noLogs, withPolling, uploadCommand, }?: {
|
|
3
|
-
forceCreate?: boolean | undefined;
|
|
4
|
-
allowCreate?: boolean | undefined;
|
|
5
|
-
noLogs?: boolean | undefined;
|
|
6
|
-
withPolling?: boolean | undefined;
|
|
7
|
-
uploadCommand?: boolean | undefined;
|
|
8
|
-
}): Promise<{
|
|
9
|
-
projectExists: boolean;
|
|
10
|
-
project?: Project;
|
|
11
|
-
}>;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { createProject, fetchProject, } from '@hubspot/local-dev-lib/api/projects';
|
|
2
|
-
import { isSpecifiedError } from '@hubspot/local-dev-lib/errors/index';
|
|
3
|
-
import { DEFAULT_POLLING_DELAY } from '../constants.js';
|
|
4
|
-
import { promptUser } from '../prompts/promptUtils.js';
|
|
5
|
-
import { uiAccountDescription } from '../ui/index.js';
|
|
6
|
-
import SpinniesManager from '../ui/SpinniesManager.js';
|
|
7
|
-
import { logError, ApiErrorContext } from '../errorHandlers/index.js';
|
|
8
|
-
import { lib } from '../../lang/en.js';
|
|
9
|
-
import { uiLogger } from '../ui/logger.js';
|
|
10
|
-
async function pollFetchProject(accountId, projectName) {
|
|
11
|
-
// Temporary solution for gating slowness. Retry on 403 statusCode
|
|
12
|
-
return new Promise((resolve, reject) => {
|
|
13
|
-
let pollCount = 0;
|
|
14
|
-
SpinniesManager.add('pollFetchProject', {
|
|
15
|
-
text: lib.projects.pollFetchProject.checkingProject(uiAccountDescription(accountId)),
|
|
16
|
-
});
|
|
17
|
-
const pollInterval = setInterval(async () => {
|
|
18
|
-
try {
|
|
19
|
-
const response = await fetchProject(accountId, projectName);
|
|
20
|
-
if (response && response.data) {
|
|
21
|
-
SpinniesManager.remove('pollFetchProject');
|
|
22
|
-
clearInterval(pollInterval);
|
|
23
|
-
resolve(response);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
catch (err) {
|
|
27
|
-
if (isSpecifiedError(err, {
|
|
28
|
-
statusCode: 403,
|
|
29
|
-
category: 'GATED',
|
|
30
|
-
subCategory: 'BuildPipelineErrorType.PORTAL_GATED',
|
|
31
|
-
}) &&
|
|
32
|
-
pollCount < 15) {
|
|
33
|
-
pollCount += 1;
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
SpinniesManager.remove('pollFetchProject');
|
|
37
|
-
clearInterval(pollInterval);
|
|
38
|
-
reject(err);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}, DEFAULT_POLLING_DELAY);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
export async function ensureProjectExists(accountId, projectName, { forceCreate = false, allowCreate = true, noLogs = false, withPolling = false, uploadCommand = false, } = {}) {
|
|
45
|
-
const accountIdentifier = uiAccountDescription(accountId);
|
|
46
|
-
try {
|
|
47
|
-
const { data: project } = withPolling
|
|
48
|
-
? await pollFetchProject(accountId, projectName)
|
|
49
|
-
: await fetchProject(accountId, projectName);
|
|
50
|
-
return { projectExists: !!project, project };
|
|
51
|
-
}
|
|
52
|
-
catch (err) {
|
|
53
|
-
if (isSpecifiedError(err, { statusCode: 404 })) {
|
|
54
|
-
let shouldCreateProject = forceCreate;
|
|
55
|
-
if (allowCreate && !shouldCreateProject) {
|
|
56
|
-
const promptLangFunction = uploadCommand
|
|
57
|
-
? lib.projects.ensureProjectExists.createPromptUpload
|
|
58
|
-
: lib.projects.ensureProjectExists.createPrompt;
|
|
59
|
-
const promptResult = await promptUser([
|
|
60
|
-
{
|
|
61
|
-
name: 'shouldCreateProject',
|
|
62
|
-
message: promptLangFunction(projectName, accountIdentifier),
|
|
63
|
-
type: 'confirm',
|
|
64
|
-
},
|
|
65
|
-
]);
|
|
66
|
-
shouldCreateProject = promptResult.shouldCreateProject;
|
|
67
|
-
}
|
|
68
|
-
if (shouldCreateProject) {
|
|
69
|
-
try {
|
|
70
|
-
const { data: project } = await createProject(accountId, projectName);
|
|
71
|
-
uiLogger.success(lib.projects.ensureProjectExists.createSuccess(projectName, accountIdentifier));
|
|
72
|
-
return { projectExists: true, project };
|
|
73
|
-
}
|
|
74
|
-
catch (err) {
|
|
75
|
-
logError(err, new ApiErrorContext({ accountId }));
|
|
76
|
-
return { projectExists: false };
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
if (!noLogs) {
|
|
81
|
-
uiLogger.log(lib.projects.ensureProjectExists.notFound(projectName, accountIdentifier));
|
|
82
|
-
}
|
|
83
|
-
return { projectExists: false };
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
logError(err, new ApiErrorContext({ accountId }));
|
|
87
|
-
return { projectExists: false };
|
|
88
|
-
}
|
|
89
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { AppIRNode } from '../../../types/ProjectComponents.js';
|
|
2
|
-
import LocalDevState from './LocalDevState.js';
|
|
3
|
-
import LocalDevLogger from './LocalDevLogger.js';
|
|
4
|
-
type AppDevModeInterfaceConstructorOptions = {
|
|
5
|
-
localDevState: LocalDevState;
|
|
6
|
-
localDevLogger: LocalDevLogger;
|
|
7
|
-
};
|
|
8
|
-
declare class AppDevModeInterface {
|
|
9
|
-
localDevState: LocalDevState;
|
|
10
|
-
localDevLogger: LocalDevLogger;
|
|
11
|
-
_appNode?: AppIRNode | null;
|
|
12
|
-
marketplaceAppInstalls?: number;
|
|
13
|
-
private appInstallResolve?;
|
|
14
|
-
constructor(options: AppDevModeInterfaceConstructorOptions);
|
|
15
|
-
private getAppNodeFromProjectNodes;
|
|
16
|
-
private get appNode();
|
|
17
|
-
private get appData();
|
|
18
|
-
private set appData(value);
|
|
19
|
-
private isStaticAuthApp;
|
|
20
|
-
private isOAuthApp;
|
|
21
|
-
private isAutomaticallyInstallable;
|
|
22
|
-
private getAppInstallUrl;
|
|
23
|
-
private fetchAppData;
|
|
24
|
-
private checkMarketplaceAppInstalls;
|
|
25
|
-
private waitUntilAppIsInstalled;
|
|
26
|
-
private autoInstallStaticAuthApp;
|
|
27
|
-
private installAppOrOpenInstallUrl;
|
|
28
|
-
private checkTestAccountAppInstallation;
|
|
29
|
-
private validateOauthAppRedirectUrl;
|
|
30
|
-
private resolveAppInstallPromise;
|
|
31
|
-
private handleAppInstallSuccessDevServerMessage;
|
|
32
|
-
private handleAppInstallInitiatedDevServerMessage;
|
|
33
|
-
private handleAppInstallFailureDevServerMessage;
|
|
34
|
-
private onDevServerMessage;
|
|
35
|
-
private onChangeProjectNodes;
|
|
36
|
-
private removeStateListeners;
|
|
37
|
-
setup(): Promise<void>;
|
|
38
|
-
start(): Promise<void>;
|
|
39
|
-
cleanup(): Promise<void>;
|
|
40
|
-
}
|
|
41
|
-
export default AppDevModeInterface;
|