@rpg-engine/shared 0.2.28 → 0.2.30

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.
Files changed (160) hide show
  1. package/package.json +1 -1
  2. package/dist/constants/npc.constants.d.ts +0 -2
  3. package/dist/constants/npc.constants.d.ts.map +0 -1
  4. package/dist/constants/npc.constants.js +0 -5
  5. package/dist/constants/npc.constants.js.map +0 -1
  6. package/dist/constants/socket.constants.d.ts +0 -3
  7. package/dist/constants/socket.constants.d.ts.map +0 -1
  8. package/dist/constants/socket.constants.js +0 -7
  9. package/dist/constants/socket.constants.js.map +0 -1
  10. package/dist/constants/world.constants.d.ts +0 -11
  11. package/dist/constants/world.constants.d.ts.map +0 -1
  12. package/dist/constants/world.constants.js +0 -14
  13. package/dist/constants/world.constants.js.map +0 -1
  14. package/dist/index.d.ts +0 -32
  15. package/dist/index.d.ts.map +0 -1
  16. package/dist/index.js +0 -48
  17. package/dist/index.js.map +0 -1
  18. package/dist/libs/GridHelper.d.ts +0 -12
  19. package/dist/libs/GridHelper.d.ts.map +0 -1
  20. package/dist/libs/GridHelper.js +0 -38
  21. package/dist/libs/GridHelper.js.map +0 -1
  22. package/dist/libs/MathHelper.d.ts +0 -17
  23. package/dist/libs/MathHelper.d.ts.map +0 -1
  24. package/dist/libs/MathHelper.js +0 -15
  25. package/dist/libs/MathHelper.js.map +0 -1
  26. package/dist/libs/SocketHelper.d.ts +0 -3
  27. package/dist/libs/SocketHelper.d.ts.map +0 -1
  28. package/dist/libs/SocketHelper.js +0 -15
  29. package/dist/libs/SocketHelper.js.map +0 -1
  30. package/dist/libs/TextHelper.d.ts +0 -8
  31. package/dist/libs/TextHelper.d.ts.map +0 -1
  32. package/dist/libs/TextHelper.js +0 -22
  33. package/dist/libs/TextHelper.js.map +0 -1
  34. package/dist/libs/TypeHelper.d.ts +0 -4
  35. package/dist/libs/TypeHelper.d.ts.map +0 -1
  36. package/dist/libs/TypeHelper.js +0 -17
  37. package/dist/libs/TypeHelper.js.map +0 -1
  38. package/dist/translations/app-rate.lang.json +0 -38
  39. package/dist/translations/assets.lang.json +0 -82
  40. package/dist/translations/auth.lang.json +0 -182
  41. package/dist/translations/email.lang.json +0 -70
  42. package/dist/translations/error.lang.json +0 -18
  43. package/dist/translations/form.lang.json +0 -94
  44. package/dist/translations/global.lang.json +0 -90
  45. package/dist/translations/logs.lang.json +0 -6
  46. package/dist/translations/onboarding.lang.d.ts +0 -11
  47. package/dist/translations/onboarding.lang.d.ts.map +0 -1
  48. package/dist/translations/onboarding.lang.js +0 -22
  49. package/dist/translations/onboarding.lang.js.map +0 -1
  50. package/dist/translations/onboarding.lang.json +0 -50
  51. package/dist/translations/order.lang.json +0 -90
  52. package/dist/translations/search.lang.json +0 -50
  53. package/dist/translations/settings.lang.json +0 -14
  54. package/dist/translations/tabs.lang.json +0 -22
  55. package/dist/translations/users.lang.json +0 -22
  56. package/dist/translations/validation.lang.json +0 -86
  57. package/dist/types/animation.types.d.ts +0 -8
  58. package/dist/types/animation.types.d.ts.map +0 -1
  59. package/dist/types/animation.types.js +0 -3
  60. package/dist/types/animation.types.js.map +0 -1
  61. package/dist/types/api.types.d.ts +0 -22
  62. package/dist/types/api.types.d.ts.map +0 -1
  63. package/dist/types/api.types.js +0 -21
  64. package/dist/types/api.types.js.map +0 -1
  65. package/dist/types/asset.types.d.ts +0 -7
  66. package/dist/types/asset.types.d.ts.map +0 -1
  67. package/dist/types/asset.types.js +0 -3
  68. package/dist/types/asset.types.js.map +0 -1
  69. package/dist/types/auth.types.d.ts +0 -8
  70. package/dist/types/auth.types.d.ts.map +0 -1
  71. package/dist/types/auth.types.js +0 -3
  72. package/dist/types/auth.types.js.map +0 -1
  73. package/dist/types/battle.types.d.ts +0 -23
  74. package/dist/types/battle.types.d.ts.map +0 -1
  75. package/dist/types/battle.types.js +0 -18
  76. package/dist/types/battle.types.js.map +0 -1
  77. package/dist/types/character.types.d.ts +0 -118
  78. package/dist/types/character.types.d.ts.map +0 -1
  79. package/dist/types/character.types.js +0 -30
  80. package/dist/types/character.types.js.map +0 -1
  81. package/dist/types/device.types.d.ts +0 -25
  82. package/dist/types/device.types.d.ts.map +0 -1
  83. package/dist/types/device.types.js +0 -8
  84. package/dist/types/device.types.js.map +0 -1
  85. package/dist/types/entity.types.d.ts +0 -13
  86. package/dist/types/entity.types.d.ts.map +0 -1
  87. package/dist/types/entity.types.js +0 -9
  88. package/dist/types/entity.types.js.map +0 -1
  89. package/dist/types/env.types.d.ts +0 -6
  90. package/dist/types/env.types.d.ts.map +0 -1
  91. package/dist/types/env.types.js +0 -10
  92. package/dist/types/env.types.js.map +0 -1
  93. package/dist/types/googleOAuth.types.d.ts +0 -48
  94. package/dist/types/googleOAuth.types.d.ts.map +0 -1
  95. package/dist/types/googleOAuth.types.js +0 -3
  96. package/dist/types/googleOAuth.types.js.map +0 -1
  97. package/dist/types/maps.types.d.ts +0 -17
  98. package/dist/types/maps.types.d.ts.map +0 -1
  99. package/dist/types/maps.types.js +0 -11
  100. package/dist/types/maps.types.js.map +0 -1
  101. package/dist/types/notification.types.d.ts +0 -15
  102. package/dist/types/notification.types.d.ts.map +0 -1
  103. package/dist/types/notification.types.js +0 -3
  104. package/dist/types/notification.types.js.map +0 -1
  105. package/dist/types/npc.types.d.ts +0 -97
  106. package/dist/types/npc.types.d.ts.map +0 -1
  107. package/dist/types/npc.types.js +0 -42
  108. package/dist/types/npc.types.js.map +0 -1
  109. package/dist/types/npcMetadata.types.d.ts +0 -7
  110. package/dist/types/npcMetadata.types.d.ts.map +0 -1
  111. package/dist/types/npcMetadata.types.js +0 -20
  112. package/dist/types/npcMetadata.types.js.map +0 -1
  113. package/dist/types/pagination.types.d.ts +0 -14
  114. package/dist/types/pagination.types.d.ts.map +0 -1
  115. package/dist/types/pagination.types.js +0 -3
  116. package/dist/types/pagination.types.js.map +0 -1
  117. package/dist/types/places.types.d.ts +0 -17
  118. package/dist/types/places.types.d.ts.map +0 -1
  119. package/dist/types/places.types.js +0 -10
  120. package/dist/types/places.types.js.map +0 -1
  121. package/dist/types/player.types.d.ts +0 -49
  122. package/dist/types/player.types.d.ts.map +0 -1
  123. package/dist/types/player.types.js +0 -14
  124. package/dist/types/player.types.js.map +0 -1
  125. package/dist/types/preloadScene.types.d.ts +0 -5
  126. package/dist/types/preloadScene.types.d.ts.map +0 -1
  127. package/dist/types/preloadScene.types.js +0 -8
  128. package/dist/types/preloadScene.types.js.map +0 -1
  129. package/dist/types/resource.types.d.ts +0 -6
  130. package/dist/types/resource.types.d.ts.map +0 -1
  131. package/dist/types/resource.types.js +0 -3
  132. package/dist/types/resource.types.js.map +0 -1
  133. package/dist/types/scene.types.d.ts +0 -9
  134. package/dist/types/scene.types.d.ts.map +0 -1
  135. package/dist/types/scene.types.js +0 -9
  136. package/dist/types/scene.types.js.map +0 -1
  137. package/dist/types/skills.types.d.ts +0 -25
  138. package/dist/types/skills.types.d.ts.map +0 -1
  139. package/dist/types/skills.types.js +0 -3
  140. package/dist/types/skills.types.js.map +0 -1
  141. package/dist/types/socket.types.d.ts +0 -18
  142. package/dist/types/socket.types.d.ts.map +0 -1
  143. package/dist/types/socket.types.js +0 -9
  144. package/dist/types/socket.types.js.map +0 -1
  145. package/dist/types/tiled.types.d.ts +0 -108
  146. package/dist/types/tiled.types.d.ts.map +0 -1
  147. package/dist/types/tiled.types.js +0 -14
  148. package/dist/types/tiled.types.js.map +0 -1
  149. package/dist/types/translation.types.d.ts +0 -6
  150. package/dist/types/translation.types.d.ts.map +0 -1
  151. package/dist/types/translation.types.js +0 -9
  152. package/dist/types/translation.types.js.map +0 -1
  153. package/dist/types/user.types.d.ts +0 -99
  154. package/dist/types/user.types.d.ts.map +0 -1
  155. package/dist/types/user.types.js +0 -39
  156. package/dist/types/user.types.js.map +0 -1
  157. package/dist/types/validation.types.d.ts +0 -10
  158. package/dist/types/validation.types.d.ts.map +0 -1
  159. package/dist/types/validation.types.js +0 -3
  160. package/dist/types/validation.types.js.map +0 -1
