@rpg-engine/shared 0.2.80 → 0.2.83

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 (109) hide show
  1. package/README.md +29 -29
  2. package/dist/constants/date.constants.d.ts +2 -2
  3. package/dist/constants/date.constants.js +5 -5
  4. package/dist/constants/npc.constants.d.ts +1 -1
  5. package/dist/constants/npc.constants.js +4 -4
  6. package/dist/constants/socket.constants.d.ts +2 -2
  7. package/dist/constants/socket.constants.js +6 -6
  8. package/dist/constants/world.constants.d.ts +10 -10
  9. package/dist/constants/world.constants.js +13 -13
  10. package/dist/index.d.ts +36 -35
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +52 -51
  13. package/dist/index.js.map +1 -1
  14. package/dist/libs/GridHelper.d.ts +11 -11
  15. package/dist/libs/GridHelper.js +37 -37
  16. package/dist/libs/MathHelper.d.ts +16 -16
  17. package/dist/libs/MathHelper.js +14 -14
  18. package/dist/libs/SocketHelper.d.ts +2 -2
  19. package/dist/libs/SocketHelper.js +14 -14
  20. package/dist/libs/TextHelper.d.ts +7 -7
  21. package/dist/libs/TextHelper.js +21 -21
  22. package/dist/libs/TypeHelper.d.ts +3 -3
  23. package/dist/libs/TypeHelper.js +16 -16
  24. package/dist/translations/app-rate.lang.json +38 -38
  25. package/dist/translations/assets.lang.json +82 -82
  26. package/dist/translations/auth.lang.json +182 -182
  27. package/dist/translations/email.lang.json +70 -70
  28. package/dist/translations/error.lang.json +18 -18
  29. package/dist/translations/form.lang.json +94 -94
  30. package/dist/translations/global.lang.json +90 -90
  31. package/dist/translations/logs.lang.json +6 -6
  32. package/dist/translations/onboarding.lang.d.ts +10 -10
  33. package/dist/translations/onboarding.lang.js +21 -21
  34. package/dist/translations/onboarding.lang.json +50 -50
  35. package/dist/translations/order.lang.json +90 -90
  36. package/dist/translations/search.lang.json +50 -50
  37. package/dist/translations/settings.lang.json +14 -14
  38. package/dist/translations/tabs.lang.json +22 -22
  39. package/dist/translations/users.lang.json +22 -22
  40. package/dist/translations/validation.lang.json +86 -86
  41. package/dist/types/animation.types.d.ts +16 -16
  42. package/dist/types/animation.types.js +2 -2
  43. package/dist/types/api.types.d.ts +21 -21
  44. package/dist/types/api.types.js +20 -20
  45. package/dist/types/asset.types.d.ts +6 -6
  46. package/dist/types/asset.types.js +2 -2
  47. package/dist/types/auth.types.d.ts +7 -7
  48. package/dist/types/auth.types.js +2 -2
  49. package/dist/types/battle.types.d.ts +33 -33
  50. package/dist/types/battle.types.js +17 -17
  51. package/dist/types/character.types.d.ts +133 -133
  52. package/dist/types/character.types.js +29 -29
  53. package/dist/types/chat.types.d.ts +30 -30
  54. package/dist/types/chat.types.js +14 -14
  55. package/dist/types/container.types.d.ts +9 -0
  56. package/dist/types/container.types.d.ts.map +1 -0
  57. package/dist/types/container.types.js +3 -0
  58. package/dist/types/container.types.js.map +1 -0
  59. package/dist/types/device.types.d.ts +24 -24
  60. package/dist/types/device.types.js +7 -7
  61. package/dist/types/entity.types.d.ts +20 -20
  62. package/dist/types/entity.types.js +14 -14
  63. package/dist/types/env.types.d.ts +5 -5
  64. package/dist/types/env.types.js +9 -9
  65. package/dist/types/googleOAuth.types.d.ts +47 -47
  66. package/dist/types/googleOAuth.types.js +2 -2
  67. package/dist/types/item.types.d.ts +113 -113
  68. package/dist/types/item.types.js +59 -59
  69. package/dist/types/maps.types.d.ts +16 -16
  70. package/dist/types/maps.types.js +10 -10
  71. package/dist/types/notification.types.d.ts +14 -14
  72. package/dist/types/notification.types.js +2 -2
  73. package/dist/types/npc.types.d.ts +104 -103
  74. package/dist/types/npc.types.d.ts.map +1 -1
  75. package/dist/types/npc.types.js +35 -35
  76. package/dist/types/npc.types.js.map +1 -1
  77. package/dist/types/pagination.types.d.ts +13 -13
  78. package/dist/types/pagination.types.js +2 -2
  79. package/dist/types/places.types.d.ts +16 -16
  80. package/dist/types/places.types.js +9 -9
  81. package/dist/types/preloadScene.types.d.ts +4 -4
  82. package/dist/types/preloadScene.types.js +7 -7
  83. package/dist/types/resource.types.d.ts +5 -5
  84. package/dist/types/resource.types.js +2 -2
  85. package/dist/types/scene.types.d.ts +8 -8
  86. package/dist/types/scene.types.js +8 -8
  87. package/dist/types/skills.types.d.ts +24 -24
  88. package/dist/types/skills.types.js +2 -2
  89. package/dist/types/socket.types.d.ts +17 -17
  90. package/dist/types/socket.types.js +8 -8
  91. package/dist/types/tiled.types.d.ts +107 -107
  92. package/dist/types/tiled.types.js +13 -13
  93. package/dist/types/translation.types.d.ts +5 -5
  94. package/dist/types/translation.types.js +8 -8
  95. package/dist/types/user.types.d.ts +96 -96
  96. package/dist/types/user.types.js +38 -38
  97. package/dist/types/validation.types.d.ts +9 -9
  98. package/dist/types/validation.types.js +2 -2
  99. package/dist/types/view.types.d.ts +14 -14
  100. package/dist/types/view.types.js +7 -7
  101. package/package.json +41 -41
  102. package/dist/types/npcMetadata.types.d.ts +0 -7
  103. package/dist/types/npcMetadata.types.d.ts.map +0 -1
  104. package/dist/types/npcMetadata.types.js +0 -20
  105. package/dist/types/npcMetadata.types.js.map +0 -1
  106. package/dist/types/player.types.d.ts +0 -49
  107. package/dist/types/player.types.d.ts.map +0 -1
  108. package/dist/types/player.types.js +0 -14
  109. package/dist/types/player.types.js.map +0 -1
