@stack-spot/portal-network 0.28.0-beta → 0.29.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 +12 -0
- package/dist/api/workspace.d.ts +216 -320
- package/dist/api/workspace.d.ts.map +1 -1
- package/dist/api/workspace.js +184 -255
- package/dist/api/workspace.js.map +1 -1
- package/dist/client/content.d.ts +130 -16
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +142 -16
- package/dist/client/content.js.map +1 -1
- package/dist/client/workspace.d.ts +24 -62
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/client/workspace.js +81 -118
- package/dist/client/workspace.js.map +1 -1
- package/package.json +1 -1
- package/src/api/workspace.ts +288 -497
- package/src/client/content.ts +73 -28
- package/src/client/workspace.ts +145 -177
package/dist/client/content.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { addLink, addWorkspace, changeVisibility, createStudio, defaults, deleteLink, deleteStudio, delWorkspace,
|
|
1
|
+
import { addAction, addLink, addWorkspace, associateActionToPlugin, changeVisibility, createStudio, defaults, deleteAction, deleteActionVersion, deleteLink, deletePluginVersion, deleteStudio, deleteV1StacksVersionsByStackVersionId, delWorkspace, deprecateActionVersion, deprecatePluginVersion, deprecateStackVersionBy, downloadAction, getActionBySlug, getActionsVersions, getActionVersionById, getAllActionVersions, getApplicationDetailsView, getApplicationsUsesPlugin, getAvailableActionVersionsByActionSlug, getDependentPluginsVersions, getGetPluginView, getInfrastructureEnvironmentsUsesPlugin, getListOfInputs, getPluginInfrastructureView, getPluginModalView, getPluginVersions, getPluginVersionsNotInUse, getPluginVersionUsageSummary, getStackUsesPlugin, getStackVersionListByIds, getStackWorkspaceDetailView, getStackWorkspaces, getStarterStackVersionsAndPluginsVersions, getStarterUsesPlugin, getStudioByIdOrSlug, getStudios1, getStudiosToCreateButton, getStudioTabs, getUnusedStackVersions, listActions, listActions1, listActionsByFilters1, listConnectionInterfaceTypes, listLinksByStackVersion, listPlugins, listPluginVersionByIdsController, listReasons, listStacksByFilters, listStarters, listWorkspaces, patchStarterV2, removeActionFromPlugin, stackModalViewSummary, stackVersionUsageSummary, updateStudio, updateStudioTabs } from '../api/content.js';
|
|
2
2
|
import apis from '../apis.json';
|
|
3
3
|
import { DefaultAPIError } from '../error/DefaultAPIError.js';
|
|
4
4
|
import { cntDictionary } from '../error/dictionary/cnt.js';
|
|
@@ -170,7 +170,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
170
170
|
value: this.query(listStacksByFilters)
|
|
171
171
|
});
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
173
|
+
* Gets usage summary of stack
|
|
174
174
|
*/
|
|
175
175
|
Object.defineProperty(this, "stackUsageSummary", {
|
|
176
176
|
enumerable: true,
|
|
@@ -179,7 +179,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
179
179
|
value: this.query(stackModalViewSummary)
|
|
180
180
|
});
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
182
|
+
* Gets list of Workspaces using the Stack
|
|
183
183
|
*/
|
|
184
184
|
Object.defineProperty(this, "workspacesUsingStack", {
|
|
185
185
|
enumerable: true,
|
|
@@ -188,7 +188,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
188
188
|
value: this.query(getStackWorkspaces)
|
|
189
189
|
});
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* Gets list StackVersions used by Workspace
|
|
192
192
|
*/
|
|
193
193
|
Object.defineProperty(this, "stackVersionsUsedByWorkspace", {
|
|
194
194
|
enumerable: true,
|
|
@@ -197,7 +197,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
197
197
|
value: this.query(getStackWorkspaceDetailView)
|
|
198
198
|
});
|
|
199
199
|
/**
|
|
200
|
-
*
|
|
200
|
+
* Gets list of StackVersions not used by any Content
|
|
201
201
|
*/
|
|
202
202
|
Object.defineProperty(this, "stackVersionsNotInUse", {
|
|
203
203
|
enumerable: true,
|
|
@@ -215,7 +215,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
215
215
|
value: this.query(getPluginModalView)
|
|
216
216
|
});
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Gets list of Stacks using the plugin
|
|
219
219
|
*/
|
|
220
220
|
Object.defineProperty(this, "stacksUsingPlugin", {
|
|
221
221
|
enumerable: true,
|
|
@@ -224,7 +224,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
224
224
|
value: this.query(getStackUsesPlugin)
|
|
225
225
|
});
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* Gets list of PluginVersions used by Stack
|
|
228
228
|
*/
|
|
229
229
|
Object.defineProperty(this, "pluginVersionsUsedByStack", {
|
|
230
230
|
enumerable: true,
|
|
@@ -233,7 +233,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
233
233
|
value: this.query(getPluginVersions)
|
|
234
234
|
});
|
|
235
235
|
/**
|
|
236
|
-
*
|
|
236
|
+
* Gets list of Plugin that requires the plugin
|
|
237
237
|
*/
|
|
238
238
|
Object.defineProperty(this, "pluginsRequiresPlugin", {
|
|
239
239
|
enumerable: true,
|
|
@@ -242,7 +242,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
242
242
|
value: this.query(getGetPluginView)
|
|
243
243
|
});
|
|
244
244
|
/**
|
|
245
|
-
*
|
|
245
|
+
* Gets list of PluginVersions used by Plugin
|
|
246
246
|
*/
|
|
247
247
|
Object.defineProperty(this, "pluginVersionsUsedByPlugin", {
|
|
248
248
|
enumerable: true,
|
|
@@ -251,7 +251,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
251
251
|
value: this.query(getDependentPluginsVersions)
|
|
252
252
|
});
|
|
253
253
|
/**
|
|
254
|
-
*
|
|
254
|
+
* Gets list of Starter using the plugin
|
|
255
255
|
*/
|
|
256
256
|
Object.defineProperty(this, "starterUsingPlugin", {
|
|
257
257
|
enumerable: true,
|
|
@@ -260,7 +260,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
260
260
|
value: this.query(getStarterUsesPlugin)
|
|
261
261
|
});
|
|
262
262
|
/**
|
|
263
|
-
*
|
|
263
|
+
* Gets list of PluginVersions used by Starter
|
|
264
264
|
*/
|
|
265
265
|
Object.defineProperty(this, "pluginVersionsUsedByStarter", {
|
|
266
266
|
enumerable: true,
|
|
@@ -269,7 +269,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
269
269
|
value: this.query(getStarterStackVersionsAndPluginsVersions)
|
|
270
270
|
});
|
|
271
271
|
/**
|
|
272
|
-
*
|
|
272
|
+
* Gets list of Infrastructure using the plugin
|
|
273
273
|
*/
|
|
274
274
|
Object.defineProperty(this, "infrastructureUsingPlugin", {
|
|
275
275
|
enumerable: true,
|
|
@@ -278,7 +278,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
278
278
|
value: this.query(getPluginInfrastructureView)
|
|
279
279
|
});
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* Gets list of PluginVersions used by Infrastructure
|
|
282
282
|
*/
|
|
283
283
|
Object.defineProperty(this, "pluginVersionsUsedByInfrastructure", {
|
|
284
284
|
enumerable: true,
|
|
@@ -287,7 +287,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
287
287
|
value: this.query(getInfrastructureEnvironmentsUsesPlugin)
|
|
288
288
|
});
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* Gets list of Application using the plugin
|
|
291
291
|
*/
|
|
292
292
|
Object.defineProperty(this, "applicationUsingPlugin", {
|
|
293
293
|
enumerable: true,
|
|
@@ -296,7 +296,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
296
296
|
value: this.query(getApplicationsUsesPlugin)
|
|
297
297
|
});
|
|
298
298
|
/**
|
|
299
|
-
*
|
|
299
|
+
* Gets list of PluginVersions used by Applications
|
|
300
300
|
*/
|
|
301
301
|
Object.defineProperty(this, "pluginVersionsUsedByApplication", {
|
|
302
302
|
enumerable: true,
|
|
@@ -305,7 +305,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
305
305
|
value: this.query(getApplicationDetailsView)
|
|
306
306
|
});
|
|
307
307
|
/**
|
|
308
|
-
*
|
|
308
|
+
* Gets list of PluginVersions not used by any Content
|
|
309
309
|
*/
|
|
310
310
|
Object.defineProperty(this, "pluginVersionsNotInUse", {
|
|
311
311
|
enumerable: true,
|
|
@@ -368,6 +368,132 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
368
368
|
value: this.mutation(deletePluginVersion)
|
|
369
369
|
});
|
|
370
370
|
/**
|
|
371
|
+
* Gets Action by Slug and Studio
|
|
372
|
+
*/
|
|
373
|
+
Object.defineProperty(this, "action", {
|
|
374
|
+
enumerable: true,
|
|
375
|
+
configurable: true,
|
|
376
|
+
writable: true,
|
|
377
|
+
value: this.query(getActionBySlug)
|
|
378
|
+
});
|
|
379
|
+
/**
|
|
380
|
+
* Gets all Versions of Action
|
|
381
|
+
*/
|
|
382
|
+
Object.defineProperty(this, "actionVersions", {
|
|
383
|
+
enumerable: true,
|
|
384
|
+
configurable: true,
|
|
385
|
+
writable: true,
|
|
386
|
+
value: this.query(getAllActionVersions)
|
|
387
|
+
});
|
|
388
|
+
/**
|
|
389
|
+
* Gets Action by Action Version Id
|
|
390
|
+
*/
|
|
391
|
+
Object.defineProperty(this, "actionByActionVersionId", {
|
|
392
|
+
enumerable: true,
|
|
393
|
+
configurable: true,
|
|
394
|
+
writable: true,
|
|
395
|
+
value: this.query(getActionVersionById)
|
|
396
|
+
});
|
|
397
|
+
/**
|
|
398
|
+
* Gets list of Actions
|
|
399
|
+
*/
|
|
400
|
+
Object.defineProperty(this, "actions", {
|
|
401
|
+
enumerable: true,
|
|
402
|
+
configurable: true,
|
|
403
|
+
writable: true,
|
|
404
|
+
value: this.query(listActions1)
|
|
405
|
+
});
|
|
406
|
+
/**
|
|
407
|
+
* Get list of Actions in Stack
|
|
408
|
+
*/
|
|
409
|
+
Object.defineProperty(this, "actionsInStack", {
|
|
410
|
+
enumerable: true,
|
|
411
|
+
configurable: true,
|
|
412
|
+
writable: true,
|
|
413
|
+
value: this.query(listActions)
|
|
414
|
+
});
|
|
415
|
+
/**
|
|
416
|
+
* Add Action to Stack Version
|
|
417
|
+
*/
|
|
418
|
+
Object.defineProperty(this, "addActionsToStackVersion", {
|
|
419
|
+
enumerable: true,
|
|
420
|
+
configurable: true,
|
|
421
|
+
writable: true,
|
|
422
|
+
value: this.mutation(addAction)
|
|
423
|
+
});
|
|
424
|
+
/**
|
|
425
|
+
* Add Action to Plugin Version
|
|
426
|
+
*/
|
|
427
|
+
Object.defineProperty(this, "addActionsToPluginVersion", {
|
|
428
|
+
enumerable: true,
|
|
429
|
+
configurable: true,
|
|
430
|
+
writable: true,
|
|
431
|
+
value: this.mutation(associateActionToPlugin)
|
|
432
|
+
});
|
|
433
|
+
/**
|
|
434
|
+
* Remove Action Version from Stack
|
|
435
|
+
*/
|
|
436
|
+
Object.defineProperty(this, "removeActionVersionFromStack", {
|
|
437
|
+
enumerable: true,
|
|
438
|
+
configurable: true,
|
|
439
|
+
writable: true,
|
|
440
|
+
value: this.mutation(deleteAction)
|
|
441
|
+
});
|
|
442
|
+
/**
|
|
443
|
+
* Remove Action Version from Plugin
|
|
444
|
+
*/
|
|
445
|
+
Object.defineProperty(this, "removeActionVersionFromPlugin", {
|
|
446
|
+
enumerable: true,
|
|
447
|
+
configurable: true,
|
|
448
|
+
writable: true,
|
|
449
|
+
value: this.mutation(removeActionFromPlugin)
|
|
450
|
+
});
|
|
451
|
+
/**
|
|
452
|
+
* Delete Action Version
|
|
453
|
+
*/
|
|
454
|
+
Object.defineProperty(this, "deleteActionVersion", {
|
|
455
|
+
enumerable: true,
|
|
456
|
+
configurable: true,
|
|
457
|
+
writable: true,
|
|
458
|
+
value: this.mutation(deleteActionVersion)
|
|
459
|
+
});
|
|
460
|
+
/**
|
|
461
|
+
* Deprecate Action Version
|
|
462
|
+
*/
|
|
463
|
+
Object.defineProperty(this, "deprecateActionVersion", {
|
|
464
|
+
enumerable: true,
|
|
465
|
+
configurable: true,
|
|
466
|
+
writable: true,
|
|
467
|
+
value: this.mutation(deprecateActionVersion)
|
|
468
|
+
});
|
|
469
|
+
/**
|
|
470
|
+
* Download Action Version
|
|
471
|
+
*/
|
|
472
|
+
Object.defineProperty(this, "downloadActionVersion", {
|
|
473
|
+
enumerable: true,
|
|
474
|
+
configurable: true,
|
|
475
|
+
writable: true,
|
|
476
|
+
value: this.query(downloadAction)
|
|
477
|
+
});
|
|
478
|
+
/**
|
|
479
|
+
* Get Action Version range by Action Slug
|
|
480
|
+
*/
|
|
481
|
+
Object.defineProperty(this, "actionVersionRange", {
|
|
482
|
+
enumerable: true,
|
|
483
|
+
configurable: true,
|
|
484
|
+
writable: true,
|
|
485
|
+
value: this.mutation(getAvailableActionVersionsByActionSlug)
|
|
486
|
+
});
|
|
487
|
+
/**
|
|
488
|
+
* Get Actions from Stack
|
|
489
|
+
*/
|
|
490
|
+
Object.defineProperty(this, "actionsFromStack", {
|
|
491
|
+
enumerable: true,
|
|
492
|
+
configurable: true,
|
|
493
|
+
writable: true,
|
|
494
|
+
value: this.query(listActionsByFilters1)
|
|
495
|
+
});
|
|
496
|
+
/*
|
|
371
497
|
* Update starter
|
|
372
498
|
*/
|
|
373
499
|
Object.defineProperty(this, "updateStarter", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/client/content.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/client/content.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,mBAAmB,EAAE,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAE,sCAAsC,EAAE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CAAC,sBAAsB,CAAC;WAAA;QAC9D;;WAEG;QACH;;;;mBAAwB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC;WAAA;QAClD;;WAEG;QACH;;;;mBAAqB,IAAI,CAAC,QAAQ,CAAC,sCAAsC,CAAC;WAAA;QAC1E;;WAEG;QACH;;;;mBAAmB,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC;WAAA;QACpD;;WAEG;QACH;;;;mBAAgB,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;WAAA;QAC7C;;WAEG;QACH;;;;mBAA2B,IAAI,CAAC,KAAK,CAAC,4BAA4B,CAAC;WAAA;QACnE;;WAEG;QACH;;;;mBAAsB,IAAI,CAAC,KAAK,CAAC,gCAAgC,CAAC;WAAA;QAClE;;WAEG;QACH;;;;mBAAuB,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;WAAA;QAC9C;;WAEG;QACH;;;;mBAAe,IAAI,CAAC,KAAK,CAAC,eAAe,CACe;WAAA;QACxD;;WAEG;QACH;;;;mBAAkB,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC;WAAA;QAChD;;WAEG;QACH;;;;mBAAyB,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC;WAAA;IAzPjD,CAAC;IAES,mBAAmB,CAAC,KAAgB;QAC5C,OAAO,IAAI,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;IACpF,CAAC;CAsPF;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,aAAa,EAAE,CAAA"}
|
|
@@ -315,78 +315,40 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
|
|
|
315
315
|
workflowId: string;
|
|
316
316
|
}, unknown>;
|
|
317
317
|
/**
|
|
318
|
-
*
|
|
318
|
+
* Gets all workspace variables
|
|
319
319
|
*/
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
size?: number | undefined;
|
|
325
|
-
sortBy?: "NAME" | "VALUE" | "CREATED_AT" | undefined;
|
|
326
|
-
sortDir?: "ASC" | "DESC" | undefined;
|
|
327
|
-
}, import("../api/workspace.js").PaginatedAccountVariableResponse>;
|
|
328
|
-
/**
|
|
329
|
-
* Get an account variable by name
|
|
330
|
-
*/
|
|
331
|
-
getAccountVariable: import("../network/types.js").QueryObject<{
|
|
332
|
-
accountId?: string | undefined;
|
|
333
|
-
name: string;
|
|
334
|
-
}, import("../api/workspace.js").AccountVariableResponse>;
|
|
335
|
-
/**
|
|
336
|
-
* Get account variable usage
|
|
337
|
-
*/
|
|
338
|
-
accountVariableUsage: import("../network/types.js").QueryObject<{
|
|
339
|
-
accountId?: string | undefined;
|
|
340
|
-
name: string;
|
|
341
|
-
}, import("../api/workspace.js").AccountVariableUsageResponse>;
|
|
342
|
-
/**
|
|
343
|
-
* Create account variable
|
|
344
|
-
*/
|
|
345
|
-
createAccountVariable: import("../network/types.js").MutationObject<{
|
|
346
|
-
createAccountVariableRequest: import("../api/workspace.js").CreateAccountVariableRequest;
|
|
347
|
-
}, unknown>;
|
|
348
|
-
/**
|
|
349
|
-
* Update account variable
|
|
350
|
-
*/
|
|
351
|
-
updateAccountVariable: import("../network/types.js").MutationObject<{
|
|
352
|
-
name: string;
|
|
353
|
-
updateAccountVariableRequest: import("../api/workspace.js").UpdateAccountVariableRequest;
|
|
354
|
-
}, unknown>;
|
|
320
|
+
variables: import("../network/types.js").QueryObject<{
|
|
321
|
+
workspaceId: string;
|
|
322
|
+
filter?: string | undefined;
|
|
323
|
+
}, import("../api/workspace.js").WorkspaceVariableReadResponse[]>;
|
|
355
324
|
/**
|
|
356
|
-
*
|
|
325
|
+
* Creates a workspace variable
|
|
357
326
|
*/
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
327
|
+
createVariable: import("../network/types.js").MutationObject<{
|
|
328
|
+
workspaceId: string;
|
|
329
|
+
newWorkspaceVariableRequest: import("../api/workspace.js").NewWorkspaceVariableRequest;
|
|
330
|
+
}, import("../api/workspace.js").WorkspaceVariableReadResponse>;
|
|
361
331
|
/**
|
|
362
|
-
*
|
|
332
|
+
* Gets a variable by name
|
|
363
333
|
*/
|
|
364
|
-
|
|
334
|
+
variable: import("../network/types.js").QueryObject<{
|
|
365
335
|
workspaceId: string;
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
size?: number | undefined;
|
|
369
|
-
sortBy?: "NAME" | "VALUE" | "CREATED_AT" | undefined;
|
|
370
|
-
sortDir?: "ASC" | "DESC" | undefined;
|
|
371
|
-
mandate?: boolean | undefined;
|
|
372
|
-
name?: string | undefined;
|
|
373
|
-
showEmptyValues?: boolean | undefined;
|
|
374
|
-
}, import("../api/workspace.js").PaginatedWorkspaceVariableResponse>;
|
|
336
|
+
name: string;
|
|
337
|
+
}, import("../api/workspace.js").WorkspaceVariableReadResponse>;
|
|
375
338
|
/**
|
|
376
|
-
*
|
|
339
|
+
* Updates a workspace variable
|
|
377
340
|
*/
|
|
378
|
-
|
|
379
|
-
accountId?: string | undefined;
|
|
341
|
+
updateVariable: import("../network/types.js").MutationObject<{
|
|
380
342
|
workspaceId: string;
|
|
381
343
|
name: string;
|
|
382
|
-
|
|
344
|
+
updateWorkspaceVariableRequest: import("../api/workspace.js").UpdateWorkspaceVariableRequest;
|
|
345
|
+
}, import("../api/workspace.js").WorkspaceVariableReadResponse>;
|
|
383
346
|
/**
|
|
384
|
-
*
|
|
347
|
+
* Deletes a workspace variable
|
|
385
348
|
*/
|
|
386
|
-
|
|
349
|
+
deleteVariable: import("../network/types.js").MutationObject<{
|
|
387
350
|
workspaceId: string;
|
|
388
351
|
name: string;
|
|
389
|
-
upsertWorkspaceVariableRequest: import("../api/workspace.js").UpsertWorkspaceVariableRequest;
|
|
390
352
|
}, unknown>;
|
|
391
353
|
/**
|
|
392
354
|
* Gets shared infra links
|
|
@@ -484,8 +446,8 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
|
|
|
484
446
|
updateSharedInfraLinkRequest: import("../api/workspace.js").UpdateSharedInfraLinkRequest;
|
|
485
447
|
}, import("../api/workspace.js").IdResponse>;
|
|
486
448
|
/**
|
|
487
|
-
|
|
488
|
-
|
|
449
|
+
* Updates infra links visibility
|
|
450
|
+
*/
|
|
489
451
|
updateLinkVisibilityInInfra: import("../network/types.js").MutationObject<{
|
|
490
452
|
workspaceId: string;
|
|
491
453
|
sharedInfraId: string;
|
|
@@ -527,8 +489,8 @@ declare class WorkspaceClient extends ReactQueryNetworkClient {
|
|
|
527
489
|
addTypedContextRequest: import("../api/workspace.js").AddTypedContextRequest;
|
|
528
490
|
}>;
|
|
529
491
|
/**
|
|
530
|
-
|
|
531
|
-
|
|
492
|
+
* Save workspace context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
|
|
493
|
+
*/
|
|
532
494
|
saveContextInAccount: OperationObject<{
|
|
533
495
|
stackVersionId: string;
|
|
534
496
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../src/client/workspace.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../src/client/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAkE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,cAAM,eAAgB,SAAQ,uBAAuB;;IAKnD,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIlE;;OAEG;IACH,uBAAuB;;;wEAAsC;IAE7D;;OAEG;IACH,mBAAmB;;;;sEAAqC;IACxD;;OAEG;IACH,qCAAqC;;;;;wEAA2D;IAChG;;OAEG;IACH,i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