@stack-spot/portal-network 0.230.0 → 0.232.0
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/CHANGELOG.md +14 -0
- package/dist/api/account.d.ts +294 -677
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +274 -466
- package/dist/api/account.js.map +1 -1
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +180 -180
- package/dist/client/account.js.map +1 -1
- package/dist/client/content.d.ts +11 -0
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +10 -1
- package/dist/client/content.js.map +1 -1
- package/dist/client/workspace-manager.d.ts +12 -0
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +19 -1
- package/dist/client/workspace-manager.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +321 -1006
- package/src/client/account.ts +353 -329
- package/src/client/content.ts +5 -0
- package/src/client/workspace-manager.ts +10 -0
package/src/client/content.ts
CHANGED
|
@@ -82,6 +82,7 @@ import {
|
|
|
82
82
|
listStacks1,
|
|
83
83
|
listStacksByFilters,
|
|
84
84
|
listStacksByFiltersV2,
|
|
85
|
+
listStacksInStudio,
|
|
85
86
|
listStackVersions,
|
|
86
87
|
listStarters,
|
|
87
88
|
listWorkflows,
|
|
@@ -533,6 +534,10 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
533
534
|
* Get list of inputs of a workflow
|
|
534
535
|
*/
|
|
535
536
|
workflowInputs = this.query(getInputs1)
|
|
537
|
+
/**
|
|
538
|
+
* List stacks in studio
|
|
539
|
+
*/
|
|
540
|
+
stacksInStudio = this.query(listStacksInStudio)
|
|
536
541
|
}
|
|
537
542
|
|
|
538
543
|
export const contentClient = new ContentClient()
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
accountApplicationControllergetAccountApplicationsFilters,
|
|
7
7
|
accountSharedInfraControllergetAccountSharedInfraFilters,
|
|
8
8
|
accountSharedInfraControllergetAccountSharedInfraPage,
|
|
9
|
+
accountStackControllerlistStacksByAccountWithWorkflow,
|
|
9
10
|
accountStackControllerlistVersionsWithContext,
|
|
10
11
|
accountVariableControllercreate,
|
|
11
12
|
accountVariableControllerdelete,
|
|
@@ -65,6 +66,7 @@ import {
|
|
|
65
66
|
updateInfrastructureControllerremoveInfraPluginsAndCreatePullRequestBySharedInfra,
|
|
66
67
|
updateInfrastructureControllerupdateInfraPluginsAndCreatePullRequestByApplication,
|
|
67
68
|
updateInfrastructureControllerupdateInfraPluginsAndCreatePullRequestBySharedInfra,
|
|
69
|
+
workflowAccountControllercreateAccountWorkflow,
|
|
68
70
|
workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType,
|
|
69
71
|
workspaceControllerdelete,
|
|
70
72
|
workspaceControllergetWorkspaces,
|
|
@@ -577,6 +579,14 @@ class WorkspaceManagerClient extends ReactQueryNetworkClient {
|
|
|
577
579
|
* Gets available connection interfaces from a workspace
|
|
578
580
|
*/
|
|
579
581
|
availableConnectionInterfaces = this.query(availableConnectionInterfaceControllergetAvailableConnectionInterfaces)
|
|
582
|
+
/**
|
|
583
|
+
* List stacks from account
|
|
584
|
+
*/
|
|
585
|
+
listStacksFromAccount = this.query(accountStackControllerlistStacksByAccountWithWorkflow)
|
|
586
|
+
/**
|
|
587
|
+
* Create workflow in an account
|
|
588
|
+
*/
|
|
589
|
+
createWorkflowAccount = this.mutation(workflowAccountControllercreateAccountWorkflow)
|
|
580
590
|
}
|
|
581
591
|
|
|
582
592
|
export const workspaceManagerClient = new WorkspaceManagerClient()
|