@@ -1,48 +1,48 @@
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
- }
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
48
  //# sourceMappingURL=googleOAuth.types.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=googleOAuth.types.js.map
@@ -1,114 +1,114 @@
1
- import { ICharacter } from "./character.types";
2
- import { MapLayers } from "./maps.types";
3
- import { IResource } from "./resource.types";
4
- export declare enum ItemType {
5
- Weapon = "Weapon",
6
- Armor = "Armor",
7
- Accessory = "Accessory",
8
- Jewelry = "Jewelry",
9
- Consumable = "Consumable",
10
- CraftMaterial = "CraftMaterial",
11
- Quest = "Quest",
12
- Information = "Information",
13
- Tool = "Tool",
14
- Container = "Container",
15
- Other = "Other"
16
- }
17
- export declare enum ItemSubType {
18
- Accessory = "Accessory",
19
- Armor = "Armor",
20
- Axe = "Axe",
21
- Boot = "Boot",
22
- Bow = "Bow",
23
- Food = "Food",
24
- Glove = "Glove",
25
- Helmet = "Helmet",
26
- Magic = "Magic",
27
- Potion = "Potion",
28
- Shield = "Shield",
29
- Spear = "Spear",
30
- Staff = "Staff",
31
- Sword = "Sword",
32
- Other = "Other",
33
- Body = "Body"
34
- }
35
- export declare enum ItemSlotType {
36
- Head = "Head",
37
- Neck = "Neck",
38
- Torso = "Torso",
39
- LeftHand = "LeftHand",
40
- RightHand = "RightHand",
41
- Waist = "Waist",
42
- Legs = "Legs",
43
- Feet = "Feet",
44
- Ring = "Ring",
45
- Accessory = "Accessory",
46
- Inventory = "Inventory"
47
- }
48
- export interface IItem extends IResource {
49
- tiledId?: number;
50
- owner?: ICharacter | string;
51
- type: ItemType;
52
- subType: ItemSubType;
53
- name: string;
54
- description: string;
55
- fullDescription: string;
56
- key: string;
57
- textureAtlas: string;
58
- texturePath: string;
59
- textureKey: string;
60
- attack?: string;
61
- defense?: string;
62
- weight: number;
63
- isEquipable: boolean;
64
- equipSlotType?: ItemSlotType;
65
- isStackable: boolean;
66
- maxStackSize: number;
67
- isUsable: boolean;
68
- usableEffect?: string;
69
- isStorable: boolean;
70
- x?: number;
71
- y?: number;
72
- scene?: number;
73
- layer?: MapLayers;
74
- isSolid: boolean;
75
- isItemContainer?: boolean;
76
- itemContainer?: string;
77
- }
78
- export interface IItemContainer extends IResource {
79
- owner: string;
80
- name: string;
81
- slotQty: number;
82
- items?: IItem[];
83
- allowedItemTypes?: ItemType[];
84
- }
85
- export declare enum ItemSocketEvents {
86
- Update = "Update",
87
- Look = "Look",
88
- Equip = "Equip",
89
- Unequip = "Unequip",
90
- Pickup = "Pickup",
91
- Drop = "Drop"
92
- }
93
- export interface IItemUpdate {
94
- id: string;
95
- textureKey: string;
96
- textureAtlas: string;
97
- texturePath: string;
98
- type: ItemType;
99
- subType: ItemSubType;
100
- name: string;
101
- x: number;
102
- y: number;
103
- scene: string;
104
- layer: MapLayers;
105
- }
106
- export interface IItemsInView {
107
- [id: string]: IItemInViewBasicInfo;
108
- }
109
- export interface IItemInViewBasicInfo {
110
- id: string;
111
- x?: number;
112
- y?: number;
113
- }
1
+ import { ICharacter } from "./character.types";
2
+ import { MapLayers } from "./maps.types";
3
+ import { IResource } from "./resource.types";
4
+ export declare enum ItemType {
5
+ Weapon = "Weapon",
6
+ Armor = "Armor",
7
+ Accessory = "Accessory",
8
+ Jewelry = "Jewelry",
9
+ Consumable = "Consumable",
10
+ CraftMaterial = "CraftMaterial",
11
+ Quest = "Quest",
12
+ Information = "Information",
13
+ Tool = "Tool",
14
+ Container = "Container",
15
+ Other = "Other"
16
+ }
17
+ export declare enum ItemSubType {
18
+ Accessory = "Accessory",
19
+ Armor = "Armor",
20
+ Axe = "Axe",
21
+ Boot = "Boot",
22
+ Bow = "Bow",
23
+ Food = "Food",
24
+ Glove = "Glove",
25
+ Helmet = "Helmet",
26
+ Magic = "Magic",
27
+ Potion = "Potion",
28
+ Shield = "Shield",
29
+ Spear = "Spear",
30
+ Staff = "Staff",
31
+ Sword = "Sword",
32
+ Other = "Other",
33
+ Body = "Body"
34
+ }
35
+ export declare enum ItemSlotType {
36
+ Head = "Head",
37
+ Neck = "Neck",
38
+ Torso = "Torso",
39
+ LeftHand = "LeftHand",
40
+ RightHand = "RightHand",
41
+ Waist = "Waist",
42
+ Legs = "Legs",
43
+ Feet = "Feet",
44
+ Ring = "Ring",
45
+ Accessory = "Accessory",
46
+ Inventory = "Inventory"
47
+ }
48
+ export interface IItem extends IResource {
49
+ tiledId?: number;
50
+ owner?: ICharacter | string;
51
+ type: ItemType;
52
+ subType: ItemSubType;
53
+ name: string;
54
+ description: string;
55
+ fullDescription: string;
56
+ key: string;
57
+ textureAtlas: string;
58
+ texturePath: string;
59
+ textureKey: string;
60
+ attack?: string;
61
+ defense?: string;
62
+ weight: number;
63
+ isEquipable: boolean;
64
+ equipSlotType?: ItemSlotType;
65
+ isStackable: boolean;
66
+ maxStackSize: number;
67
+ isUsable: boolean;
68
+ usableEffect?: string;
69
+ isStorable: boolean;
70
+ x?: number;
71
+ y?: number;
72
+ scene?: number;
73
+ layer?: MapLayers;
74
+ isSolid: boolean;
75
+ isItemContainer?: boolean;
76
+ itemContainer?: string;
77
+ }
78
+ export interface IItemContainer extends IResource {
79
+ owner: string;
80
+ name: string;
81
+ slotQty: number;
82
+ items?: IItem[];
83
+ allowedItemTypes?: ItemType[];
84
+ }
85
+ export declare enum ItemSocketEvents {
86
+ Update = "Update",
87
+ Look = "Look",
88
+ Equip = "Equip",
89
+ Unequip = "Unequip",
90
+ Pickup = "Pickup",
91
+ Drop = "Drop"
92
+ }
93
+ export interface IItemUpdate {
94
+ id: string;
95
+ textureKey: string;
96
+ textureAtlas: string;
97
+ texturePath: string;
98
+ type: ItemType;
99
+ subType: ItemSubType;
100
+ name: string;
101
+ x: number;
102
+ y: number;
103
+ scene: string;
104
+ layer: MapLayers;
105
+ }
106
+ export interface IItemsInView {
107
+ [id: string]: IItemInViewBasicInfo;
108
+ }
109
+ export interface IItemInViewBasicInfo {
110
+ id: string;
111
+ x?: number;
112
+ y?: number;
113
+ }
114
114
  //# sourceMappingURL=item.types.d.ts.map
