@rpg-engine/shared 0.6.86 → 0.6.87

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 (212) hide show
  1. package/README.md +0 -0
  2. package/dist/constants/date.constants.d.ts +0 -0
  3. package/dist/constants/date.constants.d.ts.map +0 -0
  4. package/dist/constants/date.constants.js +0 -0
  5. package/dist/constants/date.constants.js.map +0 -0
  6. package/dist/constants/npc.constants.d.ts +0 -0
  7. package/dist/constants/npc.constants.d.ts.map +0 -0
  8. package/dist/constants/npc.constants.js +0 -0
  9. package/dist/constants/npc.constants.js.map +0 -0
  10. package/dist/constants/socket.constants.d.ts +0 -0
  11. package/dist/constants/socket.constants.d.ts.map +0 -0
  12. package/dist/constants/socket.constants.js +0 -0
  13. package/dist/constants/socket.constants.js.map +0 -0
  14. package/dist/constants/world.constants.d.ts +0 -0
  15. package/dist/constants/world.constants.d.ts.map +0 -0
  16. package/dist/constants/world.constants.js +0 -0
  17. package/dist/constants/world.constants.js.map +0 -0
  18. package/dist/helpers/deviceHelpers.d.ts.map +1 -1
  19. package/dist/helpers/deviceHelpers.js +3 -13
  20. package/dist/helpers/deviceHelpers.js.map +1 -1
  21. package/dist/helpers/itemSlotHelper.d.ts +0 -0
  22. package/dist/helpers/itemSlotHelper.d.ts.map +0 -0
  23. package/dist/helpers/itemSlotHelper.js +0 -0
  24. package/dist/helpers/itemSlotHelper.js.map +0 -0
  25. package/dist/helpers/skillHelpers.d.ts +0 -0
  26. package/dist/helpers/skillHelpers.d.ts.map +0 -0
  27. package/dist/helpers/skillHelpers.js +0 -0
  28. package/dist/helpers/skillHelpers.js.map +0 -0
  29. package/dist/index.d.ts +0 -1
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +0 -1
  32. package/dist/index.js.map +1 -1
  33. package/dist/libs/GridHelper.d.ts +0 -0
  34. package/dist/libs/GridHelper.d.ts.map +0 -0
  35. package/dist/libs/GridHelper.js +0 -0
  36. package/dist/libs/GridHelper.js.map +0 -0
  37. package/dist/libs/MathHelper.d.ts +0 -0
  38. package/dist/libs/MathHelper.d.ts.map +0 -0
  39. package/dist/libs/MathHelper.js +0 -0
  40. package/dist/libs/MathHelper.js.map +0 -0
  41. package/dist/libs/SocketHelper.d.ts +0 -0
  42. package/dist/libs/SocketHelper.d.ts.map +0 -0
  43. package/dist/libs/SocketHelper.js +0 -0
  44. package/dist/libs/SocketHelper.js.map +0 -0
  45. package/dist/libs/TextHelper.d.ts +0 -0
  46. package/dist/libs/TextHelper.d.ts.map +0 -0
  47. package/dist/libs/TextHelper.js +0 -0
  48. package/dist/libs/TextHelper.js.map +0 -0
  49. package/dist/libs/TypeHelper.d.ts +0 -0
  50. package/dist/libs/TypeHelper.d.ts.map +0 -0
  51. package/dist/libs/TypeHelper.js +0 -0
  52. package/dist/libs/TypeHelper.js.map +0 -0
  53. package/dist/translations/app-rate.lang.json +0 -0
  54. package/dist/translations/assets.lang.json +0 -0
  55. package/dist/translations/auth.lang.json +0 -0
  56. package/dist/translations/email.lang.json +0 -0
  57. package/dist/translations/error.lang.json +0 -0
  58. package/dist/translations/form.lang.json +0 -0
  59. package/dist/translations/global.lang.json +0 -0
  60. package/dist/translations/logs.lang.json +0 -0
  61. package/dist/translations/onboarding.lang.d.ts +0 -0
  62. package/dist/translations/onboarding.lang.d.ts.map +0 -0
  63. package/dist/translations/onboarding.lang.js +0 -0
  64. package/dist/translations/onboarding.lang.js.map +0 -0
  65. package/dist/translations/onboarding.lang.json +0 -0
  66. package/dist/translations/order.lang.json +0 -0
  67. package/dist/translations/search.lang.json +0 -0
  68. package/dist/translations/settings.lang.json +0 -0
  69. package/dist/translations/tabs.lang.json +0 -0
  70. package/dist/translations/users.lang.json +0 -0
  71. package/dist/translations/validation.lang.json +0 -0
  72. package/dist/types/animation.types.d.ts +0 -3
  73. package/dist/types/animation.types.d.ts.map +1 -1
  74. package/dist/types/animation.types.js +0 -3
  75. package/dist/types/animation.types.js.map +1 -1
  76. package/dist/types/api.types.d.ts +0 -0
  77. package/dist/types/api.types.d.ts.map +0 -0
  78. package/dist/types/api.types.js +0 -0
  79. package/dist/types/api.types.js.map +0 -0
  80. package/dist/types/asset.types.d.ts +0 -0
  81. package/dist/types/asset.types.d.ts.map +0 -0
  82. package/dist/types/asset.types.js +0 -0
  83. package/dist/types/asset.types.js.map +0 -0
  84. package/dist/types/auth.types.d.ts +0 -0
  85. package/dist/types/auth.types.d.ts.map +0 -0
  86. package/dist/types/auth.types.js +0 -0
  87. package/dist/types/auth.types.js.map +0 -0
  88. package/dist/types/battle.types.d.ts +0 -0
  89. package/dist/types/battle.types.d.ts.map +0 -0
  90. package/dist/types/battle.types.js +0 -0
  91. package/dist/types/battle.types.js.map +0 -0
  92. package/dist/types/character.types.d.ts +0 -0
  93. package/dist/types/character.types.d.ts.map +0 -0
  94. package/dist/types/character.types.js +0 -0
  95. package/dist/types/character.types.js.map +0 -0
  96. package/dist/types/chat.types.d.ts +0 -0
  97. package/dist/types/chat.types.d.ts.map +0 -0
  98. package/dist/types/chat.types.js +0 -0
  99. package/dist/types/chat.types.js.map +0 -0
  100. package/dist/types/device.types.d.ts +0 -0
  101. package/dist/types/device.types.d.ts.map +0 -0
  102. package/dist/types/device.types.js +0 -0
  103. package/dist/types/device.types.js.map +0 -0
  104. package/dist/types/entity.types.d.ts +0 -0
  105. package/dist/types/entity.types.d.ts.map +0 -0
  106. package/dist/types/entity.types.js +0 -0
  107. package/dist/types/entity.types.js.map +0 -0
  108. package/dist/types/env.types.d.ts +0 -0
  109. package/dist/types/env.types.d.ts.map +0 -0
  110. package/dist/types/env.types.js +0 -0
  111. package/dist/types/env.types.js.map +0 -0
  112. package/dist/types/equipment.types.d.ts +0 -0
  113. package/dist/types/equipment.types.d.ts.map +0 -0
  114. package/dist/types/equipment.types.js +0 -0
  115. package/dist/types/equipment.types.js.map +0 -0
  116. package/dist/types/googleOAuth.types.d.ts +0 -0
  117. package/dist/types/googleOAuth.types.d.ts.map +0 -0
  118. package/dist/types/googleOAuth.types.js +0 -0
  119. package/dist/types/googleOAuth.types.js.map +0 -0
  120. package/dist/types/inventory.types.d.ts +0 -0
  121. package/dist/types/inventory.types.d.ts.map +0 -0
  122. package/dist/types/inventory.types.js +0 -0
  123. package/dist/types/inventory.types.js.map +0 -0
  124. package/dist/types/item.types.d.ts +0 -0
  125. package/dist/types/item.types.d.ts.map +0 -0
  126. package/dist/types/item.types.js +0 -0
  127. package/dist/types/item.types.js.map +0 -0
  128. package/dist/types/itemContainer.types.d.ts +0 -0
  129. package/dist/types/itemContainer.types.d.ts.map +0 -0
  130. package/dist/types/itemContainer.types.js +0 -0
  131. package/dist/types/itemContainer.types.js.map +0 -0
  132. package/dist/types/maps.types.d.ts +0 -0
  133. package/dist/types/maps.types.d.ts.map +0 -0
  134. package/dist/types/maps.types.js +0 -0
  135. package/dist/types/maps.types.js.map +0 -0
  136. package/dist/types/notification.types.d.ts +0 -0
  137. package/dist/types/notification.types.d.ts.map +0 -0
  138. package/dist/types/notification.types.js +0 -0
  139. package/dist/types/notification.types.js.map +0 -0
  140. package/dist/types/npc.types.d.ts +0 -0
  141. package/dist/types/npc.types.d.ts.map +0 -0
  142. package/dist/types/npc.types.js +0 -0
  143. package/dist/types/npc.types.js.map +0 -0
  144. package/dist/types/pagination.types.d.ts +0 -0
  145. package/dist/types/pagination.types.d.ts.map +0 -0
  146. package/dist/types/pagination.types.js +0 -0
  147. package/dist/types/pagination.types.js.map +0 -0
  148. package/dist/types/places.types.d.ts +0 -0
  149. package/dist/types/places.types.d.ts.map +0 -0
  150. package/dist/types/places.types.js +0 -0
  151. package/dist/types/places.types.js.map +0 -0
  152. package/dist/types/preloadScene.types.d.ts +0 -0
  153. package/dist/types/preloadScene.types.d.ts.map +0 -0
  154. package/dist/types/preloadScene.types.js +0 -0
  155. package/dist/types/preloadScene.types.js.map +0 -0
  156. package/dist/types/quest.types.d.ts +0 -0
  157. package/dist/types/quest.types.d.ts.map +0 -0
  158. package/dist/types/quest.types.js +0 -0
  159. package/dist/types/quest.types.js.map +0 -0
  160. package/dist/types/resource.types.d.ts +0 -0
  161. package/dist/types/resource.types.d.ts.map +0 -0
  162. package/dist/types/resource.types.js +0 -0
  163. package/dist/types/resource.types.js.map +0 -0
  164. package/dist/types/scene.types.d.ts +0 -0
  165. package/dist/types/scene.types.d.ts.map +0 -0
  166. package/dist/types/scene.types.js +0 -0
  167. package/dist/types/scene.types.js.map +0 -0
  168. package/dist/types/skills.types.d.ts +0 -0
  169. package/dist/types/skills.types.d.ts.map +0 -0
  170. package/dist/types/skills.types.js +0 -0
  171. package/dist/types/skills.types.js.map +0 -0
  172. package/dist/types/socket.types.d.ts +0 -0
  173. package/dist/types/socket.types.d.ts.map +0 -0
  174. package/dist/types/socket.types.js +0 -0
  175. package/dist/types/socket.types.js.map +0 -0
  176. package/dist/types/tiled.types.d.ts +0 -0
  177. package/dist/types/tiled.types.d.ts.map +0 -0
  178. package/dist/types/tiled.types.js +0 -0
  179. package/dist/types/tiled.types.js.map +0 -0
  180. package/dist/types/trade.types.d.ts +0 -0
  181. package/dist/types/trade.types.d.ts.map +0 -0
  182. package/dist/types/trade.types.js +0 -0
  183. package/dist/types/trade.types.js.map +0 -0
  184. package/dist/types/translation.types.d.ts +0 -0
  185. package/dist/types/translation.types.d.ts.map +0 -0
  186. package/dist/types/translation.types.js +0 -0
  187. package/dist/types/translation.types.js.map +0 -0
  188. package/dist/types/ui.types.d.ts +0 -0
  189. package/dist/types/ui.types.d.ts.map +0 -0
  190. package/dist/types/ui.types.js +0 -0
  191. package/dist/types/ui.types.js.map +0 -0
  192. package/dist/types/useWith.types.d.ts +0 -0
  193. package/dist/types/useWith.types.d.ts.map +0 -0
  194. package/dist/types/useWith.types.js +0 -0
  195. package/dist/types/useWith.types.js.map +0 -0
  196. package/dist/types/user.types.d.ts +0 -0
  197. package/dist/types/user.types.d.ts.map +0 -0
  198. package/dist/types/user.types.js +0 -0
  199. package/dist/types/user.types.js.map +0 -0
  200. package/dist/types/validation.types.d.ts +0 -0
  201. package/dist/types/validation.types.d.ts.map +0 -0
  202. package/dist/types/validation.types.js +0 -0
  203. package/dist/types/validation.types.js.map +0 -0
  204. package/dist/types/view.types.d.ts +0 -0
  205. package/dist/types/view.types.d.ts.map +0 -0
  206. package/dist/types/view.types.js +0 -0
  207. package/dist/types/view.types.js.map +0 -0
  208. package/package.json +3 -2
  209. package/dist/types/shortcut.types.d.ts +0 -12
  210. package/dist/types/shortcut.types.d.ts.map +0 -1
  211. package/dist/types/shortcut.types.js +0 -10
  212. package/dist/types/shortcut.types.js.map +0 -1
