@drincs/nqtr 0.2.13 → 0.2.14

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 (449) hide show
  1. package/dist/RoomInterface-BOE1uacE.d.mts +78 -0
  2. package/dist/RoomInterface-BswqipsF.d.ts +78 -0
  3. package/dist/StageInterface-DgeEtkqv.d.mts +162 -0
  4. package/dist/StageInterface-DgeEtkqv.d.ts +162 -0
  5. package/dist/classes/ActivityBaseModel.d.mts +63 -0
  6. package/dist/classes/ActivityBaseModel.d.ts +63 -0
  7. package/dist/classes/ActivityBaseModel.js +2 -0
  8. package/dist/classes/ActivityBaseModel.js.map +1 -0
  9. package/dist/classes/ActivityBaseModel.mjs +2 -0
  10. package/dist/classes/ActivityBaseModel.mjs.map +1 -0
  11. package/dist/classes/ActivityStoredClass.d.mts +27 -0
  12. package/dist/classes/ActivityStoredClass.d.ts +27 -0
  13. package/dist/classes/ActivityStoredClass.js +2 -0
  14. package/dist/classes/ActivityStoredClass.js.map +1 -0
  15. package/dist/classes/ActivityStoredClass.mjs +2 -0
  16. package/dist/classes/ActivityStoredClass.mjs.map +1 -0
  17. package/dist/classes/CommitmentBaseModel.d.mts +65 -0
  18. package/dist/classes/CommitmentBaseModel.d.ts +65 -0
  19. package/dist/classes/CommitmentBaseModel.js +2 -0
  20. package/dist/classes/CommitmentBaseModel.js.map +1 -0
  21. package/dist/classes/CommitmentBaseModel.mjs +2 -0
  22. package/dist/classes/CommitmentBaseModel.mjs.map +1 -0
  23. package/dist/classes/CommitmentStoredClass.d.mts +29 -0
  24. package/dist/classes/CommitmentStoredClass.d.ts +29 -0
  25. package/dist/classes/CommitmentStoredClass.js +2 -0
  26. package/dist/classes/CommitmentStoredClass.js.map +1 -0
  27. package/dist/classes/CommitmentStoredClass.mjs +2 -0
  28. package/dist/classes/CommitmentStoredClass.mjs.map +1 -0
  29. package/dist/classes/index.d.mts +27 -8
  30. package/dist/classes/index.d.ts +27 -8
  31. package/dist/classes/index.js +1 -1
  32. package/dist/classes/index.js.map +1 -1
  33. package/dist/classes/index.mjs +1 -1
  34. package/dist/classes/index.mjs.map +1 -1
  35. package/dist/classes/navigation/LocationBaseModel.d.mts +54 -0
  36. package/dist/classes/navigation/LocationBaseModel.d.ts +54 -0
  37. package/dist/classes/navigation/LocationBaseModel.js +2 -0
  38. package/dist/classes/navigation/LocationBaseModel.js.map +1 -0
  39. package/dist/classes/navigation/LocationBaseModel.mjs +2 -0
  40. package/dist/classes/navigation/LocationBaseModel.mjs.map +1 -0
  41. package/dist/classes/navigation/LocationStoredClass.d.mts +23 -0
  42. package/dist/classes/navigation/LocationStoredClass.d.ts +23 -0
  43. package/dist/classes/navigation/LocationStoredClass.js +2 -0
  44. package/dist/classes/navigation/LocationStoredClass.js.map +1 -0
  45. package/dist/classes/navigation/LocationStoredClass.mjs +2 -0
  46. package/dist/classes/navigation/LocationStoredClass.mjs.map +1 -0
  47. package/dist/classes/navigation/MapBaseModel.d.mts +41 -0
  48. package/dist/classes/navigation/MapBaseModel.d.ts +41 -0
  49. package/dist/classes/navigation/MapBaseModel.js +2 -0
  50. package/dist/classes/navigation/MapBaseModel.js.map +1 -0
  51. package/dist/classes/navigation/MapBaseModel.mjs +2 -0
  52. package/dist/classes/navigation/MapBaseModel.mjs.map +1 -0
  53. package/dist/classes/navigation/MapStoredClass.d.mts +14 -0
  54. package/dist/classes/navigation/MapStoredClass.d.ts +14 -0
  55. package/dist/classes/navigation/MapStoredClass.js +2 -0
  56. package/dist/classes/navigation/MapStoredClass.js.map +1 -0
  57. package/dist/classes/navigation/MapStoredClass.mjs +2 -0
  58. package/dist/classes/navigation/MapStoredClass.mjs.map +1 -0
  59. package/dist/classes/navigation/NavigationAbstractClass.d.mts +48 -0
  60. package/dist/classes/navigation/NavigationAbstractClass.d.ts +48 -0
  61. package/dist/classes/navigation/NavigationAbstractClass.js +2 -0
  62. package/dist/classes/navigation/NavigationAbstractClass.js.map +1 -0
  63. package/dist/classes/navigation/NavigationAbstractClass.mjs +2 -0
  64. package/dist/classes/navigation/NavigationAbstractClass.mjs.map +1 -0
  65. package/dist/classes/navigation/RoomBaseModel.d.mts +67 -0
  66. package/dist/classes/navigation/RoomBaseModel.d.ts +67 -0
  67. package/dist/classes/navigation/RoomBaseModel.js +2 -0
  68. package/dist/classes/navigation/RoomBaseModel.js.map +1 -0
  69. package/dist/classes/navigation/RoomBaseModel.mjs +2 -0
  70. package/dist/classes/navigation/RoomBaseModel.mjs.map +1 -0
  71. package/dist/classes/navigation/RoomStoredClass.d.mts +23 -0
  72. package/dist/classes/navigation/RoomStoredClass.d.ts +23 -0
  73. package/dist/classes/navigation/RoomStoredClass.js +2 -0
  74. package/dist/classes/navigation/RoomStoredClass.js.map +1 -0
  75. package/dist/classes/navigation/RoomStoredClass.mjs +2 -0
  76. package/dist/classes/navigation/RoomStoredClass.mjs.map +1 -0
  77. package/dist/classes/quest/QuestBaseModel.d.mts +36 -0
  78. package/dist/classes/quest/QuestBaseModel.d.ts +36 -0
  79. package/dist/classes/quest/QuestBaseModel.js +2 -0
  80. package/dist/classes/quest/QuestBaseModel.js.map +1 -0
  81. package/dist/classes/quest/QuestBaseModel.mjs +2 -0
  82. package/dist/classes/quest/QuestBaseModel.mjs.map +1 -0
  83. package/dist/classes/quest/QuestStoredClass.d.mts +37 -0
  84. package/dist/classes/quest/QuestStoredClass.d.ts +37 -0
  85. package/dist/classes/quest/QuestStoredClass.js +2 -0
  86. package/dist/classes/quest/QuestStoredClass.js.map +1 -0
  87. package/dist/classes/quest/QuestStoredClass.mjs +2 -0
  88. package/dist/classes/quest/QuestStoredClass.mjs.map +1 -0
  89. package/dist/classes/quest/StageBaseModel.d.mts +50 -0
  90. package/dist/classes/quest/StageBaseModel.d.ts +50 -0
  91. package/dist/classes/quest/StageBaseModel.js +2 -0
  92. package/dist/classes/quest/StageBaseModel.js.map +1 -0
  93. package/dist/classes/quest/StageBaseModel.mjs +2 -0
  94. package/dist/classes/quest/StageBaseModel.mjs.map +1 -0
  95. package/dist/classes/quest/StageStoredClass.d.mts +46 -0
  96. package/dist/classes/quest/StageStoredClass.d.ts +46 -0
  97. package/dist/classes/quest/StageStoredClass.js +2 -0
  98. package/dist/classes/quest/StageStoredClass.js.map +1 -0
  99. package/dist/classes/quest/StageStoredClass.mjs +2 -0
  100. package/dist/classes/quest/StageStoredClass.mjs.map +1 -0
  101. package/dist/decorators/ActivityDecorator.d.mts +5 -15
  102. package/dist/decorators/ActivityDecorator.d.ts +5 -15
  103. package/dist/decorators/ActivityDecorator.js +1 -1
  104. package/dist/decorators/ActivityDecorator.js.map +1 -1
  105. package/dist/decorators/ActivityDecorator.mjs +1 -1
  106. package/dist/decorators/ActivityDecorator.mjs.map +1 -1
  107. package/dist/decorators/CommitmentDecorator.d.mts +9 -37
  108. package/dist/decorators/CommitmentDecorator.d.ts +9 -37
  109. package/dist/decorators/CommitmentDecorator.js +1 -1
  110. package/dist/decorators/CommitmentDecorator.js.map +1 -1
  111. package/dist/decorators/CommitmentDecorator.mjs +1 -1
  112. package/dist/decorators/CommitmentDecorator.mjs.map +1 -1
  113. package/dist/decorators/QuestDecorator.d.mts +6 -16
  114. package/dist/decorators/QuestDecorator.d.ts +6 -16
  115. package/dist/decorators/QuestDecorator.js +1 -1
  116. package/dist/decorators/QuestDecorator.js.map +1 -1
  117. package/dist/decorators/QuestDecorator.mjs +1 -1
  118. package/dist/decorators/QuestDecorator.mjs.map +1 -1
  119. package/dist/decorators/RoomDecorator.d.mts +8 -32
  120. package/dist/decorators/RoomDecorator.d.ts +8 -32
  121. package/dist/decorators/RoomDecorator.js +1 -1
  122. package/dist/decorators/RoomDecorator.js.map +1 -1
  123. package/dist/decorators/RoomDecorator.mjs +1 -1
  124. package/dist/decorators/RoomDecorator.mjs.map +1 -1
  125. package/dist/decorators/index.d.mts +8 -13
  126. package/dist/decorators/index.d.ts +8 -13
  127. package/dist/decorators/index.js +1 -1
  128. package/dist/decorators/index.js.map +1 -1
  129. package/dist/decorators/index.mjs +1 -1
  130. package/dist/decorators/index.mjs.map +1 -1
  131. package/dist/functions/index.d.mts +2 -12
  132. package/dist/functions/index.d.ts +2 -12
  133. package/dist/functions/index.js +1 -1
  134. package/dist/functions/index.js.map +1 -1
  135. package/dist/functions/index.mjs +1 -1
  136. package/dist/functions/index.mjs.map +1 -1
  137. package/dist/index.d.mts +49 -47
  138. package/dist/index.d.ts +49 -47
  139. package/dist/index.js +1 -1
  140. package/dist/index.js.map +1 -1
  141. package/dist/index.mjs +1 -1
  142. package/dist/index.mjs.map +1 -1
  143. package/dist/interface/ActivityInterface.d.mts +40 -0
  144. package/dist/interface/ActivityInterface.d.ts +40 -0
  145. package/dist/interface/ActivityInterface.js +2 -0
  146. package/dist/interface/ActivityInterface.js.map +1 -0
  147. package/dist/interface/ActivityInterface.mjs +2 -0
  148. package/dist/interface/ActivityInterface.mjs.map +1 -0
  149. package/dist/interface/ActivityProps.d.mts +48 -3
  150. package/dist/interface/ActivityProps.d.ts +48 -3
  151. package/dist/interface/CommitmentInterface.d.mts +6 -0
  152. package/dist/interface/CommitmentInterface.d.ts +6 -0
  153. package/dist/interface/CommitmentInterface.js +2 -0
  154. package/dist/interface/CommitmentInterface.js.map +1 -0
  155. package/dist/interface/CommitmentInterface.mjs +2 -0
  156. package/dist/interface/CommitmentInterface.mjs.map +1 -0
  157. package/dist/interface/CommitmentProps.d.mts +78 -7
  158. package/dist/interface/CommitmentProps.d.ts +78 -7
  159. package/dist/interface/index.d.mts +12 -8
  160. package/dist/interface/index.d.ts +12 -8
  161. package/dist/interface/navigation/LocationBaseModelProps.d.mts +32 -0
  162. package/dist/interface/navigation/LocationBaseModelProps.d.ts +32 -0
  163. package/dist/interface/navigation/LocationBaseModelProps.js +2 -0
  164. package/dist/interface/navigation/LocationBaseModelProps.js.map +1 -0
  165. package/dist/interface/navigation/LocationBaseModelProps.mjs +2 -0
  166. package/dist/interface/navigation/LocationBaseModelProps.mjs.map +1 -0
  167. package/dist/interface/navigation/LocationInterface.d.mts +6 -0
  168. package/dist/interface/navigation/LocationInterface.d.ts +6 -0
  169. package/dist/interface/navigation/LocationInterface.js +2 -0
  170. package/dist/interface/navigation/{LocationProps.js.map → LocationInterface.js.map} +1 -1
  171. package/dist/interface/navigation/LocationInterface.mjs +2 -0
  172. package/dist/interface/navigation/LocationInterface.mjs.map +1 -0
  173. package/dist/interface/navigation/MapBaseModelProps.d.mts +22 -0
  174. package/dist/interface/navigation/MapBaseModelProps.d.ts +22 -0
  175. package/dist/interface/navigation/MapBaseModelProps.js +2 -0
  176. package/dist/interface/navigation/MapBaseModelProps.js.map +1 -0
  177. package/dist/interface/navigation/MapBaseModelProps.mjs +2 -0
  178. package/dist/interface/navigation/MapBaseModelProps.mjs.map +1 -0
  179. package/dist/interface/navigation/MapInterface.d.mts +6 -0
  180. package/dist/interface/navigation/MapInterface.d.ts +6 -0
  181. package/dist/interface/navigation/MapInterface.js +2 -0
  182. package/dist/interface/navigation/MapInterface.js.map +1 -0
  183. package/dist/interface/navigation/MapInterface.mjs +2 -0
  184. package/dist/interface/navigation/MapInterface.mjs.map +1 -0
  185. package/dist/interface/navigation/NavigationAbstractClass.d.mts +54 -0
  186. package/dist/interface/navigation/NavigationAbstractClass.d.ts +54 -0
  187. package/dist/interface/navigation/NavigationAbstractClass.js +2 -0
  188. package/dist/interface/navigation/NavigationAbstractClass.js.map +1 -0
  189. package/dist/interface/navigation/NavigationAbstractClass.mjs +2 -0
  190. package/dist/interface/navigation/NavigationAbstractClass.mjs.map +1 -0
  191. package/dist/interface/navigation/RoomBaseModelProps.d.mts +37 -0
  192. package/dist/interface/navigation/RoomBaseModelProps.d.ts +37 -0
  193. package/dist/interface/navigation/RoomBaseModelProps.js +2 -0
  194. package/dist/interface/navigation/RoomBaseModelProps.js.map +1 -0
  195. package/dist/interface/navigation/RoomBaseModelProps.mjs +2 -0
  196. package/dist/interface/navigation/RoomBaseModelProps.mjs.map +1 -0
  197. package/dist/interface/navigation/RoomInterface.d.mts +6 -0
  198. package/dist/interface/navigation/RoomInterface.d.ts +6 -0
  199. package/dist/interface/navigation/RoomInterface.js +2 -0
  200. package/dist/interface/navigation/RoomInterface.js.map +1 -0
  201. package/dist/interface/navigation/RoomInterface.mjs +2 -0
  202. package/dist/interface/navigation/RoomInterface.mjs.map +1 -0
  203. package/dist/interface/quest/QuestInterface.d.mts +2 -0
  204. package/dist/interface/quest/QuestInterface.d.ts +2 -0
  205. package/dist/interface/quest/QuestInterface.js +2 -0
  206. package/dist/interface/quest/QuestInterface.js.map +1 -0
  207. package/dist/interface/quest/QuestInterface.mjs +2 -0
  208. package/dist/interface/quest/QuestInterface.mjs.map +1 -0
  209. package/dist/interface/quest/QuestProps.d.mts +39 -6
  210. package/dist/interface/quest/QuestProps.d.ts +39 -6
  211. package/dist/interface/quest/StageInterface.d.mts +2 -0
  212. package/dist/interface/quest/StageInterface.d.ts +2 -0
  213. package/dist/interface/quest/StageInterface.js +2 -0
  214. package/dist/interface/quest/StageInterface.js.map +1 -0
  215. package/dist/interface/quest/StageInterface.mjs +2 -0
  216. package/dist/interface/quest/StageInterface.mjs.map +1 -0
  217. package/dist/interface/quest/StageProps.d.mts +60 -6
  218. package/dist/interface/quest/StageProps.d.ts +60 -6
  219. package/dist/managers/NavigatorManager.d.mts +22 -0
  220. package/dist/managers/NavigatorManager.d.ts +22 -0
  221. package/dist/managers/NavigatorManager.js +2 -0
  222. package/dist/managers/NavigatorManager.js.map +1 -0
  223. package/dist/managers/NavigatorManager.mjs +2 -0
  224. package/dist/managers/NavigatorManager.mjs.map +1 -0
  225. package/dist/managers/QuestManager.d.mts +17 -0
  226. package/dist/managers/QuestManager.d.ts +17 -0
  227. package/dist/managers/QuestManager.js +2 -0
  228. package/dist/managers/QuestManager.js.map +1 -0
  229. package/dist/managers/QuestManager.mjs +2 -0
  230. package/dist/managers/QuestManager.mjs.map +1 -0
  231. package/dist/managers/RoutineManager.d.mts +59 -0
  232. package/dist/managers/RoutineManager.d.ts +59 -0
  233. package/dist/managers/RoutineManager.js +2 -0
  234. package/dist/managers/RoutineManager.js.map +1 -0
  235. package/dist/managers/RoutineManager.mjs +2 -0
  236. package/dist/managers/RoutineManager.mjs.map +1 -0
  237. package/dist/managers/TimeManager.d.mts +2 -11
  238. package/dist/managers/TimeManager.d.ts +2 -11
  239. package/dist/managers/TimeManager.js +1 -1
  240. package/dist/managers/TimeManager.js.map +1 -1
  241. package/dist/managers/TimeManager.mjs +1 -1
  242. package/dist/managers/TimeManager.mjs.map +1 -1
  243. package/dist/managers/TimeManagerSettings.d.mts +13 -0
  244. package/dist/managers/TimeManagerSettings.d.ts +13 -0
  245. package/dist/managers/TimeManagerSettings.js +2 -0
  246. package/dist/managers/TimeManagerSettings.js.map +1 -0
  247. package/dist/managers/TimeManagerSettings.mjs +2 -0
  248. package/dist/managers/TimeManagerSettings.mjs.map +1 -0
  249. package/dist/managers/index.d.mts +14 -1
  250. package/dist/managers/index.d.ts +14 -1
  251. package/dist/managers/index.js +1 -1
  252. package/dist/managers/index.js.map +1 -1
  253. package/dist/managers/index.mjs +1 -1
  254. package/dist/managers/index.mjs.map +1 -1
  255. package/dist/override/ActivityInterface.d.mts +28 -0
  256. package/dist/override/ActivityInterface.d.ts +28 -0
  257. package/dist/override/ActivityInterface.js +2 -0
  258. package/dist/override/ActivityInterface.js.map +1 -0
  259. package/dist/override/ActivityInterface.mjs +2 -0
  260. package/dist/override/ActivityInterface.mjs.map +1 -0
  261. package/dist/override/CommitmentInterface.d.mts +24 -0
  262. package/dist/override/CommitmentInterface.d.ts +24 -0
  263. package/dist/override/CommitmentInterface.js +2 -0
  264. package/dist/override/CommitmentInterface.js.map +1 -0
  265. package/dist/override/CommitmentInterface.mjs +2 -0
  266. package/dist/override/CommitmentInterface.mjs.map +1 -0
  267. package/dist/override/LocationInterface.d.mts +29 -0
  268. package/dist/override/LocationInterface.d.ts +29 -0
  269. package/dist/override/LocationInterface.js +2 -0
  270. package/dist/{interface/navigation/LocationProps.mjs.map → override/LocationInterface.js.map} +1 -1
  271. package/dist/override/LocationInterface.mjs +2 -0
  272. package/dist/override/LocationInterface.mjs.map +1 -0
  273. package/dist/override/MapInterface.d.mts +12 -0
  274. package/dist/override/MapInterface.d.ts +12 -0
  275. package/dist/override/MapInterface.js +2 -0
  276. package/dist/override/MapInterface.js.map +1 -0
  277. package/dist/override/MapInterface.mjs +2 -0
  278. package/dist/override/MapInterface.mjs.map +1 -0
  279. package/dist/override/QuestInterface.d.mts +24 -0
  280. package/dist/override/QuestInterface.d.ts +24 -0
  281. package/dist/override/QuestInterface.js +2 -0
  282. package/dist/override/QuestInterface.js.map +1 -0
  283. package/dist/override/QuestInterface.mjs +2 -0
  284. package/dist/override/QuestInterface.mjs.map +1 -0
  285. package/dist/override/RoomInterface.d.mts +33 -0
  286. package/dist/override/RoomInterface.d.ts +33 -0
  287. package/dist/override/RoomInterface.js +2 -0
  288. package/dist/override/RoomInterface.js.map +1 -0
  289. package/dist/override/RoomInterface.mjs +2 -0
  290. package/dist/override/RoomInterface.mjs.map +1 -0
  291. package/dist/override/StageInterface.d.mts +34 -0
  292. package/dist/override/StageInterface.d.ts +34 -0
  293. package/dist/override/StageInterface.js +2 -0
  294. package/dist/override/StageInterface.js.map +1 -0
  295. package/dist/override/StageInterface.mjs +2 -0
  296. package/dist/override/StageInterface.mjs.map +1 -0
  297. package/dist/override/index.d.mts +8 -4
  298. package/dist/override/index.d.ts +8 -4
  299. package/dist/types/OnRunEvent.d.mts +8 -0
  300. package/dist/types/OnRunEvent.d.ts +8 -0
  301. package/dist/types/OnRunEvent.js +2 -0
  302. package/dist/types/{OnRunActivityEvent.js.map → OnRunEvent.js.map} +1 -1
  303. package/dist/types/OnRunEvent.mjs +2 -0
  304. package/dist/types/{OnRunActivityEvent.mjs.map → OnRunEvent.mjs.map} +1 -1
  305. package/dist/types/QuestsRequired.d.mts +1 -5
  306. package/dist/types/QuestsRequired.d.ts +1 -5
  307. package/dist/types/index.d.mts +1 -5
  308. package/dist/types/index.d.ts +1 -5
  309. package/package.json +3 -4
  310. package/dist/ActivityProps-LWY7Zucl.d.ts +0 -124
  311. package/dist/ActivityProps-WgXDAYbc.d.mts +0 -124
  312. package/dist/Commitment-BujJuTv8.d.mts +0 -586
  313. package/dist/Commitment-DFYAApxl.d.ts +0 -586
  314. package/dist/StageProps-CqgBUi3e.d.mts +0 -326
  315. package/dist/StageProps-DghO7WaT.d.ts +0 -326
  316. package/dist/classes/Activity.d.mts +0 -112
  317. package/dist/classes/Activity.d.ts +0 -112
  318. package/dist/classes/Activity.js +0 -2
  319. package/dist/classes/Activity.js.map +0 -1
  320. package/dist/classes/Activity.mjs +0 -2
  321. package/dist/classes/Activity.mjs.map +0 -1
  322. package/dist/classes/ActivityStoredAbstract.d.mts +0 -3
  323. package/dist/classes/ActivityStoredAbstract.d.ts +0 -3
  324. package/dist/classes/ActivityStoredAbstract.js +0 -2
  325. package/dist/classes/ActivityStoredAbstract.js.map +0 -1
  326. package/dist/classes/ActivityStoredAbstract.mjs +0 -2
  327. package/dist/classes/ActivityStoredAbstract.mjs.map +0 -1
  328. package/dist/classes/Commitment.d.mts +0 -8
  329. package/dist/classes/Commitment.d.ts +0 -8
  330. package/dist/classes/Commitment.js +0 -2
  331. package/dist/classes/Commitment.js.map +0 -1
  332. package/dist/classes/Commitment.mjs +0 -2
  333. package/dist/classes/Commitment.mjs.map +0 -1
  334. package/dist/classes/navigation/ActivityRoom.d.mts +0 -8
  335. package/dist/classes/navigation/ActivityRoom.d.ts +0 -8
  336. package/dist/classes/navigation/ActivityRoom.js +0 -2
  337. package/dist/classes/navigation/ActivityRoom.js.map +0 -1
  338. package/dist/classes/navigation/ActivityRoom.mjs +0 -2
  339. package/dist/classes/navigation/ActivityRoom.mjs.map +0 -1
  340. package/dist/classes/navigation/Location.d.mts +0 -8
  341. package/dist/classes/navigation/Location.d.ts +0 -8
  342. package/dist/classes/navigation/Location.js +0 -2
  343. package/dist/classes/navigation/Location.js.map +0 -1
  344. package/dist/classes/navigation/Location.mjs +0 -2
  345. package/dist/classes/navigation/Location.mjs.map +0 -1
  346. package/dist/classes/navigation/Map.d.mts +0 -8
  347. package/dist/classes/navigation/Map.d.ts +0 -8
  348. package/dist/classes/navigation/Map.js +0 -2
  349. package/dist/classes/navigation/Map.js.map +0 -1
  350. package/dist/classes/navigation/Map.mjs +0 -2
  351. package/dist/classes/navigation/Map.mjs.map +0 -1
  352. package/dist/classes/navigation/Room.d.mts +0 -8
  353. package/dist/classes/navigation/Room.d.ts +0 -8
  354. package/dist/classes/navigation/Room.js +0 -2
  355. package/dist/classes/navigation/Room.js.map +0 -1
  356. package/dist/classes/navigation/Room.mjs +0 -2
  357. package/dist/classes/navigation/Room.mjs.map +0 -1
  358. package/dist/classes/quest/Goal.d.mts +0 -46
  359. package/dist/classes/quest/Goal.d.ts +0 -46
  360. package/dist/classes/quest/Goal.js +0 -2
  361. package/dist/classes/quest/Goal.js.map +0 -1
  362. package/dist/classes/quest/Goal.mjs +0 -2
  363. package/dist/classes/quest/Goal.mjs.map +0 -1
  364. package/dist/classes/quest/Quest.d.mts +0 -6
  365. package/dist/classes/quest/Quest.d.ts +0 -6
  366. package/dist/classes/quest/Quest.js +0 -2
  367. package/dist/classes/quest/Quest.js.map +0 -1
  368. package/dist/classes/quest/Quest.mjs +0 -2
  369. package/dist/classes/quest/Quest.mjs.map +0 -1
  370. package/dist/classes/quest/Stage.d.mts +0 -6
  371. package/dist/classes/quest/Stage.d.ts +0 -6
  372. package/dist/classes/quest/Stage.js +0 -2
  373. package/dist/classes/quest/Stage.js.map +0 -1
  374. package/dist/classes/quest/Stage.mjs +0 -2
  375. package/dist/classes/quest/Stage.mjs.map +0 -1
  376. package/dist/functions/ActivityFunctions.d.mts +0 -20
  377. package/dist/functions/ActivityFunctions.d.ts +0 -20
  378. package/dist/functions/ActivityFunctions.js +0 -2
  379. package/dist/functions/ActivityFunctions.js.map +0 -1
  380. package/dist/functions/ActivityFunctions.mjs +0 -2
  381. package/dist/functions/ActivityFunctions.mjs.map +0 -1
  382. package/dist/functions/NavigationFunctions.d.mts +0 -32
  383. package/dist/functions/NavigationFunctions.d.ts +0 -32
  384. package/dist/functions/NavigationFunctions.js +0 -2
  385. package/dist/functions/NavigationFunctions.js.map +0 -1
  386. package/dist/functions/NavigationFunctions.mjs +0 -2
  387. package/dist/functions/NavigationFunctions.mjs.map +0 -1
  388. package/dist/functions/QuestFunctions.d.mts +0 -8
  389. package/dist/functions/QuestFunctions.d.ts +0 -8
  390. package/dist/functions/QuestFunctions.js +0 -2
  391. package/dist/functions/QuestFunctions.js.map +0 -1
  392. package/dist/functions/QuestFunctions.mjs +0 -2
  393. package/dist/functions/QuestFunctions.mjs.map +0 -1
  394. package/dist/functions/RoutineFunctions.d.mts +0 -36
  395. package/dist/functions/RoutineFunctions.d.ts +0 -36
  396. package/dist/functions/RoutineFunctions.js +0 -2
  397. package/dist/functions/RoutineFunctions.js.map +0 -1
  398. package/dist/functions/RoutineFunctions.mjs +0 -2
  399. package/dist/functions/RoutineFunctions.mjs.map +0 -1
  400. package/dist/interface/RoomActivityMemory.d.mts +0 -9
  401. package/dist/interface/RoomActivityMemory.d.ts +0 -9
  402. package/dist/interface/RoomActivityMemory.js +0 -2
  403. package/dist/interface/RoomActivityMemory.js.map +0 -1
  404. package/dist/interface/RoomActivityMemory.mjs +0 -2
  405. package/dist/interface/RoomActivityMemory.mjs.map +0 -1
  406. package/dist/interface/RoomProps.d.mts +0 -8
  407. package/dist/interface/RoomProps.d.ts +0 -8
  408. package/dist/interface/RoomProps.js +0 -2
  409. package/dist/interface/RoomProps.js.map +0 -1
  410. package/dist/interface/RoomProps.mjs +0 -2
  411. package/dist/interface/RoomProps.mjs.map +0 -1
  412. package/dist/interface/navigation/LocationProps.d.mts +0 -8
  413. package/dist/interface/navigation/LocationProps.d.ts +0 -8
  414. package/dist/interface/navigation/LocationProps.js +0 -2
  415. package/dist/interface/navigation/LocationProps.mjs +0 -2
  416. package/dist/interface/navigation/MapProps.d.mts +0 -8
  417. package/dist/interface/navigation/MapProps.d.ts +0 -8
  418. package/dist/interface/navigation/MapProps.js +0 -2
  419. package/dist/interface/navigation/MapProps.js.map +0 -1
  420. package/dist/interface/navigation/MapProps.mjs +0 -2
  421. package/dist/interface/navigation/MapProps.mjs.map +0 -1
  422. package/dist/interface/quest/GoalProps.d.mts +0 -19
  423. package/dist/interface/quest/GoalProps.d.ts +0 -19
  424. package/dist/interface/quest/GoalProps.js +0 -2
  425. package/dist/interface/quest/GoalProps.js.map +0 -1
  426. package/dist/interface/quest/GoalProps.mjs +0 -2
  427. package/dist/interface/quest/GoalProps.mjs.map +0 -1
  428. package/dist/override/GraphicItemType.d.mts +0 -17
  429. package/dist/override/GraphicItemType.d.ts +0 -17
  430. package/dist/override/GraphicItemType.js +0 -2
  431. package/dist/override/GraphicItemType.js.map +0 -1
  432. package/dist/override/GraphicItemType.mjs +0 -2
  433. package/dist/override/GraphicItemType.mjs.map +0 -1
  434. package/dist/override/NeighboringMapsInterface.d.mts +0 -21
  435. package/dist/override/NeighboringMapsInterface.d.ts +0 -21
  436. package/dist/override/NeighboringMapsInterface.js +0 -2
  437. package/dist/override/NeighboringMapsInterface.js.map +0 -1
  438. package/dist/override/NeighboringMapsInterface.mjs +0 -2
  439. package/dist/override/NeighboringMapsInterface.mjs.map +0 -1
  440. package/dist/types/OnRunActivityEvent.d.mts +0 -8
  441. package/dist/types/OnRunActivityEvent.d.ts +0 -8
  442. package/dist/types/OnRunActivityEvent.js +0 -2
  443. package/dist/types/OnRunActivityEvent.mjs +0 -2
  444. package/dist/types/OnRunCommitmentEvent.d.mts +0 -8
  445. package/dist/types/OnRunCommitmentEvent.d.ts +0 -8
  446. package/dist/types/OnRunCommitmentEvent.js +0 -2
  447. package/dist/types/OnRunCommitmentEvent.js.map +0 -1
  448. package/dist/types/OnRunCommitmentEvent.mjs +0 -2
  449. package/dist/types/OnRunCommitmentEvent.mjs.map +0 -1