@@ -1,48 +0,0 @@
1
- export interface IGoogleConfig {
2
- clientID: string;
3
- clientSecret: string;
4
- redirectURI: string;
5
- }
6
- export interface IGoogleOAuthUrlResponse {
7
- googleOAuthUrl: string;
8
- }
9
- export interface IGoogleOAuthTokenPayload {
10
- access_token: string;
11
- id_token: string;
12
- expires_in: string;
13
- token_type: string;
14
- refresh_token: string;
15
- }
16
- export interface IGoogleOAuthUserInfoResponse {
17
- id: string;
18
- email: string;
19
- verified_email: boolean;
20
- name: string;
21
- given_name: string;
22
- family_name: string;
23
- picture: string;
24
- locale: string;
25
- }
26
- export interface IGoogleCapacitorOAuthResponse {
27
- email: string;
28
- familyName: string;
29
- givenName: string;
30
- id: string;
31
- imageUrl: string;
32
- name: string;
33
- authentication: IAuthentication;
34
- serverAuthCode: string;
35
- }
36
- export interface IAuthentication {
37
- accessToken: string;
38
- idToken: string;
39
- }
40
- export interface IGoogleOAuthIdTokenResponse extends IGoogleOAuthUserInfoResponse {
41
- iss: string;
42
- sub: string;
43
- azp: string;
44
- aud: string;
45
- iat: string;
46
- exp: string;
47
- }
48
- //# sourceMappingURL=googleOAuth.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"googleOAuth.types.d.ts","sourceRoot":"","sources":["../../src/types/googleOAuth.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,eAAe,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,2BAA4B,SAAQ,4BAA4B;IAC/E,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=googleOAuth.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"googleOAuth.types.js","sourceRoot":"","sources":["../../src/types/googleOAuth.types.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- export interface IMap {
2
- JSONKey: string;
3
- imageKey: string;
4
- layers: string[];
5
- tileWidth: number;
6
- tileHeight: number;
7
- imagePath: string;
8
- jsonPath: string;
9
- tilesetName: string;
10
- }
11
- export declare enum MapLayers {
12
- Ground = 0,
13
- OverGround = 1,
14
- Character = 2,
15
- OverCharacter = 3
16
- }
17
- //# sourceMappingURL=maps.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"maps.types.d.ts","sourceRoot":"","sources":["../../src/types/maps.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,oBAAY,SAAS;IACnB,MAAM,IAAI;IACV,UAAU,IAAI;IACd,SAAS,IAAI;IACb,aAAa,IAAI;CAClB"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MapLayers = void 0;
4
- var MapLayers;
5
- (function (MapLayers) {
6
- MapLayers[MapLayers["Ground"] = 0] = "Ground";
7
- MapLayers[MapLayers["OverGround"] = 1] = "OverGround";
8
- MapLayers[MapLayers["Character"] = 2] = "Character";
9
- MapLayers[MapLayers["OverCharacter"] = 3] = "OverCharacter";
10
- })(MapLayers = exports.MapLayers || (exports.MapLayers = {}));
11
- //# sourceMappingURL=maps.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"maps.types.js","sourceRoot":"","sources":["../../src/types/maps.types.ts"],"names":[],"mappings":";;;AAWA,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,6CAAU,CAAA;IACV,qDAAc,CAAA;IACd,mDAAa,CAAA;IACb,2DAAiB,CAAA;AACnB,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB"}
@@ -1,15 +0,0 @@
1
- export interface IShowPromptOption {
2
- label: string;
3
- color?: string;
4
- action: (label: string) => void;
5
- }
6
- export interface IShowPrompt {
7
- question: string;
8
- options: IShowPromptOption[];
9
- addDefaultCancelOption?: boolean;
10
- }
11
- export interface INotification {
12
- variant: "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
13
- message: string;
14
- }
15
- //# sourceMappingURL=notification.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.types.d.ts","sourceRoot":"","sources":["../../src/types/notification.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AACD,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAChG,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=notification.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.types.js","sourceRoot":"","sources":["../../src/types/notification.types.ts"],"names":[],"mappings":""}
@@ -1,97 +0,0 @@
1
- import { AnimationDirection } from "./animation.types";
2
- import { CharacterClass, CharacterGender, ICharacter } from "./character.types";
3
- import { MapLayers } from "./maps.types";
4
- import { IResource } from "./resource.types";
5
- import { ISkill } from "./skills.types";
6
- export interface INPC extends IResource {
7
- key: string;
8
- textureKey: string;
9
- name: string;
10
- x: number;
11
- y: number;
12
- initialX: number;
13
- initialY: number;
14
- health: number;
15
- mana: number;
16
- direction: AnimationDirection;
17
- scene: string;
18
- class: CharacterClass;
19
- gender: CharacterGender;
20
- layer: MapLayers;
21
- maxRangeInGridCells?: number;
22
- maxRangedDistanceInGridCells?: number;
23
- originalMovementType: NPCMovementType;
24
- currentMovementType: NPCMovementType;
25
- alignment: NPCAlignment;
26
- targetType: NPCTargetType;
27
- targetCharacter?: ICharacter | null;
28
- pathOrientation?: NPCPathOrientation;
29
- fixedPath?: {
30
- endGridX: number;
31
- endGridY: number;
32
- };
33
- pm2InstanceManager: number;
34
- speed: number;
35
- attackType: NPCAttackType;
36
- skills: ISkill;
37
- }
38
- export declare enum NPCTargetType {
39
- Default = "Default",
40
- Talking = "Talking"
41
- }
42
- export declare enum NPCAlignment {
43
- Friendly = "Friendly",
44
- Neutral = "Neutral",
45
- Hostile = "Hostile"
46
- }
47
- export declare enum NPCPathOrientation {
48
- Forward = "Forward",
49
- Backward = "Backward"
50
- }
51
- export declare enum NPCMovementType {
52
- Random = "Random",
53
- FixedPath = "FixedPath",
54
- Stopped = "Stopped",
55
- MoveAway = "MoveAway",
56
- MoveTowards = "MoveTowards"
57
- }
58
- export declare enum NPCSocketEvents {
59
- NPCDataUpdate = "NPCDataUpdate",
60
- NPCPositionUpdate = "NPCPositionUpdate",
61
- NPCTalkToNPC = "NPCTalkToNPC",
62
- NPCStartDialogNPC = "NPCStartDialogNPC",
63
- NPCStopDialogNPC = "NPCStopDialogNPC"
64
- }
65
- export declare enum NPCAttackType {
66
- Melee = "Melee",
67
- Ranged = "Ranged",
68
- None = "None"
69
- }
70
- export interface INPCPositionUpdatePayload {
71
- id: string;
72
- name: string;
73
- x: number;
74
- y: number;
75
- direction: string;
76
- key: string;
77
- layer: MapLayers;
78
- textureKey: string;
79
- scene: string;
80
- speed: number;
81
- }
82
- export interface INPCDataUpdatePayload {
83
- [key: string]: any;
84
- }
85
- export interface INPCGetInfoEmitterClient {
86
- npcId: string;
87
- }
88
- export interface INPCGetInfoEmitterServer extends INPC {
89
- }
90
- export interface INPCStartDialog {
91
- npcId: string;
92
- dialogText: string;
93
- }
94
- export interface INPCStopDialog {
95
- npcId: string;
96
- }
97
- //# sourceMappingURL=npc.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"npc.types.d.ts","sourceRoot":"","sources":["../../src/types/npc.types.ts"],"names":[],"mappings":"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"}
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NPCAttackType = exports.NPCSocketEvents = exports.NPCMovementType = exports.NPCPathOrientation = exports.NPCAlignment = exports.NPCTargetType = void 0;
4
- var NPCTargetType;
5
- (function (NPCTargetType) {
6
- NPCTargetType["Default"] = "Default";
7
- NPCTargetType["Talking"] = "Talking";
8
- })(NPCTargetType = exports.NPCTargetType || (exports.NPCTargetType = {}));
9
- var NPCAlignment;
10
- (function (NPCAlignment) {
11
- NPCAlignment["Friendly"] = "Friendly";
12
- NPCAlignment["Neutral"] = "Neutral";
13
- NPCAlignment["Hostile"] = "Hostile";
14
- })(NPCAlignment = exports.NPCAlignment || (exports.NPCAlignment = {}));
15
- var NPCPathOrientation;
16
- (function (NPCPathOrientation) {
17
- NPCPathOrientation["Forward"] = "Forward";
18
- NPCPathOrientation["Backward"] = "Backward";
19
- })(NPCPathOrientation = exports.NPCPathOrientation || (exports.NPCPathOrientation = {}));
20
- var NPCMovementType;
21
- (function (NPCMovementType) {
22
- NPCMovementType["Random"] = "Random";
23
- NPCMovementType["FixedPath"] = "FixedPath";
24
- NPCMovementType["Stopped"] = "Stopped";
25
- NPCMovementType["MoveAway"] = "MoveAway";
26
- NPCMovementType["MoveTowards"] = "MoveTowards";
27
- })(NPCMovementType = exports.NPCMovementType || (exports.NPCMovementType = {}));
28
- var NPCSocketEvents;
29
- (function (NPCSocketEvents) {
30
- NPCSocketEvents["NPCDataUpdate"] = "NPCDataUpdate";
31
- NPCSocketEvents["NPCPositionUpdate"] = "NPCPositionUpdate";
32
- NPCSocketEvents["NPCTalkToNPC"] = "NPCTalkToNPC";
33
- NPCSocketEvents["NPCStartDialogNPC"] = "NPCStartDialogNPC";
34
- NPCSocketEvents["NPCStopDialogNPC"] = "NPCStopDialogNPC";
35
- })(NPCSocketEvents = exports.NPCSocketEvents || (exports.NPCSocketEvents = {}));
36
- var NPCAttackType;
37
- (function (NPCAttackType) {
38
- NPCAttackType["Melee"] = "Melee";
39
- NPCAttackType["Ranged"] = "Ranged";
40
- NPCAttackType["None"] = "None";
41
- })(NPCAttackType = exports.NPCAttackType || (exports.NPCAttackType = {}));
42
- //# sourceMappingURL=npc.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"npc.types.js","sourceRoot":"","sources":["../../src/types/npc.types.ts"],"names":[],"mappings":";;;AAuCA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;AACrB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;AACrB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACvB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,8CAA2B,CAAA;AAC7B,CAAC,EANW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAM1B;AAED,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,kDAA+B,CAAA;IAC/B,0DAAuC,CAAA;IACvC,gDAA6B,CAAA;IAC7B,0DAAuC,CAAA;IACvC,wDAAqC,CAAA;AACvC,CAAC,EANW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAM1B;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kCAAiB,CAAA;IACjB,8BAAa,CAAA;AACf,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
@@ -1,7 +0,0 @@
1
- import { INPC } from "./npc.types";
2
- interface INPCMetaData extends Omit<INPC, "_id"> {
3
- key: string;
4
- }
5
- export declare const NPCMetaData: INPCMetaData[];
6
- export {};
7
- //# sourceMappingURL=npcMetadata.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"npcMetadata.types.d.ts","sourceRoot":"","sources":["../../src/types/npcMetadata.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,UAAU,YAAa,SAAQ,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;IAC9C,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,WAAW,EAAE,YAAY,EAYrC,CAAC"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NPCMetaData = void 0;
4
- const GridHelper_1 = require("../libs/GridHelper");
5
- const character_types_1 = require("./character.types");
6
- const maps_types_1 = require("./maps.types");
7
- exports.NPCMetaData = [
8
- {
9
- key: "alice",
10
- name: "Alice",
11
- x: (0, GridHelper_1.FromGridX)(22),
12
- y: (0, GridHelper_1.FromGridY)(12),
13
- direction: "down",
14
- scene: "MainScene",
15
- class: character_types_1.CharacterClass.Cleric,
16
- gender: character_types_1.CharacterGender.Female,
17
- layer: maps_types_1.MapLayers.Player,
18
- },
19
- ];
20
- //# sourceMappingURL=npcMetadata.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"npcMetadata.types.js","sourceRoot":"","sources":["../../src/types/npcMetadata.types.ts"],"names":[],"mappings":";;;AAAA,mDAA0D;AAC1D,uDAAoE;AACpE,6CAAyC;AAO5B,QAAA,WAAW,GAAmB;IACzC;QACE,GAAG,EAAE,OAAO;QACZ,IAAI,EAAE,OAAO;QACb,CAAC,EAAE,IAAA,sBAAS,EAAC,EAAE,CAAC;QAChB,CAAC,EAAE,IAAA,sBAAS,EAAC,EAAE,CAAC;QAChB,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,gCAAc,CAAC,MAAM;QAC5B,MAAM,EAAE,iCAAe,CAAC,MAAM;QAC9B,KAAK,EAAE,sBAAS,CAAC,MAAM;KACxB;CACF,CAAC"}
@@ -1,14 +0,0 @@
1
- export interface IPaginationResponse<T> {
2
- docs: T[];
3
- totalDocs: number;
4
- offset: number;
5
- limit: number;
6
- totalPages: number;
7
- page: number;
8
- pagingCounter: number;
9
- hasPrevPage: boolean;
10
- hasNextPage: boolean;
11
- prevPage: number | null;
12
- nextPage: number | null;
13
- }
14
- //# sourceMappingURL=pagination.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagination.types.d.ts","sourceRoot":"","sources":["../../src/types/pagination.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=pagination.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagination.types.js","sourceRoot":"","sources":["../../src/types/pagination.types.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- export declare enum Countries {
2
- US = "US",
3
- Brazil = "Brazil",
4
- Global = "Global"
5
- }
6
- export interface ICountry {
7
- name: string;
8
- code: string;
9
- }
10
- export interface ICountryCity {
11
- country: {
12
- name: string;
13
- code: string;
14
- };
15
- cities: string[];
16
- }
17
- //# sourceMappingURL=places.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"places.types.d.ts","sourceRoot":"","sources":["../../src/types/places.types.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Countries = void 0;
4
- var Countries;
5
- (function (Countries) {
6
- Countries["US"] = "US";
7
- Countries["Brazil"] = "Brazil";
8
- Countries["Global"] = "Global";
9
- })(Countries = exports.Countries || (exports.Countries = {}));
10
- //# sourceMappingURL=places.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"places.types.js","sourceRoot":"","sources":["../../src/types/places.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,sBAAS,CAAA;IACT,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;AACnB,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB"}
@@ -1,49 +0,0 @@
1
- import { IEntityBasicInfo } from "./entity.types";
2
- export declare enum PlayerSocketEvents {
3
- PlayerCreate = "PlayerCreate",
4
- PlayerPositionUpdate = "PlayerPositionUpdate",
5
- PlayerPositionUpdateConfirm = "PlayerPositionUpdateConfirm",
6
- PlayerLogout = "PlayerLogout",
7
- PlayerPrivateMessage = "PlayerPrivateMessage",
8
- PlayerPing = "PlayerPing",
9
- PlayerForceDisconnect = "PlayerForceDisconnect"
10
- }
11
- export interface IPlayerPing {
12
- id: string;
13
- }
14
- export interface IPlayerPositionUpdateConfirm {
15
- id: string;
16
- direction: string;
17
- isValid: boolean;
18
- }
19
- export declare type Events = PlayerSocketEvents;
20
- export interface IConnectedPlayer {
21
- id: string;
22
- name: string;
23
- x: number;
24
- y: number;
25
- channelId: string;
26
- direction?: string;
27
- isMoving?: boolean;
28
- cameraCoordinates: ICameraCoordinates;
29
- otherEntitiesInView: IEntitiesInView;
30
- }
31
- export interface IEntitiesInView {
32
- [id: string]: IEntityBasicInfo;
33
- }
34
- export interface IConnectedPlayers {
35
- [id: string]: IConnectedPlayer;
36
- }
37
- export interface PlayerLogoutPayload {
38
- id: string;
39
- }
40
- export interface ICameraCoordinates {
41
- x: number;
42
- y: number;
43
- width: number;
44
- height: number;
45
- }
46
- export interface IPlayerForceDisconnect {
47
- reason: string;
48
- }
49
- //# sourceMappingURL=player.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"player.types.d.ts","sourceRoot":"","sources":["../../src/types/player.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,oBAAY,kBAAkB;IAC5B,YAAY,iBAAiB;IAC7B,oBAAoB,yBAAyB;IAC7C,2BAA2B,gCAAgC;IAC3D,YAAY,iBAAiB;IAC7B,oBAAoB,yBAAyB;IAC7C,UAAU,eAAe;IACzB,qBAAqB,0BAA0B;CAChD;AAED,MAAM,WAAW,WAAW;IAE1B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,oBAAY,MAAM,GAAG,kBAAkB,CAAC;AAExC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,mBAAmB,EAAE,eAAe,CAAC;CACtC;AAED,MAAM,WAAW,eAAe;IAC9B,CAAC,EAAE,EAAE,MAAM,GAAG,gBAAgB,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC,CAAC,EAAE,EAAE,MAAM,GAAG,gBAAgB,CAAC;CAChC;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,kBAAkB;IACjC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlayerSocketEvents = void 0;
4
- var PlayerSocketEvents;
5
- (function (PlayerSocketEvents) {
6
- PlayerSocketEvents["PlayerCreate"] = "PlayerCreate";
7
- PlayerSocketEvents["PlayerPositionUpdate"] = "PlayerPositionUpdate";
8
- PlayerSocketEvents["PlayerPositionUpdateConfirm"] = "PlayerPositionUpdateConfirm";
9
- PlayerSocketEvents["PlayerLogout"] = "PlayerLogout";
10
- PlayerSocketEvents["PlayerPrivateMessage"] = "PlayerPrivateMessage";
11
- PlayerSocketEvents["PlayerPing"] = "PlayerPing";
12
- PlayerSocketEvents["PlayerForceDisconnect"] = "PlayerForceDisconnect";
13
- })(PlayerSocketEvents = exports.PlayerSocketEvents || (exports.PlayerSocketEvents = {}));
14
- //# sourceMappingURL=player.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"player.types.js","sourceRoot":"","sources":["../../src/types/player.types.ts"],"names":[],"mappings":";;;AAGA,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC5B,mDAA6B,CAAA;IAC7B,mEAA6C,CAAA;IAC7C,iFAA2D,CAAA;IAC3D,mDAA6B,CAAA;IAC7B,mEAA6C,CAAA;IAC7C,+CAAyB,CAAA;IACzB,qEAA+C,CAAA;AACjD,CAAC,EARW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAQ7B"}
@@ -1,5 +0,0 @@
1
- export declare const PreloadSceneData: {
2
- key: string;
3
- assets: {};
4
- };
5
- //# sourceMappingURL=preloadScene.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preloadScene.types.d.ts","sourceRoot":"","sources":["../../src/types/preloadScene.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;CAG5B,CAAC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreloadSceneData = void 0;
4
- exports.PreloadSceneData = {
5
- key: "PreloadScene",
6
- assets: {},
7
- };
8
- //# sourceMappingURL=preloadScene.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preloadScene.types.js","sourceRoot":"","sources":["../../src/types/preloadScene.types.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,GAAG,EAAE,cAAc;IACnB,MAAM,EAAE,EAAE;CACX,CAAC"}
@@ -1,6 +0,0 @@
1
- export interface IResource {
2
- _id: string;
3
- createdAt?: string;
4
- updatedAt?: string;
5
- }
6
- //# sourceMappingURL=resource.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource.types.d.ts","sourceRoot":"","sources":["../../src/types/resource.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=resource.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource.types.js","sourceRoot":"","sources":["../../src/types/resource.types.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- export interface ISceneData {
2
- key: string;
3
- }
4
- export declare const ScenesMetaData: {
5
- MainScene: {
6
- map: string;
7
- };
8
- };
9
- //# sourceMappingURL=scene.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scene.types.d.ts","sourceRoot":"","sources":["../../src/types/scene.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,cAAc;;;;CAI1B,CAAC"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScenesMetaData = void 0;
4
- exports.ScenesMetaData = {
5
- MainScene: {
6
- map: "another_map",
7
- },
8
- };
9
- //# sourceMappingURL=scene.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scene.types.js","sourceRoot":"","sources":["../../src/types/scene.types.ts"],"names":[],"mappings":";;;AAIa,QAAA,cAAc,GAAG;IAC5B,SAAS,EAAE;QACT,GAAG,EAAE,aAAa;KACnB;CACF,CAAC"}
@@ -1,25 +0,0 @@
1
- import { IResource } from "./resource.types";
2
- export interface ISkill extends IResource {
3
- owner: string;
4
- level: number;
5
- xpGainRate: number;
6
- experience: number;
7
- stamina: number;
8
- magic: number;
9
- strength: number;
10
- resistance: number;
11
- dexterity: number;
12
- first: number;
13
- club: number;
14
- sword: number;
15
- axe: number;
16
- distance: number;
17
- shielding: number;
18
- fishing: number;
19
- mining: number;
20
- lumberjacking: number;
21
- cooking: number;
22
- alchemy: number;
23
- magicResistance: number;
24
- }
25
- //# sourceMappingURL=skills.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skills.types.d.ts","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,MAAO,SAAQ,SAAS;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=skills.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skills.types.js","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- export declare enum SocketTypes {
2
- TCP = "TCP",
3
- UDP = "UDP"
4
- }
5
- export interface ISocket {
6
- init: (socketType?: SocketTypes) => Promise<void> | void;
7
- onConnect?: (callback: any) => void;
8
- emitToUser<T>(channel: string, eventName: string, data?: T): any;
9
- emitToAllUsers<T>(eventName: string, data?: T): void;
10
- disconnect: () => void;
11
- }
12
- export interface ISocketTransmissionZone {
13
- x: number;
14
- y: number;
15
- width: number;
16
- height: number;
17
- }
18
- //# sourceMappingURL=socket.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"socket.types.d.ts","sourceRoot":"","sources":["../../src/types/socket.types.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AACD,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,CAAC,UAAU,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACzD,SAAS,CAAC,EAAE,CAAC,QAAQ,KAAA,KAAK,IAAI,CAAC;IAC/B,UAAU,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,OAAE;IAC5D,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACrD,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SocketTypes = void 0;
4
- var SocketTypes;
5
- (function (SocketTypes) {
6
- SocketTypes["TCP"] = "TCP";
7
- SocketTypes["UDP"] = "UDP";
8
- })(SocketTypes = exports.SocketTypes || (exports.SocketTypes = {}));
9
- //# sourceMappingURL=socket.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"socket.types.js","sourceRoot":"","sources":["../../src/types/socket.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,0BAAW,CAAA;IACX,0BAAW,CAAA;AACb,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB"}