package/README.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"deviceHelpers.d.ts","sourceRoot":"","sources":["../../src/helpers/deviceHelpers.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,gBAAgB,QAAO,OAEnC,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAO,OAE3B,CAAC"}
1
+ {"version":3,"file":"deviceHelpers.d.ts","sourceRoot":"","sources":["../../src/helpers/deviceHelpers.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,gBAAgB,QAAO,OAEnC,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAO,OAE3B,CAAC"}
@@ -1,27 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isMobile = exports.isMobileOrTablet = void 0;
4
+ const mobile_device_detect_1 = require("mobile-device-detect");
4
5
  const isSmallerThanBreakpoint = (breakpoint) => {
5
6
  const mql = window.matchMedia(`(max-width: ${breakpoint}) and (orientation: portrait), (max-height: ${breakpoint}) and (orientation: landscape)`);
6
7
  return mql.matches;
7
8
  };
8
- const isMobileSystem = () => {
9
- let check = false;
10
- (function (a) {
11
- if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a) ||
12
- /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4)))
13
- check = true;
14
- })(navigator.userAgent || navigator.vendor || (window === null || window === void 0 ? void 0 : window.opera));
15
- return check;
16
- };
17
9
  const isMobileOrTablet = () => {
18
- var _a;
19
- return (_a = isMobileSystem()) !== null && _a !== void 0 ? _a : (isSmallerThanBreakpoint("767px") && !isSmallerThanBreakpoint("479px"));
10
+ return mobile_device_detect_1.isMobile !== null && mobile_device_detect_1.isMobile !== void 0 ? mobile_device_detect_1.isMobile : (isSmallerThanBreakpoint("767px") && !isSmallerThanBreakpoint("479px"));
20
11
  };