@@ -0,0 +1,24 @@
1
+ interface QuestInterface {
2
+ /**
3
+ * The name of the quest.
4
+ */
5
+ readonly name: string;
6
+ /**
7
+ * The description of the quest.
8
+ */
9
+ readonly description: string;
10
+ /**
11
+ * The function for rendering the icon of the quest.
12
+ */
13
+ readonly icon?: string;
14
+ /**
15
+ * The function for rendering the image of the quest.
16
+ */
17
+ readonly image?: string;
18
+ /**
19
+ * If the quest is in development.
20
+ */
21
+ readonly inDevelopment: boolean;
22
+ }
23
+
24
+ export type { QuestInterface as default };
@@ -0,0 +1,24 @@
1
+ interface QuestInterface {
2
+ /**
3
+ * The name of the quest.
4
+ */
5
+ readonly name: string;
6
+ /**
7
+ * The description of the quest.
8
+ */
9
+ readonly description: string;
10
+ /**
11
+ * The function for rendering the icon of the quest.
12
+ */
13
+ readonly icon?: string;
14
+ /**
15
+ * The function for rendering the image of the quest.
16
+ */
17
+ readonly image?: string;
18
+ /**
19
+ * If the quest is in development.
20
+ */
21
+ readonly inDevelopment: boolean;
22
+ }
23
+
24
+ export type { QuestInterface as default };
@@ -0,0 +1,2 @@
1
+ 'use strict';//# sourceMappingURL=QuestInterface.js.map
2
+ //# sourceMappingURL=QuestInterface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"QuestInterface.js"}
@@ -0,0 +1,2 @@
1
+ //# sourceMappingURL=QuestInterface.mjs.map
2
+ //# sourceMappingURL=QuestInterface.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"QuestInterface.mjs"}
@@ -0,0 +1,33 @@
1
+ interface RoomInterface {
2
+ /**
3
+ * The name.
4
+ * If you set undefined, it will return the initial value of name.
5
+ */
6
+ name: string;
7
+ /**
8
+ * The image of the room.
9
+ */
10
+ readonly image: string | undefined;
11
+ /**
12
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
13
+ */
14
+ get disabled(): boolean;
15
+ /**
16
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
17
+ */
18
+ set disabled(value: boolean | string);
19
+ /**
20
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
21
+ */
22
+ get hidden(): boolean;
23
+ /**
24
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
25
+ */
26
+ set hidden(value: boolean | string);
27
+ /**
28
+ * The icon of the room.
29
+ */
30
+ readonly icon: string | undefined;
31
+ }
32
+
33
+ export type { RoomInterface as default };
@@ -0,0 +1,33 @@
1
+ interface RoomInterface {
2
+ /**
3
+ * The name.
4
+ * If you set undefined, it will return the initial value of name.
5
+ */
6
+ name: string;
7
+ /**
8
+ * The image of the room.
9
+ */
10
+ readonly image: string | undefined;
11
+ /**
12
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
13
+ */
14
+ get disabled(): boolean;
15
+ /**
16
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
17
+ */
18
+ set disabled(value: boolean | string);
19
+ /**
20
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
21
+ */
22
+ get hidden(): boolean;
23
+ /**
24
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
25
+ */
26
+ set hidden(value: boolean | string);
27
+ /**
28
+ * The icon of the room.
29
+ */
30
+ readonly icon: string | undefined;
31
+ }
32
+
33
+ export type { RoomInterface as default };
@@ -0,0 +1,2 @@
1
+ 'use strict';//# sourceMappingURL=RoomInterface.js.map
2
+ //# sourceMappingURL=RoomInterface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"RoomInterface.js"}
@@ -0,0 +1,2 @@
1
+ //# sourceMappingURL=RoomInterface.mjs.map
2
+ //# sourceMappingURL=RoomInterface.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"RoomInterface.mjs"}
@@ -0,0 +1,34 @@
1
+ import StageFlags from '../interface/quest/StageFlags.mjs';
2
+
3
+ interface StageInterface {
4
+ /**
5
+ * The name of the stage.
6
+ */
7
+ readonly name: string;
8
+ /**
9
+ * The description of the stage.
10
+ */
11
+ readonly description: string;
12
+ /**
13
+ * The advice description of the stage.
14
+ */
15
+ readonly adviceDescription: string;
16
+ /**
17
+ * The image of the stage.
18
+ */
19
+ readonly image?: string;
20
+ /**
21
+ * The list of flags that the player must complete to finish the stage.
22
+ */
23
+ readonly flags: StageFlags[];
24
+ /**
25
+ * The list of flags required to start the stage.
26
+ */
27
+ readonly flagsRequiredToStart: StageFlags[];
28
+ /**
29
+ * The description of the request to start the stage.
30
+ */
31
+ readonly requestDescriptionToStart: string;
32
+ }
33
+
34
+ export type { StageInterface as default };
@@ -0,0 +1,34 @@
1
+ import StageFlags from '../interface/quest/StageFlags.js';
2
+
3
+ interface StageInterface {
4
+ /**
5
+ * The name of the stage.
6
+ */
7
+ readonly name: string;
8
+ /**
9
+ * The description of the stage.
10
+ */
11
+ readonly description: string;
12
+ /**
13
+ * The advice description of the stage.
14
+ */
15
+ readonly adviceDescription: string;
16
+ /**
17
+ * The image of the stage.
18
+ */
19
+ readonly image?: string;
20
+ /**
21
+ * The list of flags that the player must complete to finish the stage.
22
+ */
23
+ readonly flags: StageFlags[];
24
+ /**
25
+ * The list of flags required to start the stage.
26
+ */
27
+ readonly flagsRequiredToStart: StageFlags[];
28
+ /**
29
+ * The description of the request to start the stage.
30
+ */
31
+ readonly requestDescriptionToStart: string;
32
+ }
33
+
34
+ export type { StageInterface as default };
@@ -0,0 +1,2 @@
1
+ 'use strict';//# sourceMappingURL=StageInterface.js.map
2
+ //# sourceMappingURL=StageInterface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"StageInterface.js"}
@@ -0,0 +1,2 @@
1
+ //# sourceMappingURL=StageInterface.mjs.map
2
+ //# sourceMappingURL=StageInterface.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"StageInterface.mjs"}
@@ -1,8 +1,12 @@
1
+ export { default as ActivityInterface } from './ActivityInterface.mjs';
2
+ export { default as CommitmentInterface } from './CommitmentInterface.mjs';
1
3
  export { default as GraphicItemInterface } from './GraphicItemInterface.mjs';
