@supernova-studio/client 1.52.4 → 1.53.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/dist/index.d.mts +70 -24
- package/dist/index.d.ts +70 -24
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7693,7 +7693,11 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
|
7693
7693
|
docViewUrl: true,
|
|
7694
7694
|
accessMode: true
|
|
7695
7695
|
}).extend({
|
|
7696
|
-
meta: ObjectMeta.partial().optional()
|
|
7696
|
+
meta: ObjectMeta.partial().optional(),
|
|
7697
|
+
/**
|
|
7698
|
+
* @deprecated Use the `designSystems.updateSwitcher` endpoint instead
|
|
7699
|
+
*/
|
|
7700
|
+
designSystemSwitcher: DesignSystemSwitcher.optional()
|
|
7697
7701
|
});
|
|
7698
7702
|
var DTODesignSystemUpdateAccessModeInput = z255.object({
|
|
7699
7703
|
accessMode: DesignSystemAccessMode,
|
|
@@ -7702,6 +7706,9 @@ var DTODesignSystemUpdateAccessModeInput = z255.object({
|
|
|
7702
7706
|
inviteIds: z255.string().array()
|
|
7703
7707
|
}).optional()
|
|
7704
7708
|
});
|
|
7709
|
+
var DTODesignSystemUpdateSwitcherInput = z255.object({
|
|
7710
|
+
designSystemSwitcher: DesignSystemSwitcher
|
|
7711
|
+
});
|
|
7705
7712
|
|
|
7706
7713
|
// src/api/payloads/design-systems/version.ts
|
|
7707
7714
|
import { z as z256 } from "zod";
|
|
@@ -12343,6 +12350,12 @@ var DesignSystemsEndpoint = class {
|
|
|
12343
12350
|
body
|
|
12344
12351
|
});
|
|
12345
12352
|
}
|
|
12353
|
+
updateSwitcher(dsId, body) {
|
|
12354
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/switcher`, DTODesignSystemResponse, {
|
|
12355
|
+
method: "PUT",
|
|
12356
|
+
body
|
|
12357
|
+
});
|
|
12358
|
+
}
|
|
12346
12359
|
updateAccessMode(dsId, body) {
|
|
12347
12360
|
return this.requestExecutor.json(`/design-systems/${dsId}/access-mode`, DTODesignSystemResponse, {
|
|
12348
12361
|
method: "PUT",
|
|
@@ -19997,6 +20010,7 @@ export {
|
|
|
19997
20010
|
DTODesignSystemRole,
|
|
19998
20011
|
DTODesignSystemUpdateAccessModeInput,
|
|
19999
20012
|
DTODesignSystemUpdateInput,
|
|
20013
|
+
DTODesignSystemUpdateSwitcherInput,
|
|
20000
20014
|
DTODesignSystemVersion,
|
|
20001
20015
|
DTODesignSystemVersionCreationResponse,
|
|
20002
20016
|
DTODesignSystemVersionGetResponse,
|