hella-types 0.0.18 → 0.1.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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OperatorZod = exports.DeployableZod = exports.StageZod = exports.SkinZod = exports.SkillZod = exports.SandboxActZod = exports.RogueThemeZod = exports.ParadoxZod = exports.ModuleZod = exports.ItemZod = exports.GridRangeZod = exports.GameEventZod = exports.GachaPoolZod = exports.EnemyZod = exports.DefinitionZod = exports.CCStageZod = exports.BaseZod = void 0;
3
+ exports.OperatorZod = exports.DeployableZod = exports.StageZod = exports.SkinZod = exports.SkillZod = exports.SandboxActZod = exports.RogueThemeZod = exports.ParadoxZod = exports.ModuleZod = exports.ItemZod = exports.GridRangeZod = exports.GameEventZod = exports.GachaPoolZod = exports.EnemyZod = exports.DefinitionZod = exports.CCSeasonZod = exports.CCStageZod = exports.CCStageLegacyZod = exports.BaseZod = void 0;
4
4
  var z = require("zod");
5
5
  var BlackboardZod = z.strictObject({
6
6
  key: z.string(),
@@ -542,7 +542,7 @@ exports.BaseZod = z.strictObject({
542
542
  roomType: z.string(),
543
543
  description: z.string(),
544
544
  });
545
- exports.CCStageZod = z.strictObject({
545
+ exports.CCStageLegacyZod = z.strictObject({
546
546
  const: z.strictObject({
547
547
  levelId: z.string(),
548
548
  location: z.string(),
@@ -551,6 +551,27 @@ exports.CCStageZod = z.strictObject({
551
551
  }),
552
552
  levels: StageDataZod,
553
553
  });
554
+ exports.CCStageZod = z.strictObject({
555
+ excel: z.strictObject({
556
+ stageId: z.string(),
557
+ mapId: z.string(),
558
+ levelId: z.string(),
559
+ stageType: z.string(),
560
+ code: z.string(),
561
+ name: z.string(),
562
+ loadingPicId: z.string(),
563
+ description: z.string(),
564
+ picId: z.string(),
565
+ logoPicId: z.string(),
566
+ startTime: z.number(),
567
+ rewardEndTime: z.number(),
568
+ }),
569
+ levels: StageDataZod,
570
+ });
571
+ exports.CCSeasonZod = z.strictObject({
572
+ seasonId: z.string(),
573
+ stageDict: z.record(z.string(), exports.CCStageZod),
574
+ });
554
575
  exports.DefinitionZod = z.strictObject({
555
576
  termId: z.string(),
556
577
  termName: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hella-types",
3
- "version": "0.0.18",
3
+ "version": "0.1.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "",
package/src/index.ts CHANGED
@@ -571,7 +571,7 @@ export const BaseZod = z.strictObject({
571
571
  roomType: z.string(),
572
572
  description: z.string(),
573
573
  });
574
- export const CCStageZod = z.strictObject({
574
+ export const CCStageLegacyZod = z.strictObject({
575
575
  const: z.strictObject({
576
576
  levelId: z.string(),
577
577
  location: z.string(),
@@ -580,6 +580,27 @@ export const CCStageZod = z.strictObject({
580
580
  }),
581
581
  levels: StageDataZod,
582
582
  });
583
+ export const CCStageZod = z.strictObject({
584
+ excel: z.strictObject({
585
+ stageId: z.string(),
586
+ mapId: z.string(),
587
+ levelId: z.string(),
588
+ stageType: z.string(),
589
+ code: z.string(),
590
+ name: z.string(),
591
+ loadingPicId: z.string(),
592
+ description: z.string(),
593
+ picId: z.string(),
594
+ logoPicId: z.string(),
595
+ startTime: z.number(),
596
+ rewardEndTime: z.number(),
597
+ }),
598
+ levels: StageDataZod,
599
+ });
600
+ export const CCSeasonZod = z.strictObject({
601
+ seasonId: z.string(),
602
+ stageDict: z.record(z.string(), CCStageZod),
603
+ });
583
604
  export const DefinitionZod = z.strictObject({
584
605
  termId: z.string(),
585
606
  termName: z.string(),
@@ -1177,7 +1198,9 @@ export const OperatorZod = DeployableZod.extend({
1177
1198
 
1178
1199
  export type Blackboard = z.infer<typeof BlackboardZod>;
1179
1200
  export type Base = z.infer<typeof BaseZod>;
1201
+ export type CCStageLegacy = z.infer<typeof CCStageLegacyZod>;
1180
1202
  export type CCStage = z.infer<typeof CCStageZod>;
1203
+ export type CCSeason = z.infer<typeof CCSeasonZod>;
1181
1204
  export type Definition = z.infer<typeof DefinitionZod>;
1182
1205
  export type Deployable = z.infer<typeof DeployableZod>;
1183
1206
  export type Enemy = z.infer<typeof EnemyZod>;