@arcadia-eternity/schema 4.8.3 → 4.9.1

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.js CHANGED
@@ -262,6 +262,7 @@ const PetSchema = Type.Object({
262
262
  level: Type.Integer({ minimum: 1 }),
263
263
  evs: StatOutBattleEVSSchema,
264
264
  ivs: StatOutBattleIVSSchema,
265
+ ivMax: Type.Optional(StatOutBattleIVSSchema),
265
266
  nature: Type.String({
266
267
  minLength: 1,
267
268
  maxLength: 256
package/dist/src/pet.d.ts CHANGED
@@ -37,6 +37,14 @@ export declare const PetSchema: import("@sinclair/typebox").TObject<{
37
37
  spd: import("@sinclair/typebox").TInteger;
38
38
  spe: import("@sinclair/typebox").TInteger;
39
39
  }>;
40
+ ivMax: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
41
+ hp: import("@sinclair/typebox").TInteger;
42
+ atk: import("@sinclair/typebox").TInteger;
43
+ def: import("@sinclair/typebox").TInteger;
44
+ spa: import("@sinclair/typebox").TInteger;
45
+ spd: import("@sinclair/typebox").TInteger;
46
+ spe: import("@sinclair/typebox").TInteger;
47
+ }>>;
40
48
  nature: import("@sinclair/typebox").TString;
41
49
  gender: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<Gender>[]>>;
42
50
  height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
@@ -70,6 +78,14 @@ export declare const PetSetSchema: import("@sinclair/typebox").TArray<import("@s
70
78
  spd: import("@sinclair/typebox").TInteger;
71
79
  spe: import("@sinclair/typebox").TInteger;
72
80
  }>;
81
+ ivMax: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
82
+ hp: import("@sinclair/typebox").TInteger;
83
+ atk: import("@sinclair/typebox").TInteger;
84
+ def: import("@sinclair/typebox").TInteger;
85
+ spa: import("@sinclair/typebox").TInteger;
86
+ spd: import("@sinclair/typebox").TInteger;
87
+ spe: import("@sinclair/typebox").TInteger;
88
+ }>>;
73
89
  nature: import("@sinclair/typebox").TString;
74
90
  gender: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<Gender>[]>>;
75
91
  height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"pet.d.ts","sourceRoot":"","sources":["../../src/pet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,MAAM,yBAAyB,CAAA;AAEnE,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD,eAAO,MAAM,sBAAsB;;;;;;;EAOjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;EAOjC,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBpB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAA;AAGpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwB,CAAA;AAGjD,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA;AAEhD,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,aAAa,CAExD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAEpD"}
1
+ {"version":3,"file":"pet.d.ts","sourceRoot":"","sources":["../../src/pet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,MAAM,yBAAyB,CAAA;AAEnE,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD,eAAO,MAAM,sBAAsB;;;;;;;EAOjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;EAOjC,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBpB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAA;AAGpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwB,CAAA;AAGjD,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA;AAEhD,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,aAAa,CAExD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAEpD"}
@@ -23,6 +23,14 @@ export declare const PlayerSchema: import("@sinclair/typebox").TObject<{
23
23
  spd: import("@sinclair/typebox").TInteger;
24
24
  spe: import("@sinclair/typebox").TInteger;
25
25
  }>;
26
+ ivMax: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
27
+ hp: import("@sinclair/typebox").TInteger;
28
+ atk: import("@sinclair/typebox").TInteger;
29
+ def: import("@sinclair/typebox").TInteger;
30
+ spa: import("@sinclair/typebox").TInteger;
31
+ spd: import("@sinclair/typebox").TInteger;
32
+ spe: import("@sinclair/typebox").TInteger;
33
+ }>>;
26
34
  nature: import("@sinclair/typebox").TString;
27
35
  gender: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<import("@arcadia-eternity/const").Gender>[]>>;
28
36
  height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../src/player.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAIrD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIvB,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA"}
1
+ {"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../../src/player.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAIrD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIvB,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcadia-eternity/schema",
3
- "version": "4.8.3",
3
+ "version": "4.9.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "repository": {
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@sinclair/typebox": "0.34.52",
18
18
  "nanoid": "6.0.2",
19
- "@arcadia-eternity/const": "4.8.3"
19
+ "@arcadia-eternity/const": "4.9.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "26.6.6",