2
- export { default as GraphicItemType } from './GraphicItemType.mjs';
3
- export { default as NeighboringMapsInterface } from './NeighboringMapsInterface.mjs';
4
+ export { default as LocationInterface } from './LocationInterface.mjs';
5
+ export { default as MapInterface } from './MapInterface.mjs';
4
6
  export { default as OnRenderGraphicItemProps } from './OnRenderGraphicItemProps.mjs';
5
7
  export { default as OnRunProps } from './OnRunProps.mjs';
6
8
  export { default as OnStartEndStageQuest } from './OnStartEndStageQuest.mjs';
7
- import '@drincs/nqtr/dist/override';
8
- import '@drincs/pixi-vn';
9
+ export { default as QuestInterface } from './QuestInterface.mjs';
10
+ export { default as RoomInterface } from './RoomInterface.mjs';
11
+ export { default as StageInterface } from './StageInterface.mjs';
12
+ import '../interface/quest/StageFlags.mjs';
@@ -1,8 +1,12 @@
1
+ export { default as ActivityInterface } from './ActivityInterface.js';
2
+ export { default as CommitmentInterface } from './CommitmentInterface.js';
1
3
  export { default as GraphicItemInterface } from './GraphicItemInterface.js';
2
- export { default as GraphicItemType } from './GraphicItemType.js';
3
- export { default as NeighboringMapsInterface } from './NeighboringMapsInterface.js';
4
+ export { default as LocationInterface } from './LocationInterface.js';
5
+ export { default as MapInterface } from './MapInterface.js';
4
6
  export { default as OnRenderGraphicItemProps } from './OnRenderGraphicItemProps.js';
