@supernova-studio/model 1.94.1 → 1.95.0
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 +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -55295,6 +55295,7 @@ declare const FigmaNodeReferenceData: z$1.ZodObject<{
|
|
|
55295
55295
|
sceneNodeId: z$1.ZodString;
|
|
55296
55296
|
format: z$1.ZodEnum<["Png", "Svg"]>;
|
|
55297
55297
|
scale: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
|
|
55298
|
+
useAbsoluteBounds: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<boolean, z$1.ZodTypeDef, boolean>>>, boolean | undefined, boolean | null | undefined>;
|
|
55298
55299
|
renderState: z$1.ZodEnum<["InProgress", "Success", "Failed"]>;
|
|
55299
55300
|
renderedImage: z$1.ZodOptional<z$1.ZodObject<{
|
|
55300
55301
|
resourceId: z$1.ZodString;
|
|
@@ -55342,6 +55343,7 @@ declare const FigmaNodeReferenceData: z$1.ZodObject<{
|
|
|
55342
55343
|
renderState: "InProgress" | "Success" | "Failed";
|
|
55343
55344
|
hasSource: boolean;
|
|
55344
55345
|
scale?: number | undefined;
|
|
55346
|
+
useAbsoluteBounds?: boolean | undefined;
|
|
55345
55347
|
renderedImage?: {
|
|
55346
55348
|
resourceId: string;
|
|
55347
55349
|
format: "Png" | "Svg";
|
|
@@ -55363,6 +55365,7 @@ declare const FigmaNodeReferenceData: z$1.ZodObject<{
|
|
|
55363
55365
|
renderState: "InProgress" | "Success" | "Failed";
|
|
55364
55366
|
hasSource: boolean;
|
|
55365
55367
|
scale?: number | null | undefined;
|
|
55368
|
+
useAbsoluteBounds?: boolean | null | undefined;
|
|
55366
55369
|
renderedImage?: {
|
|
55367
55370
|
resourceId: string;
|
|
55368
55371
|
format: "Png" | "Svg";
|
|
@@ -65585,6 +65588,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65585
65588
|
sceneNodeId: z$1.ZodString;
|
|
65586
65589
|
format: z$1.ZodEnum<["Png", "Svg"]>;
|
|
65587
65590
|
scale: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
|
|
65591
|
+
useAbsoluteBounds: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<boolean, z$1.ZodTypeDef, boolean>>>, boolean | undefined, boolean | null | undefined>;
|
|
65588
65592
|
renderState: z$1.ZodEnum<["InProgress", "Success", "Failed"]>;
|
|
65589
65593
|
renderedImage: z$1.ZodOptional<z$1.ZodObject<{
|
|
65590
65594
|
resourceId: z$1.ZodString;
|
|
@@ -65632,6 +65636,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65632
65636
|
renderState: "InProgress" | "Success" | "Failed";
|
|
65633
65637
|
hasSource: boolean;
|
|
65634
65638
|
scale?: number | undefined;
|
|
65639
|
+
useAbsoluteBounds?: boolean | undefined;
|
|
65635
65640
|
renderedImage?: {
|
|
65636
65641
|
resourceId: string;
|
|
65637
65642
|
format: "Png" | "Svg";
|
|
@@ -65653,6 +65658,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65653
65658
|
renderState: "InProgress" | "Success" | "Failed";
|
|
65654
65659
|
hasSource: boolean;
|
|
65655
65660
|
scale?: number | null | undefined;
|
|
65661
|
+
useAbsoluteBounds?: boolean | null | undefined;
|
|
65656
65662
|
renderedImage?: {
|
|
65657
65663
|
resourceId: string;
|
|
65658
65664
|
format: "Png" | "Svg";
|
|
@@ -65686,6 +65692,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65686
65692
|
renderState: "InProgress" | "Success" | "Failed";
|
|
65687
65693
|
hasSource: boolean;
|
|
65688
65694
|
scale?: number | undefined;
|
|
65695
|
+
useAbsoluteBounds?: boolean | undefined;
|
|
65689
65696
|
renderedImage?: {
|
|
65690
65697
|
resourceId: string;
|
|
65691
65698
|
format: "Png" | "Svg";
|
|
@@ -65722,6 +65729,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65722
65729
|
renderState: "InProgress" | "Success" | "Failed";
|
|
65723
65730
|
hasSource: boolean;
|
|
65724
65731
|
scale?: number | null | undefined;
|
|
65732
|
+
useAbsoluteBounds?: boolean | null | undefined;
|
|
65725
65733
|
renderedImage?: {
|
|
65726
65734
|
resourceId: string;
|
|
65727
65735
|
format: "Png" | "Svg";
|
|
@@ -148690,6 +148698,7 @@ declare const PublishedDocPageVisitsEntry: z$1.ZodObject<{
|
|
|
148690
148698
|
visits: z$1.ZodNumber;
|
|
148691
148699
|
userId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
148692
148700
|
anonymousId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
148701
|
+
ipAddress: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
148693
148702
|
}, "strip", z$1.ZodTypeAny, {
|
|
148694
148703
|
id: string;
|
|
148695
148704
|
pagePersistentId: string;
|
|
@@ -148699,6 +148708,7 @@ declare const PublishedDocPageVisitsEntry: z$1.ZodObject<{
|
|
|
148699
148708
|
userId?: string | undefined;
|
|
148700
148709
|
locale?: string | undefined;
|
|
148701
148710
|
anonymousId?: string | undefined;
|
|
148711
|
+
ipAddress?: string | undefined;
|
|
148702
148712
|
}, {
|
|
148703
148713
|
id: string;
|
|
148704
148714
|
pagePersistentId: string;
|
|
@@ -148708,6 +148718,7 @@ declare const PublishedDocPageVisitsEntry: z$1.ZodObject<{
|
|
|
148708
148718
|
userId?: string | null | undefined;
|
|
148709
148719
|
locale?: string | undefined;
|
|
148710
148720
|
anonymousId?: string | null | undefined;
|
|
148721
|
+
ipAddress?: string | null | undefined;
|
|
148711
148722
|
}>;
|
|
148712
148723
|
type PublishedDocPageVisitsEntry = z$1.infer<typeof PublishedDocPageVisitsEntry>;
|
|
148713
148724
|
type CreatePublishedDocPageVisitsEntry = DbCreateInputOmit<PublishedDocPageVisitsEntry>;
|
package/dist/index.d.ts
CHANGED
|
@@ -55295,6 +55295,7 @@ declare const FigmaNodeReferenceData: z$1.ZodObject<{
|
|
|
55295
55295
|
sceneNodeId: z$1.ZodString;
|
|
55296
55296
|
format: z$1.ZodEnum<["Png", "Svg"]>;
|
|
55297
55297
|
scale: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
|
|
55298
|
+
useAbsoluteBounds: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<boolean, z$1.ZodTypeDef, boolean>>>, boolean | undefined, boolean | null | undefined>;
|
|
55298
55299
|
renderState: z$1.ZodEnum<["InProgress", "Success", "Failed"]>;
|
|
55299
55300
|
renderedImage: z$1.ZodOptional<z$1.ZodObject<{
|
|
55300
55301
|
resourceId: z$1.ZodString;
|
|
@@ -55342,6 +55343,7 @@ declare const FigmaNodeReferenceData: z$1.ZodObject<{
|
|
|
55342
55343
|
renderState: "InProgress" | "Success" | "Failed";
|
|
55343
55344
|
hasSource: boolean;
|
|
55344
55345
|
scale?: number | undefined;
|
|
55346
|
+
useAbsoluteBounds?: boolean | undefined;
|
|
55345
55347
|
renderedImage?: {
|
|
55346
55348
|
resourceId: string;
|
|
55347
55349
|
format: "Png" | "Svg";
|
|
@@ -55363,6 +55365,7 @@ declare const FigmaNodeReferenceData: z$1.ZodObject<{
|
|
|
55363
55365
|
renderState: "InProgress" | "Success" | "Failed";
|
|
55364
55366
|
hasSource: boolean;
|
|
55365
55367
|
scale?: number | null | undefined;
|
|
55368
|
+
useAbsoluteBounds?: boolean | null | undefined;
|
|
55366
55369
|
renderedImage?: {
|
|
55367
55370
|
resourceId: string;
|
|
55368
55371
|
format: "Png" | "Svg";
|
|
@@ -65585,6 +65588,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65585
65588
|
sceneNodeId: z$1.ZodString;
|
|
65586
65589
|
format: z$1.ZodEnum<["Png", "Svg"]>;
|
|
65587
65590
|
scale: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<number, z$1.ZodTypeDef, number>>>, number | undefined, number | null | undefined>;
|
|
65591
|
+
useAbsoluteBounds: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<boolean, z$1.ZodTypeDef, boolean>>>, boolean | undefined, boolean | null | undefined>;
|
|
65588
65592
|
renderState: z$1.ZodEnum<["InProgress", "Success", "Failed"]>;
|
|
65589
65593
|
renderedImage: z$1.ZodOptional<z$1.ZodObject<{
|
|
65590
65594
|
resourceId: z$1.ZodString;
|
|
@@ -65632,6 +65636,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65632
65636
|
renderState: "InProgress" | "Success" | "Failed";
|
|
65633
65637
|
hasSource: boolean;
|
|
65634
65638
|
scale?: number | undefined;
|
|
65639
|
+
useAbsoluteBounds?: boolean | undefined;
|
|
65635
65640
|
renderedImage?: {
|
|
65636
65641
|
resourceId: string;
|
|
65637
65642
|
format: "Png" | "Svg";
|
|
@@ -65653,6 +65658,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65653
65658
|
renderState: "InProgress" | "Success" | "Failed";
|
|
65654
65659
|
hasSource: boolean;
|
|
65655
65660
|
scale?: number | null | undefined;
|
|
65661
|
+
useAbsoluteBounds?: boolean | null | undefined;
|
|
65656
65662
|
renderedImage?: {
|
|
65657
65663
|
resourceId: string;
|
|
65658
65664
|
format: "Png" | "Svg";
|
|
@@ -65686,6 +65692,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65686
65692
|
renderState: "InProgress" | "Success" | "Failed";
|
|
65687
65693
|
hasSource: boolean;
|
|
65688
65694
|
scale?: number | undefined;
|
|
65695
|
+
useAbsoluteBounds?: boolean | undefined;
|
|
65689
65696
|
renderedImage?: {
|
|
65690
65697
|
resourceId: string;
|
|
65691
65698
|
format: "Png" | "Svg";
|
|
@@ -65722,6 +65729,7 @@ declare const FigmaNodeReference: z$1.ZodObject<{
|
|
|
65722
65729
|
renderState: "InProgress" | "Success" | "Failed";
|
|
65723
65730
|
hasSource: boolean;
|
|
65724
65731
|
scale?: number | null | undefined;
|
|
65732
|
+
useAbsoluteBounds?: boolean | null | undefined;
|
|
65725
65733
|
renderedImage?: {
|
|
65726
65734
|
resourceId: string;
|
|
65727
65735
|
format: "Png" | "Svg";
|
|
@@ -148690,6 +148698,7 @@ declare const PublishedDocPageVisitsEntry: z$1.ZodObject<{
|
|
|
148690
148698
|
visits: z$1.ZodNumber;
|
|
148691
148699
|
userId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
148692
148700
|
anonymousId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
148701
|
+
ipAddress: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
148693
148702
|
}, "strip", z$1.ZodTypeAny, {
|
|
148694
148703
|
id: string;
|
|
148695
148704
|
pagePersistentId: string;
|
|
@@ -148699,6 +148708,7 @@ declare const PublishedDocPageVisitsEntry: z$1.ZodObject<{
|
|
|
148699
148708
|
userId?: string | undefined;
|
|
148700
148709
|
locale?: string | undefined;
|
|
148701
148710
|
anonymousId?: string | undefined;
|
|
148711
|
+
ipAddress?: string | undefined;
|
|
148702
148712
|
}, {
|
|
148703
148713
|
id: string;
|
|
148704
148714
|
pagePersistentId: string;
|
|
@@ -148708,6 +148718,7 @@ declare const PublishedDocPageVisitsEntry: z$1.ZodObject<{
|
|
|
148708
148718
|
userId?: string | null | undefined;
|
|
148709
148719
|
locale?: string | undefined;
|
|
148710
148720
|
anonymousId?: string | null | undefined;
|
|
148721
|
+
ipAddress?: string | null | undefined;
|
|
148711
148722
|
}>;
|
|
148712
148723
|
type PublishedDocPageVisitsEntry = z$1.infer<typeof PublishedDocPageVisitsEntry>;
|
|
148713
148724
|
type CreatePublishedDocPageVisitsEntry = DbCreateInputOmit<PublishedDocPageVisitsEntry>;
|
package/dist/index.js
CHANGED
|
@@ -3193,6 +3193,7 @@ var FigmaNodeReferenceData = _zod.z.object({
|
|
|
3193
3193
|
sceneNodeId: _zod.z.string(),
|
|
3194
3194
|
format: FigmaNodeRenderFormat,
|
|
3195
3195
|
scale: nullishToOptional(_zod.z.number()),
|
|
3196
|
+
useAbsoluteBounds: nullishToOptional(_zod.z.boolean()),
|
|
3196
3197
|
renderState: FigmaNodeRenderState,
|
|
3197
3198
|
renderedImage: FigmaNodeRenderedImage.optional(),
|
|
3198
3199
|
renderError: FigmaNodeRenderError.optional(),
|
|
@@ -5935,7 +5936,8 @@ var PublishedDocPageVisitsEntry = _zod.z.object({
|
|
|
5935
5936
|
timestamp: _zod.z.coerce.date(),
|
|
5936
5937
|
visits: _zod.z.number(),
|
|
5937
5938
|
userId: nullishToOptional(_zod.z.string()),
|
|
5938
|
-
anonymousId: nullishToOptional(_zod.z.string())
|
|
5939
|
+
anonymousId: nullishToOptional(_zod.z.string()),
|
|
5940
|
+
ipAddress: nullishToOptional(_zod.z.string())
|
|
5939
5941
|
});
|
|
5940
5942
|
|
|
5941
5943
|
// src/dsm/published-doc-page.ts
|