@stack-spot/portal-network 0.80.1 → 0.81.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 +186 -150
- package/dist/api/content.d.ts.map +1 -1
- package/dist/api/content.js +65 -25
- package/dist/api/content.js.map +1 -1
- package/dist/client/content.d.ts +29 -1
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +20 -2
- package/dist/client/content.js.map +1 -1
- package/package.json +1 -1
- package/src/api/content.ts +308 -202
- package/src/client/content.ts +13 -1
package/src/client/content.ts
CHANGED
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
getGetPluginView,
|
|
32
32
|
getInfrastructureEnvironmentsUsesPlugin,
|
|
33
33
|
getListOfInputs,
|
|
34
|
+
getPlugin,
|
|
34
35
|
getPluginInfrastructureView,
|
|
35
36
|
getPluginModalView,
|
|
36
37
|
getPluginVersions,
|
|
@@ -61,6 +62,7 @@ import {
|
|
|
61
62
|
listLinksByStackVersion,
|
|
62
63
|
listMostUsedStackVersions,
|
|
63
64
|
listPlugins,
|
|
65
|
+
listPlugins1,
|
|
64
66
|
listPluginVersionByIdsController,
|
|
65
67
|
listReasons,
|
|
66
68
|
listStacks,
|
|
@@ -388,7 +390,7 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
388
390
|
/**
|
|
389
391
|
* Gets plugins from a stack version
|
|
390
392
|
*/
|
|
391
|
-
listPluginsFromStack = this.query(
|
|
393
|
+
listPluginsFromStack = this.query(listPlugins1)
|
|
392
394
|
/**
|
|
393
395
|
* Gets the inputs of a specific Action. This fn is only used for permission purposes.
|
|
394
396
|
*/
|
|
@@ -422,6 +424,16 @@ class ContentClient extends ReactQueryNetworkClient {
|
|
|
422
424
|
*/
|
|
423
425
|
|
|
424
426
|
listMostUsedStackVersions = this.query(listMostUsedStackVersions)
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* List plugins v2
|
|
430
|
+
*/
|
|
431
|
+
pluginsV2 = this.infiniteQuery(listPlugins, { accumulator: 'content', initialPageParam: 0 })
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Get plugin
|
|
435
|
+
*/
|
|
436
|
+
plugin = this.query(getPlugin)
|
|
425
437
|
}
|
|
426
438
|
|
|
427
439
|
export const contentClient = new ContentClient()
|