magicrealmsshared 0.6.29 → 0.6.31

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.
@@ -178,7 +178,7 @@ export declare const WELL_CHANNEL_SHEME: z.ZodObject<{
178
178
  _id: string;
179
179
  }>;
180
180
  export type WELL_CHANNEL = z.infer<typeof WELL_CHANNEL_SHEME>;
181
- export type WELL_CHANNEL_RESPONSE = REQUEST_WITH_WELLID;
181
+ export type WELL_CHANNEL_RESPONSE = RESPONE_WITH_PERSONAL_WELL;
182
182
  export declare const WELL_PERSONAL_SYNC_COMMAND = "WELL_PERSONAL_SYNC_COMMAND";
183
183
  export declare const WELL_PERSONAL_SYNC_SHEME: z.ZodObject<{
184
184
  _id: z.ZodString;
@@ -187,5 +187,5 @@ export declare const WELL_PERSONAL_SYNC_SHEME: z.ZodObject<{
187
187
  }, {
188
188
  _id: string;
189
189
  }>;
190
- export type WELL_PERSONAL_SYNC = z.infer<typeof WELL_CHANNEL_SHEME>;
191
- export type WELL_PERSONAL_SYNC_RESPONSE = REQUEST_WITH_WELLID;
190
+ export type WELL_PERSONAL_SYNC = z.infer<typeof WELL_PERSONAL_SYNC_SHEME>;
191
+ export type WELL_PERSONAL_SYNC_RESPONSE = RESPONE_WITH_PERSONAL_WELL;
@@ -5,6 +5,12 @@ export type Equipment<IDFormat, DateFormat> = {
5
5
  head: HeadGear<IDFormat, DateFormat> | null;
6
6
  manaCrystals: ManaCrytal<IDFormat, DateFormat>[];
7
7
  };
8
+ export type CharacterMana = {
9
+ current: number;
10
+ gain: number;
11
+ maxSoft: number;
12
+ maxHard: number;
13
+ };
8
14
  export type GameCharacter<IDFormat, DateFormat> = ObjectWithId<IDFormat> & {
9
15
  ownerId: IDFormat;
10
16
  name: string;
@@ -13,6 +19,8 @@ export type GameCharacter<IDFormat, DateFormat> = ObjectWithId<IDFormat> & {
13
19
  portrait: string;
14
20
  equipment: Equipment<IDFormat, DateFormat>;
15
21
  inventory: GameItem<IDFormat, DateFormat>[];
22
+ lastUpdate: DateFormat;
23
+ mana: CharacterMana[];
16
24
  };
17
25
  export declare const GenderSchema: z.ZodEnum<["f", "m"]>;
18
26
  export type Gender = z.infer<typeof GenderSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magicrealmsshared",
3
- "version": "0.6.29",
3
+ "version": "0.6.31",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {