@stack-spot/portal-network 0.31.0 → 0.32.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 +7 -0
- package/dist/api/content.d.ts +360 -209
- package/dist/api/content.d.ts.map +1 -1
- package/dist/api/content.js +102 -57
- package/dist/api/content.js.map +1 -1
- package/dist/client/content.d.ts +17 -15
- 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/package.json +1 -1
- package/src/api/content.ts +555 -282
- package/src/client/content.ts +16 -1
package/src/client/content.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { HttpError } from '@oazapfts/runtime'
|
|
2
|
-
import { addAction, addLink, addWorkspace, associateActionToPlugin, changeVisibility, createStudio, defaults,
|
|
2
|
+
import { addAction, addLink, addWorkspace, associateActionToPlugin, changeVisibility, createStudio, defaults,
|
|
3
|
+
deleteAction, deleteActionVersion, deleteLink, deletePluginVersion, deleteStudio, deleteV1StacksVersionsByStackVersionId,
|
|
4
|
+
delWorkspace, deprecateActionVersion, deprecatePluginVersion, deprecateStackVersionBy, downloadAction, getActionBySlug,
|
|
5
|
+
getActionsVersions, getActionVersionById, getAllActionVersions, getApplicationDetailsView, getApplicationsUsesPlugin,
|
|
6
|
+
getAvailableActionVersionsByActionSlug, getDependentPluginsVersions, getGetPluginView, getInfrastructureEnvironmentsUsesPlugin,
|
|
7
|
+
getListOfInputs, getPluginInfrastructureView, getPluginModalView, getPluginVersions, getPluginVersionsNotInUse,
|
|
8
|
+
getPluginVersionUsageSummary, getStackUsesPlugin, getStackVersionById, getStackVersionListByIds, getStackWorkspaceDetailView,
|
|
9
|
+
getStackWorkspaces, getStarterStackVersionsAndPluginsVersions, getStarterUsesPlugin, getStudioByIdOrSlug, getStudios1,
|
|
10
|
+
getStudiosToCreateButton, getStudioTabs, getUnusedStackVersions, getWorkflowByStudioSlug, listActions, listActions1,
|
|
11
|
+
listActionsByFilters1, listConnectionInterfaceTypes, listLinksByStackVersion, listPlugins, listPluginVersionByIdsController,
|
|
12
|
+
listReasons, listStacksByFilters, listStarters, listWorkspaces, patchStarterV2, removeActionFromPlugin, stackModalViewSummary,
|
|
13
|
+
stackVersionUsageSummary, updateStudio, updateStudioTabs } from '../api/content'
|
|
3
14
|
import apis from '../apis.json'
|
|
4
15
|
import { DefaultAPIError } from '../error/DefaultAPIError'
|
|
5
16
|
import { cntDictionary } from '../error/dictionary/cnt'
|
|
@@ -88,6 +99,10 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
88
99
|
* Gets stacks from a given studio
|
|
89
100
|
*/
|
|
90
101
|
stacksFromStudios = this.query(listStacksByFilters)
|
|
102
|
+
/**
|
|
103
|
+
* Gets workflows from a given studio
|
|
104
|
+
*/
|
|
105
|
+
workflowsFromStudio = this.query(getWorkflowByStudioSlug)
|
|
91
106
|
/**
|
|
92
107
|
* Gets usage summary of stack
|
|
93
108
|
*/
|