@middlewr/contracts 0.0.37 → 0.0.39
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/cjs/index.d.ts +28 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/links.schema.d.ts +7 -0
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/esm/index.d.ts +28 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/links.schema.d.ts +7 -0
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/links.schema.ts +2 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -438,6 +438,7 @@ export declare const linksContract: {
|
|
|
438
438
|
frame_text: z.ZodString;
|
|
439
439
|
frame_color: z.ZodString;
|
|
440
440
|
frame_text_color: z.ZodString;
|
|
441
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
441
442
|
}, z.core.$strip>>>;
|
|
442
443
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
443
444
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -568,8 +569,10 @@ export declare const linksContract: {
|
|
|
568
569
|
frame_text: z.ZodString;
|
|
569
570
|
frame_color: z.ZodString;
|
|
570
571
|
frame_text_color: z.ZodString;
|
|
572
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
571
573
|
}, z.core.$strip>>;
|
|
572
574
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
575
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
573
576
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
574
577
|
redirect: "redirect";
|
|
575
578
|
rules: "rules";
|
|
@@ -741,8 +744,10 @@ export declare const linksContract: {
|
|
|
741
744
|
frame_text: z.ZodString;
|
|
742
745
|
frame_color: z.ZodString;
|
|
743
746
|
frame_text_color: z.ZodString;
|
|
747
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
744
748
|
}, z.core.$strip>>;
|
|
745
749
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
750
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
746
751
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
747
752
|
redirect: "redirect";
|
|
748
753
|
rules: "rules";
|
|
@@ -920,8 +925,10 @@ export declare const linksContract: {
|
|
|
920
925
|
frame_text: z.ZodString;
|
|
921
926
|
frame_color: z.ZodString;
|
|
922
927
|
frame_text_color: z.ZodString;
|
|
928
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
923
929
|
}, z.core.$strip>>;
|
|
924
930
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
931
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
925
932
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
926
933
|
redirect: "redirect";
|
|
927
934
|
rules: "rules";
|
|
@@ -1054,6 +1061,7 @@ export declare const linksContract: {
|
|
|
1054
1061
|
frame_text: z.ZodString;
|
|
1055
1062
|
frame_color: z.ZodString;
|
|
1056
1063
|
frame_text_color: z.ZodString;
|
|
1064
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1057
1065
|
}, z.core.$strip>>>;
|
|
1058
1066
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1059
1067
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1184,8 +1192,10 @@ export declare const linksContract: {
|
|
|
1184
1192
|
frame_text: z.ZodString;
|
|
1185
1193
|
frame_color: z.ZodString;
|
|
1186
1194
|
frame_text_color: z.ZodString;
|
|
1195
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1187
1196
|
}, z.core.$strip>>;
|
|
1188
1197
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1198
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1189
1199
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1190
1200
|
redirect: "redirect";
|
|
1191
1201
|
rules: "rules";
|
|
@@ -1341,8 +1351,10 @@ export declare const linksContract: {
|
|
|
1341
1351
|
frame_text: z.ZodString;
|
|
1342
1352
|
frame_color: z.ZodString;
|
|
1343
1353
|
frame_text_color: z.ZodString;
|
|
1354
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1344
1355
|
}, z.core.$strip>>;
|
|
1345
1356
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1357
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1346
1358
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1347
1359
|
redirect: "redirect";
|
|
1348
1360
|
rules: "rules";
|
|
@@ -1483,8 +1495,10 @@ export declare const linksContract: {
|
|
|
1483
1495
|
frame_text: z.ZodString;
|
|
1484
1496
|
frame_color: z.ZodString;
|
|
1485
1497
|
frame_text_color: z.ZodString;
|
|
1498
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1486
1499
|
}, z.core.$strip>>;
|
|
1487
1500
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1501
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1488
1502
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1489
1503
|
redirect: "redirect";
|
|
1490
1504
|
rules: "rules";
|
|
@@ -2264,6 +2278,7 @@ export declare const contract: {
|
|
|
2264
2278
|
frame_text: z.ZodString;
|
|
2265
2279
|
frame_color: z.ZodString;
|
|
2266
2280
|
frame_text_color: z.ZodString;
|
|
2281
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2267
2282
|
}, z.core.$strip>>>;
|
|
2268
2283
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2269
2284
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2394,8 +2409,10 @@ export declare const contract: {
|
|
|
2394
2409
|
frame_text: z.ZodString;
|
|
2395
2410
|
frame_color: z.ZodString;
|
|
2396
2411
|
frame_text_color: z.ZodString;
|
|
2412
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2397
2413
|
}, z.core.$strip>>;
|
|
2398
2414
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2415
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
2399
2416
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2400
2417
|
redirect: "redirect";
|
|
2401
2418
|
rules: "rules";
|
|
@@ -2567,8 +2584,10 @@ export declare const contract: {
|
|
|
2567
2584
|
frame_text: z.ZodString;
|
|
2568
2585
|
frame_color: z.ZodString;
|
|
2569
2586
|
frame_text_color: z.ZodString;
|
|
2587
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2570
2588
|
}, z.core.$strip>>;
|
|
2571
2589
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2590
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
2572
2591
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2573
2592
|
redirect: "redirect";
|
|
2574
2593
|
rules: "rules";
|
|
@@ -2746,8 +2765,10 @@ export declare const contract: {
|
|
|
2746
2765
|
frame_text: z.ZodString;
|
|
2747
2766
|
frame_color: z.ZodString;
|
|
2748
2767
|
frame_text_color: z.ZodString;
|
|
2768
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2749
2769
|
}, z.core.$strip>>;
|
|
2750
2770
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2771
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
2751
2772
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2752
2773
|
redirect: "redirect";
|
|
2753
2774
|
rules: "rules";
|
|
@@ -2880,6 +2901,7 @@ export declare const contract: {
|
|
|
2880
2901
|
frame_text: z.ZodString;
|
|
2881
2902
|
frame_color: z.ZodString;
|
|
2882
2903
|
frame_text_color: z.ZodString;
|
|
2904
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2883
2905
|
}, z.core.$strip>>>;
|
|
2884
2906
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2885
2907
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3010,8 +3032,10 @@ export declare const contract: {
|
|
|
3010
3032
|
frame_text: z.ZodString;
|
|
3011
3033
|
frame_color: z.ZodString;
|
|
3012
3034
|
frame_text_color: z.ZodString;
|
|
3035
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3013
3036
|
}, z.core.$strip>>;
|
|
3014
3037
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3038
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
3015
3039
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3016
3040
|
redirect: "redirect";
|
|
3017
3041
|
rules: "rules";
|
|
@@ -3167,8 +3191,10 @@ export declare const contract: {
|
|
|
3167
3191
|
frame_text: z.ZodString;
|
|
3168
3192
|
frame_color: z.ZodString;
|
|
3169
3193
|
frame_text_color: z.ZodString;
|
|
3194
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3170
3195
|
}, z.core.$strip>>;
|
|
3171
3196
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3197
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
3172
3198
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3173
3199
|
redirect: "redirect";
|
|
3174
3200
|
rules: "rules";
|
|
@@ -3309,8 +3335,10 @@ export declare const contract: {
|
|
|
3309
3335
|
frame_text: z.ZodString;
|
|
3310
3336
|
frame_color: z.ZodString;
|
|
3311
3337
|
frame_text_color: z.ZodString;
|
|
3338
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3312
3339
|
}, z.core.$strip>>;
|
|
3313
3340
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3341
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
3314
3342
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3315
3343
|
redirect: "redirect";
|
|
3316
3344
|
rules: "rules";
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuDxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AAGpC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7B,CAAC;AAGF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B,CAAC;AAGF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAepC,CAAC;AAGF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -401,7 +401,8 @@ var QrCodeSettingsSchema = import_zod8.z.object({
|
|
|
401
401
|
frame_enabled: import_zod8.z.boolean(),
|
|
402
402
|
frame_text: import_zod8.z.string().max(255),
|
|
403
403
|
frame_color: import_zod8.z.string().max(20),
|
|
404
|
-
frame_text_color: import_zod8.z.string().max(20)
|
|
404
|
+
frame_text_color: import_zod8.z.string().max(20),
|
|
405
|
+
logo_size: import_zod8.z.number().int().min(1).nullable().optional()
|
|
405
406
|
});
|
|
406
407
|
var LinkSchema = import_zod8.z.object({
|
|
407
408
|
id: import_zod8.z.string().uuid(),
|
|
@@ -429,6 +430,7 @@ var LinkSchema = import_zod8.z.object({
|
|
|
429
430
|
updated_at: import_zod8.z.coerce.date().nullable(),
|
|
430
431
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
431
432
|
qr_logo_key: import_zod8.z.string().nullable(),
|
|
433
|
+
logo_url: import_zod8.z.string().nullable(),
|
|
432
434
|
link_type: import_zod8.z.enum(["redirect", "rules"]).default("redirect"),
|
|
433
435
|
rule_graph: RuleGraphSchema.optional(),
|
|
434
436
|
tags: import_zod8.z.array(TagSchema)
|
|
@@ -23,6 +23,7 @@ export declare const QrCodeSettingsSchema: z.ZodObject<{
|
|
|
23
23
|
frame_text: z.ZodString;
|
|
24
24
|
frame_color: z.ZodString;
|
|
25
25
|
frame_text_color: z.ZodString;
|
|
26
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
27
|
}, z.core.$strip>;
|
|
27
28
|
export declare const LinkSchema: z.ZodObject<{
|
|
28
29
|
id: z.ZodString;
|
|
@@ -72,8 +73,10 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
72
73
|
frame_text: z.ZodString;
|
|
73
74
|
frame_color: z.ZodString;
|
|
74
75
|
frame_text_color: z.ZodString;
|
|
76
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
75
77
|
}, z.core.$strip>>;
|
|
76
78
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
79
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
77
80
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
78
81
|
redirect: "redirect";
|
|
79
82
|
rules: "rules";
|
|
@@ -203,6 +206,7 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
203
206
|
frame_text: z.ZodString;
|
|
204
207
|
frame_color: z.ZodString;
|
|
205
208
|
frame_text_color: z.ZodString;
|
|
209
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
206
210
|
}, z.core.$strip>>>;
|
|
207
211
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
212
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -327,6 +331,7 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
327
331
|
frame_text: z.ZodString;
|
|
328
332
|
frame_color: z.ZodString;
|
|
329
333
|
frame_text_color: z.ZodString;
|
|
334
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
330
335
|
}, z.core.$strip>>>;
|
|
331
336
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
332
337
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -523,8 +528,10 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
523
528
|
frame_text: z.ZodString;
|
|
524
529
|
frame_color: z.ZodString;
|
|
525
530
|
frame_text_color: z.ZodString;
|
|
531
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
526
532
|
}, z.core.$strip>>;
|
|
527
533
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
534
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
528
535
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
529
536
|
redirect: "redirect";
|
|
530
537
|
rules: "rules";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiC5B,CAAC;AAEP,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkC5B,CAAC;AAMP,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -438,6 +438,7 @@ export declare const linksContract: {
|
|
|
438
438
|
frame_text: z.ZodString;
|
|
439
439
|
frame_color: z.ZodString;
|
|
440
440
|
frame_text_color: z.ZodString;
|
|
441
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
441
442
|
}, z.core.$strip>>>;
|
|
442
443
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
443
444
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -568,8 +569,10 @@ export declare const linksContract: {
|
|
|
568
569
|
frame_text: z.ZodString;
|
|
569
570
|
frame_color: z.ZodString;
|
|
570
571
|
frame_text_color: z.ZodString;
|
|
572
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
571
573
|
}, z.core.$strip>>;
|
|
572
574
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
575
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
573
576
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
574
577
|
redirect: "redirect";
|
|
575
578
|
rules: "rules";
|
|
@@ -741,8 +744,10 @@ export declare const linksContract: {
|
|
|
741
744
|
frame_text: z.ZodString;
|
|
742
745
|
frame_color: z.ZodString;
|
|
743
746
|
frame_text_color: z.ZodString;
|
|
747
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
744
748
|
}, z.core.$strip>>;
|
|
745
749
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
750
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
746
751
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
747
752
|
redirect: "redirect";
|
|
748
753
|
rules: "rules";
|
|
@@ -920,8 +925,10 @@ export declare const linksContract: {
|
|
|
920
925
|
frame_text: z.ZodString;
|
|
921
926
|
frame_color: z.ZodString;
|
|
922
927
|
frame_text_color: z.ZodString;
|
|
928
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
923
929
|
}, z.core.$strip>>;
|
|
924
930
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
931
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
925
932
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
926
933
|
redirect: "redirect";
|
|
927
934
|
rules: "rules";
|
|
@@ -1054,6 +1061,7 @@ export declare const linksContract: {
|
|
|
1054
1061
|
frame_text: z.ZodString;
|
|
1055
1062
|
frame_color: z.ZodString;
|
|
1056
1063
|
frame_text_color: z.ZodString;
|
|
1064
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1057
1065
|
}, z.core.$strip>>>;
|
|
1058
1066
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1059
1067
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1184,8 +1192,10 @@ export declare const linksContract: {
|
|
|
1184
1192
|
frame_text: z.ZodString;
|
|
1185
1193
|
frame_color: z.ZodString;
|
|
1186
1194
|
frame_text_color: z.ZodString;
|
|
1195
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1187
1196
|
}, z.core.$strip>>;
|
|
1188
1197
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1198
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1189
1199
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1190
1200
|
redirect: "redirect";
|
|
1191
1201
|
rules: "rules";
|
|
@@ -1341,8 +1351,10 @@ export declare const linksContract: {
|
|
|
1341
1351
|
frame_text: z.ZodString;
|
|
1342
1352
|
frame_color: z.ZodString;
|
|
1343
1353
|
frame_text_color: z.ZodString;
|
|
1354
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1344
1355
|
}, z.core.$strip>>;
|
|
1345
1356
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1357
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1346
1358
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1347
1359
|
redirect: "redirect";
|
|
1348
1360
|
rules: "rules";
|
|
@@ -1483,8 +1495,10 @@ export declare const linksContract: {
|
|
|
1483
1495
|
frame_text: z.ZodString;
|
|
1484
1496
|
frame_color: z.ZodString;
|
|
1485
1497
|
frame_text_color: z.ZodString;
|
|
1498
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1486
1499
|
}, z.core.$strip>>;
|
|
1487
1500
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1501
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1488
1502
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1489
1503
|
redirect: "redirect";
|
|
1490
1504
|
rules: "rules";
|
|
@@ -2264,6 +2278,7 @@ export declare const contract: {
|
|
|
2264
2278
|
frame_text: z.ZodString;
|
|
2265
2279
|
frame_color: z.ZodString;
|
|
2266
2280
|
frame_text_color: z.ZodString;
|
|
2281
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2267
2282
|
}, z.core.$strip>>>;
|
|
2268
2283
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2269
2284
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2394,8 +2409,10 @@ export declare const contract: {
|
|
|
2394
2409
|
frame_text: z.ZodString;
|
|
2395
2410
|
frame_color: z.ZodString;
|
|
2396
2411
|
frame_text_color: z.ZodString;
|
|
2412
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2397
2413
|
}, z.core.$strip>>;
|
|
2398
2414
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2415
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
2399
2416
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2400
2417
|
redirect: "redirect";
|
|
2401
2418
|
rules: "rules";
|
|
@@ -2567,8 +2584,10 @@ export declare const contract: {
|
|
|
2567
2584
|
frame_text: z.ZodString;
|
|
2568
2585
|
frame_color: z.ZodString;
|
|
2569
2586
|
frame_text_color: z.ZodString;
|
|
2587
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2570
2588
|
}, z.core.$strip>>;
|
|
2571
2589
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2590
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
2572
2591
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2573
2592
|
redirect: "redirect";
|
|
2574
2593
|
rules: "rules";
|
|
@@ -2746,8 +2765,10 @@ export declare const contract: {
|
|
|
2746
2765
|
frame_text: z.ZodString;
|
|
2747
2766
|
frame_color: z.ZodString;
|
|
2748
2767
|
frame_text_color: z.ZodString;
|
|
2768
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2749
2769
|
}, z.core.$strip>>;
|
|
2750
2770
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2771
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
2751
2772
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2752
2773
|
redirect: "redirect";
|
|
2753
2774
|
rules: "rules";
|
|
@@ -2880,6 +2901,7 @@ export declare const contract: {
|
|
|
2880
2901
|
frame_text: z.ZodString;
|
|
2881
2902
|
frame_color: z.ZodString;
|
|
2882
2903
|
frame_text_color: z.ZodString;
|
|
2904
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2883
2905
|
}, z.core.$strip>>>;
|
|
2884
2906
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2885
2907
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3010,8 +3032,10 @@ export declare const contract: {
|
|
|
3010
3032
|
frame_text: z.ZodString;
|
|
3011
3033
|
frame_color: z.ZodString;
|
|
3012
3034
|
frame_text_color: z.ZodString;
|
|
3035
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3013
3036
|
}, z.core.$strip>>;
|
|
3014
3037
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3038
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
3015
3039
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3016
3040
|
redirect: "redirect";
|
|
3017
3041
|
rules: "rules";
|
|
@@ -3167,8 +3191,10 @@ export declare const contract: {
|
|
|
3167
3191
|
frame_text: z.ZodString;
|
|
3168
3192
|
frame_color: z.ZodString;
|
|
3169
3193
|
frame_text_color: z.ZodString;
|
|
3194
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3170
3195
|
}, z.core.$strip>>;
|
|
3171
3196
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3197
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
3172
3198
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3173
3199
|
redirect: "redirect";
|
|
3174
3200
|
rules: "rules";
|
|
@@ -3309,8 +3335,10 @@ export declare const contract: {
|
|
|
3309
3335
|
frame_text: z.ZodString;
|
|
3310
3336
|
frame_color: z.ZodString;
|
|
3311
3337
|
frame_text_color: z.ZodString;
|
|
3338
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3312
3339
|
}, z.core.$strip>>;
|
|
3313
3340
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3341
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
3314
3342
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3315
3343
|
redirect: "redirect";
|
|
3316
3344
|
rules: "rules";
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuDxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;A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sSchema = z8.object({
|
|
|
308
308
|
frame_enabled: z8.boolean(),
|
|
309
309
|
frame_text: z8.string().max(255),
|
|
310
310
|
frame_color: z8.string().max(20),
|
|
311
|
-
frame_text_color: z8.string().max(20)
|
|
311
|
+
frame_text_color: z8.string().max(20),
|
|
312
|
+
logo_size: z8.number().int().min(1).nullable().optional()
|
|
312
313
|
});
|
|
313
314
|
var LinkSchema = z8.object({
|
|
314
315
|
id: z8.string().uuid(),
|
|
@@ -336,6 +337,7 @@ var LinkSchema = z8.object({
|
|
|
336
337
|
updated_at: z8.coerce.date().nullable(),
|
|
337
338
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
338
339
|
qr_logo_key: z8.string().nullable(),
|
|
340
|
+
logo_url: z8.string().nullable(),
|
|
339
341
|
link_type: z8.enum(["redirect", "rules"]).default("redirect"),
|
|
340
342
|
rule_graph: RuleGraphSchema.optional(),
|
|
341
343
|
tags: z8.array(TagSchema)
|
|
@@ -23,6 +23,7 @@ export declare const QrCodeSettingsSchema: z.ZodObject<{
|
|
|
23
23
|
frame_text: z.ZodString;
|
|
24
24
|
frame_color: z.ZodString;
|
|
25
25
|
frame_text_color: z.ZodString;
|
|
26
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
27
|
}, z.core.$strip>;
|
|
27
28
|
export declare const LinkSchema: z.ZodObject<{
|
|
28
29
|
id: z.ZodString;
|
|
@@ -72,8 +73,10 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
72
73
|
frame_text: z.ZodString;
|
|
73
74
|
frame_color: z.ZodString;
|
|
74
75
|
frame_text_color: z.ZodString;
|
|
76
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
75
77
|
}, z.core.$strip>>;
|
|
76
78
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
79
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
77
80
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
78
81
|
redirect: "redirect";
|
|
79
82
|
rules: "rules";
|
|
@@ -203,6 +206,7 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
203
206
|
frame_text: z.ZodString;
|
|
204
207
|
frame_color: z.ZodString;
|
|
205
208
|
frame_text_color: z.ZodString;
|
|
209
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
206
210
|
}, z.core.$strip>>>;
|
|
207
211
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
212
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -327,6 +331,7 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
327
331
|
frame_text: z.ZodString;
|
|
328
332
|
frame_color: z.ZodString;
|
|
329
333
|
frame_text_color: z.ZodString;
|
|
334
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
330
335
|
}, z.core.$strip>>>;
|
|
331
336
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
332
337
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -523,8 +528,10 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
523
528
|
frame_text: z.ZodString;
|
|
524
529
|
frame_color: z.ZodString;
|
|
525
530
|
frame_text_color: z.ZodString;
|
|
531
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
526
532
|
}, z.core.$strip>>;
|
|
527
533
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
534
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
528
535
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
529
536
|
redirect: "redirect";
|
|
530
537
|
rules: "rules";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM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O,MAAM,oBAAoB;;;iBAG/B,CAAC"}
|
package/package.json
CHANGED
package/src/links.schema.ts
CHANGED
|
@@ -17,6 +17,7 @@ export const QrCodeSettingsSchema = z.object({
|
|
|
17
17
|
frame_text: z.string().max(255),
|
|
18
18
|
frame_color: z.string().max(20),
|
|
19
19
|
frame_text_color: z.string().max(20),
|
|
20
|
+
logo_size: z.number().int().min(1).nullable().optional(),
|
|
20
21
|
});
|
|
21
22
|
|
|
22
23
|
export const LinkSchema = z.object({
|
|
@@ -45,6 +46,7 @@ export const LinkSchema = z.object({
|
|
|
45
46
|
updated_at: z.coerce.date().nullable(),
|
|
46
47
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
47
48
|
qr_logo_key: z.string().nullable(),
|
|
49
|
+
logo_url: z.string().nullable(),
|
|
48
50
|
link_type: z.enum(['redirect', 'rules']).default('redirect'),
|
|
49
51
|
rule_graph: RuleGraphSchema.optional(),
|
|
50
52
|
tags: z.array(TagSchema),
|