@middlewr/contracts 0.0.38 → 0.0.40
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 +16 -12
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/links.schema.d.ts +5 -2
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/esm/index.d.ts +16 -12
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/links.schema.d.ts +5 -2
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/links.schema.ts +1 -1
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,10 +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>;
|
|
573
575
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
574
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
575
576
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
576
577
|
redirect: "redirect";
|
|
577
578
|
rules: "rules";
|
|
@@ -743,10 +744,10 @@ export declare const linksContract: {
|
|
|
743
744
|
frame_text: z.ZodString;
|
|
744
745
|
frame_color: z.ZodString;
|
|
745
746
|
frame_text_color: z.ZodString;
|
|
747
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
746
748
|
}, z.core.$strip>>;
|
|
747
749
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
748
750
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
749
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
750
751
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
751
752
|
redirect: "redirect";
|
|
752
753
|
rules: "rules";
|
|
@@ -924,10 +925,10 @@ export declare const linksContract: {
|
|
|
924
925
|
frame_text: z.ZodString;
|
|
925
926
|
frame_color: z.ZodString;
|
|
926
927
|
frame_text_color: z.ZodString;
|
|
928
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
927
929
|
}, z.core.$strip>>;
|
|
928
930
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
929
931
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
930
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
931
932
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
932
933
|
redirect: "redirect";
|
|
933
934
|
rules: "rules";
|
|
@@ -1060,6 +1061,7 @@ export declare const linksContract: {
|
|
|
1060
1061
|
frame_text: z.ZodString;
|
|
1061
1062
|
frame_color: z.ZodString;
|
|
1062
1063
|
frame_text_color: z.ZodString;
|
|
1064
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1063
1065
|
}, z.core.$strip>>>;
|
|
1064
1066
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1065
1067
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1190,10 +1192,10 @@ export declare const linksContract: {
|
|
|
1190
1192
|
frame_text: z.ZodString;
|
|
1191
1193
|
frame_color: z.ZodString;
|
|
1192
1194
|
frame_text_color: z.ZodString;
|
|
1195
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1193
1196
|
}, z.core.$strip>>;
|
|
1194
1197
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1195
1198
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
1196
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
1197
1199
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1198
1200
|
redirect: "redirect";
|
|
1199
1201
|
rules: "rules";
|
|
@@ -1349,10 +1351,10 @@ export declare const linksContract: {
|
|
|
1349
1351
|
frame_text: z.ZodString;
|
|
1350
1352
|
frame_color: z.ZodString;
|
|
1351
1353
|
frame_text_color: z.ZodString;
|
|
1354
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1352
1355
|
}, z.core.$strip>>;
|
|
1353
1356
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1354
1357
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
1355
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
1356
1358
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1357
1359
|
redirect: "redirect";
|
|
1358
1360
|
rules: "rules";
|
|
@@ -1493,10 +1495,10 @@ export declare const linksContract: {
|
|
|
1493
1495
|
frame_text: z.ZodString;
|
|
1494
1496
|
frame_color: z.ZodString;
|
|
1495
1497
|
frame_text_color: z.ZodString;
|
|
1498
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1496
1499
|
}, z.core.$strip>>;
|
|
1497
1500
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1498
1501
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
1499
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
1500
1502
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1501
1503
|
redirect: "redirect";
|
|
1502
1504
|
rules: "rules";
|
|
@@ -2276,6 +2278,7 @@ export declare const contract: {
|
|
|
2276
2278
|
frame_text: z.ZodString;
|
|
2277
2279
|
frame_color: z.ZodString;
|
|
2278
2280
|
frame_text_color: z.ZodString;
|
|
2281
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2279
2282
|
}, z.core.$strip>>>;
|
|
2280
2283
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2281
2284
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2406,10 +2409,10 @@ export declare const contract: {
|
|
|
2406
2409
|
frame_text: z.ZodString;
|
|
2407
2410
|
frame_color: z.ZodString;
|
|
2408
2411
|
frame_text_color: z.ZodString;
|
|
2412
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2409
2413
|
}, z.core.$strip>>;
|
|
2410
2414
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2411
2415
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
2412
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
2413
2416
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2414
2417
|
redirect: "redirect";
|
|
2415
2418
|
rules: "rules";
|
|
@@ -2581,10 +2584,10 @@ export declare const contract: {
|
|
|
2581
2584
|
frame_text: z.ZodString;
|
|
2582
2585
|
frame_color: z.ZodString;
|
|
2583
2586
|
frame_text_color: z.ZodString;
|
|
2587
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2584
2588
|
}, z.core.$strip>>;
|
|
2585
2589
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2586
2590
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
2587
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
2588
2591
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2589
2592
|
redirect: "redirect";
|
|
2590
2593
|
rules: "rules";
|
|
@@ -2762,10 +2765,10 @@ export declare const contract: {
|
|
|
2762
2765
|
frame_text: z.ZodString;
|
|
2763
2766
|
frame_color: z.ZodString;
|
|
2764
2767
|
frame_text_color: z.ZodString;
|
|
2768
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2765
2769
|
}, z.core.$strip>>;
|
|
2766
2770
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2767
2771
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
2768
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
2769
2772
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2770
2773
|
redirect: "redirect";
|
|
2771
2774
|
rules: "rules";
|
|
@@ -2898,6 +2901,7 @@ export declare const contract: {
|
|
|
2898
2901
|
frame_text: z.ZodString;
|
|
2899
2902
|
frame_color: z.ZodString;
|
|
2900
2903
|
frame_text_color: z.ZodString;
|
|
2904
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2901
2905
|
}, z.core.$strip>>>;
|
|
2902
2906
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2903
2907
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3028,10 +3032,10 @@ export declare const contract: {
|
|
|
3028
3032
|
frame_text: z.ZodString;
|
|
3029
3033
|
frame_color: z.ZodString;
|
|
3030
3034
|
frame_text_color: z.ZodString;
|
|
3035
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3031
3036
|
}, z.core.$strip>>;
|
|
3032
3037
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3033
3038
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
3034
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
3035
3039
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3036
3040
|
redirect: "redirect";
|
|
3037
3041
|
rules: "rules";
|
|
@@ -3187,10 +3191,10 @@ export declare const contract: {
|
|
|
3187
3191
|
frame_text: z.ZodString;
|
|
3188
3192
|
frame_color: z.ZodString;
|
|
3189
3193
|
frame_text_color: z.ZodString;
|
|
3194
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3190
3195
|
}, z.core.$strip>>;
|
|
3191
3196
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3192
3197
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
3193
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
3194
3198
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3195
3199
|
redirect: "redirect";
|
|
3196
3200
|
rules: "rules";
|
|
@@ -3331,10 +3335,10 @@ export declare const contract: {
|
|
|
3331
3335
|
frame_text: z.ZodString;
|
|
3332
3336
|
frame_color: z.ZodString;
|
|
3333
3337
|
frame_text_color: z.ZodString;
|
|
3338
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3334
3339
|
}, z.core.$strip>>;
|
|
3335
3340
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3336
3341
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
3337
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
3338
3342
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3339
3343
|
redirect: "redirect";
|
|
3340
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,CAA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}
|
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(),
|
|
@@ -430,7 +431,6 @@ var LinkSchema = import_zod8.z.object({
|
|
|
430
431
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
431
432
|
qr_logo_key: import_zod8.z.string().nullable(),
|
|
432
433
|
logo_url: import_zod8.z.string().nullable(),
|
|
433
|
-
logo_size: import_zod8.z.number().int().nullable(),
|
|
434
434
|
link_type: import_zod8.z.enum(["redirect", "rules"]).default("redirect"),
|
|
435
435
|
rule_graph: RuleGraphSchema.optional(),
|
|
436
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,10 +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>;
|
|
77
79
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
78
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
79
80
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
80
81
|
redirect: "redirect";
|
|
81
82
|
rules: "rules";
|
|
@@ -205,6 +206,7 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
205
206
|
frame_text: z.ZodString;
|
|
206
207
|
frame_color: z.ZodString;
|
|
207
208
|
frame_text_color: z.ZodString;
|
|
209
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
208
210
|
}, z.core.$strip>>>;
|
|
209
211
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
212
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -329,6 +331,7 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
329
331
|
frame_text: z.ZodString;
|
|
330
332
|
frame_color: z.ZodString;
|
|
331
333
|
frame_text_color: z.ZodString;
|
|
334
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
332
335
|
}, z.core.$strip>>>;
|
|
333
336
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
334
337
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -525,10 +528,10 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
525
528
|
frame_text: z.ZodString;
|
|
526
529
|
frame_color: z.ZodString;
|
|
527
530
|
frame_text_color: z.ZodString;
|
|
531
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
528
532
|
}, z.core.$strip>>;
|
|
529
533
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
530
534
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
531
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
532
535
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
533
536
|
redirect: "redirect";
|
|
534
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,10 +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>;
|
|
573
575
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
574
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
575
576
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
576
577
|
redirect: "redirect";
|
|
577
578
|
rules: "rules";
|
|
@@ -743,10 +744,10 @@ export declare const linksContract: {
|
|
|
743
744
|
frame_text: z.ZodString;
|
|
744
745
|
frame_color: z.ZodString;
|
|
745
746
|
frame_text_color: z.ZodString;
|
|
747
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
746
748
|
}, z.core.$strip>>;
|
|
747
749
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
748
750
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
749
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
750
751
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
751
752
|
redirect: "redirect";
|
|
752
753
|
rules: "rules";
|
|
@@ -924,10 +925,10 @@ export declare const linksContract: {
|
|
|
924
925
|
frame_text: z.ZodString;
|
|
925
926
|
frame_color: z.ZodString;
|
|
926
927
|
frame_text_color: z.ZodString;
|
|
928
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
927
929
|
}, z.core.$strip>>;
|
|
928
930
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
929
931
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
930
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
931
932
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
932
933
|
redirect: "redirect";
|
|
933
934
|
rules: "rules";
|
|
@@ -1060,6 +1061,7 @@ export declare const linksContract: {
|
|
|
1060
1061
|
frame_text: z.ZodString;
|
|
1061
1062
|
frame_color: z.ZodString;
|
|
1062
1063
|
frame_text_color: z.ZodString;
|
|
1064
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1063
1065
|
}, z.core.$strip>>>;
|
|
1064
1066
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1065
1067
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1190,10 +1192,10 @@ export declare const linksContract: {
|
|
|
1190
1192
|
frame_text: z.ZodString;
|
|
1191
1193
|
frame_color: z.ZodString;
|
|
1192
1194
|
frame_text_color: z.ZodString;
|
|
1195
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1193
1196
|
}, z.core.$strip>>;
|
|
1194
1197
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1195
1198
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
1196
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
1197
1199
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1198
1200
|
redirect: "redirect";
|
|
1199
1201
|
rules: "rules";
|
|
@@ -1349,10 +1351,10 @@ export declare const linksContract: {
|
|
|
1349
1351
|
frame_text: z.ZodString;
|
|
1350
1352
|
frame_color: z.ZodString;
|
|
1351
1353
|
frame_text_color: z.ZodString;
|
|
1354
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1352
1355
|
}, z.core.$strip>>;
|
|
1353
1356
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1354
1357
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
1355
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
1356
1358
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1357
1359
|
redirect: "redirect";
|
|
1358
1360
|
rules: "rules";
|
|
@@ -1493,10 +1495,10 @@ export declare const linksContract: {
|
|
|
1493
1495
|
frame_text: z.ZodString;
|
|
1494
1496
|
frame_color: z.ZodString;
|
|
1495
1497
|
frame_text_color: z.ZodString;
|
|
1498
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1496
1499
|
}, z.core.$strip>>;
|
|
1497
1500
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1498
1501
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
1499
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
1500
1502
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1501
1503
|
redirect: "redirect";
|
|
1502
1504
|
rules: "rules";
|
|
@@ -2276,6 +2278,7 @@ export declare const contract: {
|
|
|
2276
2278
|
frame_text: z.ZodString;
|
|
2277
2279
|
frame_color: z.ZodString;
|
|
2278
2280
|
frame_text_color: z.ZodString;
|
|
2281
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2279
2282
|
}, z.core.$strip>>>;
|
|
2280
2283
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2281
2284
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2406,10 +2409,10 @@ export declare const contract: {
|
|
|
2406
2409
|
frame_text: z.ZodString;
|
|
2407
2410
|
frame_color: z.ZodString;
|
|
2408
2411
|
frame_text_color: z.ZodString;
|
|
2412
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2409
2413
|
}, z.core.$strip>>;
|
|
2410
2414
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2411
2415
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
2412
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
2413
2416
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2414
2417
|
redirect: "redirect";
|
|
2415
2418
|
rules: "rules";
|
|
@@ -2581,10 +2584,10 @@ export declare const contract: {
|
|
|
2581
2584
|
frame_text: z.ZodString;
|
|
2582
2585
|
frame_color: z.ZodString;
|
|
2583
2586
|
frame_text_color: z.ZodString;
|
|
2587
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2584
2588
|
}, z.core.$strip>>;
|
|
2585
2589
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2586
2590
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
2587
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
2588
2591
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2589
2592
|
redirect: "redirect";
|
|
2590
2593
|
rules: "rules";
|
|
@@ -2762,10 +2765,10 @@ export declare const contract: {
|
|
|
2762
2765
|
frame_text: z.ZodString;
|
|
2763
2766
|
frame_color: z.ZodString;
|
|
2764
2767
|
frame_text_color: z.ZodString;
|
|
2768
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2765
2769
|
}, z.core.$strip>>;
|
|
2766
2770
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2767
2771
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
2768
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
2769
2772
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2770
2773
|
redirect: "redirect";
|
|
2771
2774
|
rules: "rules";
|
|
@@ -2898,6 +2901,7 @@ export declare const contract: {
|
|
|
2898
2901
|
frame_text: z.ZodString;
|
|
2899
2902
|
frame_color: z.ZodString;
|
|
2900
2903
|
frame_text_color: z.ZodString;
|
|
2904
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2901
2905
|
}, z.core.$strip>>>;
|
|
2902
2906
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2903
2907
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3028,10 +3032,10 @@ export declare const contract: {
|
|
|
3028
3032
|
frame_text: z.ZodString;
|
|
3029
3033
|
frame_color: z.ZodString;
|
|
3030
3034
|
frame_text_color: z.ZodString;
|
|
3035
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3031
3036
|
}, z.core.$strip>>;
|
|
3032
3037
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3033
3038
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
3034
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
3035
3039
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3036
3040
|
redirect: "redirect";
|
|
3037
3041
|
rules: "rules";
|
|
@@ -3187,10 +3191,10 @@ export declare const contract: {
|
|
|
3187
3191
|
frame_text: z.ZodString;
|
|
3188
3192
|
frame_color: z.ZodString;
|
|
3189
3193
|
frame_text_color: z.ZodString;
|
|
3194
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3190
3195
|
}, z.core.$strip>>;
|
|
3191
3196
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3192
3197
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
3193
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
3194
3198
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3195
3199
|
redirect: "redirect";
|
|
3196
3200
|
rules: "rules";
|
|
@@ -3331,10 +3335,10 @@ export declare const contract: {
|
|
|
3331
3335
|
frame_text: z.ZodString;
|
|
3332
3336
|
frame_color: z.ZodString;
|
|
3333
3337
|
frame_text_color: z.ZodString;
|
|
3338
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3334
3339
|
}, z.core.$strip>>;
|
|
3335
3340
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
3336
3341
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
3337
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
3338
3342
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
3339
3343
|
redirect: "redirect";
|
|
3340
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;AAGpC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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8.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(),
|
|
@@ -337,7 +338,6 @@ var LinkSchema = z8.object({
|
|
|
337
338
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
338
339
|
qr_logo_key: z8.string().nullable(),
|
|
339
340
|
logo_url: z8.string().nullable(),
|
|
340
|
-
logo_size: z8.number().int().nullable(),
|
|
341
341
|
link_type: z8.enum(["redirect", "rules"]).default("redirect"),
|
|
342
342
|
rule_graph: RuleGraphSchema.optional(),
|
|
343
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,10 +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>;
|
|
77
79
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
78
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
79
80
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
80
81
|
redirect: "redirect";
|
|
81
82
|
rules: "rules";
|
|
@@ -205,6 +206,7 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
205
206
|
frame_text: z.ZodString;
|
|
206
207
|
frame_color: z.ZodString;
|
|
207
208
|
frame_text_color: z.ZodString;
|
|
209
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
208
210
|
}, z.core.$strip>>>;
|
|
209
211
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
212
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -329,6 +331,7 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
329
331
|
frame_text: z.ZodString;
|
|
330
332
|
frame_color: z.ZodString;
|
|
331
333
|
frame_text_color: z.ZodString;
|
|
334
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
332
335
|
}, z.core.$strip>>>;
|
|
333
336
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
334
337
|
link_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -525,10 +528,10 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
525
528
|
frame_text: z.ZodString;
|
|
526
529
|
frame_color: z.ZodString;
|
|
527
530
|
frame_text_color: z.ZodString;
|
|
531
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
528
532
|
}, z.core.$strip>>;
|
|
529
533
|
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
530
534
|
logo_url: z.ZodNullable<z.ZodString>;
|
|
531
|
-
logo_size: z.ZodNullable<z.ZodNumber>;
|
|
532
535
|
link_type: z.ZodDefault<z.ZodEnum<{
|
|
533
536
|
redirect: "redirect";
|
|
534
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
|
|
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B;;;iBAG/B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@middlewr/contracts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@orpc/client": "^1.13.5",
|
|
27
27
|
"@orpc/contract": "^1.13.5",
|
|
28
|
-
"esbuild": "
|
|
29
|
-
"typescript": "
|
|
30
|
-
"zod": "
|
|
28
|
+
"esbuild": "catalog:",
|
|
29
|
+
"typescript": "catalog:",
|
|
30
|
+
"zod": "catalog:"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
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({
|
|
@@ -46,7 +47,6 @@ export const LinkSchema = z.object({
|
|
|
46
47
|
qr_code_settings: QrCodeSettingsSchema.nullable(),
|
|
47
48
|
qr_logo_key: z.string().nullable(),
|
|
48
49
|
logo_url: z.string().nullable(),
|
|
49
|
-
logo_size: z.number().int().nullable(),
|
|
50
50
|
link_type: z.enum(['redirect', 'rules']).default('redirect'),
|
|
51
51
|
rule_graph: RuleGraphSchema.optional(),
|
|
52
52
|
tags: z.array(TagSchema),
|