@supernova-studio/client 0.29.0 → 0.30.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 +87 -5
- package/dist/index.d.ts +87 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -89,27 +89,109 @@ declare const DTODocumentationLinkPreviewResponse: z.ZodObject<{
|
|
|
89
89
|
linkPreview: z.ZodObject<{
|
|
90
90
|
title: z.ZodOptional<z.ZodString>;
|
|
91
91
|
description: z.ZodOptional<z.ZodString>;
|
|
92
|
-
|
|
92
|
+
thumbnail: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
type: z.ZodEnum<["Resource", "FigmaNode"]>;
|
|
94
|
+
resource: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
url: z.ZodString;
|
|
96
|
+
resourceId: z.ZodString;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
url: string;
|
|
99
|
+
resourceId: string;
|
|
100
|
+
}, {
|
|
101
|
+
url: string;
|
|
102
|
+
resourceId: string;
|
|
103
|
+
}>>;
|
|
104
|
+
figmaFile: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
sourceId: z.ZodString;
|
|
106
|
+
frameReferenceId: z.ZodString;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
sourceId: string;
|
|
109
|
+
frameReferenceId: string;
|
|
110
|
+
}, {
|
|
111
|
+
sourceId: string;
|
|
112
|
+
frameReferenceId: string;
|
|
113
|
+
}>>;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
type: "FigmaNode" | "Resource";
|
|
116
|
+
resource?: {
|
|
117
|
+
url: string;
|
|
118
|
+
resourceId: string;
|
|
119
|
+
} | undefined;
|
|
120
|
+
figmaFile?: {
|
|
121
|
+
sourceId: string;
|
|
122
|
+
frameReferenceId: string;
|
|
123
|
+
} | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
type: "FigmaNode" | "Resource";
|
|
126
|
+
resource?: {
|
|
127
|
+
url: string;
|
|
128
|
+
resourceId: string;
|
|
129
|
+
} | undefined;
|
|
130
|
+
figmaFile?: {
|
|
131
|
+
sourceId: string;
|
|
132
|
+
frameReferenceId: string;
|
|
133
|
+
} | undefined;
|
|
134
|
+
}>>;
|
|
93
135
|
}, "strip", z.ZodTypeAny, {
|
|
94
136
|
title?: string | undefined;
|
|
95
137
|
description?: string | undefined;
|
|
96
|
-
|
|
138
|
+
thumbnail?: {
|
|
139
|
+
type: "FigmaNode" | "Resource";
|
|
140
|
+
resource?: {
|
|
141
|
+
url: string;
|
|
142
|
+
resourceId: string;
|
|
143
|
+
} | undefined;
|
|
144
|
+
figmaFile?: {
|
|
145
|
+
sourceId: string;
|
|
146
|
+
frameReferenceId: string;
|
|
147
|
+
} | undefined;
|
|
148
|
+
} | undefined;
|
|
97
149
|
}, {
|
|
98
150
|
title?: string | undefined;
|
|
99
151
|
description?: string | undefined;
|
|
100
|
-
|
|
152
|
+
thumbnail?: {
|
|
153
|
+
type: "FigmaNode" | "Resource";
|
|
154
|
+
resource?: {
|
|
155
|
+
url: string;
|
|
156
|
+
resourceId: string;
|
|
157
|
+
} | undefined;
|
|
158
|
+
figmaFile?: {
|
|
159
|
+
sourceId: string;
|
|
160
|
+
frameReferenceId: string;
|
|
161
|
+
} | undefined;
|
|
162
|
+
} | undefined;
|
|
101
163
|
}>;
|
|
102
164
|
}, "strip", z.ZodTypeAny, {
|
|
103
165
|
linkPreview: {
|
|
104
166
|
title?: string | undefined;
|
|
105
167
|
description?: string | undefined;
|
|
106
|
-
|
|
168
|
+
thumbnail?: {
|
|
169
|
+
type: "FigmaNode" | "Resource";
|
|
170
|
+
resource?: {
|
|
171
|
+
url: string;
|
|
172
|
+
resourceId: string;
|
|
173
|
+
} | undefined;
|
|
174
|
+
figmaFile?: {
|
|
175
|
+
sourceId: string;
|
|
176
|
+
frameReferenceId: string;
|
|
177
|
+
} | undefined;
|
|
178
|
+
} | undefined;
|
|
107
179
|
};
|
|
108
180
|
}, {
|
|
109
181
|
linkPreview: {
|
|
110
182
|
title?: string | undefined;
|
|
111
183
|
description?: string | undefined;
|
|
112
|
-
|
|
184
|
+
thumbnail?: {
|
|
185
|
+
type: "FigmaNode" | "Resource";
|
|
186
|
+
resource?: {
|
|
187
|
+
url: string;
|
|
188
|
+
resourceId: string;
|
|
189
|
+
} | undefined;
|
|
190
|
+
figmaFile?: {
|
|
191
|
+
sourceId: string;
|
|
192
|
+
frameReferenceId: string;
|
|
193
|
+
} | undefined;
|
|
194
|
+
} | undefined;
|
|
113
195
|
};
|
|
114
196
|
}>;
|
|
115
197
|
type DTODocumentationLinkPreviewResponse = z.infer<typeof DTODocumentationLinkPreviewResponse>;
|
package/dist/index.d.ts
CHANGED
|
@@ -89,27 +89,109 @@ declare const DTODocumentationLinkPreviewResponse: z.ZodObject<{
|
|
|
89
89
|
linkPreview: z.ZodObject<{
|
|
90
90
|
title: z.ZodOptional<z.ZodString>;
|
|
91
91
|
description: z.ZodOptional<z.ZodString>;
|
|
92
|
-
|
|
92
|
+
thumbnail: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
type: z.ZodEnum<["Resource", "FigmaNode"]>;
|
|
94
|
+
resource: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
url: z.ZodString;
|
|
96
|
+
resourceId: z.ZodString;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
url: string;
|
|
99
|
+
resourceId: string;
|
|
100
|
+
}, {
|
|
101
|
+
url: string;
|
|
102
|
+
resourceId: string;
|
|
103
|
+
}>>;
|
|
104
|
+
figmaFile: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
sourceId: z.ZodString;
|
|
106
|
+
frameReferenceId: z.ZodString;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
sourceId: string;
|
|
109
|
+
frameReferenceId: string;
|
|
110
|
+
}, {
|
|
111
|
+
sourceId: string;
|
|
112
|
+
frameReferenceId: string;
|
|
113
|
+
}>>;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
type: "FigmaNode" | "Resource";
|
|
116
|
+
resource?: {
|
|
117
|
+
url: string;
|
|
118
|
+
resourceId: string;
|
|
119
|
+
} | undefined;
|
|
120
|
+
figmaFile?: {
|
|
121
|
+
sourceId: string;
|
|
122
|
+
frameReferenceId: string;
|
|
123
|
+
} | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
type: "FigmaNode" | "Resource";
|
|
126
|
+
resource?: {
|
|
127
|
+
url: string;
|
|
128
|
+
resourceId: string;
|
|
129
|
+
} | undefined;
|
|
130
|
+
figmaFile?: {
|
|
131
|
+
sourceId: string;
|
|
132
|
+
frameReferenceId: string;
|
|
133
|
+
} | undefined;
|
|
134
|
+
}>>;
|
|
93
135
|
}, "strip", z.ZodTypeAny, {
|
|
94
136
|
title?: string | undefined;
|
|
95
137
|
description?: string | undefined;
|
|
96
|
-
|
|
138
|
+
thumbnail?: {
|
|
139
|
+
type: "FigmaNode" | "Resource";
|
|
140
|
+
resource?: {
|
|
141
|
+
url: string;
|
|
142
|
+
resourceId: string;
|
|
143
|
+
} | undefined;
|
|
144
|
+
figmaFile?: {
|
|
145
|
+
sourceId: string;
|
|
146
|
+
frameReferenceId: string;
|
|
147
|
+
} | undefined;
|
|
148
|
+
} | undefined;
|
|
97
149
|
}, {
|
|
98
150
|
title?: string | undefined;
|
|
99
151
|
description?: string | undefined;
|
|
100
|
-
|
|
152
|
+
thumbnail?: {
|
|
153
|
+
type: "FigmaNode" | "Resource";
|
|
154
|
+
resource?: {
|
|
155
|
+
url: string;
|
|
156
|
+
resourceId: string;
|
|
157
|
+
} | undefined;
|
|
158
|
+
figmaFile?: {
|
|
159
|
+
sourceId: string;
|
|
160
|
+
frameReferenceId: string;
|
|
161
|
+
} | undefined;
|
|
162
|
+
} | undefined;
|
|
101
163
|
}>;
|
|
102
164
|
}, "strip", z.ZodTypeAny, {
|
|
103
165
|
linkPreview: {
|
|
104
166
|
title?: string | undefined;
|
|
105
167
|
description?: string | undefined;
|
|
106
|
-
|
|
168
|
+
thumbnail?: {
|
|
169
|
+
type: "FigmaNode" | "Resource";
|
|
170
|
+
resource?: {
|
|
171
|
+
url: string;
|
|
172
|
+
resourceId: string;
|
|
173
|
+
} | undefined;
|
|
174
|
+
figmaFile?: {
|
|
175
|
+
sourceId: string;
|
|
176
|
+
frameReferenceId: string;
|
|
177
|
+
} | undefined;
|
|
178
|
+
} | undefined;
|
|
107
179
|
};
|
|
108
180
|
}, {
|
|
109
181
|
linkPreview: {
|
|
110
182
|
title?: string | undefined;
|
|
111
183
|
description?: string | undefined;
|
|
112
|
-
|
|
184
|
+
thumbnail?: {
|
|
185
|
+
type: "FigmaNode" | "Resource";
|
|
186
|
+
resource?: {
|
|
187
|
+
url: string;
|
|
188
|
+
resourceId: string;
|
|
189
|
+
} | undefined;
|
|
190
|
+
figmaFile?: {
|
|
191
|
+
sourceId: string;
|
|
192
|
+
frameReferenceId: string;
|
|
193
|
+
} | undefined;
|
|
194
|
+
} | undefined;
|
|
113
195
|
};
|
|
114
196
|
}>;
|
|
115
197
|
type DTODocumentationLinkPreviewResponse = z.infer<typeof DTODocumentationLinkPreviewResponse>;
|
package/dist/index.js
CHANGED
|
@@ -2147,7 +2147,7 @@ var DocumentationPageGroup = _zod.z.object({
|
|
|
2147
2147
|
var DocumentationLinkPreview = _zod.z.object({
|
|
2148
2148
|
title: _zod.z.string().optional(),
|
|
2149
2149
|
description: _zod.z.string().optional(),
|
|
2150
|
-
|
|
2150
|
+
thumbnail: PageBlockImageReference.optional()
|
|
2151
2151
|
});
|
|
2152
2152
|
var DocumentationPageContentBackup = _zod.z.object({
|
|
2153
2153
|
id: _zod.z.string(),
|