@supernova-studio/model 1.4.14 → 1.4.16

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 CHANGED
@@ -84567,6 +84567,8 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
84567
84567
  createdAt: z.ZodDate;
84568
84568
  updatedAt: z.ZodDate;
84569
84569
  importState: z.ZodEnum<["InProgress", "Success", "Failed"]>;
84570
+ error: z.ZodOptional<z.ZodString>;
84571
+ chunkSize: z.ZodOptional<z.ZodNumber>;
84570
84572
  isFromLegacyStorage: z.ZodBoolean;
84571
84573
  }, "strip", z.ZodTypeAny, {
84572
84574
  id: string;
@@ -84576,7 +84578,9 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
84576
84578
  sourceId: string;
84577
84579
  importState: "InProgress" | "Success" | "Failed";
84578
84580
  isFromLegacyStorage: boolean;
84581
+ error?: string | undefined;
84579
84582
  storagePath?: string | undefined;
84583
+ chunkSize?: number | undefined;
84580
84584
  }, {
84581
84585
  id: string;
84582
84586
  createdAt: Date;
@@ -84585,7 +84589,9 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
84585
84589
  sourceId: string;
84586
84590
  importState: "InProgress" | "Success" | "Failed";
84587
84591
  isFromLegacyStorage: boolean;
84592
+ error?: string | undefined;
84588
84593
  storagePath?: string | undefined;
84594
+ chunkSize?: number | undefined;
84589
84595
  }>;
84590
84596
  type FigmaNodeStructureV2 = z.infer<typeof FigmaNodeStructureV2>;
84591
84597
  type CreateFigmaNodeStructureV2 = OmitStrict<DbCreateInputOmit<FigmaNodeStructureV2>, "isFromLegacyStorage">;
@@ -143854,20 +143860,26 @@ declare const PublishedDocPageVisitsEntry: z.ZodObject<{
143854
143860
  locale: z.ZodOptional<z.ZodString>;
143855
143861
  timestamp: z.ZodDate;
143856
143862
  visits: z.ZodNumber;
143863
+ userId: z.ZodOptional<z.ZodString>;
143864
+ anonymousId: z.ZodOptional<z.ZodString>;
143857
143865
  }, "strip", z.ZodTypeAny, {
143858
143866
  id: string;
143859
143867
  pagePersistentId: string;
143860
143868
  versionId: string;
143861
143869
  timestamp: Date;
143862
143870
  visits: number;
143871
+ userId?: string | undefined;
143863
143872
  locale?: string | undefined;
143873
+ anonymousId?: string | undefined;
143864
143874
  }, {
143865
143875
  id: string;
143866
143876
  pagePersistentId: string;
143867
143877
  versionId: string;
143868
143878
  timestamp: Date;
143869
143879
  visits: number;
143880
+ userId?: string | undefined;
143870
143881
  locale?: string | undefined;
143882
+ anonymousId?: string | undefined;
143871
143883
  }>;
143872
143884
  type PublishedDocPageVisitsEntry = z.infer<typeof PublishedDocPageVisitsEntry>;
143873
143885
  type CreatePublishedDocPageVisitsEntry = DbCreateInputOmit<PublishedDocPageVisitsEntry>;
package/dist/index.d.ts CHANGED
@@ -84567,6 +84567,8 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
84567
84567
  createdAt: z.ZodDate;
84568
84568
  updatedAt: z.ZodDate;
84569
84569
  importState: z.ZodEnum<["InProgress", "Success", "Failed"]>;
84570
+ error: z.ZodOptional<z.ZodString>;
84571
+ chunkSize: z.ZodOptional<z.ZodNumber>;
84570
84572
  isFromLegacyStorage: z.ZodBoolean;
84571
84573
  }, "strip", z.ZodTypeAny, {
84572
84574
  id: string;
@@ -84576,7 +84578,9 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
84576
84578
  sourceId: string;
84577
84579
  importState: "InProgress" | "Success" | "Failed";
84578
84580
  isFromLegacyStorage: boolean;
84581
+ error?: string | undefined;
84579
84582
  storagePath?: string | undefined;
84583
+ chunkSize?: number | undefined;
84580
84584
  }, {
84581
84585
  id: string;
84582
84586
  createdAt: Date;
@@ -84585,7 +84589,9 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
84585
84589
  sourceId: string;
84586
84590
  importState: "InProgress" | "Success" | "Failed";
84587
84591
  isFromLegacyStorage: boolean;
84592
+ error?: string | undefined;
84588
84593
  storagePath?: string | undefined;
84594
+ chunkSize?: number | undefined;
84589
84595
  }>;
84590
84596
  type FigmaNodeStructureV2 = z.infer<typeof FigmaNodeStructureV2>;
84591
84597
  type CreateFigmaNodeStructureV2 = OmitStrict<DbCreateInputOmit<FigmaNodeStructureV2>, "isFromLegacyStorage">;
@@ -143854,20 +143860,26 @@ declare const PublishedDocPageVisitsEntry: z.ZodObject<{
143854
143860
  locale: z.ZodOptional<z.ZodString>;
143855
143861
  timestamp: z.ZodDate;
143856
143862
  visits: z.ZodNumber;
143863
+ userId: z.ZodOptional<z.ZodString>;
143864
+ anonymousId: z.ZodOptional<z.ZodString>;
143857
143865
  }, "strip", z.ZodTypeAny, {
143858
143866
  id: string;
143859
143867
  pagePersistentId: string;
143860
143868
  versionId: string;
143861
143869
  timestamp: Date;
143862
143870
  visits: number;
143871
+ userId?: string | undefined;
143863
143872
  locale?: string | undefined;
143873
+ anonymousId?: string | undefined;
143864
143874
  }, {
143865
143875
  id: string;
143866
143876
  pagePersistentId: string;
143867
143877
  versionId: string;
143868
143878
  timestamp: Date;
143869
143879
  visits: number;
143880
+ userId?: string | undefined;
143870
143881
  locale?: string | undefined;
143882
+ anonymousId?: string | undefined;
143871
143883
  }>;
143872
143884
  type PublishedDocPageVisitsEntry = z.infer<typeof PublishedDocPageVisitsEntry>;
143873
143885
  type CreatePublishedDocPageVisitsEntry = DbCreateInputOmit<PublishedDocPageVisitsEntry>;
package/dist/index.js CHANGED
@@ -4389,6 +4389,8 @@ var FigmaNodeStructureV2 = _zod.z.object({
4389
4389
  createdAt: _zod.z.coerce.date(),
4390
4390
  updatedAt: _zod.z.coerce.date(),
4391
4391
  importState: FigmaNodeStructureStateV2,
4392
+ error: _zod.z.string().optional(),
4393
+ chunkSize: _zod.z.number().optional(),
4392
4394
  // TODO Artem: remove after migration
4393
4395
  isFromLegacyStorage: _zod.z.boolean()
4394
4396
  });
@@ -4918,7 +4920,9 @@ var PublishedDocPageVisitsEntry = _zod.z.object({
4918
4920
  pagePersistentId: _zod.z.string(),
4919
4921
  locale: _zod.z.string().optional(),
4920
4922
  timestamp: _zod.z.coerce.date(),
4921
- visits: _zod.z.number()
4923
+ visits: _zod.z.number(),
4924
+ userId: _zod.z.string().optional(),
4925
+ anonymousId: _zod.z.string().optional()
4922
4926
  });
4923
4927
 
4924
4928
  // src/dsm/published-doc-page.ts