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