5
7
  export { default as OnRunProps } from './OnRunProps.js';
6
8
  export { default as OnStartEndStageQuest } from './OnStartEndStageQuest.js';
7
- import '@drincs/nqtr/dist/override';
8
- import '@drincs/pixi-vn';
9
+ export { default as QuestInterface } from './QuestInterface.js';
10
+ export { default as RoomInterface } from './RoomInterface.js';
11
+ export { default as StageInterface } from './StageInterface.js';
12
+ import '../interface/quest/StageFlags.js';
@@ -0,0 +1,8 @@
1
+ import { OnRunProps } from '@drincs/nqtr/dist/override';
2
+
3
+ /**
4
+ * The function that is called when the class is runned.
5
+ */
6
+ type OnRunEvent<T> = (item: T, props: OnRunProps) => void;
7
+
8
+ export type { OnRunEvent };
@@ -0,0 +1,8 @@
1
+ import { OnRunProps } from '@drincs/nqtr/dist/override';
2
+
3
+ /**
4
+ * The function that is called when the class is runned.
5
+ */
6
+ type OnRunEvent<T> = (item: T, props: OnRunProps) => void;
7
+
8
+ export type { OnRunEvent };
@@ -0,0 +1,2 @@
1
+ 'use strict';//# sourceMappingURL=OnRunEvent.js.map
2
+ //# sourceMappingURL=OnRunEvent.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"OnRunActivityEvent.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"OnRunEvent.js"}
@@ -0,0 +1,2 @@
1
+ //# sourceMappingURL=OnRunEvent.mjs.map
2
+ //# sourceMappingURL=OnRunEvent.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"OnRunActivityEvent.mjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"OnRunEvent.mjs"}
@@ -1,6 +1,2 @@
1
- export { Q as QuestsRequiredType } from '../StageProps-CqgBUi3e.mjs';
1
+ export { a as QuestsRequiredType } from '../StageInterface-DgeEtkqv.mjs';
2
2
  import '@drincs/nqtr/dist/override';
