@connectedxm/zpl-generator 0.0.11 → 0.0.13

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.
@@ -527,10 +527,39 @@ export declare const fieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
527
527
  }, z.core.$strip>], "type">;
528
528
  export type Field = z.infer<typeof fieldSchema>;
529
529
  export declare const fontSchema: z.ZodObject<{
530
- name: z.ZodString;
531
530
  alias: z.ZodString;
531
+ name: z.ZodEnum<{
532
+ Arial: "Arial";
533
+ "Open Sans": "Open Sans";
534
+ Roboto: "Roboto";
535
+ Lato: "Lato";
536
+ Montserrat: "Montserrat";
537
+ Inter: "Inter";
538
+ Oswald: "Oswald";
539
+ Raleway: "Raleway";
540
+ "Raleway Bold": "Raleway Bold";
541
+ Paris: "Paris";
542
+ London: "London";
543
+ "GT Walsheim": "GT Walsheim";
544
+ "Domain Display": "Domain Display";
545
+ }>;
532
546
  }, z.core.$strip>;
533
547
  export type Font = z.infer<typeof fontSchema>;
548
+ export declare const FontFamilyToFontZPLName: {
549
+ Arial: string;
550
+ "Open Sans": string;
551
+ Roboto: string;
552
+ Lato: string;
553
+ Montserrat: string;
554
+ Inter: string;
555
+ Oswald: string;
556
+ Raleway: string;
557
+ "Raleway Bold": string;
558
+ Paris: string;
559
+ London: string;
560
+ "GT Walsheim": string;
561
+ "Domain Display": string;
562
+ };
534
563
  export declare const badgeSchema: z.ZodObject<{
535
564
  type: z.ZodLiteral<"thermal">;
536
565
  tearOffAdjustment: z.ZodNumber;
@@ -752,8 +781,22 @@ export declare const badgeSchema: z.ZodObject<{
752
781
  data: z.ZodString;
753
782
  }, z.core.$strip>], "type">>;
754
783
  fonts: z.ZodArray<z.ZodObject<{
755
- name: z.ZodString;
756
784
  alias: z.ZodString;
785
+ name: z.ZodEnum<{
786
+ Arial: "Arial";
787
+ "Open Sans": "Open Sans";
788
+ Roboto: "Roboto";
789
+ Lato: "Lato";
790
+ Montserrat: "Montserrat";
791
+ Inter: "Inter";
792
+ Oswald: "Oswald";
793
+ Raleway: "Raleway";
794
+ "Raleway Bold": "Raleway Bold";
795
+ Paris: "Paris";
796
+ London: "London";
797
+ "GT Walsheim": "GT Walsheim";
798
+ "Domain Display": "Domain Display";
799
+ }>;
757
800
  }, z.core.$strip>>;
758
801
  }, z.core.$strip>;
759
802
  export type Badge = z.infer<typeof badgeSchema>;
@@ -871,8 +914,8 @@ export declare function validateBadge(data: Badge): z.ZodSafeParseResult<{
871
914
  data: string;
872
915
  })[];
873
916
  fonts: {
874
- name: string;
875
917
  alias: string;
918
+ name: "Arial" | "Open Sans" | "Roboto" | "Lato" | "Montserrat" | "Inter" | "Oswald" | "Raleway" | "Raleway Bold" | "Paris" | "London" | "GT Walsheim" | "Domain Display";
876
919
  }[];
877
920
  }>;
878
921
  /**
@@ -978,7 +1021,7 @@ export declare function validateBadgeOrThrow(data: Badge): {
978
1021
  data: string;
979
1022
  })[];
980
1023
  fonts: {
981
- name: string;
982
1024
  alias: string;
1025
+ name: "Arial" | "Open Sans" | "Roboto" | "Lato" | "Montserrat" | "Inter" | "Oswald" | "Raleway" | "Raleway Bold" | "Paris" | "London" | "GT Walsheim" | "Domain Display";
983
1026
  }[];
984
1027
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/zpl-generator",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -30,13 +30,13 @@
30
30
  "devDependencies": {
31
31
  "@eslint/js": "^10.0.1",
32
32
  "@types/node": "^22.15.3",
33
- "@typescript-eslint/eslint-plugin": "^8.57.0",
34
- "@typescript-eslint/parser": "^8.57.0",
35
- "eslint": "^10.0.3",
33
+ "@typescript-eslint/eslint-plugin": "^8.58.1",
34
+ "@typescript-eslint/parser": "^8.58.1",
35
+ "eslint": "^10.2.0",
36
36
  "typescript": "^5.9.3",
37
- "typescript-eslint": "^8.57.0",
37
+ "typescript-eslint": "^8.58.1",
38
38
  "vite": "^7.3.1",
39
39
  "vite-plugin-dts": "^4.5.4",
40
- "vitest": "^4.0.18"
40
+ "vitest": "^4.1.4"
41
41
  }
42
42
  }