21
12
  exports.isMobileOrTablet = isMobileOrTablet;
22
13
  const isMobile = () => {
23
- var _a;
24
- return (_a = isMobileSystem()) !== null && _a !== void 0 ? _a : isSmallerThanBreakpoint("479px");
14
+ return mobile_device_detect_1.isMobileOnly !== null && mobile_device_detect_1.isMobileOnly !== void 0 ? mobile_device_detect_1.isMobileOnly : isSmallerThanBreakpoint("479px");
25
15
  };
26
16
  exports.isMobile = isMobile;
27
17
  //# sourceMappingURL=deviceHelpers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deviceHelpers.js","sourceRoot":"","sources":["../../src/helpers/deviceHelpers.ts"],"names":[],"mappings":";;;AAAA,MAAM,uBAAuB,GAAG,CAAC,UAAkB,EAAW,EAAE;IAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAC3B,eAAe,UAAU,+CAA+C,UAAU,gCAAgC,CACnH,CAAC;IAEF,OAAO,GAAG,CAAC,OAAO,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,GAAY,EAAE;IACnC,IAAI,KAAK,GAAG,KAAK,CAAC;IAClB,CAAC,UAAU,CAAC;QACV,IACE,qVAAqV,CAAC,IAAI,CACxV,CAAC,CACF;YACD,ykDAAykD,CAAC,IAAI,CAC5kD,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CACf;YAED,KAAK,GAAG,IAAI,CAAC;IACjB,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,MAAc,aAAd,MAAM,uBAAN,MAAM,CAAU,KAAK,CAAA,CAAC,CAAC;IAEtE,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEK,MAAM,gBAAgB,GAAG,GAAY,EAAE;;IAC5C,OAAO,MAAA,cAAc,EAAE,mCAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC;AACrG,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B;AAEK,MAAM,QAAQ,GAAG,GAAY,EAAE;;IACpC,OAAO,MAAA,cAAc,EAAE,mCAAI,uBAAuB,CAAC,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;AAFW,QAAA,QAAQ,YAEnB"}