3
- import '@drincs/pixi-vn';
4
- import '../classes/quest/Goal.mjs';
5
- import '../interface/quest/GoalProps.mjs';
6
- import '../interface/quest/StageFlags.mjs';
@@ -1,6 +1,2 @@
1
- export { Q as QuestsRequiredType } from '../StageProps-DghO7WaT.js';
1
+ export { a as QuestsRequiredType } from '../StageInterface-DgeEtkqv.js';
2
2
  import '@drincs/nqtr/dist/override';
3
- import '@drincs/pixi-vn';
4
- import '../classes/quest/Goal.js';
5
- import '../interface/quest/GoalProps.js';
6
- import '../interface/quest/StageFlags.js';
@@ -1,8 +1,4 @@
1
1
  export { default as ExecutionType } from './ExecutionType.mjs';
2
- export { Q as QuestsRequiredType } from '../StageProps-CqgBUi3e.mjs';
2
+ export { a as QuestsRequiredType } from '../StageInterface-DgeEtkqv.mjs';
3
3
  export { ITimeStlot, TimeSettings } from './TimeSettings.mjs';
4
4
  import '@drincs/nqtr/dist/override';
5
- import '@drincs/pixi-vn';
6
- import '../classes/quest/Goal.mjs';
7
- import '../interface/quest/GoalProps.mjs';
8
- import '../interface/quest/StageFlags.mjs';
@@ -1,8 +1,4 @@
1
1
  export { default as ExecutionType } from './ExecutionType.js';
