@konoui/mjimage 0.0.11 → 0.0.12

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.
@@ -70,12 +70,12 @@ declare const tableInputSchema: z.ZodObject<{
70
70
  front: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"1w" | "2w" | "3w" | "4w">, z.ZodLiteral<"1w" | "2w" | "3w" | "4w">, ...z.ZodLiteral<"1w" | "2w" | "3w" | "4w">[]]>>>;
71
71
  }, "strict", z.ZodTypeAny, {
72
72
  round: "1w1" | "1w2" | "1w3" | "1w4" | "2w1" | "2w2" | "2w3" | "2w4" | "3w1" | "3w2" | "3w3" | "3w4" | "4w1" | "4w2" | "4w3" | "4w4";
73
+ front: "1w" | "2w" | "3w" | "4w";
73
74
  sticks: {
74
75
  reach: number;
75
76
  dead: number;
76
77
  };
77
78
  doras: string[];
78
- front: "1w" | "2w" | "3w" | "4w";
79
79
  }, {
80
80
  round?: "1w1" | "1w2" | "1w3" | "1w4" | "2w1" | "2w2" | "2w3" | "2w4" | "3w1" | "3w2" | "3w3" | "3w4" | "4w1" | "4w2" | "4w3" | "4w4" | undefined;
81
81
  sticks?: {
@@ -108,12 +108,12 @@ declare const tableInputSchema: z.ZodObject<{
108
108
  };
109
109
  board: {
110
110
  round: "1w1" | "1w2" | "1w3" | "1w4" | "2w1" | "2w2" | "2w3" | "2w4" | "3w1" | "3w2" | "3w3" | "3w4" | "4w1" | "4w2" | "4w3" | "4w4";
111
+ front: "1w" | "2w" | "3w" | "4w";
111
112
  sticks: {
112
113
  reach: number;
113
114
  dead: number;
114
115
  };
115
116
  doras: string[];
116
- front: "1w" | "2w" | "3w" | "4w";
117
117
  };
118
118
  }, {
119
119
  board: {
@@ -206,12 +206,12 @@ export declare const parseTableInput: (s: string) => {
206
206
  };
207
207
  board: {
208
208
  round: "1w1" | "1w2" | "1w3" | "1w4" | "2w1" | "2w2" | "2w3" | "2w4" | "3w1" | "3w2" | "3w3" | "3w4" | "4w1" | "4w2" | "4w3" | "4w4";
209
+ front: "1w" | "2w" | "3w" | "4w";
209
210
  sticks: {
210
211
  reach: number;
211
212
  dead: number;
212
213
  };
213
214
  doras: string[];
214
- front: "1w" | "2w" | "3w" | "4w";
215
215
  };
216
216
  };
217
217
  export declare const convertInput: (i: TableInput) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konoui/mjimage",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "Generates Mahjong tiles in SVG format.",
5
5
  "author": "konoui",
6
6
  "license": "MIT",
@@ -64,13 +64,13 @@
64
64
  "parcel-reporter-static-files-copy": "^1.5.2",
65
65
  "process": "^0.11.10",
66
66
  "svg-sprite": "^2.0.2",
67
- "svgdom": "^0.1.16",
67
+ "svgdom": "0.1.14",
68
68
  "svgo": "^3.0.2",
69
69
  "ts-jest": "^29.1.1",
70
70
  "typescript": "^5.2.2"
71
71
  },
72
72
  "dependencies": {
73
- "@svgdotjs/svg.js": "^3.2.0",
73
+ "@svgdotjs/svg.js": "^3.2.4",
74
74
  "eventmit": "^2.0.4",
75
75
  "js-yaml": "^4.1.0",
76
76
  "xstate": "^5.7.0",