@@ -1,60 +1,60 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ItemSocketEvents = exports.ItemSlotType = exports.ItemSubType = exports.ItemType = void 0;
4
- var ItemType;
5
- (function (ItemType) {
6
- ItemType["Weapon"] = "Weapon";
7
- ItemType["Armor"] = "Armor";
8
- ItemType["Accessory"] = "Accessory";
9
- ItemType["Jewelry"] = "Jewelry";
10
- ItemType["Consumable"] = "Consumable";
11
- ItemType["CraftMaterial"] = "CraftMaterial";
12
- ItemType["Quest"] = "Quest";
13
- ItemType["Information"] = "Information";
14
- ItemType["Tool"] = "Tool";
15
- ItemType["Container"] = "Container";
16
- ItemType["Other"] = "Other";
17
- })(ItemType = exports.ItemType || (exports.ItemType = {}));
18
- var ItemSubType;
19
- (function (ItemSubType) {
20
- ItemSubType["Accessory"] = "Accessory";
21
- ItemSubType["Armor"] = "Armor";
22
- ItemSubType["Axe"] = "Axe";
23
- ItemSubType["Boot"] = "Boot";
24
- ItemSubType["Bow"] = "Bow";
25
- ItemSubType["Food"] = "Food";
26
- ItemSubType["Glove"] = "Glove";
27
- ItemSubType["Helmet"] = "Helmet";
28
- ItemSubType["Magic"] = "Magic";
29
- ItemSubType["Potion"] = "Potion";
30
- ItemSubType["Shield"] = "Shield";
31
- ItemSubType["Spear"] = "Spear";
32
- ItemSubType["Staff"] = "Staff";
33
- ItemSubType["Sword"] = "Sword";
34
- ItemSubType["Other"] = "Other";
35
- ItemSubType["Body"] = "Body";
36
- })(ItemSubType = exports.ItemSubType || (exports.ItemSubType = {}));
37
- var ItemSlotType;
38
- (function (ItemSlotType) {
39
- ItemSlotType["Head"] = "Head";
40
- ItemSlotType["Neck"] = "Neck";
41
- ItemSlotType["Torso"] = "Torso";
42
- ItemSlotType["LeftHand"] = "LeftHand";
43
- ItemSlotType["RightHand"] = "RightHand";
44
- ItemSlotType["Waist"] = "Waist";
45
- ItemSlotType["Legs"] = "Legs";
46
- ItemSlotType["Feet"] = "Feet";
47
- ItemSlotType["Ring"] = "Ring";
48
- ItemSlotType["Accessory"] = "Accessory";
49
- ItemSlotType["Inventory"] = "Inventory";
50
- })(ItemSlotType = exports.ItemSlotType || (exports.ItemSlotType = {}));
51
- var ItemSocketEvents;
52
- (function (ItemSocketEvents) {
53
- ItemSocketEvents["Update"] = "Update";
54
- ItemSocketEvents["Look"] = "Look";
55
- ItemSocketEvents["Equip"] = "Equip";
56
- ItemSocketEvents["Unequip"] = "Unequip";
57
- ItemSocketEvents["Pickup"] = "Pickup";
58
- ItemSocketEvents["Drop"] = "Drop";
59
- })(ItemSocketEvents = exports.ItemSocketEvents || (exports.ItemSocketEvents = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ItemSocketEvents = exports.ItemSlotType = exports.ItemSubType = exports.ItemType = void 0;
4
+ var ItemType;
5
+ (function (ItemType) {
6
+ ItemType["Weapon"] = "Weapon";
7
+ ItemType["Armor"] = "Armor";
8
+ ItemType["Accessory"] = "Accessory";
9
+ ItemType["Jewelry"] = "Jewelry";
10
+ ItemType["Consumable"] = "Consumable";
11
+ ItemType["CraftMaterial"] = "CraftMaterial";
12
+ ItemType["Quest"] = "Quest";
13
+ ItemType["Information"] = "Information";
14
+ ItemType["Tool"] = "Tool";
15
+ ItemType["Container"] = "Container";
16
+ ItemType["Other"] = "Other";
17
+ })(ItemType = exports.ItemType || (exports.ItemType = {}));
18
+ var ItemSubType;
19
+ (function (ItemSubType) {
20
+ ItemSubType["Accessory"] = "Accessory";
21
+ ItemSubType["Armor"] = "Armor";
22
+ ItemSubType["Axe"] = "Axe";
23
+ ItemSubType["Boot"] = "Boot";
24
+ ItemSubType["Bow"] = "Bow";
25
+ ItemSubType["Food"] = "Food";
26
+ ItemSubType["Glove"] = "Glove";
27
+ ItemSubType["Helmet"] = "Helmet";
28
+ ItemSubType["Magic"] = "Magic";
29
+ ItemSubType["Potion"] = "Potion";
30
+ ItemSubType["Shield"] = "Shield";
31
+ ItemSubType["Spear"] = "Spear";
32
+ ItemSubType["Staff"] = "Staff";
33
+ ItemSubType["Sword"] = "Sword";
34
+ ItemSubType["Other"] = "Other";
35
+ ItemSubType["Body"] = "Body";
36
+ })(ItemSubType = exports.ItemSubType || (exports.ItemSubType = {}));
37
+ var ItemSlotType;
38
+ (function (ItemSlotType) {
39
+ ItemSlotType["Head"] = "Head";
40
+ ItemSlotType["Neck"] = "Neck";
41
+ ItemSlotType["Torso"] = "Torso";
42
+ ItemSlotType["LeftHand"] = "LeftHand";
43
+ ItemSlotType["RightHand"] = "RightHand";
44
+ ItemSlotType["Waist"] = "Waist";
45
+ ItemSlotType["Legs"] = "Legs";
46
+ ItemSlotType["Feet"] = "Feet";
47
+ ItemSlotType["Ring"] = "Ring";
48
+ ItemSlotType["Accessory"] = "Accessory";
49
+ ItemSlotType["Inventory"] = "Inventory";
50
+ })(ItemSlotType = exports.ItemSlotType || (exports.ItemSlotType = {}));
51
+ var ItemSocketEvents;
52
+ (function (ItemSocketEvents) {
53
+ ItemSocketEvents["Update"] = "Update";
54
+ ItemSocketEvents["Look"] = "Look";
55
+ ItemSocketEvents["Equip"] = "Equip";
56
+ ItemSocketEvents["Unequip"] = "Unequip";
57
+ ItemSocketEvents["Pickup"] = "Pickup";
58
+ ItemSocketEvents["Drop"] = "Drop";
59
+ })(ItemSocketEvents = exports.ItemSocketEvents || (exports.ItemSocketEvents = {}));
60
60
  //# sourceMappingURL=item.types.js.map
@@ -1,17 +1,17 @@
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
- }
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
17
  //# sourceMappingURL=maps.types.d.ts.map
@@ -1,11 +1,11 @@
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 = {}));
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
11
  //# sourceMappingURL=maps.types.js.map
@@ -1,15 +1,15 @@
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
- }
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
15
  //# sourceMappingURL=notification.types.d.ts.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=notification.types.js.map