hella-types 0.0.12 → 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.
package/dist/index.d.ts CHANGED
@@ -61743,7 +61743,7 @@ export declare const StageZod: z.ZodObject<{
61743
61743
  difficulty: z.ZodString;
61744
61744
  performanceStageFlag: z.ZodString;
61745
61745
  diffGroup: z.ZodString;
61746
- unlockCondition: z.ZodNullable<z.ZodObject<{
61746
+ unlockCondition: z.ZodArray<z.ZodObject<{
61747
61747
  stageId: z.ZodString;
61748
61748
  completeState: z.ZodString;
61749
61749
  }, "strict", z.ZodTypeAny, {
@@ -61752,7 +61752,7 @@ export declare const StageZod: z.ZodObject<{
61752
61752
  }, {
61753
61753
  stageId: string;
61754
61754
  completeState: string;
61755
- }>>;
61755
+ }>, "many">;
61756
61756
  stageId: z.ZodString;
61757
61757
  levelId: z.ZodString;
61758
61758
  zoneId: z.ZodString;
@@ -61937,7 +61937,7 @@ export declare const StageZod: z.ZodObject<{
61937
61937
  unlockCondition: {
61938
61938
  stageId: string;
61939
61939
  completeState: string;
61940
- } | null;
61940
+ }[];
61941
61941
  zoneId: string;
61942
61942
  stageType: string;
61943
61943
  performanceStageFlag: string;
@@ -62024,7 +62024,7 @@ export declare const StageZod: z.ZodObject<{
62024
62024
  unlockCondition: {
62025
62025
  stageId: string;
62026
62026
  completeState: string;
62027
- } | null;
62027
+ }[];
62028
62028
  zoneId: string;
62029
62029
  stageType: string;
62030
62030
  performanceStageFlag: string;
@@ -67497,7 +67497,7 @@ export declare const StageZod: z.ZodObject<{
67497
67497
  unlockCondition: {
67498
67498
  stageId: string;
67499
67499
  completeState: string;
67500
- } | null;
67500
+ }[];
67501
67501
  zoneId: string;
67502
67502
  stageType: string;
67503
67503
  performanceStageFlag: string;
@@ -68276,7 +68276,7 @@ export declare const StageZod: z.ZodObject<{
68276
68276
  unlockCondition: {
68277
68277
  stageId: string;
68278
68278
  completeState: string;
68279
- } | null;
68279
+ }[];
68280
68280
  zoneId: string;
68281
68281
  stageType: string;
68282
68282
  performanceStageFlag: string;
package/dist/index.js CHANGED
@@ -746,10 +746,10 @@ exports.StageZod = z.strictObject({
746
746
  difficulty: z.string(),
747
747
  performanceStageFlag: z.string(),
748
748
  diffGroup: z.string(),
749
- unlockCondition: z.strictObject({
749
+ unlockCondition: z.array(z.strictObject({
750
750
  stageId: z.string(),
751
751
  completeState: z.string(),
752
- }).nullable(),
752
+ })),
753
753
  stageId: z.string(),
754
754
  levelId: z.string(),
755
755
  zoneId: z.string(),
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "hella-types",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "description": "",
9
+ "scripts": {
10
+ "build": "tsc"
11
+ },
9
12
  "dependencies": {
10
13
  "zod": "^3.22.4"
11
14
  },
@@ -16,4 +19,4 @@
16
19
  "type": "git",
17
20
  "url": "https://github.com/Awedtan/HellaTypes.git"
18
21
  }
19
- }
22
+ }
package/src/index.ts CHANGED
@@ -803,10 +803,12 @@ export const StageZod = z.strictObject({
803
803
  difficulty: z.string(),
804
804
  performanceStageFlag: z.string(),
805
805
  diffGroup: z.string(),
806
- unlockCondition: z.strictObject({
807
- stageId: z.string(),
808
- completeState: z.string(),
809
- }).nullable(),
806
+ unlockCondition: z.array(
807
+ z.strictObject({
808
+ stageId: z.string(),
809
+ completeState: z.string(),
810
+ })
811
+ ),
810
812
  stageId: z.string(),
811
813
  levelId: z.string(),
812
814
  zoneId: z.string(),