1
+ {"version":3,"file":"deviceHelpers.js","sourceRoot":"","sources":["../../src/helpers/deviceHelpers.ts"],"names":[],"mappings":";;;AAAA,+DAA8G;AAE9G,MAAM,uBAAuB,GAAG,CAAC,UAAkB,EAAW,EAAE;IAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAC3B,eAAe,UAAU,+CAA+C,UAAU,gCAAgC,CACnH,CAAC;IAEF,OAAO,GAAG,CAAC,OAAO,CAAC;AACrB,CAAC,CAAC;AAEK,MAAM,gBAAgB,GAAG,GAAY,EAAE;IAC5C,OAAO,+BAAsB,aAAtB,+BAAsB,cAAtB,+BAAsB,GAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC;AAC3G,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B;AAEK,MAAM,QAAQ,GAAG,GAAY,EAAE;IACpC,OAAO,mCAAkB,aAAlB,mCAAkB,cAAlB,mCAAkB,GAAI,uBAAuB,CAAC,OAAO,CAAC,CAAC;AAChE,CAAC,CAAC;AAFW,QAAA,QAAQ,YAEnB"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
@@ -46,5 +46,4 @@ export * from "./types/useWith.types";
46
46
  export * from "./types/user.types";
47
47
  export * from "./types/validation.types";
48
48
  export * from "./types/view.types";
49
- export * from "./types/shortcut.types";
50
49
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB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Ac,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -62,5 +62,4 @@ __exportStar(require("./types/useWith.types"), exports);
62
62
  __exportStar(require("./types/user.types"), exports);
63
63
  __exportStar(require("./types/validation.types"), exports);
64
64
  __exportStar(require("./types/view.types"), exports);
65
- __exportStar(require("./types/shortcut.types"), exports);
66
65
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,0DAAwC;AACxC,2DAAyC;AACzC,yDAAuC;AACvC,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,oDAAkC;AAClC,0DAAwC;AACxC,4DAA0C;AAC1C,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,6DAA2C;AAC3C,oDAAkC;AAClC,2DAAyC;AACzC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,mDAAiC;AACjC,wDAAsC;AACtC,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC;AACnC,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,0DAAwC;AACxC,2DAAyC;AACzC,yDAAuC;AACvC,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,oDAAkC;AAClC,0DAAwC;AACxC,4DAA0C;AAC1C,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,6DAA2C;AAC3C,oDAAkC;AAClC,2DAAyC;AACzC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,mDAAiC;AACjC,wDAAsC;AACtC,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -42,9 +42,6 @@ export declare enum AnimationEffectKeys {
42
42
  Lifedrain = "lifedrain",
43
43
  Rooted = "rooted",
44
44
  HitEnergy = "hit-energy",
45
- MagicShield = "magic-shield",
46
- PhysicalShield = "physical-shield",
47
- HasteSpell = "haste",
48
45
  Hit = "hit",
49
46
  HitBlue = "hit-blue",
50
47
  HitDark = "hit-dark",
@@ -1 +1 @@
1
- {"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../src/types/animation.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,KAAK,EAAE,qBAAqB,CAAC;CAC9B;AAED,oBAAY,kBAAkB,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC;AAElE,MAAM,WAAW,qBAAqB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OAAO,aAAa;IACpB,OAAO,aAAa;IACpB,SAAS,eAAe;IACxB,aAAa,mBAAmB;IAEhC,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B"}
@@ -19,9 +19,6 @@ var AnimationEffectKeys;
19
19
  AnimationEffectKeys["Lifedrain"] = "lifedrain";
20
20
  AnimationEffectKeys["Rooted"] = "rooted";
21
21
  AnimationEffectKeys["HitEnergy"] = "hit-energy";
22
- AnimationEffectKeys["MagicShield"] = "magic-shield";
23
- AnimationEffectKeys["PhysicalShield"] = "physical-shield";
24
- AnimationEffectKeys["HasteSpell"] = "haste";
25
22
  AnimationEffectKeys["Hit"] = "hit";
26
23
  AnimationEffectKeys["HitBlue"] = "hit-blue";
27
24
  AnimationEffectKeys["HitDark"] = "hit-dark";
@@ -1 +1 @@
1
- {"version":3,"file":"animation.types.js","sourceRoot":"","sources":["../../src/types/animation.types.ts"],"names":[],"mappings":";;;AAiCA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,wDAA+B,CAAA;IAC/B,4EAAmD,CAAA;AACrD,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,mBAkCX;AAlCD,WAAY,mBAAmB;IAE7B,2CAAoB,CAAA;IACpB,6CAAsB,CAAA;IACtB,6CAAsB,CAAA;IACtB,iDAA0B,CAAA;IAC1B,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;IACjB,+CAAwB,CAAA;IACxB,mDAA4B,CAAA;IAC5B,yDAAkC,CAAA;IAClC,2CAAoB,CAAA;IAEpB,kCAAW,CAAA;IACX,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,+CAAwB,CAAA;IACxB,uDAAgC,CAAA;IAEhC,oCAAa,CAAA;IACb,sCAAe,CAAA;IACf,kCAAW,CAAA;IACX,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,4CAAqB,CAAA;IACrB,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,gDAAyB,CAAA;AAC3B,CAAC,EAlCW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAkC9B"}
1
+ {"version":3,"file":"animation.types.js","sourceRoot":"","sources":["../../src/types/animation.types.ts"],"names":[],"mappings":";;;AAiCA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,wDAA+B,CAAA;IAC/B,4EAAmD,CAAA;AACrD,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,mBA+BX;AA/BD,WAAY,mBAAmB;IAE7B,2CAAoB,CAAA;IACpB,6CAAsB,CAAA;IACtB,6CAAsB,CAAA;IACtB,iDAA0B,CAAA;IAC1B,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;IACjB,+CAAwB,CAAA;IAExB,kCAAW,CAAA;IACX,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,+CAAwB,CAAA;IACxB,uDAAgC,CAAA;IAEhC,oCAAa,CAAA;IACb,sCAAe,CAAA;IACf,kCAAW,CAAA;IACX,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,4CAAqB,CAAA;IACrB,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,gDAAyB,CAAA;AAC3B,CAAC,EA/BW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA+B9B"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/shared",
3
- "version": "0.6.86",
3
+ "version": "0.6.87",
4
4
  "description": "Types shared across our API and client",
5
5
  "author": "Definya Team",
6
6
  "homepage": "",
@@ -37,6 +37,7 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@rpg-engine/shared": "^0.2.51",
40
- "@types/mongoose": "^5.11.97"
40
+ "@types/mongoose": "^5.11.97",
41
+ "mobile-device-detect": "^0.4.3"
41
42
  }
42
43
  }
@@ -1,12 +0,0 @@
1
- import { IItem } from "./item.types";
2
- import { IRawSpell } from "./spell.types";
3
- export declare enum ShortcutType {
4
- Spell = 0,
5
- Item = 1,
6
- None = 2
7
- }
8
- export interface IShortcut {
9
- type: ShortcutType;
10
- payload: IRawSpell | IItem | null;
11
- }
12
- //# sourceMappingURL=shortcut.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shortcut.types.d.ts","sourceRoot":"","sources":["../../src/types/shortcut.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,oBAAY,YAAY;IACtB,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,IAAI,IAAA;CACL;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC;CACnC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShortcutType = void 0;
4
- var ShortcutType;
5
- (function (ShortcutType) {
6
- ShortcutType[ShortcutType["Spell"] = 0] = "Spell";
7
- ShortcutType[ShortcutType["Item"] = 1] = "Item";
8
- ShortcutType[ShortcutType["None"] = 2] = "None";
9
- })(ShortcutType = exports.ShortcutType || (exports.ShortcutType = {}));
10
- //# sourceMappingURL=shortcut.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shortcut.types.js","sourceRoot":"","sources":["../../src/types/shortcut.types.ts"],"names":[],"mappings":";;;AAGA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,iDAAK,CAAA;IACL,+CAAI,CAAA;IACJ,+CAAI,CAAA;AACN,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB"}