2
- export { Q as QuestsRequiredType } from '../StageProps-DghO7WaT.js';
2
+ export { a as QuestsRequiredType } from '../StageInterface-DgeEtkqv.js';
3
3
  export { ITimeStlot, TimeSettings } from './TimeSettings.js';
4
4
  import '@drincs/nqtr/dist/override';
5
- import '@drincs/pixi-vn';
6
- import '../classes/quest/Goal.js';
7
- import '../interface/quest/GoalProps.js';
8
- import '../interface/quest/StageFlags.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drincs/nqtr",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "A complete system introducing the concepts of location, time and event, producing the framework of a not-quite-point-and-click adventure game.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -23,13 +23,12 @@
23
23
  },
24
24
  "homepage": "https://github.com/DRincs-Productions/nqtr-pixi-vn#readme",
25
25
  "devDependencies": {
26
- "@drincs/nqtr": "^0.2.12",
27
- "@types/react": "^18.3.18",
26
+ "@drincs/nqtr": "^0.2.13",
28
27
  "jsdom": "^26.0.0",
29
28
  "ts-node": "^10.9.2",
30
29
  "tsup": "^8.3.5",
31
30
  "typescript": "^5.7.3",
32
- "vitest": "^2.1.8"
31
+ "vitest": "^3.0.4"
33
32
  },
