@supernova-studio/client 1.46.4 → 1.46.5
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 +810 -128
- package/dist/index.d.ts +810 -128
- package/dist/index.js +30 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -345,7 +345,10 @@ var FeaturesSummary = z7.object({
|
|
|
345
345
|
analytics: featureLimitedSchema,
|
|
346
346
|
designSystemFileSize: featureLimitedSchema,
|
|
347
347
|
forgeActiveProjects: featureLimitedSchema,
|
|
348
|
-
forgeProjectFileSize: featureLimitedSchema
|
|
348
|
+
forgeProjectFileSize: featureLimitedSchema,
|
|
349
|
+
forgeActiveFeaturesPerProject: featureLimitedSchema,
|
|
350
|
+
forgeActiveDocumentsPerProject: featureLimitedSchema,
|
|
351
|
+
forgePrivateProjects: featureToggleSchema
|
|
349
352
|
});
|
|
350
353
|
var InvoiceSchema = z8.object({
|
|
351
354
|
id: z8.string(),
|
|
@@ -10659,8 +10662,11 @@ var DTOTrailEventType = z338.enum([
|
|
|
10659
10662
|
"IterationBookmarked",
|
|
10660
10663
|
"FeatureCreated",
|
|
10661
10664
|
"FeatureDeleted",
|
|
10665
|
+
"FeatureArchived",
|
|
10662
10666
|
"DocumentCreated",
|
|
10663
10667
|
"DocumentDeleted",
|
|
10668
|
+
"DocumentUpdated",
|
|
10669
|
+
"DocumentCommentSent",
|
|
10664
10670
|
"ProjectCreated",
|
|
10665
10671
|
"ProjectArchived",
|
|
10666
10672
|
"IterationPromoted",
|
|
@@ -10698,6 +10704,10 @@ var DTOTrailEventFeatureDeletedPayload = z338.object({
|
|
|
10698
10704
|
featureId: z338.string().uuid(),
|
|
10699
10705
|
name: z338.string()
|
|
10700
10706
|
});
|
|
10707
|
+
var DTOTrailEventFeatureArchivedPayload = z338.object({
|
|
10708
|
+
featureId: z338.string().uuid(),
|
|
10709
|
+
name: z338.string()
|
|
10710
|
+
});
|
|
10701
10711
|
var DTOTrailEventDocumentCreatedPayload = z338.object({
|
|
10702
10712
|
documentId: z338.string().uuid(),
|
|
10703
10713
|
title: z338.string(),
|
|
@@ -10707,6 +10717,16 @@ var DTOTrailEventDocumentDeletedPayload = z338.object({
|
|
|
10707
10717
|
documentId: z338.string().uuid(),
|
|
10708
10718
|
title: z338.string()
|
|
10709
10719
|
});
|
|
10720
|
+
var DTOTrailEventDocumentUpdatedPayload = z338.object({
|
|
10721
|
+
documentId: z338.string().uuid(),
|
|
10722
|
+
title: z338.string(),
|
|
10723
|
+
sectionId: z338.string().uuid().optional()
|
|
10724
|
+
});
|
|
10725
|
+
var DTOTrailEventDocumentCommentSentPayload = z338.object({
|
|
10726
|
+
documentId: z338.string().uuid(),
|
|
10727
|
+
title: z338.string(),
|
|
10728
|
+
sectionId: z338.string().uuid().optional()
|
|
10729
|
+
});
|
|
10710
10730
|
var DTOTrailEventProjectCreatedPayload = z338.object({
|
|
10711
10731
|
name: z338.string(),
|
|
10712
10732
|
description: z338.string().optional()
|
|
@@ -10727,8 +10747,11 @@ var DTOTrailEventPayload = z338.discriminatedUnion("type", [
|
|
|
10727
10747
|
z338.object({ type: z338.literal("IterationBookmarked"), payload: DTOTrailEventIterationBookmarkedPayload }),
|
|
10728
10748
|
z338.object({ type: z338.literal("FeatureCreated"), payload: DTOTrailEventFeatureCreatedPayload }),
|
|
10729
10749
|
z338.object({ type: z338.literal("FeatureDeleted"), payload: DTOTrailEventFeatureDeletedPayload }),
|
|
10750
|
+
z338.object({ type: z338.literal("FeatureArchived"), payload: DTOTrailEventFeatureArchivedPayload }),
|
|
10730
10751
|
z338.object({ type: z338.literal("DocumentCreated"), payload: DTOTrailEventDocumentCreatedPayload }),
|
|
10731
10752
|
z338.object({ type: z338.literal("DocumentDeleted"), payload: DTOTrailEventDocumentDeletedPayload }),
|
|
10753
|
+
z338.object({ type: z338.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
|
|
10754
|
+
z338.object({ type: z338.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload }),
|
|
10732
10755
|
z338.object({ type: z338.literal("ProjectCreated"), payload: DTOTrailEventProjectCreatedPayload }),
|
|
10733
10756
|
z338.object({ type: z338.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
|
|
10734
10757
|
z338.object({ type: z338.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
|
|
@@ -10751,6 +10774,10 @@ var DTOTrailEventListResponse = z338.object({
|
|
|
10751
10774
|
var DTOTrailEventCreate = DTOTrailEventPayload.and(
|
|
10752
10775
|
DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true })
|
|
10753
10776
|
);
|
|
10777
|
+
var DTOTrailEventClientCreate = z338.discriminatedUnion("type", [
|
|
10778
|
+
z338.object({ type: z338.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
|
|
10779
|
+
z338.object({ type: z338.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload })
|
|
10780
|
+
]).and(DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true }));
|
|
10754
10781
|
|
|
10755
10782
|
// src/utils/figma.ts
|
|
10756
10783
|
var figmaFileIdRegex = /^[0-9a-zA-Z]{22,128}$/;
|
|
@@ -19849,6 +19876,7 @@ export {
|
|
|
19849
19876
|
DTOTokenCollection,
|
|
19850
19877
|
DTOTokenCollectionsListReponse,
|
|
19851
19878
|
DTOTrailEvent,
|
|
19879
|
+
DTOTrailEventClientCreate,
|
|
19852
19880
|
DTOTrailEventCreate,
|
|
19853
19881
|
DTOTrailEventListInput,
|
|
19854
19882
|
DTOTrailEventListResponse,
|