@nfcard/validation 0.22.2 → 0.24.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.ts +2229 -30
- package/dist/index.js +426 -226
- package/package.json +2 -2
- package/src/index.ts +0 -0
- package/src/profileBackground.test.ts +116 -0
- package/src/profileLayout.test.ts +158 -0
- package/src/profileLayout.ts +265 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _nfcard_types from '@nfcard/types';
|
|
2
|
-
import { CardAsset, CardElement, ElementTransform } from '@nfcard/types';
|
|
2
|
+
import { CardAsset, CardElement, ElementTransform, ProfileLayout } from '@nfcard/types';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -109,6 +109,230 @@ declare function footprintOf(el: CardElement): {
|
|
|
109
109
|
/** All hard manufacturing violations for one element. Empty ⇒ printable. */
|
|
110
110
|
declare function elementPrintability(el: CardElement, ctx: PrintabilityCtx): Violation[];
|
|
111
111
|
|
|
112
|
+
/**
|
|
113
|
+
* NFCARD-656 — the write-side schema for `DigitalConfig.layout`, the stored
|
|
114
|
+
* object/section document. The vocabulary (section ids, object ids, kinds,
|
|
115
|
+
* caps) lives in @nfcard/types; this file only decides what a WRITE may
|
|
116
|
+
* contain.
|
|
117
|
+
*
|
|
118
|
+
* Posture, and why it differs between the two order surfaces:
|
|
119
|
+
* · `objects` (style overrides) is STRICT — every key must name an object
|
|
120
|
+
* this schema's vintage knows, because styles are rendered into CSS and
|
|
121
|
+
* an un-dispatchable style cannot be validated per kind. Version skew is
|
|
122
|
+
* covered by the deploy order (api ships before web, so the accepting
|
|
123
|
+
* schema is never older than the writing client).
|
|
124
|
+
* · `sectionOrder` / `objectOrder` entries are validated by SHAPE only
|
|
125
|
+
* (charset + length). An order entry naming nothing is harmless by
|
|
126
|
+
* construction — `resolveObjectOrder` filters to what is present at
|
|
127
|
+
* render — and rejecting it would turn "the user once ordered a thing
|
|
128
|
+
* that later disappeared" into a 400 on an unrelated save.
|
|
129
|
+
*
|
|
130
|
+
* ⚠ NOT the XSS boundary. FreeText is rendered through Nunjucks with
|
|
131
|
+
* autoescape ON (FOXHOLE-587); the hygiene here (tag/control strip, caps)
|
|
132
|
+
* is defense-in-depth, same standing as the rest of @nfcard/validation.
|
|
133
|
+
*/
|
|
134
|
+
|
|
135
|
+
declare const textObjectStyleSchema: z.ZodObject<{
|
|
136
|
+
color: z.ZodOptional<z.ZodString>;
|
|
137
|
+
sizeStep: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
138
|
+
align: z.ZodOptional<z.ZodEnum<["start", "center"]>>;
|
|
139
|
+
weight: z.ZodOptional<z.ZodEnum<["normal", "bold"]>>;
|
|
140
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
142
|
+
fontKey: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, "strict", z.ZodTypeAny, {
|
|
144
|
+
weight?: "bold" | "normal" | undefined;
|
|
145
|
+
fontKey?: string | undefined;
|
|
146
|
+
italic?: boolean | undefined;
|
|
147
|
+
underline?: boolean | undefined;
|
|
148
|
+
color?: string | undefined;
|
|
149
|
+
sizeStep?: "sm" | "md" | "lg" | undefined;
|
|
150
|
+
align?: "start" | "center" | undefined;
|
|
151
|
+
}, {
|
|
152
|
+
weight?: "bold" | "normal" | undefined;
|
|
153
|
+
fontKey?: string | undefined;
|
|
154
|
+
italic?: boolean | undefined;
|
|
155
|
+
underline?: boolean | undefined;
|
|
156
|
+
color?: string | undefined;
|
|
157
|
+
sizeStep?: "sm" | "md" | "lg" | undefined;
|
|
158
|
+
align?: "start" | "center" | undefined;
|
|
159
|
+
}>;
|
|
160
|
+
declare const imageObjectStyleSchema: z.ZodObject<{
|
|
161
|
+
crop: z.ZodOptional<z.ZodObject<{
|
|
162
|
+
x: z.ZodNumber;
|
|
163
|
+
y: z.ZodNumber;
|
|
164
|
+
zoom: z.ZodNumber;
|
|
165
|
+
}, "strict", z.ZodTypeAny, {
|
|
166
|
+
x: number;
|
|
167
|
+
y: number;
|
|
168
|
+
zoom: number;
|
|
169
|
+
}, {
|
|
170
|
+
x: number;
|
|
171
|
+
y: number;
|
|
172
|
+
zoom: number;
|
|
173
|
+
}>>;
|
|
174
|
+
borderColor: z.ZodOptional<z.ZodString>;
|
|
175
|
+
borderPx: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
shape: z.ZodOptional<z.ZodEnum<["circle", "rounded", "square"]>>;
|
|
177
|
+
}, "strict", z.ZodTypeAny, {
|
|
178
|
+
shape?: "circle" | "rounded" | "square" | undefined;
|
|
179
|
+
crop?: {
|
|
180
|
+
x: number;
|
|
181
|
+
y: number;
|
|
182
|
+
zoom: number;
|
|
183
|
+
} | undefined;
|
|
184
|
+
borderColor?: string | undefined;
|
|
185
|
+
borderPx?: number | undefined;
|
|
186
|
+
}, {
|
|
187
|
+
shape?: "circle" | "rounded" | "square" | undefined;
|
|
188
|
+
crop?: {
|
|
189
|
+
x: number;
|
|
190
|
+
y: number;
|
|
191
|
+
zoom: number;
|
|
192
|
+
} | undefined;
|
|
193
|
+
borderColor?: string | undefined;
|
|
194
|
+
borderPx?: number | undefined;
|
|
195
|
+
}>;
|
|
196
|
+
declare const buttonObjectStyleSchema: z.ZodObject<{
|
|
197
|
+
bg: z.ZodOptional<z.ZodString>;
|
|
198
|
+
variant: z.ZodOptional<z.ZodEnum<["solid", "soft", "outline"]>>;
|
|
199
|
+
}, "strict", z.ZodTypeAny, {
|
|
200
|
+
variant?: "solid" | "soft" | "outline" | undefined;
|
|
201
|
+
bg?: string | undefined;
|
|
202
|
+
}, {
|
|
203
|
+
variant?: "solid" | "soft" | "outline" | undefined;
|
|
204
|
+
bg?: string | undefined;
|
|
205
|
+
}>;
|
|
206
|
+
declare const profileLayoutSchema: z.ZodEffects<z.ZodObject<{
|
|
207
|
+
v: z.ZodLiteral<1>;
|
|
208
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
209
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
210
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
211
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
212
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
213
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
214
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
215
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
216
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
217
|
+
}, "strict", z.ZodTypeAny, {
|
|
218
|
+
bio?: string[] | undefined;
|
|
219
|
+
identity?: string[] | undefined;
|
|
220
|
+
contact?: string[] | undefined;
|
|
221
|
+
social?: string[] | undefined;
|
|
222
|
+
actions?: string[] | undefined;
|
|
223
|
+
cta?: string[] | undefined;
|
|
224
|
+
footer?: string[] | undefined;
|
|
225
|
+
}, {
|
|
226
|
+
bio?: string[] | undefined;
|
|
227
|
+
identity?: string[] | undefined;
|
|
228
|
+
contact?: string[] | undefined;
|
|
229
|
+
social?: string[] | undefined;
|
|
230
|
+
actions?: string[] | undefined;
|
|
231
|
+
cta?: string[] | undefined;
|
|
232
|
+
footer?: string[] | undefined;
|
|
233
|
+
}>>;
|
|
234
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
235
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
236
|
+
id: z.ZodString;
|
|
237
|
+
kind: z.ZodLiteral<"freeText">;
|
|
238
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
239
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
240
|
+
}, "strict", z.ZodTypeAny, {
|
|
241
|
+
text: string;
|
|
242
|
+
id: string;
|
|
243
|
+
kind: "freeText";
|
|
244
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
245
|
+
}, {
|
|
246
|
+
text: string;
|
|
247
|
+
id: string;
|
|
248
|
+
kind: "freeText";
|
|
249
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
250
|
+
}>, "many">>;
|
|
251
|
+
}, "strict", z.ZodTypeAny, {
|
|
252
|
+
v: 1;
|
|
253
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
254
|
+
objectOrder?: {
|
|
255
|
+
bio?: string[] | undefined;
|
|
256
|
+
identity?: string[] | undefined;
|
|
257
|
+
contact?: string[] | undefined;
|
|
258
|
+
social?: string[] | undefined;
|
|
259
|
+
actions?: string[] | undefined;
|
|
260
|
+
cta?: string[] | undefined;
|
|
261
|
+
footer?: string[] | undefined;
|
|
262
|
+
} | undefined;
|
|
263
|
+
objects?: Record<string, unknown> | undefined;
|
|
264
|
+
ownedObjects?: {
|
|
265
|
+
text: string;
|
|
266
|
+
id: string;
|
|
267
|
+
kind: "freeText";
|
|
268
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
269
|
+
}[] | undefined;
|
|
270
|
+
}, {
|
|
271
|
+
v: 1;
|
|
272
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
273
|
+
objectOrder?: {
|
|
274
|
+
bio?: string[] | undefined;
|
|
275
|
+
identity?: string[] | undefined;
|
|
276
|
+
contact?: string[] | undefined;
|
|
277
|
+
social?: string[] | undefined;
|
|
278
|
+
actions?: string[] | undefined;
|
|
279
|
+
cta?: string[] | undefined;
|
|
280
|
+
footer?: string[] | undefined;
|
|
281
|
+
} | undefined;
|
|
282
|
+
objects?: Record<string, unknown> | undefined;
|
|
283
|
+
ownedObjects?: {
|
|
284
|
+
text: string;
|
|
285
|
+
id: string;
|
|
286
|
+
kind: "freeText";
|
|
287
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
288
|
+
}[] | undefined;
|
|
289
|
+
}>, {
|
|
290
|
+
v: 1;
|
|
291
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
292
|
+
objectOrder?: {
|
|
293
|
+
bio?: string[] | undefined;
|
|
294
|
+
identity?: string[] | undefined;
|
|
295
|
+
contact?: string[] | undefined;
|
|
296
|
+
social?: string[] | undefined;
|
|
297
|
+
actions?: string[] | undefined;
|
|
298
|
+
cta?: string[] | undefined;
|
|
299
|
+
footer?: string[] | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
objects?: Record<string, unknown> | undefined;
|
|
302
|
+
ownedObjects?: {
|
|
303
|
+
text: string;
|
|
304
|
+
id: string;
|
|
305
|
+
kind: "freeText";
|
|
306
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
307
|
+
}[] | undefined;
|
|
308
|
+
}, {
|
|
309
|
+
v: 1;
|
|
310
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
311
|
+
objectOrder?: {
|
|
312
|
+
bio?: string[] | undefined;
|
|
313
|
+
identity?: string[] | undefined;
|
|
314
|
+
contact?: string[] | undefined;
|
|
315
|
+
social?: string[] | undefined;
|
|
316
|
+
actions?: string[] | undefined;
|
|
317
|
+
cta?: string[] | undefined;
|
|
318
|
+
footer?: string[] | undefined;
|
|
319
|
+
} | undefined;
|
|
320
|
+
objects?: Record<string, unknown> | undefined;
|
|
321
|
+
ownedObjects?: {
|
|
322
|
+
text: string;
|
|
323
|
+
id: string;
|
|
324
|
+
kind: "freeText";
|
|
325
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
326
|
+
}[] | undefined;
|
|
327
|
+
}>;
|
|
328
|
+
/**
|
|
329
|
+
* Render-side gate: a stored layout that no longer parses (a vintage this
|
|
330
|
+
* build predates, a hand-corrupted blob) renders as CANONICAL rather than
|
|
331
|
+
* failing the whole page. Mirrors the lenient posture of
|
|
332
|
+
* `resolveRenderBackground` — the public page never 500s over decoration.
|
|
333
|
+
*/
|
|
334
|
+
declare function safeProfileLayout(value: unknown): ProfileLayout | null;
|
|
335
|
+
|
|
112
336
|
declare const webAddressSchema: z.ZodUnion<[z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>, z.ZodLiteral<"">]>;
|
|
113
337
|
declare function sanitizeHttpUrl(raw: unknown): string;
|
|
114
338
|
/** Plain-text label — strip tags/control chars, cap length. */
|
|
@@ -5256,6 +5480,22 @@ declare const bookingSchema: z.ZodEffects<z.ZodUnknown, {
|
|
|
5256
5480
|
handle: string;
|
|
5257
5481
|
label?: undefined;
|
|
5258
5482
|
} | undefined, unknown>;
|
|
5483
|
+
declare const profileBackgroundSchema: z.ZodEffects<z.ZodUnknown, {
|
|
5484
|
+
kind: "solid";
|
|
5485
|
+
from?: undefined;
|
|
5486
|
+
to?: undefined;
|
|
5487
|
+
angleDeg?: undefined;
|
|
5488
|
+
} | {
|
|
5489
|
+
kind: "gradient";
|
|
5490
|
+
from: string;
|
|
5491
|
+
to: string;
|
|
5492
|
+
angleDeg?: undefined;
|
|
5493
|
+
} | {
|
|
5494
|
+
kind: "gradient";
|
|
5495
|
+
from: string;
|
|
5496
|
+
to: string;
|
|
5497
|
+
angleDeg: number;
|
|
5498
|
+
} | undefined, unknown>;
|
|
5259
5499
|
declare const digitalConfigSchema: z.ZodObject<{
|
|
5260
5500
|
templateId: z.ZodEnum<["minimal", "bold", "card", "aurora", "classic", "spotlight", "marquee", "riso"]>;
|
|
5261
5501
|
accentColor: z.ZodString;
|
|
@@ -5361,11 +5601,185 @@ declare const digitalConfigSchema: z.ZodObject<{
|
|
|
5361
5601
|
handle: string;
|
|
5362
5602
|
label?: undefined;
|
|
5363
5603
|
} | undefined, unknown>>;
|
|
5604
|
+
background: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
|
|
5605
|
+
kind: "solid";
|
|
5606
|
+
from?: undefined;
|
|
5607
|
+
to?: undefined;
|
|
5608
|
+
angleDeg?: undefined;
|
|
5609
|
+
} | {
|
|
5610
|
+
kind: "gradient";
|
|
5611
|
+
from: string;
|
|
5612
|
+
to: string;
|
|
5613
|
+
angleDeg?: undefined;
|
|
5614
|
+
} | {
|
|
5615
|
+
kind: "gradient";
|
|
5616
|
+
from: string;
|
|
5617
|
+
to: string;
|
|
5618
|
+
angleDeg: number;
|
|
5619
|
+
} | undefined, unknown>>;
|
|
5620
|
+
layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
5621
|
+
v: z.ZodLiteral<1>;
|
|
5622
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
5623
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
5624
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5625
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5626
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5627
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5628
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5629
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5630
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5631
|
+
}, "strict", z.ZodTypeAny, {
|
|
5632
|
+
bio?: string[] | undefined;
|
|
5633
|
+
identity?: string[] | undefined;
|
|
5634
|
+
contact?: string[] | undefined;
|
|
5635
|
+
social?: string[] | undefined;
|
|
5636
|
+
actions?: string[] | undefined;
|
|
5637
|
+
cta?: string[] | undefined;
|
|
5638
|
+
footer?: string[] | undefined;
|
|
5639
|
+
}, {
|
|
5640
|
+
bio?: string[] | undefined;
|
|
5641
|
+
identity?: string[] | undefined;
|
|
5642
|
+
contact?: string[] | undefined;
|
|
5643
|
+
social?: string[] | undefined;
|
|
5644
|
+
actions?: string[] | undefined;
|
|
5645
|
+
cta?: string[] | undefined;
|
|
5646
|
+
footer?: string[] | undefined;
|
|
5647
|
+
}>>;
|
|
5648
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5649
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5650
|
+
id: z.ZodString;
|
|
5651
|
+
kind: z.ZodLiteral<"freeText">;
|
|
5652
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
5653
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
5654
|
+
}, "strict", z.ZodTypeAny, {
|
|
5655
|
+
text: string;
|
|
5656
|
+
id: string;
|
|
5657
|
+
kind: "freeText";
|
|
5658
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
5659
|
+
}, {
|
|
5660
|
+
text: string;
|
|
5661
|
+
id: string;
|
|
5662
|
+
kind: "freeText";
|
|
5663
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
5664
|
+
}>, "many">>;
|
|
5665
|
+
}, "strict", z.ZodTypeAny, {
|
|
5666
|
+
v: 1;
|
|
5667
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
5668
|
+
objectOrder?: {
|
|
5669
|
+
bio?: string[] | undefined;
|
|
5670
|
+
identity?: string[] | undefined;
|
|
5671
|
+
contact?: string[] | undefined;
|
|
5672
|
+
social?: string[] | undefined;
|
|
5673
|
+
actions?: string[] | undefined;
|
|
5674
|
+
cta?: string[] | undefined;
|
|
5675
|
+
footer?: string[] | undefined;
|
|
5676
|
+
} | undefined;
|
|
5677
|
+
objects?: Record<string, unknown> | undefined;
|
|
5678
|
+
ownedObjects?: {
|
|
5679
|
+
text: string;
|
|
5680
|
+
id: string;
|
|
5681
|
+
kind: "freeText";
|
|
5682
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
5683
|
+
}[] | undefined;
|
|
5684
|
+
}, {
|
|
5685
|
+
v: 1;
|
|
5686
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
5687
|
+
objectOrder?: {
|
|
5688
|
+
bio?: string[] | undefined;
|
|
5689
|
+
identity?: string[] | undefined;
|
|
5690
|
+
contact?: string[] | undefined;
|
|
5691
|
+
social?: string[] | undefined;
|
|
5692
|
+
actions?: string[] | undefined;
|
|
5693
|
+
cta?: string[] | undefined;
|
|
5694
|
+
footer?: string[] | undefined;
|
|
5695
|
+
} | undefined;
|
|
5696
|
+
objects?: Record<string, unknown> | undefined;
|
|
5697
|
+
ownedObjects?: {
|
|
5698
|
+
text: string;
|
|
5699
|
+
id: string;
|
|
5700
|
+
kind: "freeText";
|
|
5701
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
5702
|
+
}[] | undefined;
|
|
5703
|
+
}>, {
|
|
5704
|
+
v: 1;
|
|
5705
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
5706
|
+
objectOrder?: {
|
|
5707
|
+
bio?: string[] | undefined;
|
|
5708
|
+
identity?: string[] | undefined;
|
|
5709
|
+
contact?: string[] | undefined;
|
|
5710
|
+
social?: string[] | undefined;
|
|
5711
|
+
actions?: string[] | undefined;
|
|
5712
|
+
cta?: string[] | undefined;
|
|
5713
|
+
footer?: string[] | undefined;
|
|
5714
|
+
} | undefined;
|
|
5715
|
+
objects?: Record<string, unknown> | undefined;
|
|
5716
|
+
ownedObjects?: {
|
|
5717
|
+
text: string;
|
|
5718
|
+
id: string;
|
|
5719
|
+
kind: "freeText";
|
|
5720
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
5721
|
+
}[] | undefined;
|
|
5722
|
+
}, {
|
|
5723
|
+
v: 1;
|
|
5724
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
5725
|
+
objectOrder?: {
|
|
5726
|
+
bio?: string[] | undefined;
|
|
5727
|
+
identity?: string[] | undefined;
|
|
5728
|
+
contact?: string[] | undefined;
|
|
5729
|
+
social?: string[] | undefined;
|
|
5730
|
+
actions?: string[] | undefined;
|
|
5731
|
+
cta?: string[] | undefined;
|
|
5732
|
+
footer?: string[] | undefined;
|
|
5733
|
+
} | undefined;
|
|
5734
|
+
objects?: Record<string, unknown> | undefined;
|
|
5735
|
+
ownedObjects?: {
|
|
5736
|
+
text: string;
|
|
5737
|
+
id: string;
|
|
5738
|
+
kind: "freeText";
|
|
5739
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
5740
|
+
}[] | undefined;
|
|
5741
|
+
}>>;
|
|
5364
5742
|
}, "strip", z.ZodTypeAny, {
|
|
5365
5743
|
fontKey: string;
|
|
5366
5744
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
5367
5745
|
accentColor: string;
|
|
5368
5746
|
showAvatar: boolean;
|
|
5747
|
+
layout?: {
|
|
5748
|
+
v: 1;
|
|
5749
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
5750
|
+
objectOrder?: {
|
|
5751
|
+
bio?: string[] | undefined;
|
|
5752
|
+
identity?: string[] | undefined;
|
|
5753
|
+
contact?: string[] | undefined;
|
|
5754
|
+
social?: string[] | undefined;
|
|
5755
|
+
actions?: string[] | undefined;
|
|
5756
|
+
cta?: string[] | undefined;
|
|
5757
|
+
footer?: string[] | undefined;
|
|
5758
|
+
} | undefined;
|
|
5759
|
+
objects?: Record<string, unknown> | undefined;
|
|
5760
|
+
ownedObjects?: {
|
|
5761
|
+
text: string;
|
|
5762
|
+
id: string;
|
|
5763
|
+
kind: "freeText";
|
|
5764
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
5765
|
+
}[] | undefined;
|
|
5766
|
+
} | undefined;
|
|
5767
|
+
background?: {
|
|
5768
|
+
kind: "solid";
|
|
5769
|
+
from?: undefined;
|
|
5770
|
+
to?: undefined;
|
|
5771
|
+
angleDeg?: undefined;
|
|
5772
|
+
} | {
|
|
5773
|
+
kind: "gradient";
|
|
5774
|
+
from: string;
|
|
5775
|
+
to: string;
|
|
5776
|
+
angleDeg?: undefined;
|
|
5777
|
+
} | {
|
|
5778
|
+
kind: "gradient";
|
|
5779
|
+
from: string;
|
|
5780
|
+
to: string;
|
|
5781
|
+
angleDeg: number;
|
|
5782
|
+
} | undefined;
|
|
5369
5783
|
primaryColor?: string | undefined;
|
|
5370
5784
|
secondaryColor?: string | undefined;
|
|
5371
5785
|
textColor?: string | undefined;
|
|
@@ -5419,6 +5833,27 @@ declare const digitalConfigSchema: z.ZodObject<{
|
|
|
5419
5833
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
5420
5834
|
accentColor: string;
|
|
5421
5835
|
showAvatar: boolean;
|
|
5836
|
+
layout?: {
|
|
5837
|
+
v: 1;
|
|
5838
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
5839
|
+
objectOrder?: {
|
|
5840
|
+
bio?: string[] | undefined;
|
|
5841
|
+
identity?: string[] | undefined;
|
|
5842
|
+
contact?: string[] | undefined;
|
|
5843
|
+
social?: string[] | undefined;
|
|
5844
|
+
actions?: string[] | undefined;
|
|
5845
|
+
cta?: string[] | undefined;
|
|
5846
|
+
footer?: string[] | undefined;
|
|
5847
|
+
} | undefined;
|
|
5848
|
+
objects?: Record<string, unknown> | undefined;
|
|
5849
|
+
ownedObjects?: {
|
|
5850
|
+
text: string;
|
|
5851
|
+
id: string;
|
|
5852
|
+
kind: "freeText";
|
|
5853
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
5854
|
+
}[] | undefined;
|
|
5855
|
+
} | undefined;
|
|
5856
|
+
background?: unknown;
|
|
5422
5857
|
primaryColor?: string | undefined;
|
|
5423
5858
|
secondaryColor?: string | undefined;
|
|
5424
5859
|
textColor?: string | undefined;
|
|
@@ -8997,11 +9432,185 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
8997
9432
|
handle: string;
|
|
8998
9433
|
label?: undefined;
|
|
8999
9434
|
} | undefined, unknown>>;
|
|
9435
|
+
background: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
|
|
9436
|
+
kind: "solid";
|
|
9437
|
+
from?: undefined;
|
|
9438
|
+
to?: undefined;
|
|
9439
|
+
angleDeg?: undefined;
|
|
9440
|
+
} | {
|
|
9441
|
+
kind: "gradient";
|
|
9442
|
+
from: string;
|
|
9443
|
+
to: string;
|
|
9444
|
+
angleDeg?: undefined;
|
|
9445
|
+
} | {
|
|
9446
|
+
kind: "gradient";
|
|
9447
|
+
from: string;
|
|
9448
|
+
to: string;
|
|
9449
|
+
angleDeg: number;
|
|
9450
|
+
} | undefined, unknown>>;
|
|
9451
|
+
layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
9452
|
+
v: z.ZodLiteral<1>;
|
|
9453
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
9454
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
9455
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9456
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9457
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9458
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9459
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9460
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9461
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
9462
|
+
}, "strict", z.ZodTypeAny, {
|
|
9463
|
+
bio?: string[] | undefined;
|
|
9464
|
+
identity?: string[] | undefined;
|
|
9465
|
+
contact?: string[] | undefined;
|
|
9466
|
+
social?: string[] | undefined;
|
|
9467
|
+
actions?: string[] | undefined;
|
|
9468
|
+
cta?: string[] | undefined;
|
|
9469
|
+
footer?: string[] | undefined;
|
|
9470
|
+
}, {
|
|
9471
|
+
bio?: string[] | undefined;
|
|
9472
|
+
identity?: string[] | undefined;
|
|
9473
|
+
contact?: string[] | undefined;
|
|
9474
|
+
social?: string[] | undefined;
|
|
9475
|
+
actions?: string[] | undefined;
|
|
9476
|
+
cta?: string[] | undefined;
|
|
9477
|
+
footer?: string[] | undefined;
|
|
9478
|
+
}>>;
|
|
9479
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9480
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9481
|
+
id: z.ZodString;
|
|
9482
|
+
kind: z.ZodLiteral<"freeText">;
|
|
9483
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
9484
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
9485
|
+
}, "strict", z.ZodTypeAny, {
|
|
9486
|
+
text: string;
|
|
9487
|
+
id: string;
|
|
9488
|
+
kind: "freeText";
|
|
9489
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
9490
|
+
}, {
|
|
9491
|
+
text: string;
|
|
9492
|
+
id: string;
|
|
9493
|
+
kind: "freeText";
|
|
9494
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
9495
|
+
}>, "many">>;
|
|
9496
|
+
}, "strict", z.ZodTypeAny, {
|
|
9497
|
+
v: 1;
|
|
9498
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
9499
|
+
objectOrder?: {
|
|
9500
|
+
bio?: string[] | undefined;
|
|
9501
|
+
identity?: string[] | undefined;
|
|
9502
|
+
contact?: string[] | undefined;
|
|
9503
|
+
social?: string[] | undefined;
|
|
9504
|
+
actions?: string[] | undefined;
|
|
9505
|
+
cta?: string[] | undefined;
|
|
9506
|
+
footer?: string[] | undefined;
|
|
9507
|
+
} | undefined;
|
|
9508
|
+
objects?: Record<string, unknown> | undefined;
|
|
9509
|
+
ownedObjects?: {
|
|
9510
|
+
text: string;
|
|
9511
|
+
id: string;
|
|
9512
|
+
kind: "freeText";
|
|
9513
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
9514
|
+
}[] | undefined;
|
|
9515
|
+
}, {
|
|
9516
|
+
v: 1;
|
|
9517
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
9518
|
+
objectOrder?: {
|
|
9519
|
+
bio?: string[] | undefined;
|
|
9520
|
+
identity?: string[] | undefined;
|
|
9521
|
+
contact?: string[] | undefined;
|
|
9522
|
+
social?: string[] | undefined;
|
|
9523
|
+
actions?: string[] | undefined;
|
|
9524
|
+
cta?: string[] | undefined;
|
|
9525
|
+
footer?: string[] | undefined;
|
|
9526
|
+
} | undefined;
|
|
9527
|
+
objects?: Record<string, unknown> | undefined;
|
|
9528
|
+
ownedObjects?: {
|
|
9529
|
+
text: string;
|
|
9530
|
+
id: string;
|
|
9531
|
+
kind: "freeText";
|
|
9532
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
9533
|
+
}[] | undefined;
|
|
9534
|
+
}>, {
|
|
9535
|
+
v: 1;
|
|
9536
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
9537
|
+
objectOrder?: {
|
|
9538
|
+
bio?: string[] | undefined;
|
|
9539
|
+
identity?: string[] | undefined;
|
|
9540
|
+
contact?: string[] | undefined;
|
|
9541
|
+
social?: string[] | undefined;
|
|
9542
|
+
actions?: string[] | undefined;
|
|
9543
|
+
cta?: string[] | undefined;
|
|
9544
|
+
footer?: string[] | undefined;
|
|
9545
|
+
} | undefined;
|
|
9546
|
+
objects?: Record<string, unknown> | undefined;
|
|
9547
|
+
ownedObjects?: {
|
|
9548
|
+
text: string;
|
|
9549
|
+
id: string;
|
|
9550
|
+
kind: "freeText";
|
|
9551
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
9552
|
+
}[] | undefined;
|
|
9553
|
+
}, {
|
|
9554
|
+
v: 1;
|
|
9555
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
9556
|
+
objectOrder?: {
|
|
9557
|
+
bio?: string[] | undefined;
|
|
9558
|
+
identity?: string[] | undefined;
|
|
9559
|
+
contact?: string[] | undefined;
|
|
9560
|
+
social?: string[] | undefined;
|
|
9561
|
+
actions?: string[] | undefined;
|
|
9562
|
+
cta?: string[] | undefined;
|
|
9563
|
+
footer?: string[] | undefined;
|
|
9564
|
+
} | undefined;
|
|
9565
|
+
objects?: Record<string, unknown> | undefined;
|
|
9566
|
+
ownedObjects?: {
|
|
9567
|
+
text: string;
|
|
9568
|
+
id: string;
|
|
9569
|
+
kind: "freeText";
|
|
9570
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
9571
|
+
}[] | undefined;
|
|
9572
|
+
}>>;
|
|
9000
9573
|
}, "strip", z.ZodTypeAny, {
|
|
9001
9574
|
fontKey: string;
|
|
9002
9575
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
9003
9576
|
accentColor: string;
|
|
9004
9577
|
showAvatar: boolean;
|
|
9578
|
+
layout?: {
|
|
9579
|
+
v: 1;
|
|
9580
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
9581
|
+
objectOrder?: {
|
|
9582
|
+
bio?: string[] | undefined;
|
|
9583
|
+
identity?: string[] | undefined;
|
|
9584
|
+
contact?: string[] | undefined;
|
|
9585
|
+
social?: string[] | undefined;
|
|
9586
|
+
actions?: string[] | undefined;
|
|
9587
|
+
cta?: string[] | undefined;
|
|
9588
|
+
footer?: string[] | undefined;
|
|
9589
|
+
} | undefined;
|
|
9590
|
+
objects?: Record<string, unknown> | undefined;
|
|
9591
|
+
ownedObjects?: {
|
|
9592
|
+
text: string;
|
|
9593
|
+
id: string;
|
|
9594
|
+
kind: "freeText";
|
|
9595
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
9596
|
+
}[] | undefined;
|
|
9597
|
+
} | undefined;
|
|
9598
|
+
background?: {
|
|
9599
|
+
kind: "solid";
|
|
9600
|
+
from?: undefined;
|
|
9601
|
+
to?: undefined;
|
|
9602
|
+
angleDeg?: undefined;
|
|
9603
|
+
} | {
|
|
9604
|
+
kind: "gradient";
|
|
9605
|
+
from: string;
|
|
9606
|
+
to: string;
|
|
9607
|
+
angleDeg?: undefined;
|
|
9608
|
+
} | {
|
|
9609
|
+
kind: "gradient";
|
|
9610
|
+
from: string;
|
|
9611
|
+
to: string;
|
|
9612
|
+
angleDeg: number;
|
|
9613
|
+
} | undefined;
|
|
9005
9614
|
primaryColor?: string | undefined;
|
|
9006
9615
|
secondaryColor?: string | undefined;
|
|
9007
9616
|
textColor?: string | undefined;
|
|
@@ -9055,6 +9664,27 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
9055
9664
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
9056
9665
|
accentColor: string;
|
|
9057
9666
|
showAvatar: boolean;
|
|
9667
|
+
layout?: {
|
|
9668
|
+
v: 1;
|
|
9669
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
9670
|
+
objectOrder?: {
|
|
9671
|
+
bio?: string[] | undefined;
|
|
9672
|
+
identity?: string[] | undefined;
|
|
9673
|
+
contact?: string[] | undefined;
|
|
9674
|
+
social?: string[] | undefined;
|
|
9675
|
+
actions?: string[] | undefined;
|
|
9676
|
+
cta?: string[] | undefined;
|
|
9677
|
+
footer?: string[] | undefined;
|
|
9678
|
+
} | undefined;
|
|
9679
|
+
objects?: Record<string, unknown> | undefined;
|
|
9680
|
+
ownedObjects?: {
|
|
9681
|
+
text: string;
|
|
9682
|
+
id: string;
|
|
9683
|
+
kind: "freeText";
|
|
9684
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
9685
|
+
}[] | undefined;
|
|
9686
|
+
} | undefined;
|
|
9687
|
+
background?: unknown;
|
|
9058
9688
|
primaryColor?: string | undefined;
|
|
9059
9689
|
secondaryColor?: string | undefined;
|
|
9060
9690
|
textColor?: string | undefined;
|
|
@@ -9444,6 +10074,42 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
9444
10074
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
9445
10075
|
accentColor: string;
|
|
9446
10076
|
showAvatar: boolean;
|
|
10077
|
+
layout?: {
|
|
10078
|
+
v: 1;
|
|
10079
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
10080
|
+
objectOrder?: {
|
|
10081
|
+
bio?: string[] | undefined;
|
|
10082
|
+
identity?: string[] | undefined;
|
|
10083
|
+
contact?: string[] | undefined;
|
|
10084
|
+
social?: string[] | undefined;
|
|
10085
|
+
actions?: string[] | undefined;
|
|
10086
|
+
cta?: string[] | undefined;
|
|
10087
|
+
footer?: string[] | undefined;
|
|
10088
|
+
} | undefined;
|
|
10089
|
+
objects?: Record<string, unknown> | undefined;
|
|
10090
|
+
ownedObjects?: {
|
|
10091
|
+
text: string;
|
|
10092
|
+
id: string;
|
|
10093
|
+
kind: "freeText";
|
|
10094
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
10095
|
+
}[] | undefined;
|
|
10096
|
+
} | undefined;
|
|
10097
|
+
background?: {
|
|
10098
|
+
kind: "solid";
|
|
10099
|
+
from?: undefined;
|
|
10100
|
+
to?: undefined;
|
|
10101
|
+
angleDeg?: undefined;
|
|
10102
|
+
} | {
|
|
10103
|
+
kind: "gradient";
|
|
10104
|
+
from: string;
|
|
10105
|
+
to: string;
|
|
10106
|
+
angleDeg?: undefined;
|
|
10107
|
+
} | {
|
|
10108
|
+
kind: "gradient";
|
|
10109
|
+
from: string;
|
|
10110
|
+
to: string;
|
|
10111
|
+
angleDeg: number;
|
|
10112
|
+
} | undefined;
|
|
9447
10113
|
primaryColor?: string | undefined;
|
|
9448
10114
|
secondaryColor?: string | undefined;
|
|
9449
10115
|
textColor?: string | undefined;
|
|
@@ -9831,6 +10497,27 @@ declare const configurationCreateSchema: z.ZodObject<{
|
|
|
9831
10497
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
9832
10498
|
accentColor: string;
|
|
9833
10499
|
showAvatar: boolean;
|
|
10500
|
+
layout?: {
|
|
10501
|
+
v: 1;
|
|
10502
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
10503
|
+
objectOrder?: {
|
|
10504
|
+
bio?: string[] | undefined;
|
|
10505
|
+
identity?: string[] | undefined;
|
|
10506
|
+
contact?: string[] | undefined;
|
|
10507
|
+
social?: string[] | undefined;
|
|
10508
|
+
actions?: string[] | undefined;
|
|
10509
|
+
cta?: string[] | undefined;
|
|
10510
|
+
footer?: string[] | undefined;
|
|
10511
|
+
} | undefined;
|
|
10512
|
+
objects?: Record<string, unknown> | undefined;
|
|
10513
|
+
ownedObjects?: {
|
|
10514
|
+
text: string;
|
|
10515
|
+
id: string;
|
|
10516
|
+
kind: "freeText";
|
|
10517
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
10518
|
+
}[] | undefined;
|
|
10519
|
+
} | undefined;
|
|
10520
|
+
background?: unknown;
|
|
9834
10521
|
primaryColor?: string | undefined;
|
|
9835
10522
|
secondaryColor?: string | undefined;
|
|
9836
10523
|
textColor?: string | undefined;
|
|
@@ -13394,11 +14081,185 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
13394
14081
|
handle: string;
|
|
13395
14082
|
label?: undefined;
|
|
13396
14083
|
} | undefined, unknown>>;
|
|
14084
|
+
background: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
|
|
14085
|
+
kind: "solid";
|
|
14086
|
+
from?: undefined;
|
|
14087
|
+
to?: undefined;
|
|
14088
|
+
angleDeg?: undefined;
|
|
14089
|
+
} | {
|
|
14090
|
+
kind: "gradient";
|
|
14091
|
+
from: string;
|
|
14092
|
+
to: string;
|
|
14093
|
+
angleDeg?: undefined;
|
|
14094
|
+
} | {
|
|
14095
|
+
kind: "gradient";
|
|
14096
|
+
from: string;
|
|
14097
|
+
to: string;
|
|
14098
|
+
angleDeg: number;
|
|
14099
|
+
} | undefined, unknown>>;
|
|
14100
|
+
layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
14101
|
+
v: z.ZodLiteral<1>;
|
|
14102
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
14103
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
14104
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
14105
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
14106
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
14107
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
14108
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
14109
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
14110
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
14111
|
+
}, "strict", z.ZodTypeAny, {
|
|
14112
|
+
bio?: string[] | undefined;
|
|
14113
|
+
identity?: string[] | undefined;
|
|
14114
|
+
contact?: string[] | undefined;
|
|
14115
|
+
social?: string[] | undefined;
|
|
14116
|
+
actions?: string[] | undefined;
|
|
14117
|
+
cta?: string[] | undefined;
|
|
14118
|
+
footer?: string[] | undefined;
|
|
14119
|
+
}, {
|
|
14120
|
+
bio?: string[] | undefined;
|
|
14121
|
+
identity?: string[] | undefined;
|
|
14122
|
+
contact?: string[] | undefined;
|
|
14123
|
+
social?: string[] | undefined;
|
|
14124
|
+
actions?: string[] | undefined;
|
|
14125
|
+
cta?: string[] | undefined;
|
|
14126
|
+
footer?: string[] | undefined;
|
|
14127
|
+
}>>;
|
|
14128
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14129
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14130
|
+
id: z.ZodString;
|
|
14131
|
+
kind: z.ZodLiteral<"freeText">;
|
|
14132
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
14133
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
14134
|
+
}, "strict", z.ZodTypeAny, {
|
|
14135
|
+
text: string;
|
|
14136
|
+
id: string;
|
|
14137
|
+
kind: "freeText";
|
|
14138
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14139
|
+
}, {
|
|
14140
|
+
text: string;
|
|
14141
|
+
id: string;
|
|
14142
|
+
kind: "freeText";
|
|
14143
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14144
|
+
}>, "many">>;
|
|
14145
|
+
}, "strict", z.ZodTypeAny, {
|
|
14146
|
+
v: 1;
|
|
14147
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
14148
|
+
objectOrder?: {
|
|
14149
|
+
bio?: string[] | undefined;
|
|
14150
|
+
identity?: string[] | undefined;
|
|
14151
|
+
contact?: string[] | undefined;
|
|
14152
|
+
social?: string[] | undefined;
|
|
14153
|
+
actions?: string[] | undefined;
|
|
14154
|
+
cta?: string[] | undefined;
|
|
14155
|
+
footer?: string[] | undefined;
|
|
14156
|
+
} | undefined;
|
|
14157
|
+
objects?: Record<string, unknown> | undefined;
|
|
14158
|
+
ownedObjects?: {
|
|
14159
|
+
text: string;
|
|
14160
|
+
id: string;
|
|
14161
|
+
kind: "freeText";
|
|
14162
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14163
|
+
}[] | undefined;
|
|
14164
|
+
}, {
|
|
14165
|
+
v: 1;
|
|
14166
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
14167
|
+
objectOrder?: {
|
|
14168
|
+
bio?: string[] | undefined;
|
|
14169
|
+
identity?: string[] | undefined;
|
|
14170
|
+
contact?: string[] | undefined;
|
|
14171
|
+
social?: string[] | undefined;
|
|
14172
|
+
actions?: string[] | undefined;
|
|
14173
|
+
cta?: string[] | undefined;
|
|
14174
|
+
footer?: string[] | undefined;
|
|
14175
|
+
} | undefined;
|
|
14176
|
+
objects?: Record<string, unknown> | undefined;
|
|
14177
|
+
ownedObjects?: {
|
|
14178
|
+
text: string;
|
|
14179
|
+
id: string;
|
|
14180
|
+
kind: "freeText";
|
|
14181
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14182
|
+
}[] | undefined;
|
|
14183
|
+
}>, {
|
|
14184
|
+
v: 1;
|
|
14185
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
14186
|
+
objectOrder?: {
|
|
14187
|
+
bio?: string[] | undefined;
|
|
14188
|
+
identity?: string[] | undefined;
|
|
14189
|
+
contact?: string[] | undefined;
|
|
14190
|
+
social?: string[] | undefined;
|
|
14191
|
+
actions?: string[] | undefined;
|
|
14192
|
+
cta?: string[] | undefined;
|
|
14193
|
+
footer?: string[] | undefined;
|
|
14194
|
+
} | undefined;
|
|
14195
|
+
objects?: Record<string, unknown> | undefined;
|
|
14196
|
+
ownedObjects?: {
|
|
14197
|
+
text: string;
|
|
14198
|
+
id: string;
|
|
14199
|
+
kind: "freeText";
|
|
14200
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14201
|
+
}[] | undefined;
|
|
14202
|
+
}, {
|
|
14203
|
+
v: 1;
|
|
14204
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
14205
|
+
objectOrder?: {
|
|
14206
|
+
bio?: string[] | undefined;
|
|
14207
|
+
identity?: string[] | undefined;
|
|
14208
|
+
contact?: string[] | undefined;
|
|
14209
|
+
social?: string[] | undefined;
|
|
14210
|
+
actions?: string[] | undefined;
|
|
14211
|
+
cta?: string[] | undefined;
|
|
14212
|
+
footer?: string[] | undefined;
|
|
14213
|
+
} | undefined;
|
|
14214
|
+
objects?: Record<string, unknown> | undefined;
|
|
14215
|
+
ownedObjects?: {
|
|
14216
|
+
text: string;
|
|
14217
|
+
id: string;
|
|
14218
|
+
kind: "freeText";
|
|
14219
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14220
|
+
}[] | undefined;
|
|
14221
|
+
}>>;
|
|
13397
14222
|
}, "strip", z.ZodTypeAny, {
|
|
13398
14223
|
fontKey: string;
|
|
13399
14224
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
13400
14225
|
accentColor: string;
|
|
13401
14226
|
showAvatar: boolean;
|
|
14227
|
+
layout?: {
|
|
14228
|
+
v: 1;
|
|
14229
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
14230
|
+
objectOrder?: {
|
|
14231
|
+
bio?: string[] | undefined;
|
|
14232
|
+
identity?: string[] | undefined;
|
|
14233
|
+
contact?: string[] | undefined;
|
|
14234
|
+
social?: string[] | undefined;
|
|
14235
|
+
actions?: string[] | undefined;
|
|
14236
|
+
cta?: string[] | undefined;
|
|
14237
|
+
footer?: string[] | undefined;
|
|
14238
|
+
} | undefined;
|
|
14239
|
+
objects?: Record<string, unknown> | undefined;
|
|
14240
|
+
ownedObjects?: {
|
|
14241
|
+
text: string;
|
|
14242
|
+
id: string;
|
|
14243
|
+
kind: "freeText";
|
|
14244
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14245
|
+
}[] | undefined;
|
|
14246
|
+
} | undefined;
|
|
14247
|
+
background?: {
|
|
14248
|
+
kind: "solid";
|
|
14249
|
+
from?: undefined;
|
|
14250
|
+
to?: undefined;
|
|
14251
|
+
angleDeg?: undefined;
|
|
14252
|
+
} | {
|
|
14253
|
+
kind: "gradient";
|
|
14254
|
+
from: string;
|
|
14255
|
+
to: string;
|
|
14256
|
+
angleDeg?: undefined;
|
|
14257
|
+
} | {
|
|
14258
|
+
kind: "gradient";
|
|
14259
|
+
from: string;
|
|
14260
|
+
to: string;
|
|
14261
|
+
angleDeg: number;
|
|
14262
|
+
} | undefined;
|
|
13402
14263
|
primaryColor?: string | undefined;
|
|
13403
14264
|
secondaryColor?: string | undefined;
|
|
13404
14265
|
textColor?: string | undefined;
|
|
@@ -13452,6 +14313,27 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
13452
14313
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
13453
14314
|
accentColor: string;
|
|
13454
14315
|
showAvatar: boolean;
|
|
14316
|
+
layout?: {
|
|
14317
|
+
v: 1;
|
|
14318
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
14319
|
+
objectOrder?: {
|
|
14320
|
+
bio?: string[] | undefined;
|
|
14321
|
+
identity?: string[] | undefined;
|
|
14322
|
+
contact?: string[] | undefined;
|
|
14323
|
+
social?: string[] | undefined;
|
|
14324
|
+
actions?: string[] | undefined;
|
|
14325
|
+
cta?: string[] | undefined;
|
|
14326
|
+
footer?: string[] | undefined;
|
|
14327
|
+
} | undefined;
|
|
14328
|
+
objects?: Record<string, unknown> | undefined;
|
|
14329
|
+
ownedObjects?: {
|
|
14330
|
+
text: string;
|
|
14331
|
+
id: string;
|
|
14332
|
+
kind: "freeText";
|
|
14333
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14334
|
+
}[] | undefined;
|
|
14335
|
+
} | undefined;
|
|
14336
|
+
background?: unknown;
|
|
13455
14337
|
primaryColor?: string | undefined;
|
|
13456
14338
|
secondaryColor?: string | undefined;
|
|
13457
14339
|
textColor?: string | undefined;
|
|
@@ -13812,6 +14694,42 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
13812
14694
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
13813
14695
|
accentColor: string;
|
|
13814
14696
|
showAvatar: boolean;
|
|
14697
|
+
layout?: {
|
|
14698
|
+
v: 1;
|
|
14699
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
14700
|
+
objectOrder?: {
|
|
14701
|
+
bio?: string[] | undefined;
|
|
14702
|
+
identity?: string[] | undefined;
|
|
14703
|
+
contact?: string[] | undefined;
|
|
14704
|
+
social?: string[] | undefined;
|
|
14705
|
+
actions?: string[] | undefined;
|
|
14706
|
+
cta?: string[] | undefined;
|
|
14707
|
+
footer?: string[] | undefined;
|
|
14708
|
+
} | undefined;
|
|
14709
|
+
objects?: Record<string, unknown> | undefined;
|
|
14710
|
+
ownedObjects?: {
|
|
14711
|
+
text: string;
|
|
14712
|
+
id: string;
|
|
14713
|
+
kind: "freeText";
|
|
14714
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
14715
|
+
}[] | undefined;
|
|
14716
|
+
} | undefined;
|
|
14717
|
+
background?: {
|
|
14718
|
+
kind: "solid";
|
|
14719
|
+
from?: undefined;
|
|
14720
|
+
to?: undefined;
|
|
14721
|
+
angleDeg?: undefined;
|
|
14722
|
+
} | {
|
|
14723
|
+
kind: "gradient";
|
|
14724
|
+
from: string;
|
|
14725
|
+
to: string;
|
|
14726
|
+
angleDeg?: undefined;
|
|
14727
|
+
} | {
|
|
14728
|
+
kind: "gradient";
|
|
14729
|
+
from: string;
|
|
14730
|
+
to: string;
|
|
14731
|
+
angleDeg: number;
|
|
14732
|
+
} | undefined;
|
|
13815
14733
|
primaryColor?: string | undefined;
|
|
13816
14734
|
secondaryColor?: string | undefined;
|
|
13817
14735
|
textColor?: string | undefined;
|
|
@@ -14188,6 +15106,27 @@ declare const configurationUpdateSchema: z.ZodObject<{
|
|
|
14188
15106
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
14189
15107
|
accentColor: string;
|
|
14190
15108
|
showAvatar: boolean;
|
|
15109
|
+
layout?: {
|
|
15110
|
+
v: 1;
|
|
15111
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15112
|
+
objectOrder?: {
|
|
15113
|
+
bio?: string[] | undefined;
|
|
15114
|
+
identity?: string[] | undefined;
|
|
15115
|
+
contact?: string[] | undefined;
|
|
15116
|
+
social?: string[] | undefined;
|
|
15117
|
+
actions?: string[] | undefined;
|
|
15118
|
+
cta?: string[] | undefined;
|
|
15119
|
+
footer?: string[] | undefined;
|
|
15120
|
+
} | undefined;
|
|
15121
|
+
objects?: Record<string, unknown> | undefined;
|
|
15122
|
+
ownedObjects?: {
|
|
15123
|
+
text: string;
|
|
15124
|
+
id: string;
|
|
15125
|
+
kind: "freeText";
|
|
15126
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15127
|
+
}[] | undefined;
|
|
15128
|
+
} | undefined;
|
|
15129
|
+
background?: unknown;
|
|
14191
15130
|
primaryColor?: string | undefined;
|
|
14192
15131
|
secondaryColor?: string | undefined;
|
|
14193
15132
|
textColor?: string | undefined;
|
|
@@ -14344,34 +15283,208 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
14344
15283
|
handle: string;
|
|
14345
15284
|
label?: undefined;
|
|
14346
15285
|
} | undefined, unknown>>>>;
|
|
14347
|
-
|
|
14348
|
-
|
|
14349
|
-
|
|
14350
|
-
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
|
|
14354
|
-
|
|
14355
|
-
|
|
14356
|
-
|
|
14357
|
-
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
15286
|
+
background: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
|
|
15287
|
+
kind: "solid";
|
|
15288
|
+
from?: undefined;
|
|
15289
|
+
to?: undefined;
|
|
15290
|
+
angleDeg?: undefined;
|
|
15291
|
+
} | {
|
|
15292
|
+
kind: "gradient";
|
|
15293
|
+
from: string;
|
|
15294
|
+
to: string;
|
|
15295
|
+
angleDeg?: undefined;
|
|
15296
|
+
} | {
|
|
15297
|
+
kind: "gradient";
|
|
15298
|
+
from: string;
|
|
15299
|
+
to: string;
|
|
15300
|
+
angleDeg: number;
|
|
15301
|
+
} | undefined, unknown>>>>;
|
|
15302
|
+
layout: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
15303
|
+
v: z.ZodLiteral<1>;
|
|
15304
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
15305
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
15306
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15307
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15308
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15309
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15310
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15311
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15312
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15313
|
+
}, "strict", z.ZodTypeAny, {
|
|
15314
|
+
bio?: string[] | undefined;
|
|
15315
|
+
identity?: string[] | undefined;
|
|
15316
|
+
contact?: string[] | undefined;
|
|
15317
|
+
social?: string[] | undefined;
|
|
15318
|
+
actions?: string[] | undefined;
|
|
15319
|
+
cta?: string[] | undefined;
|
|
15320
|
+
footer?: string[] | undefined;
|
|
15321
|
+
}, {
|
|
15322
|
+
bio?: string[] | undefined;
|
|
15323
|
+
identity?: string[] | undefined;
|
|
15324
|
+
contact?: string[] | undefined;
|
|
15325
|
+
social?: string[] | undefined;
|
|
15326
|
+
actions?: string[] | undefined;
|
|
15327
|
+
cta?: string[] | undefined;
|
|
15328
|
+
footer?: string[] | undefined;
|
|
15329
|
+
}>>;
|
|
15330
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15331
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15332
|
+
id: z.ZodString;
|
|
15333
|
+
kind: z.ZodLiteral<"freeText">;
|
|
15334
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
15335
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
15336
|
+
}, "strict", z.ZodTypeAny, {
|
|
15337
|
+
text: string;
|
|
15338
|
+
id: string;
|
|
15339
|
+
kind: "freeText";
|
|
15340
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15341
|
+
}, {
|
|
15342
|
+
text: string;
|
|
15343
|
+
id: string;
|
|
15344
|
+
kind: "freeText";
|
|
15345
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15346
|
+
}>, "many">>;
|
|
15347
|
+
}, "strict", z.ZodTypeAny, {
|
|
15348
|
+
v: 1;
|
|
15349
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15350
|
+
objectOrder?: {
|
|
15351
|
+
bio?: string[] | undefined;
|
|
15352
|
+
identity?: string[] | undefined;
|
|
15353
|
+
contact?: string[] | undefined;
|
|
15354
|
+
social?: string[] | undefined;
|
|
15355
|
+
actions?: string[] | undefined;
|
|
15356
|
+
cta?: string[] | undefined;
|
|
15357
|
+
footer?: string[] | undefined;
|
|
15358
|
+
} | undefined;
|
|
15359
|
+
objects?: Record<string, unknown> | undefined;
|
|
15360
|
+
ownedObjects?: {
|
|
15361
|
+
text: string;
|
|
15362
|
+
id: string;
|
|
15363
|
+
kind: "freeText";
|
|
15364
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15365
|
+
}[] | undefined;
|
|
15366
|
+
}, {
|
|
15367
|
+
v: 1;
|
|
15368
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15369
|
+
objectOrder?: {
|
|
15370
|
+
bio?: string[] | undefined;
|
|
15371
|
+
identity?: string[] | undefined;
|
|
15372
|
+
contact?: string[] | undefined;
|
|
15373
|
+
social?: string[] | undefined;
|
|
15374
|
+
actions?: string[] | undefined;
|
|
15375
|
+
cta?: string[] | undefined;
|
|
15376
|
+
footer?: string[] | undefined;
|
|
15377
|
+
} | undefined;
|
|
15378
|
+
objects?: Record<string, unknown> | undefined;
|
|
15379
|
+
ownedObjects?: {
|
|
15380
|
+
text: string;
|
|
15381
|
+
id: string;
|
|
15382
|
+
kind: "freeText";
|
|
15383
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15384
|
+
}[] | undefined;
|
|
15385
|
+
}>, {
|
|
15386
|
+
v: 1;
|
|
15387
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15388
|
+
objectOrder?: {
|
|
15389
|
+
bio?: string[] | undefined;
|
|
15390
|
+
identity?: string[] | undefined;
|
|
15391
|
+
contact?: string[] | undefined;
|
|
15392
|
+
social?: string[] | undefined;
|
|
15393
|
+
actions?: string[] | undefined;
|
|
15394
|
+
cta?: string[] | undefined;
|
|
15395
|
+
footer?: string[] | undefined;
|
|
15396
|
+
} | undefined;
|
|
15397
|
+
objects?: Record<string, unknown> | undefined;
|
|
15398
|
+
ownedObjects?: {
|
|
15399
|
+
text: string;
|
|
15400
|
+
id: string;
|
|
15401
|
+
kind: "freeText";
|
|
15402
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15403
|
+
}[] | undefined;
|
|
15404
|
+
}, {
|
|
15405
|
+
v: 1;
|
|
15406
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15407
|
+
objectOrder?: {
|
|
15408
|
+
bio?: string[] | undefined;
|
|
15409
|
+
identity?: string[] | undefined;
|
|
15410
|
+
contact?: string[] | undefined;
|
|
15411
|
+
social?: string[] | undefined;
|
|
15412
|
+
actions?: string[] | undefined;
|
|
15413
|
+
cta?: string[] | undefined;
|
|
15414
|
+
footer?: string[] | undefined;
|
|
15415
|
+
} | undefined;
|
|
15416
|
+
objects?: Record<string, unknown> | undefined;
|
|
15417
|
+
ownedObjects?: {
|
|
15418
|
+
text: string;
|
|
15419
|
+
id: string;
|
|
15420
|
+
kind: "freeText";
|
|
15421
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15422
|
+
}[] | undefined;
|
|
15423
|
+
}>>>>;
|
|
15424
|
+
profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
15425
|
+
companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
15426
|
+
}, "strip", z.ZodTypeAny, {
|
|
15427
|
+
profilePhotoUrl?: string | undefined;
|
|
15428
|
+
companyLogoUrl?: string | undefined;
|
|
15429
|
+
fontKey?: string | undefined;
|
|
15430
|
+
templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
|
|
15431
|
+
layout?: {
|
|
15432
|
+
v: 1;
|
|
15433
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15434
|
+
objectOrder?: {
|
|
15435
|
+
bio?: string[] | undefined;
|
|
15436
|
+
identity?: string[] | undefined;
|
|
15437
|
+
contact?: string[] | undefined;
|
|
15438
|
+
social?: string[] | undefined;
|
|
15439
|
+
actions?: string[] | undefined;
|
|
15440
|
+
cta?: string[] | undefined;
|
|
15441
|
+
footer?: string[] | undefined;
|
|
15442
|
+
} | undefined;
|
|
15443
|
+
objects?: Record<string, unknown> | undefined;
|
|
15444
|
+
ownedObjects?: {
|
|
15445
|
+
text: string;
|
|
15446
|
+
id: string;
|
|
15447
|
+
kind: "freeText";
|
|
15448
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15449
|
+
}[] | undefined;
|
|
15450
|
+
} | undefined;
|
|
15451
|
+
background?: {
|
|
15452
|
+
kind: "solid";
|
|
15453
|
+
from?: undefined;
|
|
15454
|
+
to?: undefined;
|
|
15455
|
+
angleDeg?: undefined;
|
|
15456
|
+
} | {
|
|
15457
|
+
kind: "gradient";
|
|
15458
|
+
from: string;
|
|
15459
|
+
to: string;
|
|
15460
|
+
angleDeg?: undefined;
|
|
15461
|
+
} | {
|
|
15462
|
+
kind: "gradient";
|
|
15463
|
+
from: string;
|
|
15464
|
+
to: string;
|
|
15465
|
+
angleDeg: number;
|
|
15466
|
+
} | undefined;
|
|
15467
|
+
accentColor?: string | undefined;
|
|
15468
|
+
primaryColor?: string | undefined;
|
|
15469
|
+
secondaryColor?: string | undefined;
|
|
15470
|
+
textColor?: string | undefined;
|
|
15471
|
+
showAvatar?: boolean | undefined;
|
|
15472
|
+
avatarMode?: "photo" | "monogram" | "none" | undefined;
|
|
15473
|
+
visibility?: {
|
|
15474
|
+
showName?: boolean | undefined;
|
|
15475
|
+
showPosition?: boolean | undefined;
|
|
15476
|
+
showEmail?: boolean | undefined;
|
|
15477
|
+
showPhone?: boolean | undefined;
|
|
15478
|
+
showCompany?: boolean | undefined;
|
|
15479
|
+
showLogo?: boolean | undefined;
|
|
15480
|
+
showLocation?: boolean | undefined;
|
|
15481
|
+
showWebsite?: boolean | undefined;
|
|
15482
|
+
showBio?: boolean | undefined;
|
|
15483
|
+
showSocialLinks?: boolean | undefined;
|
|
15484
|
+
} | undefined;
|
|
15485
|
+
socialOverrides?: {
|
|
15486
|
+
facebook?: string | undefined;
|
|
15487
|
+
linkedin?: string | undefined;
|
|
14375
15488
|
instagram?: string | undefined;
|
|
14376
15489
|
x?: string | undefined;
|
|
14377
15490
|
youtube?: string | undefined;
|
|
@@ -14406,6 +15519,27 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
14406
15519
|
companyLogoUrl?: string | undefined;
|
|
14407
15520
|
fontKey?: string | undefined;
|
|
14408
15521
|
templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
|
|
15522
|
+
layout?: {
|
|
15523
|
+
v: 1;
|
|
15524
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15525
|
+
objectOrder?: {
|
|
15526
|
+
bio?: string[] | undefined;
|
|
15527
|
+
identity?: string[] | undefined;
|
|
15528
|
+
contact?: string[] | undefined;
|
|
15529
|
+
social?: string[] | undefined;
|
|
15530
|
+
actions?: string[] | undefined;
|
|
15531
|
+
cta?: string[] | undefined;
|
|
15532
|
+
footer?: string[] | undefined;
|
|
15533
|
+
} | undefined;
|
|
15534
|
+
objects?: Record<string, unknown> | undefined;
|
|
15535
|
+
ownedObjects?: {
|
|
15536
|
+
text: string;
|
|
15537
|
+
id: string;
|
|
15538
|
+
kind: "freeText";
|
|
15539
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15540
|
+
}[] | undefined;
|
|
15541
|
+
} | undefined;
|
|
15542
|
+
background?: unknown;
|
|
14409
15543
|
accentColor?: string | undefined;
|
|
14410
15544
|
primaryColor?: string | undefined;
|
|
14411
15545
|
secondaryColor?: string | undefined;
|
|
@@ -14449,6 +15583,42 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
14449
15583
|
companyLogoUrl?: string | undefined;
|
|
14450
15584
|
fontKey?: string | undefined;
|
|
14451
15585
|
templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
|
|
15586
|
+
layout?: {
|
|
15587
|
+
v: 1;
|
|
15588
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15589
|
+
objectOrder?: {
|
|
15590
|
+
bio?: string[] | undefined;
|
|
15591
|
+
identity?: string[] | undefined;
|
|
15592
|
+
contact?: string[] | undefined;
|
|
15593
|
+
social?: string[] | undefined;
|
|
15594
|
+
actions?: string[] | undefined;
|
|
15595
|
+
cta?: string[] | undefined;
|
|
15596
|
+
footer?: string[] | undefined;
|
|
15597
|
+
} | undefined;
|
|
15598
|
+
objects?: Record<string, unknown> | undefined;
|
|
15599
|
+
ownedObjects?: {
|
|
15600
|
+
text: string;
|
|
15601
|
+
id: string;
|
|
15602
|
+
kind: "freeText";
|
|
15603
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15604
|
+
}[] | undefined;
|
|
15605
|
+
} | undefined;
|
|
15606
|
+
background?: {
|
|
15607
|
+
kind: "solid";
|
|
15608
|
+
from?: undefined;
|
|
15609
|
+
to?: undefined;
|
|
15610
|
+
angleDeg?: undefined;
|
|
15611
|
+
} | {
|
|
15612
|
+
kind: "gradient";
|
|
15613
|
+
from: string;
|
|
15614
|
+
to: string;
|
|
15615
|
+
angleDeg?: undefined;
|
|
15616
|
+
} | {
|
|
15617
|
+
kind: "gradient";
|
|
15618
|
+
from: string;
|
|
15619
|
+
to: string;
|
|
15620
|
+
angleDeg: number;
|
|
15621
|
+
} | undefined;
|
|
14452
15622
|
accentColor?: string | undefined;
|
|
14453
15623
|
primaryColor?: string | undefined;
|
|
14454
15624
|
secondaryColor?: string | undefined;
|
|
@@ -14507,6 +15677,27 @@ declare const cardUpdateSchema: z.ZodObject<{
|
|
|
14507
15677
|
companyLogoUrl?: string | undefined;
|
|
14508
15678
|
fontKey?: string | undefined;
|
|
14509
15679
|
templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
|
|
15680
|
+
layout?: {
|
|
15681
|
+
v: 1;
|
|
15682
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15683
|
+
objectOrder?: {
|
|
15684
|
+
bio?: string[] | undefined;
|
|
15685
|
+
identity?: string[] | undefined;
|
|
15686
|
+
contact?: string[] | undefined;
|
|
15687
|
+
social?: string[] | undefined;
|
|
15688
|
+
actions?: string[] | undefined;
|
|
15689
|
+
cta?: string[] | undefined;
|
|
15690
|
+
footer?: string[] | undefined;
|
|
15691
|
+
} | undefined;
|
|
15692
|
+
objects?: Record<string, unknown> | undefined;
|
|
15693
|
+
ownedObjects?: {
|
|
15694
|
+
text: string;
|
|
15695
|
+
id: string;
|
|
15696
|
+
kind: "freeText";
|
|
15697
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15698
|
+
}[] | undefined;
|
|
15699
|
+
} | undefined;
|
|
15700
|
+
background?: unknown;
|
|
14510
15701
|
accentColor?: string | undefined;
|
|
14511
15702
|
primaryColor?: string | undefined;
|
|
14512
15703
|
secondaryColor?: string | undefined;
|
|
@@ -14738,11 +15929,185 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
14738
15929
|
handle: string;
|
|
14739
15930
|
label?: undefined;
|
|
14740
15931
|
} | undefined, unknown>>;
|
|
15932
|
+
background: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
|
|
15933
|
+
kind: "solid";
|
|
15934
|
+
from?: undefined;
|
|
15935
|
+
to?: undefined;
|
|
15936
|
+
angleDeg?: undefined;
|
|
15937
|
+
} | {
|
|
15938
|
+
kind: "gradient";
|
|
15939
|
+
from: string;
|
|
15940
|
+
to: string;
|
|
15941
|
+
angleDeg?: undefined;
|
|
15942
|
+
} | {
|
|
15943
|
+
kind: "gradient";
|
|
15944
|
+
from: string;
|
|
15945
|
+
to: string;
|
|
15946
|
+
angleDeg: number;
|
|
15947
|
+
} | undefined, unknown>>;
|
|
15948
|
+
layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
15949
|
+
v: z.ZodLiteral<1>;
|
|
15950
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
15951
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
15952
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15953
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15954
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15955
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15956
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15957
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15958
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
15959
|
+
}, "strict", z.ZodTypeAny, {
|
|
15960
|
+
bio?: string[] | undefined;
|
|
15961
|
+
identity?: string[] | undefined;
|
|
15962
|
+
contact?: string[] | undefined;
|
|
15963
|
+
social?: string[] | undefined;
|
|
15964
|
+
actions?: string[] | undefined;
|
|
15965
|
+
cta?: string[] | undefined;
|
|
15966
|
+
footer?: string[] | undefined;
|
|
15967
|
+
}, {
|
|
15968
|
+
bio?: string[] | undefined;
|
|
15969
|
+
identity?: string[] | undefined;
|
|
15970
|
+
contact?: string[] | undefined;
|
|
15971
|
+
social?: string[] | undefined;
|
|
15972
|
+
actions?: string[] | undefined;
|
|
15973
|
+
cta?: string[] | undefined;
|
|
15974
|
+
footer?: string[] | undefined;
|
|
15975
|
+
}>>;
|
|
15976
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15977
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15978
|
+
id: z.ZodString;
|
|
15979
|
+
kind: z.ZodLiteral<"freeText">;
|
|
15980
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
15981
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
15982
|
+
}, "strict", z.ZodTypeAny, {
|
|
15983
|
+
text: string;
|
|
15984
|
+
id: string;
|
|
15985
|
+
kind: "freeText";
|
|
15986
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15987
|
+
}, {
|
|
15988
|
+
text: string;
|
|
15989
|
+
id: string;
|
|
15990
|
+
kind: "freeText";
|
|
15991
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
15992
|
+
}>, "many">>;
|
|
15993
|
+
}, "strict", z.ZodTypeAny, {
|
|
15994
|
+
v: 1;
|
|
15995
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
15996
|
+
objectOrder?: {
|
|
15997
|
+
bio?: string[] | undefined;
|
|
15998
|
+
identity?: string[] | undefined;
|
|
15999
|
+
contact?: string[] | undefined;
|
|
16000
|
+
social?: string[] | undefined;
|
|
16001
|
+
actions?: string[] | undefined;
|
|
16002
|
+
cta?: string[] | undefined;
|
|
16003
|
+
footer?: string[] | undefined;
|
|
16004
|
+
} | undefined;
|
|
16005
|
+
objects?: Record<string, unknown> | undefined;
|
|
16006
|
+
ownedObjects?: {
|
|
16007
|
+
text: string;
|
|
16008
|
+
id: string;
|
|
16009
|
+
kind: "freeText";
|
|
16010
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
16011
|
+
}[] | undefined;
|
|
16012
|
+
}, {
|
|
16013
|
+
v: 1;
|
|
16014
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
16015
|
+
objectOrder?: {
|
|
16016
|
+
bio?: string[] | undefined;
|
|
16017
|
+
identity?: string[] | undefined;
|
|
16018
|
+
contact?: string[] | undefined;
|
|
16019
|
+
social?: string[] | undefined;
|
|
16020
|
+
actions?: string[] | undefined;
|
|
16021
|
+
cta?: string[] | undefined;
|
|
16022
|
+
footer?: string[] | undefined;
|
|
16023
|
+
} | undefined;
|
|
16024
|
+
objects?: Record<string, unknown> | undefined;
|
|
16025
|
+
ownedObjects?: {
|
|
16026
|
+
text: string;
|
|
16027
|
+
id: string;
|
|
16028
|
+
kind: "freeText";
|
|
16029
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
16030
|
+
}[] | undefined;
|
|
16031
|
+
}>, {
|
|
16032
|
+
v: 1;
|
|
16033
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
16034
|
+
objectOrder?: {
|
|
16035
|
+
bio?: string[] | undefined;
|
|
16036
|
+
identity?: string[] | undefined;
|
|
16037
|
+
contact?: string[] | undefined;
|
|
16038
|
+
social?: string[] | undefined;
|
|
16039
|
+
actions?: string[] | undefined;
|
|
16040
|
+
cta?: string[] | undefined;
|
|
16041
|
+
footer?: string[] | undefined;
|
|
16042
|
+
} | undefined;
|
|
16043
|
+
objects?: Record<string, unknown> | undefined;
|
|
16044
|
+
ownedObjects?: {
|
|
16045
|
+
text: string;
|
|
16046
|
+
id: string;
|
|
16047
|
+
kind: "freeText";
|
|
16048
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
16049
|
+
}[] | undefined;
|
|
16050
|
+
}, {
|
|
16051
|
+
v: 1;
|
|
16052
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
16053
|
+
objectOrder?: {
|
|
16054
|
+
bio?: string[] | undefined;
|
|
16055
|
+
identity?: string[] | undefined;
|
|
16056
|
+
contact?: string[] | undefined;
|
|
16057
|
+
social?: string[] | undefined;
|
|
16058
|
+
actions?: string[] | undefined;
|
|
16059
|
+
cta?: string[] | undefined;
|
|
16060
|
+
footer?: string[] | undefined;
|
|
16061
|
+
} | undefined;
|
|
16062
|
+
objects?: Record<string, unknown> | undefined;
|
|
16063
|
+
ownedObjects?: {
|
|
16064
|
+
text: string;
|
|
16065
|
+
id: string;
|
|
16066
|
+
kind: "freeText";
|
|
16067
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
16068
|
+
}[] | undefined;
|
|
16069
|
+
}>>;
|
|
14741
16070
|
}, "strip", z.ZodTypeAny, {
|
|
14742
16071
|
fontKey: string;
|
|
14743
16072
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
14744
16073
|
accentColor: string;
|
|
14745
16074
|
showAvatar: boolean;
|
|
16075
|
+
layout?: {
|
|
16076
|
+
v: 1;
|
|
16077
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
16078
|
+
objectOrder?: {
|
|
16079
|
+
bio?: string[] | undefined;
|
|
16080
|
+
identity?: string[] | undefined;
|
|
16081
|
+
contact?: string[] | undefined;
|
|
16082
|
+
social?: string[] | undefined;
|
|
16083
|
+
actions?: string[] | undefined;
|
|
16084
|
+
cta?: string[] | undefined;
|
|
16085
|
+
footer?: string[] | undefined;
|
|
16086
|
+
} | undefined;
|
|
16087
|
+
objects?: Record<string, unknown> | undefined;
|
|
16088
|
+
ownedObjects?: {
|
|
16089
|
+
text: string;
|
|
16090
|
+
id: string;
|
|
16091
|
+
kind: "freeText";
|
|
16092
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
16093
|
+
}[] | undefined;
|
|
16094
|
+
} | undefined;
|
|
16095
|
+
background?: {
|
|
16096
|
+
kind: "solid";
|
|
16097
|
+
from?: undefined;
|
|
16098
|
+
to?: undefined;
|
|
16099
|
+
angleDeg?: undefined;
|
|
16100
|
+
} | {
|
|
16101
|
+
kind: "gradient";
|
|
16102
|
+
from: string;
|
|
16103
|
+
to: string;
|
|
16104
|
+
angleDeg?: undefined;
|
|
16105
|
+
} | {
|
|
16106
|
+
kind: "gradient";
|
|
16107
|
+
from: string;
|
|
16108
|
+
to: string;
|
|
16109
|
+
angleDeg: number;
|
|
16110
|
+
} | undefined;
|
|
14746
16111
|
primaryColor?: string | undefined;
|
|
14747
16112
|
secondaryColor?: string | undefined;
|
|
14748
16113
|
textColor?: string | undefined;
|
|
@@ -14796,6 +16161,27 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
14796
16161
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
14797
16162
|
accentColor: string;
|
|
14798
16163
|
showAvatar: boolean;
|
|
16164
|
+
layout?: {
|
|
16165
|
+
v: 1;
|
|
16166
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
16167
|
+
objectOrder?: {
|
|
16168
|
+
bio?: string[] | undefined;
|
|
16169
|
+
identity?: string[] | undefined;
|
|
16170
|
+
contact?: string[] | undefined;
|
|
16171
|
+
social?: string[] | undefined;
|
|
16172
|
+
actions?: string[] | undefined;
|
|
16173
|
+
cta?: string[] | undefined;
|
|
16174
|
+
footer?: string[] | undefined;
|
|
16175
|
+
} | undefined;
|
|
16176
|
+
objects?: Record<string, unknown> | undefined;
|
|
16177
|
+
ownedObjects?: {
|
|
16178
|
+
text: string;
|
|
16179
|
+
id: string;
|
|
16180
|
+
kind: "freeText";
|
|
16181
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
16182
|
+
}[] | undefined;
|
|
16183
|
+
} | undefined;
|
|
16184
|
+
background?: unknown;
|
|
14799
16185
|
primaryColor?: string | undefined;
|
|
14800
16186
|
secondaryColor?: string | undefined;
|
|
14801
16187
|
textColor?: string | undefined;
|
|
@@ -18181,6 +19567,42 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
18181
19567
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
18182
19568
|
accentColor: string;
|
|
18183
19569
|
showAvatar: boolean;
|
|
19570
|
+
layout?: {
|
|
19571
|
+
v: 1;
|
|
19572
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
19573
|
+
objectOrder?: {
|
|
19574
|
+
bio?: string[] | undefined;
|
|
19575
|
+
identity?: string[] | undefined;
|
|
19576
|
+
contact?: string[] | undefined;
|
|
19577
|
+
social?: string[] | undefined;
|
|
19578
|
+
actions?: string[] | undefined;
|
|
19579
|
+
cta?: string[] | undefined;
|
|
19580
|
+
footer?: string[] | undefined;
|
|
19581
|
+
} | undefined;
|
|
19582
|
+
objects?: Record<string, unknown> | undefined;
|
|
19583
|
+
ownedObjects?: {
|
|
19584
|
+
text: string;
|
|
19585
|
+
id: string;
|
|
19586
|
+
kind: "freeText";
|
|
19587
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
19588
|
+
}[] | undefined;
|
|
19589
|
+
} | undefined;
|
|
19590
|
+
background?: {
|
|
19591
|
+
kind: "solid";
|
|
19592
|
+
from?: undefined;
|
|
19593
|
+
to?: undefined;
|
|
19594
|
+
angleDeg?: undefined;
|
|
19595
|
+
} | {
|
|
19596
|
+
kind: "gradient";
|
|
19597
|
+
from: string;
|
|
19598
|
+
to: string;
|
|
19599
|
+
angleDeg?: undefined;
|
|
19600
|
+
} | {
|
|
19601
|
+
kind: "gradient";
|
|
19602
|
+
from: string;
|
|
19603
|
+
to: string;
|
|
19604
|
+
angleDeg: number;
|
|
19605
|
+
} | undefined;
|
|
18184
19606
|
primaryColor?: string | undefined;
|
|
18185
19607
|
secondaryColor?: string | undefined;
|
|
18186
19608
|
textColor?: string | undefined;
|
|
@@ -18555,6 +19977,27 @@ declare const adminCardCreateSchema: z.ZodObject<{
|
|
|
18555
19977
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
18556
19978
|
accentColor: string;
|
|
18557
19979
|
showAvatar: boolean;
|
|
19980
|
+
layout?: {
|
|
19981
|
+
v: 1;
|
|
19982
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
19983
|
+
objectOrder?: {
|
|
19984
|
+
bio?: string[] | undefined;
|
|
19985
|
+
identity?: string[] | undefined;
|
|
19986
|
+
contact?: string[] | undefined;
|
|
19987
|
+
social?: string[] | undefined;
|
|
19988
|
+
actions?: string[] | undefined;
|
|
19989
|
+
cta?: string[] | undefined;
|
|
19990
|
+
footer?: string[] | undefined;
|
|
19991
|
+
} | undefined;
|
|
19992
|
+
objects?: Record<string, unknown> | undefined;
|
|
19993
|
+
ownedObjects?: {
|
|
19994
|
+
text: string;
|
|
19995
|
+
id: string;
|
|
19996
|
+
kind: "freeText";
|
|
19997
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
19998
|
+
}[] | undefined;
|
|
19999
|
+
} | undefined;
|
|
20000
|
+
background?: unknown;
|
|
18558
20001
|
primaryColor?: string | undefined;
|
|
18559
20002
|
secondaryColor?: string | undefined;
|
|
18560
20003
|
textColor?: string | undefined;
|
|
@@ -19172,11 +20615,185 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
19172
20615
|
handle: string;
|
|
19173
20616
|
label?: undefined;
|
|
19174
20617
|
} | undefined, unknown>>;
|
|
20618
|
+
background: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
|
|
20619
|
+
kind: "solid";
|
|
20620
|
+
from?: undefined;
|
|
20621
|
+
to?: undefined;
|
|
20622
|
+
angleDeg?: undefined;
|
|
20623
|
+
} | {
|
|
20624
|
+
kind: "gradient";
|
|
20625
|
+
from: string;
|
|
20626
|
+
to: string;
|
|
20627
|
+
angleDeg?: undefined;
|
|
20628
|
+
} | {
|
|
20629
|
+
kind: "gradient";
|
|
20630
|
+
from: string;
|
|
20631
|
+
to: string;
|
|
20632
|
+
angleDeg: number;
|
|
20633
|
+
} | undefined, unknown>>;
|
|
20634
|
+
layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
20635
|
+
v: z.ZodLiteral<1>;
|
|
20636
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
20637
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
20638
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
20639
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
20640
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
20641
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
20642
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
20643
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
20644
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
20645
|
+
}, "strict", z.ZodTypeAny, {
|
|
20646
|
+
bio?: string[] | undefined;
|
|
20647
|
+
identity?: string[] | undefined;
|
|
20648
|
+
contact?: string[] | undefined;
|
|
20649
|
+
social?: string[] | undefined;
|
|
20650
|
+
actions?: string[] | undefined;
|
|
20651
|
+
cta?: string[] | undefined;
|
|
20652
|
+
footer?: string[] | undefined;
|
|
20653
|
+
}, {
|
|
20654
|
+
bio?: string[] | undefined;
|
|
20655
|
+
identity?: string[] | undefined;
|
|
20656
|
+
contact?: string[] | undefined;
|
|
20657
|
+
social?: string[] | undefined;
|
|
20658
|
+
actions?: string[] | undefined;
|
|
20659
|
+
cta?: string[] | undefined;
|
|
20660
|
+
footer?: string[] | undefined;
|
|
20661
|
+
}>>;
|
|
20662
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20663
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20664
|
+
id: z.ZodString;
|
|
20665
|
+
kind: z.ZodLiteral<"freeText">;
|
|
20666
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
20667
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
20668
|
+
}, "strict", z.ZodTypeAny, {
|
|
20669
|
+
text: string;
|
|
20670
|
+
id: string;
|
|
20671
|
+
kind: "freeText";
|
|
20672
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20673
|
+
}, {
|
|
20674
|
+
text: string;
|
|
20675
|
+
id: string;
|
|
20676
|
+
kind: "freeText";
|
|
20677
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20678
|
+
}>, "many">>;
|
|
20679
|
+
}, "strict", z.ZodTypeAny, {
|
|
20680
|
+
v: 1;
|
|
20681
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
20682
|
+
objectOrder?: {
|
|
20683
|
+
bio?: string[] | undefined;
|
|
20684
|
+
identity?: string[] | undefined;
|
|
20685
|
+
contact?: string[] | undefined;
|
|
20686
|
+
social?: string[] | undefined;
|
|
20687
|
+
actions?: string[] | undefined;
|
|
20688
|
+
cta?: string[] | undefined;
|
|
20689
|
+
footer?: string[] | undefined;
|
|
20690
|
+
} | undefined;
|
|
20691
|
+
objects?: Record<string, unknown> | undefined;
|
|
20692
|
+
ownedObjects?: {
|
|
20693
|
+
text: string;
|
|
20694
|
+
id: string;
|
|
20695
|
+
kind: "freeText";
|
|
20696
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20697
|
+
}[] | undefined;
|
|
20698
|
+
}, {
|
|
20699
|
+
v: 1;
|
|
20700
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
20701
|
+
objectOrder?: {
|
|
20702
|
+
bio?: string[] | undefined;
|
|
20703
|
+
identity?: string[] | undefined;
|
|
20704
|
+
contact?: string[] | undefined;
|
|
20705
|
+
social?: string[] | undefined;
|
|
20706
|
+
actions?: string[] | undefined;
|
|
20707
|
+
cta?: string[] | undefined;
|
|
20708
|
+
footer?: string[] | undefined;
|
|
20709
|
+
} | undefined;
|
|
20710
|
+
objects?: Record<string, unknown> | undefined;
|
|
20711
|
+
ownedObjects?: {
|
|
20712
|
+
text: string;
|
|
20713
|
+
id: string;
|
|
20714
|
+
kind: "freeText";
|
|
20715
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20716
|
+
}[] | undefined;
|
|
20717
|
+
}>, {
|
|
20718
|
+
v: 1;
|
|
20719
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
20720
|
+
objectOrder?: {
|
|
20721
|
+
bio?: string[] | undefined;
|
|
20722
|
+
identity?: string[] | undefined;
|
|
20723
|
+
contact?: string[] | undefined;
|
|
20724
|
+
social?: string[] | undefined;
|
|
20725
|
+
actions?: string[] | undefined;
|
|
20726
|
+
cta?: string[] | undefined;
|
|
20727
|
+
footer?: string[] | undefined;
|
|
20728
|
+
} | undefined;
|
|
20729
|
+
objects?: Record<string, unknown> | undefined;
|
|
20730
|
+
ownedObjects?: {
|
|
20731
|
+
text: string;
|
|
20732
|
+
id: string;
|
|
20733
|
+
kind: "freeText";
|
|
20734
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20735
|
+
}[] | undefined;
|
|
20736
|
+
}, {
|
|
20737
|
+
v: 1;
|
|
20738
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
20739
|
+
objectOrder?: {
|
|
20740
|
+
bio?: string[] | undefined;
|
|
20741
|
+
identity?: string[] | undefined;
|
|
20742
|
+
contact?: string[] | undefined;
|
|
20743
|
+
social?: string[] | undefined;
|
|
20744
|
+
actions?: string[] | undefined;
|
|
20745
|
+
cta?: string[] | undefined;
|
|
20746
|
+
footer?: string[] | undefined;
|
|
20747
|
+
} | undefined;
|
|
20748
|
+
objects?: Record<string, unknown> | undefined;
|
|
20749
|
+
ownedObjects?: {
|
|
20750
|
+
text: string;
|
|
20751
|
+
id: string;
|
|
20752
|
+
kind: "freeText";
|
|
20753
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20754
|
+
}[] | undefined;
|
|
20755
|
+
}>>;
|
|
19175
20756
|
}, "strip", z.ZodTypeAny, {
|
|
19176
20757
|
fontKey: string;
|
|
19177
20758
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
19178
20759
|
accentColor: string;
|
|
19179
20760
|
showAvatar: boolean;
|
|
20761
|
+
layout?: {
|
|
20762
|
+
v: 1;
|
|
20763
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
20764
|
+
objectOrder?: {
|
|
20765
|
+
bio?: string[] | undefined;
|
|
20766
|
+
identity?: string[] | undefined;
|
|
20767
|
+
contact?: string[] | undefined;
|
|
20768
|
+
social?: string[] | undefined;
|
|
20769
|
+
actions?: string[] | undefined;
|
|
20770
|
+
cta?: string[] | undefined;
|
|
20771
|
+
footer?: string[] | undefined;
|
|
20772
|
+
} | undefined;
|
|
20773
|
+
objects?: Record<string, unknown> | undefined;
|
|
20774
|
+
ownedObjects?: {
|
|
20775
|
+
text: string;
|
|
20776
|
+
id: string;
|
|
20777
|
+
kind: "freeText";
|
|
20778
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20779
|
+
}[] | undefined;
|
|
20780
|
+
} | undefined;
|
|
20781
|
+
background?: {
|
|
20782
|
+
kind: "solid";
|
|
20783
|
+
from?: undefined;
|
|
20784
|
+
to?: undefined;
|
|
20785
|
+
angleDeg?: undefined;
|
|
20786
|
+
} | {
|
|
20787
|
+
kind: "gradient";
|
|
20788
|
+
from: string;
|
|
20789
|
+
to: string;
|
|
20790
|
+
angleDeg?: undefined;
|
|
20791
|
+
} | {
|
|
20792
|
+
kind: "gradient";
|
|
20793
|
+
from: string;
|
|
20794
|
+
to: string;
|
|
20795
|
+
angleDeg: number;
|
|
20796
|
+
} | undefined;
|
|
19180
20797
|
primaryColor?: string | undefined;
|
|
19181
20798
|
secondaryColor?: string | undefined;
|
|
19182
20799
|
textColor?: string | undefined;
|
|
@@ -19230,6 +20847,27 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
19230
20847
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
19231
20848
|
accentColor: string;
|
|
19232
20849
|
showAvatar: boolean;
|
|
20850
|
+
layout?: {
|
|
20851
|
+
v: 1;
|
|
20852
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
20853
|
+
objectOrder?: {
|
|
20854
|
+
bio?: string[] | undefined;
|
|
20855
|
+
identity?: string[] | undefined;
|
|
20856
|
+
contact?: string[] | undefined;
|
|
20857
|
+
social?: string[] | undefined;
|
|
20858
|
+
actions?: string[] | undefined;
|
|
20859
|
+
cta?: string[] | undefined;
|
|
20860
|
+
footer?: string[] | undefined;
|
|
20861
|
+
} | undefined;
|
|
20862
|
+
objects?: Record<string, unknown> | undefined;
|
|
20863
|
+
ownedObjects?: {
|
|
20864
|
+
text: string;
|
|
20865
|
+
id: string;
|
|
20866
|
+
kind: "freeText";
|
|
20867
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20868
|
+
}[] | undefined;
|
|
20869
|
+
} | undefined;
|
|
20870
|
+
background?: unknown;
|
|
19233
20871
|
primaryColor?: string | undefined;
|
|
19234
20872
|
secondaryColor?: string | undefined;
|
|
19235
20873
|
textColor?: string | undefined;
|
|
@@ -19296,6 +20934,42 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
19296
20934
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
19297
20935
|
accentColor: string;
|
|
19298
20936
|
showAvatar: boolean;
|
|
20937
|
+
layout?: {
|
|
20938
|
+
v: 1;
|
|
20939
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
20940
|
+
objectOrder?: {
|
|
20941
|
+
bio?: string[] | undefined;
|
|
20942
|
+
identity?: string[] | undefined;
|
|
20943
|
+
contact?: string[] | undefined;
|
|
20944
|
+
social?: string[] | undefined;
|
|
20945
|
+
actions?: string[] | undefined;
|
|
20946
|
+
cta?: string[] | undefined;
|
|
20947
|
+
footer?: string[] | undefined;
|
|
20948
|
+
} | undefined;
|
|
20949
|
+
objects?: Record<string, unknown> | undefined;
|
|
20950
|
+
ownedObjects?: {
|
|
20951
|
+
text: string;
|
|
20952
|
+
id: string;
|
|
20953
|
+
kind: "freeText";
|
|
20954
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
20955
|
+
}[] | undefined;
|
|
20956
|
+
} | undefined;
|
|
20957
|
+
background?: {
|
|
20958
|
+
kind: "solid";
|
|
20959
|
+
from?: undefined;
|
|
20960
|
+
to?: undefined;
|
|
20961
|
+
angleDeg?: undefined;
|
|
20962
|
+
} | {
|
|
20963
|
+
kind: "gradient";
|
|
20964
|
+
from: string;
|
|
20965
|
+
to: string;
|
|
20966
|
+
angleDeg?: undefined;
|
|
20967
|
+
} | {
|
|
20968
|
+
kind: "gradient";
|
|
20969
|
+
from: string;
|
|
20970
|
+
to: string;
|
|
20971
|
+
angleDeg: number;
|
|
20972
|
+
} | undefined;
|
|
19299
20973
|
primaryColor?: string | undefined;
|
|
19300
20974
|
secondaryColor?: string | undefined;
|
|
19301
20975
|
textColor?: string | undefined;
|
|
@@ -19379,6 +21053,27 @@ declare const profileCreateSchema: z.ZodObject<{
|
|
|
19379
21053
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
19380
21054
|
accentColor: string;
|
|
19381
21055
|
showAvatar: boolean;
|
|
21056
|
+
layout?: {
|
|
21057
|
+
v: 1;
|
|
21058
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21059
|
+
objectOrder?: {
|
|
21060
|
+
bio?: string[] | undefined;
|
|
21061
|
+
identity?: string[] | undefined;
|
|
21062
|
+
contact?: string[] | undefined;
|
|
21063
|
+
social?: string[] | undefined;
|
|
21064
|
+
actions?: string[] | undefined;
|
|
21065
|
+
cta?: string[] | undefined;
|
|
21066
|
+
footer?: string[] | undefined;
|
|
21067
|
+
} | undefined;
|
|
21068
|
+
objects?: Record<string, unknown> | undefined;
|
|
21069
|
+
ownedObjects?: {
|
|
21070
|
+
text: string;
|
|
21071
|
+
id: string;
|
|
21072
|
+
kind: "freeText";
|
|
21073
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21074
|
+
}[] | undefined;
|
|
21075
|
+
} | undefined;
|
|
21076
|
+
background?: unknown;
|
|
19382
21077
|
primaryColor?: string | undefined;
|
|
19383
21078
|
secondaryColor?: string | undefined;
|
|
19384
21079
|
textColor?: string | undefined;
|
|
@@ -19621,11 +21316,185 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
19621
21316
|
handle: string;
|
|
19622
21317
|
label?: undefined;
|
|
19623
21318
|
} | undefined, unknown>>;
|
|
21319
|
+
background: z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
|
|
21320
|
+
kind: "solid";
|
|
21321
|
+
from?: undefined;
|
|
21322
|
+
to?: undefined;
|
|
21323
|
+
angleDeg?: undefined;
|
|
21324
|
+
} | {
|
|
21325
|
+
kind: "gradient";
|
|
21326
|
+
from: string;
|
|
21327
|
+
to: string;
|
|
21328
|
+
angleDeg?: undefined;
|
|
21329
|
+
} | {
|
|
21330
|
+
kind: "gradient";
|
|
21331
|
+
from: string;
|
|
21332
|
+
to: string;
|
|
21333
|
+
angleDeg: number;
|
|
21334
|
+
} | undefined, unknown>>;
|
|
21335
|
+
layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
21336
|
+
v: z.ZodLiteral<1>;
|
|
21337
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
21338
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
21339
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21340
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21341
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21342
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21343
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21344
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21345
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21346
|
+
}, "strict", z.ZodTypeAny, {
|
|
21347
|
+
bio?: string[] | undefined;
|
|
21348
|
+
identity?: string[] | undefined;
|
|
21349
|
+
contact?: string[] | undefined;
|
|
21350
|
+
social?: string[] | undefined;
|
|
21351
|
+
actions?: string[] | undefined;
|
|
21352
|
+
cta?: string[] | undefined;
|
|
21353
|
+
footer?: string[] | undefined;
|
|
21354
|
+
}, {
|
|
21355
|
+
bio?: string[] | undefined;
|
|
21356
|
+
identity?: string[] | undefined;
|
|
21357
|
+
contact?: string[] | undefined;
|
|
21358
|
+
social?: string[] | undefined;
|
|
21359
|
+
actions?: string[] | undefined;
|
|
21360
|
+
cta?: string[] | undefined;
|
|
21361
|
+
footer?: string[] | undefined;
|
|
21362
|
+
}>>;
|
|
21363
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
21364
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21365
|
+
id: z.ZodString;
|
|
21366
|
+
kind: z.ZodLiteral<"freeText">;
|
|
21367
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
21368
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
21369
|
+
}, "strict", z.ZodTypeAny, {
|
|
21370
|
+
text: string;
|
|
21371
|
+
id: string;
|
|
21372
|
+
kind: "freeText";
|
|
21373
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21374
|
+
}, {
|
|
21375
|
+
text: string;
|
|
21376
|
+
id: string;
|
|
21377
|
+
kind: "freeText";
|
|
21378
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21379
|
+
}>, "many">>;
|
|
21380
|
+
}, "strict", z.ZodTypeAny, {
|
|
21381
|
+
v: 1;
|
|
21382
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21383
|
+
objectOrder?: {
|
|
21384
|
+
bio?: string[] | undefined;
|
|
21385
|
+
identity?: string[] | undefined;
|
|
21386
|
+
contact?: string[] | undefined;
|
|
21387
|
+
social?: string[] | undefined;
|
|
21388
|
+
actions?: string[] | undefined;
|
|
21389
|
+
cta?: string[] | undefined;
|
|
21390
|
+
footer?: string[] | undefined;
|
|
21391
|
+
} | undefined;
|
|
21392
|
+
objects?: Record<string, unknown> | undefined;
|
|
21393
|
+
ownedObjects?: {
|
|
21394
|
+
text: string;
|
|
21395
|
+
id: string;
|
|
21396
|
+
kind: "freeText";
|
|
21397
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21398
|
+
}[] | undefined;
|
|
21399
|
+
}, {
|
|
21400
|
+
v: 1;
|
|
21401
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21402
|
+
objectOrder?: {
|
|
21403
|
+
bio?: string[] | undefined;
|
|
21404
|
+
identity?: string[] | undefined;
|
|
21405
|
+
contact?: string[] | undefined;
|
|
21406
|
+
social?: string[] | undefined;
|
|
21407
|
+
actions?: string[] | undefined;
|
|
21408
|
+
cta?: string[] | undefined;
|
|
21409
|
+
footer?: string[] | undefined;
|
|
21410
|
+
} | undefined;
|
|
21411
|
+
objects?: Record<string, unknown> | undefined;
|
|
21412
|
+
ownedObjects?: {
|
|
21413
|
+
text: string;
|
|
21414
|
+
id: string;
|
|
21415
|
+
kind: "freeText";
|
|
21416
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21417
|
+
}[] | undefined;
|
|
21418
|
+
}>, {
|
|
21419
|
+
v: 1;
|
|
21420
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21421
|
+
objectOrder?: {
|
|
21422
|
+
bio?: string[] | undefined;
|
|
21423
|
+
identity?: string[] | undefined;
|
|
21424
|
+
contact?: string[] | undefined;
|
|
21425
|
+
social?: string[] | undefined;
|
|
21426
|
+
actions?: string[] | undefined;
|
|
21427
|
+
cta?: string[] | undefined;
|
|
21428
|
+
footer?: string[] | undefined;
|
|
21429
|
+
} | undefined;
|
|
21430
|
+
objects?: Record<string, unknown> | undefined;
|
|
21431
|
+
ownedObjects?: {
|
|
21432
|
+
text: string;
|
|
21433
|
+
id: string;
|
|
21434
|
+
kind: "freeText";
|
|
21435
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21436
|
+
}[] | undefined;
|
|
21437
|
+
}, {
|
|
21438
|
+
v: 1;
|
|
21439
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21440
|
+
objectOrder?: {
|
|
21441
|
+
bio?: string[] | undefined;
|
|
21442
|
+
identity?: string[] | undefined;
|
|
21443
|
+
contact?: string[] | undefined;
|
|
21444
|
+
social?: string[] | undefined;
|
|
21445
|
+
actions?: string[] | undefined;
|
|
21446
|
+
cta?: string[] | undefined;
|
|
21447
|
+
footer?: string[] | undefined;
|
|
21448
|
+
} | undefined;
|
|
21449
|
+
objects?: Record<string, unknown> | undefined;
|
|
21450
|
+
ownedObjects?: {
|
|
21451
|
+
text: string;
|
|
21452
|
+
id: string;
|
|
21453
|
+
kind: "freeText";
|
|
21454
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21455
|
+
}[] | undefined;
|
|
21456
|
+
}>>;
|
|
19624
21457
|
}, "strip", z.ZodTypeAny, {
|
|
19625
21458
|
fontKey: string;
|
|
19626
21459
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
19627
21460
|
accentColor: string;
|
|
19628
21461
|
showAvatar: boolean;
|
|
21462
|
+
layout?: {
|
|
21463
|
+
v: 1;
|
|
21464
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21465
|
+
objectOrder?: {
|
|
21466
|
+
bio?: string[] | undefined;
|
|
21467
|
+
identity?: string[] | undefined;
|
|
21468
|
+
contact?: string[] | undefined;
|
|
21469
|
+
social?: string[] | undefined;
|
|
21470
|
+
actions?: string[] | undefined;
|
|
21471
|
+
cta?: string[] | undefined;
|
|
21472
|
+
footer?: string[] | undefined;
|
|
21473
|
+
} | undefined;
|
|
21474
|
+
objects?: Record<string, unknown> | undefined;
|
|
21475
|
+
ownedObjects?: {
|
|
21476
|
+
text: string;
|
|
21477
|
+
id: string;
|
|
21478
|
+
kind: "freeText";
|
|
21479
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21480
|
+
}[] | undefined;
|
|
21481
|
+
} | undefined;
|
|
21482
|
+
background?: {
|
|
21483
|
+
kind: "solid";
|
|
21484
|
+
from?: undefined;
|
|
21485
|
+
to?: undefined;
|
|
21486
|
+
angleDeg?: undefined;
|
|
21487
|
+
} | {
|
|
21488
|
+
kind: "gradient";
|
|
21489
|
+
from: string;
|
|
21490
|
+
to: string;
|
|
21491
|
+
angleDeg?: undefined;
|
|
21492
|
+
} | {
|
|
21493
|
+
kind: "gradient";
|
|
21494
|
+
from: string;
|
|
21495
|
+
to: string;
|
|
21496
|
+
angleDeg: number;
|
|
21497
|
+
} | undefined;
|
|
19629
21498
|
primaryColor?: string | undefined;
|
|
19630
21499
|
secondaryColor?: string | undefined;
|
|
19631
21500
|
textColor?: string | undefined;
|
|
@@ -19679,6 +21548,27 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
19679
21548
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
19680
21549
|
accentColor: string;
|
|
19681
21550
|
showAvatar: boolean;
|
|
21551
|
+
layout?: {
|
|
21552
|
+
v: 1;
|
|
21553
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21554
|
+
objectOrder?: {
|
|
21555
|
+
bio?: string[] | undefined;
|
|
21556
|
+
identity?: string[] | undefined;
|
|
21557
|
+
contact?: string[] | undefined;
|
|
21558
|
+
social?: string[] | undefined;
|
|
21559
|
+
actions?: string[] | undefined;
|
|
21560
|
+
cta?: string[] | undefined;
|
|
21561
|
+
footer?: string[] | undefined;
|
|
21562
|
+
} | undefined;
|
|
21563
|
+
objects?: Record<string, unknown> | undefined;
|
|
21564
|
+
ownedObjects?: {
|
|
21565
|
+
text: string;
|
|
21566
|
+
id: string;
|
|
21567
|
+
kind: "freeText";
|
|
21568
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21569
|
+
}[] | undefined;
|
|
21570
|
+
} | undefined;
|
|
21571
|
+
background?: unknown;
|
|
19682
21572
|
primaryColor?: string | undefined;
|
|
19683
21573
|
secondaryColor?: string | undefined;
|
|
19684
21574
|
textColor?: string | undefined;
|
|
@@ -19743,6 +21633,42 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
19743
21633
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
19744
21634
|
accentColor: string;
|
|
19745
21635
|
showAvatar: boolean;
|
|
21636
|
+
layout?: {
|
|
21637
|
+
v: 1;
|
|
21638
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21639
|
+
objectOrder?: {
|
|
21640
|
+
bio?: string[] | undefined;
|
|
21641
|
+
identity?: string[] | undefined;
|
|
21642
|
+
contact?: string[] | undefined;
|
|
21643
|
+
social?: string[] | undefined;
|
|
21644
|
+
actions?: string[] | undefined;
|
|
21645
|
+
cta?: string[] | undefined;
|
|
21646
|
+
footer?: string[] | undefined;
|
|
21647
|
+
} | undefined;
|
|
21648
|
+
objects?: Record<string, unknown> | undefined;
|
|
21649
|
+
ownedObjects?: {
|
|
21650
|
+
text: string;
|
|
21651
|
+
id: string;
|
|
21652
|
+
kind: "freeText";
|
|
21653
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21654
|
+
}[] | undefined;
|
|
21655
|
+
} | undefined;
|
|
21656
|
+
background?: {
|
|
21657
|
+
kind: "solid";
|
|
21658
|
+
from?: undefined;
|
|
21659
|
+
to?: undefined;
|
|
21660
|
+
angleDeg?: undefined;
|
|
21661
|
+
} | {
|
|
21662
|
+
kind: "gradient";
|
|
21663
|
+
from: string;
|
|
21664
|
+
to: string;
|
|
21665
|
+
angleDeg?: undefined;
|
|
21666
|
+
} | {
|
|
21667
|
+
kind: "gradient";
|
|
21668
|
+
from: string;
|
|
21669
|
+
to: string;
|
|
21670
|
+
angleDeg: number;
|
|
21671
|
+
} | undefined;
|
|
19746
21672
|
primaryColor?: string | undefined;
|
|
19747
21673
|
secondaryColor?: string | undefined;
|
|
19748
21674
|
textColor?: string | undefined;
|
|
@@ -19830,6 +21756,27 @@ declare const signupWithProfileSchema: z.ZodObject<{
|
|
|
19830
21756
|
templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
|
|
19831
21757
|
accentColor: string;
|
|
19832
21758
|
showAvatar: boolean;
|
|
21759
|
+
layout?: {
|
|
21760
|
+
v: 1;
|
|
21761
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
21762
|
+
objectOrder?: {
|
|
21763
|
+
bio?: string[] | undefined;
|
|
21764
|
+
identity?: string[] | undefined;
|
|
21765
|
+
contact?: string[] | undefined;
|
|
21766
|
+
social?: string[] | undefined;
|
|
21767
|
+
actions?: string[] | undefined;
|
|
21768
|
+
cta?: string[] | undefined;
|
|
21769
|
+
footer?: string[] | undefined;
|
|
21770
|
+
} | undefined;
|
|
21771
|
+
objects?: Record<string, unknown> | undefined;
|
|
21772
|
+
ownedObjects?: {
|
|
21773
|
+
text: string;
|
|
21774
|
+
id: string;
|
|
21775
|
+
kind: "freeText";
|
|
21776
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
21777
|
+
}[] | undefined;
|
|
21778
|
+
} | undefined;
|
|
21779
|
+
background?: unknown;
|
|
19833
21780
|
primaryColor?: string | undefined;
|
|
19834
21781
|
secondaryColor?: string | undefined;
|
|
19835
21782
|
textColor?: string | undefined;
|
|
@@ -20068,6 +22015,144 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
20068
22015
|
handle: string;
|
|
20069
22016
|
label?: undefined;
|
|
20070
22017
|
} | undefined, unknown>>>>;
|
|
22018
|
+
background: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodUnknown, {
|
|
22019
|
+
kind: "solid";
|
|
22020
|
+
from?: undefined;
|
|
22021
|
+
to?: undefined;
|
|
22022
|
+
angleDeg?: undefined;
|
|
22023
|
+
} | {
|
|
22024
|
+
kind: "gradient";
|
|
22025
|
+
from: string;
|
|
22026
|
+
to: string;
|
|
22027
|
+
angleDeg?: undefined;
|
|
22028
|
+
} | {
|
|
22029
|
+
kind: "gradient";
|
|
22030
|
+
from: string;
|
|
22031
|
+
to: string;
|
|
22032
|
+
angleDeg: number;
|
|
22033
|
+
} | undefined, unknown>>>>;
|
|
22034
|
+
layout: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
22035
|
+
v: z.ZodLiteral<1>;
|
|
22036
|
+
sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
|
|
22037
|
+
objectOrder: z.ZodOptional<z.ZodObject<{
|
|
22038
|
+
bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22039
|
+
identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22040
|
+
contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22041
|
+
social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22042
|
+
actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22043
|
+
cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22044
|
+
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
22045
|
+
}, "strict", z.ZodTypeAny, {
|
|
22046
|
+
bio?: string[] | undefined;
|
|
22047
|
+
identity?: string[] | undefined;
|
|
22048
|
+
contact?: string[] | undefined;
|
|
22049
|
+
social?: string[] | undefined;
|
|
22050
|
+
actions?: string[] | undefined;
|
|
22051
|
+
cta?: string[] | undefined;
|
|
22052
|
+
footer?: string[] | undefined;
|
|
22053
|
+
}, {
|
|
22054
|
+
bio?: string[] | undefined;
|
|
22055
|
+
identity?: string[] | undefined;
|
|
22056
|
+
contact?: string[] | undefined;
|
|
22057
|
+
social?: string[] | undefined;
|
|
22058
|
+
actions?: string[] | undefined;
|
|
22059
|
+
cta?: string[] | undefined;
|
|
22060
|
+
footer?: string[] | undefined;
|
|
22061
|
+
}>>;
|
|
22062
|
+
objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22063
|
+
ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22064
|
+
id: z.ZodString;
|
|
22065
|
+
kind: z.ZodLiteral<"freeText">;
|
|
22066
|
+
section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
|
|
22067
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
22068
|
+
}, "strict", z.ZodTypeAny, {
|
|
22069
|
+
text: string;
|
|
22070
|
+
id: string;
|
|
22071
|
+
kind: "freeText";
|
|
22072
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22073
|
+
}, {
|
|
22074
|
+
text: string;
|
|
22075
|
+
id: string;
|
|
22076
|
+
kind: "freeText";
|
|
22077
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22078
|
+
}>, "many">>;
|
|
22079
|
+
}, "strict", z.ZodTypeAny, {
|
|
22080
|
+
v: 1;
|
|
22081
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
22082
|
+
objectOrder?: {
|
|
22083
|
+
bio?: string[] | undefined;
|
|
22084
|
+
identity?: string[] | undefined;
|
|
22085
|
+
contact?: string[] | undefined;
|
|
22086
|
+
social?: string[] | undefined;
|
|
22087
|
+
actions?: string[] | undefined;
|
|
22088
|
+
cta?: string[] | undefined;
|
|
22089
|
+
footer?: string[] | undefined;
|
|
22090
|
+
} | undefined;
|
|
22091
|
+
objects?: Record<string, unknown> | undefined;
|
|
22092
|
+
ownedObjects?: {
|
|
22093
|
+
text: string;
|
|
22094
|
+
id: string;
|
|
22095
|
+
kind: "freeText";
|
|
22096
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22097
|
+
}[] | undefined;
|
|
22098
|
+
}, {
|
|
22099
|
+
v: 1;
|
|
22100
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
22101
|
+
objectOrder?: {
|
|
22102
|
+
bio?: string[] | undefined;
|
|
22103
|
+
identity?: string[] | undefined;
|
|
22104
|
+
contact?: string[] | undefined;
|
|
22105
|
+
social?: string[] | undefined;
|
|
22106
|
+
actions?: string[] | undefined;
|
|
22107
|
+
cta?: string[] | undefined;
|
|
22108
|
+
footer?: string[] | undefined;
|
|
22109
|
+
} | undefined;
|
|
22110
|
+
objects?: Record<string, unknown> | undefined;
|
|
22111
|
+
ownedObjects?: {
|
|
22112
|
+
text: string;
|
|
22113
|
+
id: string;
|
|
22114
|
+
kind: "freeText";
|
|
22115
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22116
|
+
}[] | undefined;
|
|
22117
|
+
}>, {
|
|
22118
|
+
v: 1;
|
|
22119
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
22120
|
+
objectOrder?: {
|
|
22121
|
+
bio?: string[] | undefined;
|
|
22122
|
+
identity?: string[] | undefined;
|
|
22123
|
+
contact?: string[] | undefined;
|
|
22124
|
+
social?: string[] | undefined;
|
|
22125
|
+
actions?: string[] | undefined;
|
|
22126
|
+
cta?: string[] | undefined;
|
|
22127
|
+
footer?: string[] | undefined;
|
|
22128
|
+
} | undefined;
|
|
22129
|
+
objects?: Record<string, unknown> | undefined;
|
|
22130
|
+
ownedObjects?: {
|
|
22131
|
+
text: string;
|
|
22132
|
+
id: string;
|
|
22133
|
+
kind: "freeText";
|
|
22134
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22135
|
+
}[] | undefined;
|
|
22136
|
+
}, {
|
|
22137
|
+
v: 1;
|
|
22138
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
22139
|
+
objectOrder?: {
|
|
22140
|
+
bio?: string[] | undefined;
|
|
22141
|
+
identity?: string[] | undefined;
|
|
22142
|
+
contact?: string[] | undefined;
|
|
22143
|
+
social?: string[] | undefined;
|
|
22144
|
+
actions?: string[] | undefined;
|
|
22145
|
+
cta?: string[] | undefined;
|
|
22146
|
+
footer?: string[] | undefined;
|
|
22147
|
+
} | undefined;
|
|
22148
|
+
objects?: Record<string, unknown> | undefined;
|
|
22149
|
+
ownedObjects?: {
|
|
22150
|
+
text: string;
|
|
22151
|
+
id: string;
|
|
22152
|
+
kind: "freeText";
|
|
22153
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22154
|
+
}[] | undefined;
|
|
22155
|
+
}>>>>;
|
|
20071
22156
|
profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
20072
22157
|
companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
|
|
20073
22158
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -20075,6 +22160,42 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
20075
22160
|
companyLogoUrl?: string | undefined;
|
|
20076
22161
|
fontKey?: string | undefined;
|
|
20077
22162
|
templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
|
|
22163
|
+
layout?: {
|
|
22164
|
+
v: 1;
|
|
22165
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
22166
|
+
objectOrder?: {
|
|
22167
|
+
bio?: string[] | undefined;
|
|
22168
|
+
identity?: string[] | undefined;
|
|
22169
|
+
contact?: string[] | undefined;
|
|
22170
|
+
social?: string[] | undefined;
|
|
22171
|
+
actions?: string[] | undefined;
|
|
22172
|
+
cta?: string[] | undefined;
|
|
22173
|
+
footer?: string[] | undefined;
|
|
22174
|
+
} | undefined;
|
|
22175
|
+
objects?: Record<string, unknown> | undefined;
|
|
22176
|
+
ownedObjects?: {
|
|
22177
|
+
text: string;
|
|
22178
|
+
id: string;
|
|
22179
|
+
kind: "freeText";
|
|
22180
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22181
|
+
}[] | undefined;
|
|
22182
|
+
} | undefined;
|
|
22183
|
+
background?: {
|
|
22184
|
+
kind: "solid";
|
|
22185
|
+
from?: undefined;
|
|
22186
|
+
to?: undefined;
|
|
22187
|
+
angleDeg?: undefined;
|
|
22188
|
+
} | {
|
|
22189
|
+
kind: "gradient";
|
|
22190
|
+
from: string;
|
|
22191
|
+
to: string;
|
|
22192
|
+
angleDeg?: undefined;
|
|
22193
|
+
} | {
|
|
22194
|
+
kind: "gradient";
|
|
22195
|
+
from: string;
|
|
22196
|
+
to: string;
|
|
22197
|
+
angleDeg: number;
|
|
22198
|
+
} | undefined;
|
|
20078
22199
|
accentColor?: string | undefined;
|
|
20079
22200
|
primaryColor?: string | undefined;
|
|
20080
22201
|
secondaryColor?: string | undefined;
|
|
@@ -20130,6 +22251,27 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
20130
22251
|
companyLogoUrl?: string | undefined;
|
|
20131
22252
|
fontKey?: string | undefined;
|
|
20132
22253
|
templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
|
|
22254
|
+
layout?: {
|
|
22255
|
+
v: 1;
|
|
22256
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
22257
|
+
objectOrder?: {
|
|
22258
|
+
bio?: string[] | undefined;
|
|
22259
|
+
identity?: string[] | undefined;
|
|
22260
|
+
contact?: string[] | undefined;
|
|
22261
|
+
social?: string[] | undefined;
|
|
22262
|
+
actions?: string[] | undefined;
|
|
22263
|
+
cta?: string[] | undefined;
|
|
22264
|
+
footer?: string[] | undefined;
|
|
22265
|
+
} | undefined;
|
|
22266
|
+
objects?: Record<string, unknown> | undefined;
|
|
22267
|
+
ownedObjects?: {
|
|
22268
|
+
text: string;
|
|
22269
|
+
id: string;
|
|
22270
|
+
kind: "freeText";
|
|
22271
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22272
|
+
}[] | undefined;
|
|
22273
|
+
} | undefined;
|
|
22274
|
+
background?: unknown;
|
|
20133
22275
|
accentColor?: string | undefined;
|
|
20134
22276
|
primaryColor?: string | undefined;
|
|
20135
22277
|
secondaryColor?: string | undefined;
|
|
@@ -20199,6 +22341,42 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
20199
22341
|
companyLogoUrl?: string | undefined;
|
|
20200
22342
|
fontKey?: string | undefined;
|
|
20201
22343
|
templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
|
|
22344
|
+
layout?: {
|
|
22345
|
+
v: 1;
|
|
22346
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
22347
|
+
objectOrder?: {
|
|
22348
|
+
bio?: string[] | undefined;
|
|
22349
|
+
identity?: string[] | undefined;
|
|
22350
|
+
contact?: string[] | undefined;
|
|
22351
|
+
social?: string[] | undefined;
|
|
22352
|
+
actions?: string[] | undefined;
|
|
22353
|
+
cta?: string[] | undefined;
|
|
22354
|
+
footer?: string[] | undefined;
|
|
22355
|
+
} | undefined;
|
|
22356
|
+
objects?: Record<string, unknown> | undefined;
|
|
22357
|
+
ownedObjects?: {
|
|
22358
|
+
text: string;
|
|
22359
|
+
id: string;
|
|
22360
|
+
kind: "freeText";
|
|
22361
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22362
|
+
}[] | undefined;
|
|
22363
|
+
} | undefined;
|
|
22364
|
+
background?: {
|
|
22365
|
+
kind: "solid";
|
|
22366
|
+
from?: undefined;
|
|
22367
|
+
to?: undefined;
|
|
22368
|
+
angleDeg?: undefined;
|
|
22369
|
+
} | {
|
|
22370
|
+
kind: "gradient";
|
|
22371
|
+
from: string;
|
|
22372
|
+
to: string;
|
|
22373
|
+
angleDeg?: undefined;
|
|
22374
|
+
} | {
|
|
22375
|
+
kind: "gradient";
|
|
22376
|
+
from: string;
|
|
22377
|
+
to: string;
|
|
22378
|
+
angleDeg: number;
|
|
22379
|
+
} | undefined;
|
|
20202
22380
|
accentColor?: string | undefined;
|
|
20203
22381
|
primaryColor?: string | undefined;
|
|
20204
22382
|
secondaryColor?: string | undefined;
|
|
@@ -20284,6 +22462,27 @@ declare const profileUpdateSchema: z.ZodObject<{
|
|
|
20284
22462
|
companyLogoUrl?: string | undefined;
|
|
20285
22463
|
fontKey?: string | undefined;
|
|
20286
22464
|
templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
|
|
22465
|
+
layout?: {
|
|
22466
|
+
v: 1;
|
|
22467
|
+
sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
|
|
22468
|
+
objectOrder?: {
|
|
22469
|
+
bio?: string[] | undefined;
|
|
22470
|
+
identity?: string[] | undefined;
|
|
22471
|
+
contact?: string[] | undefined;
|
|
22472
|
+
social?: string[] | undefined;
|
|
22473
|
+
actions?: string[] | undefined;
|
|
22474
|
+
cta?: string[] | undefined;
|
|
22475
|
+
footer?: string[] | undefined;
|
|
22476
|
+
} | undefined;
|
|
22477
|
+
objects?: Record<string, unknown> | undefined;
|
|
22478
|
+
ownedObjects?: {
|
|
22479
|
+
text: string;
|
|
22480
|
+
id: string;
|
|
22481
|
+
kind: "freeText";
|
|
22482
|
+
section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
|
|
22483
|
+
}[] | undefined;
|
|
22484
|
+
} | undefined;
|
|
22485
|
+
background?: unknown;
|
|
20287
22486
|
accentColor?: string | undefined;
|
|
20288
22487
|
primaryColor?: string | undefined;
|
|
20289
22488
|
secondaryColor?: string | undefined;
|
|
@@ -20466,4 +22665,4 @@ declare function validatePhysicalConfig(data: unknown): ValidationResult<z.infer
|
|
|
20466
22665
|
declare function validateDigitalConfig(data: unknown): ValidationResult<z.infer<typeof digitalConfigSchema>>;
|
|
20467
22666
|
declare function validateConfiguration(data: unknown): ValidationResult<z.infer<typeof configurationCreateSchema>>;
|
|
20468
22667
|
|
|
20469
|
-
export { ADVANCE_FALLBACK_EM, CARD_H_MM, CARD_W_MM, CHIP_RADIUS_MM, CHIP_SCALE_FLOOR, type ChipAxis, EDGE_MARGIN_MM, EMPTY_TEXT_FLOOR_EM, ITALIC_OVERHANG_EM, MAX_CTA_BUTTONS, MIN_WALL_MM, NFC_COIL_DIAMETER_MM, NFC_RADIAL_CLEARANCE_MM, type PrintabilityCtx, type Pt, QR_MATRIX_CELLS, QR_MIN_SIZE_MM, QR_MODULE_MIN_MM, TEXT_LINE_FACTOR_EM, TEXT_MIN_EM_MM, type ValidationResult, type Violation, adminCardCreateSchema, bookingSchema, cardAssetSchema, cardDesignMaterialSchema, cardDesignPatternSchema, cardDesignSchema, cardElementSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, chipAnchorToMm, chipPlacementMaxXY, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, cornersOnCard, createOrderSchema, ctaButtonSchema, ctaButtonsSchema, digitalConfigSchema, digitalVisibilitySchema, elementPrintability, elementTransformSchema, entrySourceSchema, footprintOf, hubConfigSchema, hubProfilesUpdateSchema, isFiniteTransform, materialSchema, mmToNearestChipAnchor, obbCorners, patternFamilySchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileCreateSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, qrModeSchema, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, socialOverridesSchema, textAdvanceEm, tipJarSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };
|
|
22668
|
+
export { ADVANCE_FALLBACK_EM, CARD_H_MM, CARD_W_MM, CHIP_RADIUS_MM, CHIP_SCALE_FLOOR, type ChipAxis, EDGE_MARGIN_MM, EMPTY_TEXT_FLOOR_EM, ITALIC_OVERHANG_EM, MAX_CTA_BUTTONS, MIN_WALL_MM, NFC_COIL_DIAMETER_MM, NFC_RADIAL_CLEARANCE_MM, type PrintabilityCtx, type Pt, QR_MATRIX_CELLS, QR_MIN_SIZE_MM, QR_MODULE_MIN_MM, TEXT_LINE_FACTOR_EM, TEXT_MIN_EM_MM, type ValidationResult, type Violation, adminCardCreateSchema, bookingSchema, buttonObjectStyleSchema, cardAssetSchema, cardDesignMaterialSchema, cardDesignPatternSchema, cardDesignSchema, cardElementSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, chipAnchorToMm, chipPlacementMaxXY, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, cornersOnCard, createOrderSchema, ctaButtonSchema, ctaButtonsSchema, digitalConfigSchema, digitalVisibilitySchema, elementPrintability, elementTransformSchema, entrySourceSchema, footprintOf, hubConfigSchema, hubProfilesUpdateSchema, imageObjectStyleSchema, isFiniteTransform, materialSchema, mmToNearestChipAnchor, obbCorners, patternFamilySchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileBackgroundSchema, profileCreateSchema, profileLayoutSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, qrModeSchema, safeProfileLayout, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, socialOverridesSchema, textAdvanceEm, textObjectStyleSchema, tipJarSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };
|