34
33
  "keywords": [
35
34
  "game",
@@ -1,124 +0,0 @@
1
- import { OnRenderGraphicItemProps, GraphicItemType, OnRunProps } from '@drincs/nqtr/dist/override';
2
- import { OnRunActivityEvent } from './types/OnRunActivityEvent.js';
3
-
4
- declare abstract class ActivityStoredAbstract {
5
- /**
6
- * @param onRun The function that is called when the activity is runned. Have 2 parameters: the runned activity and the yourParams object, that is an object with the parameters that you want to pass to the onRun function.
7
- * @param props The activity properties.
8
- */
9
- constructor(onRun: OnRunActivityEvent<ActivityStoredAbstract>, props: ActivityProps);
10
- abstract setStorageProperty<T>(propertyName: string, value: T | undefined): void;
11
- abstract getStorageProperty<T>(propertyName: string): T | undefined;
12
- abstract get id(): string;
13
- private defaultName?;
14
- /**
15
- * The name
16
- */
17
- get name(): string;
18
- set name(value: string | undefined);
19
- private defaultFromHour?;
20
- /**
21
- * The hour when the activity starts. If the activity is not started yet, it will be hidden.
22
- */
23
- get fromHour(): number;
24
- set fromHour(value: number | undefined);
25
- private defaultToHour?;
26
- /**
27
- * The hour when the activity ends. If the activity is ended yet, it will be hidden.
28
- */
29
- get toHour(): number;
30
- set toHour(value: number | undefined);
31
- private defaultFromDay?;
32
- /**
33
- * The day when the activity starts. If the activity is not started yet, it will be hidden.
34
- */
35
- get fromDay(): number | undefined;
36
- set fromDay(value: number | undefined);
37
- private defaultToDay?;
38
- /**
39
- * The day when the activity ends. If the activity is ended yet, it will be deleted or hidden.
40
- */
41
- get toDay(): number | undefined;
42
- set toDay(value: number | undefined);
43
- private defaultDisabled;
44
- /**
45
- * Whether is disabled.
46
- */
47
- get disabled(): boolean;
48
- set disabled(value: boolean | string);
49
- private defaultHidden;
50
- /**
51
- * Whether is hidden. If the activity is not started yet, it will be hidden.
52
- */
53
- get hidden(): boolean;
54
- set hidden(value: boolean | string);
55
- private _renderIcon?;
56
- /**
57
- * The function for rendering the icon of the activity.
58
- */
59
- get renderIcon(): ((props: OnRenderGraphicItemProps) => GraphicItemType) | undefined;
60
- private _onRun;
61
- /**
62
- * The function that is called when the activity is runned.
63
- */
64
- get run(): (props: OnRunProps) => void;
65
- /**
66
- * Whether the activity is a deadline.
67
- * @returns Whether the activity is a deadline.
68
- */
69
- isExpired(): boolean;
70
- /**
71
- * Export the activity properties.
72
- * @returns The activity properties.
73
- */
74
- export(): ActivityProps;
75
- }
76
-
77
- interface ActivityProps {
78
- /**
79
- * The name
80
- * @default ""
81
- */
82
- name?: string;
83
- /**
84
- * The hour when the activity starts. If the activity is not started yet, it will be hidden.
85
- * If you set 3, the activity will be hidden into hours 1 and 2, and will be shown from hour 3.
86
- * @default timeTracker.minDayHours
87
- */
88
- fromHour?: number;
89
- /**
90
- * The hour when the activity ends. If the activity is ended yet, it will be hidden.
91
- * If you set 3, the activity will be shown into hours 1 and 2 and will be hidden from hour 3.
92
- * @default timeTracker.maxDayHours + 1
93
- */
94
- toHour?: number;
95
- /**
96
- * The day when the activity starts. If the activity is not started yet, it will be hidden.
97
- * If you set 3, the activity will be hidden into days 1 and 2, and will be shown from day 3.
98
- * @default undefined
99
- */
100
- fromDay?: number;
101
- /**
102
- * The day when the activity ends. If the activity is ended yet, it will be deleted or hidden.
103
- * If you set 3, the activity will be shown into days 1 and 2 and will be deleted or hidden from day 3.
104
- * @default undefined
105
- */
106
- toDay?: number;
107
- /**
108
- * Whether is disabled. You can also pass a Pixi'VN flag name.
109
- * @default false
110
- */
111
- disabled?: boolean | string;
112
- /**
113
- * Whether is hidden. You can also pass a Pixi'VN flag name.
114
- * @default false
115
- */
116
- hidden?: boolean | string;
117
- /**
118
- * The icon element. Can be a string or an Element or a Pixi'VN CanvasItem
119
- * @default undefined
120
- */
121
- renderIcon?: GraphicItemType | ((activity: ActivityStoredAbstract, props: OnRenderGraphicItemProps) => GraphicItemType);
122
- }
123
-
124
- export { type ActivityProps as A, ActivityStoredAbstract as a };
@@ -1,124 +0,0 @@
1
- import { OnRenderGraphicItemProps, GraphicItemType, OnRunProps } from '@drincs/nqtr/dist/override';
2
- import { OnRunActivityEvent } from './types/OnRunActivityEvent.mjs';
3
-
4
- declare abstract class ActivityStoredAbstract {
5
- /**
6
- * @param onRun The function that is called when the activity is runned. Have 2 parameters: the runned activity and the yourParams object, that is an object with the parameters that you want to pass to the onRun function.
7
- * @param props The activity properties.
8
- */
9
- constructor(onRun: OnRunActivityEvent<ActivityStoredAbstract>, props: ActivityProps);
10
- abstract setStorageProperty<T>(propertyName: string, value: T | undefined): void;
11
- abstract getStorageProperty<T>(propertyName: string): T | undefined;
12
- abstract get id(): string;
13
- private defaultName?;
14
- /**
15
- * The name
16
- */
17
- get name(): string;
18
- set name(value: string | undefined);
19
- private defaultFromHour?;
20
- /**
21
- * The hour when the activity starts. If the activity is not started yet, it will be hidden.
22
- */
23
- get fromHour(): number;
24
- set fromHour(value: number | undefined);
25
- private defaultToHour?;
26
- /**
27
- * The hour when the activity ends. If the activity is ended yet, it will be hidden.
28
- */
29
- get toHour(): number;
30
- set toHour(value: number | undefined);
31
- private defaultFromDay?;
32
- /**
33
- * The day when the activity starts. If the activity is not started yet, it will be hidden.
34
- */
35
- get fromDay(): number | undefined;
36
- set fromDay(value: number | undefined);
37
- private defaultToDay?;
38
- /**
39
- * The day when the activity ends. If the activity is ended yet, it will be deleted or hidden.
40
- */
41
- get toDay(): number | undefined;
42
- set toDay(value: number | undefined);
43
- private defaultDisabled;
44
- /**
45
- * Whether is disabled.
46
- */
47
- get disabled(): boolean;
48
- set disabled(value: boolean | string);
49
- private defaultHidden;
50
- /**
51
- * Whether is hidden. If the activity is not started yet, it will be hidden.
52
- */
53
- get hidden(): boolean;
54
- set hidden(value: boolean | string);
55
- private _renderIcon?;
56
- /**
57
- * The function for rendering the icon of the activity.
58
- */
59
- get renderIcon(): ((props: OnRenderGraphicItemProps) => GraphicItemType) | undefined;
60
- private _onRun;
61
- /**
62
- * The function that is called when the activity is runned.
63
- */
64
- get run(): (props: OnRunProps) => void;
65
- /**
66
- * Whether the activity is a deadline.
67
- * @returns Whether the activity is a deadline.
68
- */
69
- isExpired(): boolean;
70
- /**
71
- * Export the activity properties.
72
- * @returns The activity properties.
73
- */
74
- export(): ActivityProps;
75
- }
76
-
77
- interface ActivityProps {
78
- /**
79
- * The name
80
- * @default ""
81
- */
82
- name?: string;
83
- /**
84
- * The hour when the activity starts. If the activity is not started yet, it will be hidden.
85
- * If you set 3, the activity will be hidden into hours 1 and 2, and will be shown from hour 3.
86
- * @default timeTracker.minDayHours
87
- */
88
- fromHour?: number;
89
- /**
90
- * The hour when the activity ends. If the activity is ended yet, it will be hidden.
91
- * If you set 3, the activity will be shown into hours 1 and 2 and will be hidden from hour 3.
92
- * @default timeTracker.maxDayHours + 1
93
- */
94
- toHour?: number;
95
- /**
96
- * The day when the activity starts. If the activity is not started yet, it will be hidden.
97
- * If you set 3, the activity will be hidden into days 1 and 2, and will be shown from day 3.
98
- * @default undefined
99
- */
100
- fromDay?: number;
101
- /**
102
- * The day when the activity ends. If the activity is ended yet, it will be deleted or hidden.
103
- * If you set 3, the activity will be shown into days 1 and 2 and will be deleted or hidden from day 3.
104
- * @default undefined
105
- */
106
- toDay?: number;
107
- /**
108
- * Whether is disabled. You can also pass a Pixi'VN flag name.
109
- * @default false
110
- */
111
- disabled?: boolean | string;
112
- /**
113
- * Whether is hidden. You can also pass a Pixi'VN flag name.
114
- * @default false
115
- */
116
- hidden?: boolean | string;
117
- /**
118
- * The icon element. Can be a string or an Element or a Pixi'VN CanvasItem
119
- * @default undefined
120
- */
121
- renderIcon?: GraphicItemType | ((activity: ActivityStoredAbstract, props: OnRenderGraphicItemProps) => GraphicItemType);
122
- }
123
-
124
- export { type ActivityProps as A, ActivityStoredAbstract as a };