@supernova-studio/client 0.48.17 → 0.48.19

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.js CHANGED
@@ -169,6 +169,9 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
169
169
 
170
170
 
171
171
 
172
+
173
+
174
+
172
175
 
173
176
 
174
177
 
@@ -3992,6 +3995,18 @@ var UserSession = _zod.z.object({
3992
3995
  session: Session,
3993
3996
  user: User.nullable()
3994
3997
  });
3998
+ var EventDataSourceImported = _zod.z.object({
3999
+ type: _zod.z.literal("DataSourceImported"),
4000
+ workspaceId: _zod.z.string(),
4001
+ designSystemId: _zod.z.string()
4002
+ });
4003
+ var EventVersionReleased = _zod.z.object({
4004
+ type: _zod.z.literal("DesignSystemVersionReleased"),
4005
+ workspaceId: _zod.z.string(),
4006
+ designSystemId: _zod.z.string(),
4007
+ versionId: _zod.z.string()
4008
+ });
4009
+ var Event = _zod.z.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
3995
4010
  var ExportJobDocumentationContext = _zod.z.object({
3996
4011
  isSingleVersionDocs: _zod.z.boolean(),
3997
4012
  versionSlug: _zod.z.string(),