@supernova-studio/client 1.46.3 → 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 +829 -128
- package/dist/index.d.ts +829 -128
- package/dist/index.js +31 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -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(),
|
|
@@ -10442,6 +10445,7 @@ var DTOForgeProject = z331.object({
|
|
|
10442
10445
|
emoji: z331.string().optional(),
|
|
10443
10446
|
createdAt: z331.coerce.date(),
|
|
10444
10447
|
createdByUserId: z331.string().optional(),
|
|
10448
|
+
lastUserActivityAt: z331.coerce.date().optional(),
|
|
10445
10449
|
updatedAt: z331.coerce.date(),
|
|
10446
10450
|
documents: DTOForgeProjectDocumentPreview.array(),
|
|
10447
10451
|
features: DTOForgeProjectFeaturePreview.array(),
|
|
@@ -10658,8 +10662,11 @@ var DTOTrailEventType = z338.enum([
|
|
|
10658
10662
|
"IterationBookmarked",
|
|
10659
10663
|
"FeatureCreated",
|
|
10660
10664
|
"FeatureDeleted",
|
|
10665
|
+
"FeatureArchived",
|
|
10661
10666
|
"DocumentCreated",
|
|
10662
10667
|
"DocumentDeleted",
|
|
10668
|
+
"DocumentUpdated",
|
|
10669
|
+
"DocumentCommentSent",
|
|
10663
10670
|
"ProjectCreated",
|
|
10664
10671
|
"ProjectArchived",
|
|
10665
10672
|
"IterationPromoted",
|
|
@@ -10697,6 +10704,10 @@ var DTOTrailEventFeatureDeletedPayload = z338.object({
|
|
|
10697
10704
|
featureId: z338.string().uuid(),
|
|
10698
10705
|
name: z338.string()
|
|
10699
10706
|
});
|
|
10707
|
+
var DTOTrailEventFeatureArchivedPayload = z338.object({
|
|
10708
|
+
featureId: z338.string().uuid(),
|
|
10709
|
+
name: z338.string()
|
|
10710
|
+
});
|
|
10700
10711
|
var DTOTrailEventDocumentCreatedPayload = z338.object({
|
|
10701
10712
|
documentId: z338.string().uuid(),
|
|
10702
10713
|
title: z338.string(),
|
|
@@ -10706,6 +10717,16 @@ var DTOTrailEventDocumentDeletedPayload = z338.object({
|
|
|
10706
10717
|
documentId: z338.string().uuid(),
|
|
10707
10718
|
title: z338.string()
|
|
10708
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
|
+
});
|
|
10709
10730
|
var DTOTrailEventProjectCreatedPayload = z338.object({
|
|
10710
10731
|
name: z338.string(),
|
|
10711
10732
|
description: z338.string().optional()
|
|
@@ -10726,8 +10747,11 @@ var DTOTrailEventPayload = z338.discriminatedUnion("type", [
|
|
|
10726
10747
|
z338.object({ type: z338.literal("IterationBookmarked"), payload: DTOTrailEventIterationBookmarkedPayload }),
|
|
10727
10748
|
z338.object({ type: z338.literal("FeatureCreated"), payload: DTOTrailEventFeatureCreatedPayload }),
|
|
10728
10749
|
z338.object({ type: z338.literal("FeatureDeleted"), payload: DTOTrailEventFeatureDeletedPayload }),
|
|
10750
|
+
z338.object({ type: z338.literal("FeatureArchived"), payload: DTOTrailEventFeatureArchivedPayload }),
|
|
10729
10751
|
z338.object({ type: z338.literal("DocumentCreated"), payload: DTOTrailEventDocumentCreatedPayload }),
|
|
10730
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 }),
|
|
10731
10755
|
z338.object({ type: z338.literal("ProjectCreated"), payload: DTOTrailEventProjectCreatedPayload }),
|
|
10732
10756
|
z338.object({ type: z338.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
|
|
10733
10757
|
z338.object({ type: z338.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
|
|
@@ -10750,6 +10774,10 @@ var DTOTrailEventListResponse = z338.object({
|
|
|
10750
10774
|
var DTOTrailEventCreate = DTOTrailEventPayload.and(
|
|
10751
10775
|
DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true })
|
|
10752
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 }));
|
|
10753
10781
|
|
|
10754
10782
|
// src/utils/figma.ts
|
|
10755
10783
|
var figmaFileIdRegex = /^[0-9a-zA-Z]{22,128}$/;
|
|
@@ -19848,6 +19876,7 @@ export {
|
|
|
19848
19876
|
DTOTokenCollection,
|
|
19849
19877
|
DTOTokenCollectionsListReponse,
|
|
19850
19878
|
DTOTrailEvent,
|
|
19879
|
+
DTOTrailEventClientCreate,
|
|
19851
19880
|
DTOTrailEventCreate,
|
|
19852
19881
|
DTOTrailEventListInput,
|
|
19853
19882
|
DTOTrailEventListResponse,
|