@connectedxm/zpl-generator 0.0.4-beta.5 → 0.0.4-beta.7
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.es.js +527 -518
- package/dist/src/validate.d.ts +30 -0
- package/package.json +1 -1
package/dist/src/validate.d.ts
CHANGED
|
@@ -238,7 +238,9 @@ export declare const textFieldSchema: z.ZodObject<{
|
|
|
238
238
|
readonly passAttributes: "passAttributes";
|
|
239
239
|
}>;
|
|
240
240
|
sourceLookup: z.ZodString;
|
|
241
|
+
sourceSeperator: z.ZodString;
|
|
241
242
|
hideEmpty: z.ZodBoolean;
|
|
243
|
+
editable: z.ZodBoolean;
|
|
242
244
|
type: z.ZodLiteral<"text">;
|
|
243
245
|
font: z.ZodString;
|
|
244
246
|
fontOrientation: z.ZodEnum<{
|
|
@@ -287,7 +289,9 @@ export declare const barcodeFieldSchema: z.ZodObject<{
|
|
|
287
289
|
readonly passAttributes: "passAttributes";
|
|
288
290
|
}>;
|
|
289
291
|
sourceLookup: z.ZodString;
|
|
292
|
+
sourceSeperator: z.ZodString;
|
|
290
293
|
hideEmpty: z.ZodBoolean;
|
|
294
|
+
editable: z.ZodBoolean;
|
|
291
295
|
type: z.ZodLiteral<"barcode">;
|
|
292
296
|
barWidth: z.ZodNumber;
|
|
293
297
|
orientation: z.ZodEnum<{
|
|
@@ -325,7 +329,9 @@ export declare const qrcodeFieldSchema: z.ZodObject<{
|
|
|
325
329
|
readonly passAttributes: "passAttributes";
|
|
326
330
|
}>;
|
|
327
331
|
sourceLookup: z.ZodString;
|
|
332
|
+
sourceSeperator: z.ZodString;
|
|
328
333
|
hideEmpty: z.ZodBoolean;
|
|
334
|
+
editable: z.ZodBoolean;
|
|
329
335
|
type: z.ZodLiteral<"qrcode">;
|
|
330
336
|
orientation: z.ZodLiteral<"N">;
|
|
331
337
|
model: z.ZodLiteral<"2">;
|
|
@@ -353,7 +359,9 @@ export declare const fieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
353
359
|
readonly passAttributes: "passAttributes";
|
|
354
360
|
}>;
|
|
355
361
|
sourceLookup: z.ZodString;
|
|
362
|
+
sourceSeperator: z.ZodString;
|
|
356
363
|
hideEmpty: z.ZodBoolean;
|
|
364
|
+
editable: z.ZodBoolean;
|
|
357
365
|
type: z.ZodLiteral<"text">;
|
|
358
366
|
font: z.ZodString;
|
|
359
367
|
fontOrientation: z.ZodEnum<{
|
|
@@ -400,7 +408,9 @@ export declare const fieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
400
408
|
readonly passAttributes: "passAttributes";
|
|
401
409
|
}>;
|
|
402
410
|
sourceLookup: z.ZodString;
|
|
411
|
+
sourceSeperator: z.ZodString;
|
|
403
412
|
hideEmpty: z.ZodBoolean;
|
|
413
|
+
editable: z.ZodBoolean;
|
|
404
414
|
type: z.ZodLiteral<"barcode">;
|
|
405
415
|
barWidth: z.ZodNumber;
|
|
406
416
|
orientation: z.ZodEnum<{
|
|
@@ -436,7 +446,9 @@ export declare const fieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
436
446
|
readonly passAttributes: "passAttributes";
|
|
437
447
|
}>;
|
|
438
448
|
sourceLookup: z.ZodString;
|
|
449
|
+
sourceSeperator: z.ZodString;
|
|
439
450
|
hideEmpty: z.ZodBoolean;
|
|
451
|
+
editable: z.ZodBoolean;
|
|
440
452
|
type: z.ZodLiteral<"qrcode">;
|
|
441
453
|
orientation: z.ZodLiteral<"N">;
|
|
442
454
|
model: z.ZodLiteral<"2">;
|
|
@@ -542,7 +554,9 @@ export declare const badgeSchema: z.ZodObject<{
|
|
|
542
554
|
readonly passAttributes: "passAttributes";
|
|
543
555
|
}>;
|
|
544
556
|
sourceLookup: z.ZodString;
|
|
557
|
+
sourceSeperator: z.ZodString;
|
|
545
558
|
hideEmpty: z.ZodBoolean;
|
|
559
|
+
editable: z.ZodBoolean;
|
|
546
560
|
type: z.ZodLiteral<"text">;
|
|
547
561
|
font: z.ZodString;
|
|
548
562
|
fontOrientation: z.ZodEnum<{
|
|
@@ -589,7 +603,9 @@ export declare const badgeSchema: z.ZodObject<{
|
|
|
589
603
|
readonly passAttributes: "passAttributes";
|
|
590
604
|
}>;
|
|
591
605
|
sourceLookup: z.ZodString;
|
|
606
|
+
sourceSeperator: z.ZodString;
|
|
592
607
|
hideEmpty: z.ZodBoolean;
|
|
608
|
+
editable: z.ZodBoolean;
|
|
593
609
|
type: z.ZodLiteral<"barcode">;
|
|
594
610
|
barWidth: z.ZodNumber;
|
|
595
611
|
orientation: z.ZodEnum<{
|
|
@@ -625,7 +641,9 @@ export declare const badgeSchema: z.ZodObject<{
|
|
|
625
641
|
readonly passAttributes: "passAttributes";
|
|
626
642
|
}>;
|
|
627
643
|
sourceLookup: z.ZodString;
|
|
644
|
+
sourceSeperator: z.ZodString;
|
|
628
645
|
hideEmpty: z.ZodBoolean;
|
|
646
|
+
editable: z.ZodBoolean;
|
|
629
647
|
type: z.ZodLiteral<"qrcode">;
|
|
630
648
|
orientation: z.ZodLiteral<"N">;
|
|
631
649
|
model: z.ZodLiteral<"2">;
|
|
@@ -691,7 +709,9 @@ export declare function validateBadge(data: Badge): z.ZodSafeParseResult<{
|
|
|
691
709
|
defaultValue: string;
|
|
692
710
|
sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
|
|
693
711
|
sourceLookup: string;
|
|
712
|
+
sourceSeperator: string;
|
|
694
713
|
hideEmpty: boolean;
|
|
714
|
+
editable: boolean;
|
|
695
715
|
type: "text";
|
|
696
716
|
font: string;
|
|
697
717
|
fontOrientation: "N" | "B" | "I" | "R";
|
|
@@ -713,7 +733,9 @@ export declare function validateBadge(data: Badge): z.ZodSafeParseResult<{
|
|
|
713
733
|
defaultValue: string;
|
|
714
734
|
sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
|
|
715
735
|
sourceLookup: string;
|
|
736
|
+
sourceSeperator: string;
|
|
716
737
|
hideEmpty: boolean;
|
|
738
|
+
editable: boolean;
|
|
717
739
|
type: "barcode";
|
|
718
740
|
barWidth: number;
|
|
719
741
|
orientation: "N" | "B" | "I" | "R";
|
|
@@ -728,7 +750,9 @@ export declare function validateBadge(data: Badge): z.ZodSafeParseResult<{
|
|
|
728
750
|
defaultValue: string;
|
|
729
751
|
sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
|
|
730
752
|
sourceLookup: string;
|
|
753
|
+
sourceSeperator: string;
|
|
731
754
|
hideEmpty: boolean;
|
|
755
|
+
editable: boolean;
|
|
732
756
|
type: "qrcode";
|
|
733
757
|
orientation: "N";
|
|
734
758
|
model: "2";
|
|
@@ -777,7 +801,9 @@ export declare function validateBadgeOrThrow(data: Badge): {
|
|
|
777
801
|
defaultValue: string;
|
|
778
802
|
sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
|
|
779
803
|
sourceLookup: string;
|
|
804
|
+
sourceSeperator: string;
|
|
780
805
|
hideEmpty: boolean;
|
|
806
|
+
editable: boolean;
|
|
781
807
|
type: "text";
|
|
782
808
|
font: string;
|
|
783
809
|
fontOrientation: "N" | "B" | "I" | "R";
|
|
@@ -799,7 +825,9 @@ export declare function validateBadgeOrThrow(data: Badge): {
|
|
|
799
825
|
defaultValue: string;
|
|
800
826
|
sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
|
|
801
827
|
sourceLookup: string;
|
|
828
|
+
sourceSeperator: string;
|
|
802
829
|
hideEmpty: boolean;
|
|
830
|
+
editable: boolean;
|
|
803
831
|
type: "barcode";
|
|
804
832
|
barWidth: number;
|
|
805
833
|
orientation: "N" | "B" | "I" | "R";
|
|
@@ -814,7 +842,9 @@ export declare function validateBadgeOrThrow(data: Badge): {
|
|
|
814
842
|
defaultValue: string;
|
|
815
843
|
sourceType: "account" | "accountAttributes" | "accountTiers" | "pass" | "passResponses" | "passAttributes";
|
|
816
844
|
sourceLookup: string;
|
|
845
|
+
sourceSeperator: string;
|
|
817
846
|
hideEmpty: boolean;
|
|
847
|
+
editable: boolean;
|
|
818
848
|
type: "qrcode";
|
|
819
849
|
orientation: "N";
|
|
820
850
|
model: "2";
|