hella-types 0.2.2 → 0.2.4
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 +1077 -610
- package/dist/index.js +5 -5
- package/package.json +3 -3
- package/src/index.ts +5 -5
- package/tsconfig.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1051,7 +1051,6 @@ exports.StageZod = z.strictObject({
|
|
|
1051
1051
|
exports.DeployableZod = z.strictObject({
|
|
1052
1052
|
id: z.string(),
|
|
1053
1053
|
archetype: z.string(),
|
|
1054
|
-
range: exports.GridRangeZod.nullable(),
|
|
1055
1054
|
data: z.strictObject({
|
|
1056
1055
|
name: z.string(),
|
|
1057
1056
|
description: z.string().nullable(),
|
|
@@ -1141,13 +1140,12 @@ exports.DeployableZod = z.strictObject({
|
|
|
1141
1140
|
lvlUpCost: z.array(LevelUpCostZod).nullable(),
|
|
1142
1141
|
})),
|
|
1143
1142
|
}),
|
|
1143
|
+
range: exports.GridRangeZod.nullable(),
|
|
1144
|
+
skills: z.array(exports.SkillZod.nullable()),
|
|
1145
|
+
skins: z.array(exports.SkinZod.nullable()),
|
|
1144
1146
|
});
|
|
1145
1147
|
;
|
|
1146
1148
|
exports.OperatorZod = exports.DeployableZod.extend({
|
|
1147
|
-
recruit: z.number(),
|
|
1148
|
-
skills: z.array(exports.SkillZod),
|
|
1149
|
-
modules: z.array(exports.ModuleZod),
|
|
1150
|
-
skins: z.array(exports.SkinZod),
|
|
1151
1149
|
bases: z.array(z.strictObject({
|
|
1152
1150
|
condition: z.strictObject({
|
|
1153
1151
|
buffId: z.string(),
|
|
@@ -1155,5 +1153,7 @@ exports.OperatorZod = exports.DeployableZod.extend({
|
|
|
1155
1153
|
}),
|
|
1156
1154
|
skill: exports.BaseZod,
|
|
1157
1155
|
})),
|
|
1156
|
+
modules: z.array(exports.ModuleZod),
|
|
1158
1157
|
paradox: exports.ParadoxZod.nullable(),
|
|
1158
|
+
recruit: z.number(),
|
|
1159
1159
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hella-types",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "",
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/Awedtan/HellaAPI.git"
|
|
20
|
+
"url": "git+https://github.com/Awedtan/HellaAPI.git"
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1124,7 +1124,6 @@ export const StageZod = z.strictObject({
|
|
|
1124
1124
|
export const DeployableZod = z.strictObject({
|
|
1125
1125
|
id: z.string(),
|
|
1126
1126
|
archetype: z.string(),
|
|
1127
|
-
range: GridRangeZod.nullable(),
|
|
1128
1127
|
data: z.strictObject({
|
|
1129
1128
|
name: z.string(),
|
|
1130
1129
|
description: z.string().nullable(),
|
|
@@ -1230,12 +1229,11 @@ export const DeployableZod = z.strictObject({
|
|
|
1230
1229
|
})
|
|
1231
1230
|
),
|
|
1232
1231
|
}),
|
|
1232
|
+
range: GridRangeZod.nullable(),
|
|
1233
|
+
skills: z.array(SkillZod.nullable()),
|
|
1234
|
+
skins: z.array(SkinZod.nullable()),
|
|
1233
1235
|
});;
|
|
1234
1236
|
export const OperatorZod = DeployableZod.extend({
|
|
1235
|
-
recruit: z.number(),
|
|
1236
|
-
skills: z.array(SkillZod),
|
|
1237
|
-
modules: z.array(ModuleZod),
|
|
1238
|
-
skins: z.array(SkinZod),
|
|
1239
1237
|
bases: z.array(
|
|
1240
1238
|
z.strictObject({
|
|
1241
1239
|
condition: z.strictObject({
|
|
@@ -1245,7 +1243,9 @@ export const OperatorZod = DeployableZod.extend({
|
|
|
1245
1243
|
skill: BaseZod,
|
|
1246
1244
|
})
|
|
1247
1245
|
),
|
|
1246
|
+
modules: z.array(ModuleZod),
|
|
1248
1247
|
paradox: ParadoxZod.nullable(),
|
|
1248
|
+
recruit: z.number(),
|
|
1249
1249
|
})
|
|
1250
1250
|
|
|
1251
1251
|
export type Blackboard = z.infer<typeof BlackboardZod>;
|