@drincs/nqtr 0.3.0 → 0.3.2

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 (233) hide show
  1. package/dist/{RoomInterface-D7qXKwBI.d.ts → RoomInterface-BglEhkQT.d.ts} +12 -12
  2. package/dist/{RoomInterface-C7Sg80EF.d.mts → RoomInterface-DsZAp6Pv.d.mts} +12 -12
  3. package/dist/{StageInterface-DmLgfrk4.d.mts → StageInterface-DJ7l0ubG.d.mts} +17 -17
  4. package/dist/{StageInterface-DmLgfrk4.d.ts → StageInterface-DJ7l0ubG.d.ts} +17 -17
  5. package/dist/classes/ActivityBaseModel.d.mts +4 -4
  6. package/dist/classes/ActivityBaseModel.d.ts +4 -4
  7. package/dist/classes/ActivityBaseModel.js +1 -1
  8. package/dist/classes/ActivityBaseModel.js.map +1 -1
  9. package/dist/classes/ActivityBaseModel.mjs +1 -1
  10. package/dist/classes/ActivityBaseModel.mjs.map +1 -1
  11. package/dist/classes/ActivityStoredClass.d.mts +4 -4
  12. package/dist/classes/ActivityStoredClass.d.ts +4 -4
  13. package/dist/classes/ActivityStoredClass.js +1 -1
  14. package/dist/classes/ActivityStoredClass.js.map +1 -1
  15. package/dist/classes/ActivityStoredClass.mjs +1 -1
  16. package/dist/classes/ActivityStoredClass.mjs.map +1 -1
  17. package/dist/classes/CommitmentBaseModel.d.mts +3 -3
  18. package/dist/classes/CommitmentBaseModel.d.ts +3 -3
  19. package/dist/classes/CommitmentBaseModel.js +1 -1
  20. package/dist/classes/CommitmentBaseModel.js.map +1 -1
  21. package/dist/classes/CommitmentBaseModel.mjs +1 -1
  22. package/dist/classes/CommitmentBaseModel.mjs.map +1 -1
  23. package/dist/classes/CommitmentStoredClass.d.mts +5 -5
  24. package/dist/classes/CommitmentStoredClass.d.ts +5 -5
  25. package/dist/classes/CommitmentStoredClass.js +1 -1
  26. package/dist/classes/CommitmentStoredClass.js.map +1 -1
  27. package/dist/classes/CommitmentStoredClass.mjs +1 -1
  28. package/dist/classes/CommitmentStoredClass.mjs.map +1 -1
  29. package/dist/classes/index.d.mts +6 -6
  30. package/dist/classes/index.d.ts +6 -6
  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 +3 -3
  36. package/dist/classes/navigation/LocationBaseModel.d.ts +3 -3
  37. package/dist/classes/navigation/LocationBaseModel.js +1 -1
  38. package/dist/classes/navigation/LocationBaseModel.mjs +1 -1
  39. package/dist/classes/navigation/LocationStoredClass.d.mts +6 -6
  40. package/dist/classes/navigation/LocationStoredClass.d.ts +6 -6
  41. package/dist/classes/navigation/LocationStoredClass.js +1 -1
  42. package/dist/classes/navigation/LocationStoredClass.mjs +1 -1
  43. package/dist/classes/navigation/MapBaseModel.d.mts +2 -2
  44. package/dist/classes/navigation/MapBaseModel.d.ts +2 -2
  45. package/dist/classes/navigation/MapBaseModel.js +1 -1
  46. package/dist/classes/navigation/MapBaseModel.mjs +1 -1
  47. package/dist/classes/navigation/MapStoredClass.d.mts +5 -5
  48. package/dist/classes/navigation/MapStoredClass.d.ts +5 -5
  49. package/dist/classes/navigation/NavigationAbstractClass.d.mts +6 -6
  50. package/dist/classes/navigation/NavigationAbstractClass.d.ts +6 -6
  51. package/dist/classes/navigation/NavigationAbstractClass.js +1 -1
  52. package/dist/classes/navigation/NavigationAbstractClass.mjs +1 -1
  53. package/dist/classes/navigation/RoomBaseModel.d.mts +4 -4
  54. package/dist/classes/navigation/RoomBaseModel.d.ts +4 -4
  55. package/dist/classes/navigation/RoomBaseModel.js +1 -1
  56. package/dist/classes/navigation/RoomBaseModel.mjs +1 -1
  57. package/dist/classes/navigation/RoomStoredClass.d.mts +6 -6
  58. package/dist/classes/navigation/RoomStoredClass.d.ts +6 -6
  59. package/dist/classes/navigation/RoomStoredClass.js +1 -1
  60. package/dist/classes/navigation/RoomStoredClass.mjs +1 -1
  61. package/dist/classes/quest/QuestBaseModel.d.mts +3 -3
  62. package/dist/classes/quest/QuestBaseModel.d.ts +3 -3
  63. package/dist/classes/quest/QuestBaseModel.js +1 -1
  64. package/dist/classes/quest/QuestBaseModel.js.map +1 -1
  65. package/dist/classes/quest/QuestBaseModel.mjs +1 -1
  66. package/dist/classes/quest/QuestBaseModel.mjs.map +1 -1
  67. package/dist/classes/quest/QuestStoredClass.d.mts +14 -14
  68. package/dist/classes/quest/QuestStoredClass.d.ts +14 -14
  69. package/dist/classes/quest/QuestStoredClass.js +1 -1
  70. package/dist/classes/quest/QuestStoredClass.js.map +1 -1
  71. package/dist/classes/quest/QuestStoredClass.mjs +1 -1
  72. package/dist/classes/quest/QuestStoredClass.mjs.map +1 -1
  73. package/dist/classes/quest/StageBaseModel.d.mts +2 -2
  74. package/dist/classes/quest/StageBaseModel.d.ts +2 -2
  75. package/dist/classes/quest/StageBaseModel.js +1 -1
  76. package/dist/classes/quest/StageBaseModel.js.map +1 -1
  77. package/dist/classes/quest/StageBaseModel.mjs +1 -1
  78. package/dist/classes/quest/StageBaseModel.mjs.map +1 -1
  79. package/dist/classes/quest/StageStoredClass.d.mts +7 -7
  80. package/dist/classes/quest/StageStoredClass.d.ts +7 -7
  81. package/dist/classes/quest/StageStoredClass.js +1 -1
  82. package/dist/classes/quest/StageStoredClass.js.map +1 -1
  83. package/dist/classes/quest/StageStoredClass.mjs +1 -1
  84. package/dist/classes/quest/StageStoredClass.mjs.map +1 -1
  85. package/dist/decorators/ActivityDecorator.d.mts +5 -5
  86. package/dist/decorators/ActivityDecorator.d.ts +5 -5
  87. package/dist/decorators/CommitmentDecorator.d.mts +6 -6
  88. package/dist/decorators/CommitmentDecorator.d.ts +6 -6
  89. package/dist/decorators/QuestDecorator.d.mts +5 -5
  90. package/dist/decorators/QuestDecorator.d.ts +5 -5
  91. package/dist/decorators/RoomDecorator.d.mts +5 -5
  92. package/dist/decorators/RoomDecorator.d.ts +5 -5
  93. package/dist/decorators/index.d.mts +3 -3
  94. package/dist/decorators/index.d.ts +3 -3
  95. package/dist/index.d.mts +11 -8
  96. package/dist/index.d.ts +11 -8
  97. package/dist/index.js +1 -1
  98. package/dist/index.js.map +1 -1
  99. package/dist/index.mjs +1 -1
  100. package/dist/index.mjs.map +1 -1
  101. package/dist/interface/ActivityInterface.d.mts +3 -3
  102. package/dist/interface/ActivityInterface.d.ts +3 -3
  103. package/dist/interface/CommitmentInterface.d.mts +2 -2
  104. package/dist/interface/CommitmentInterface.d.ts +2 -2
  105. package/dist/interface/CommitmentProps.d.mts +3 -3
  106. package/dist/interface/CommitmentProps.d.ts +3 -3
  107. package/dist/interface/index.d.mts +3 -3
  108. package/dist/interface/index.d.ts +3 -3
  109. package/dist/interface/navigation/LocationBaseModelProps.d.mts +3 -3
  110. package/dist/interface/navigation/LocationBaseModelProps.d.ts +3 -3
  111. package/dist/interface/navigation/LocationInterface.d.mts +2 -2
  112. package/dist/interface/navigation/LocationInterface.d.ts +2 -2
  113. package/dist/interface/navigation/MapBaseModelProps.d.mts +3 -3
  114. package/dist/interface/navigation/MapBaseModelProps.d.ts +3 -3
  115. package/dist/interface/navigation/MapInterface.d.mts +2 -2
  116. package/dist/interface/navigation/MapInterface.d.ts +2 -2
  117. package/dist/interface/navigation/NavigationAbstractClass.d.mts +5 -5
  118. package/dist/interface/navigation/NavigationAbstractClass.d.ts +5 -5
  119. package/dist/interface/navigation/RoomBaseModelProps.d.mts +3 -3
  120. package/dist/interface/navigation/RoomBaseModelProps.d.ts +3 -3
  121. package/dist/interface/navigation/RoomInterface.d.mts +2 -2
  122. package/dist/interface/navigation/RoomInterface.d.ts +2 -2
  123. package/dist/interface/quest/QuestInterface.d.mts +2 -2
  124. package/dist/interface/quest/QuestInterface.d.ts +2 -2
  125. package/dist/interface/quest/QuestProps.d.mts +4 -4
  126. package/dist/interface/quest/QuestProps.d.ts +4 -4
  127. package/dist/interface/quest/StageInterface.d.mts +2 -2
  128. package/dist/interface/quest/StageInterface.d.ts +2 -2
  129. package/dist/interface/quest/StageProps.d.mts +4 -4
  130. package/dist/interface/quest/StageProps.d.ts +4 -4
  131. package/dist/managers/NavigatorManager.d.mts +9 -9
  132. package/dist/managers/NavigatorManager.d.ts +9 -9
  133. package/dist/managers/QuestManager.d.mts +9 -9
  134. package/dist/managers/QuestManager.d.ts +9 -9
  135. package/dist/managers/QuestManager.js +1 -1
  136. package/dist/managers/QuestManager.js.map +1 -1
  137. package/dist/managers/QuestManager.mjs +1 -1
  138. package/dist/managers/QuestManager.mjs.map +1 -1
  139. package/dist/managers/RoutineManager.d.mts +12 -12
  140. package/dist/managers/RoutineManager.d.ts +12 -12
  141. package/dist/managers/RoutineManager.js +1 -1
  142. package/dist/managers/RoutineManager.mjs +1 -1
  143. package/dist/managers/index.d.mts +3 -3
  144. package/dist/managers/index.d.ts +3 -3
  145. package/dist/managers/index.js +1 -1
  146. package/dist/managers/index.js.map +1 -1
  147. package/dist/managers/index.mjs +1 -1
  148. package/dist/managers/index.mjs.map +1 -1
  149. package/dist/nqtr.d.d.mts +195 -0
  150. package/dist/nqtr.d.d.ts +195 -0
  151. package/dist/nqtr.d.js +2 -0
  152. package/dist/nqtr.d.js.map +1 -0
  153. package/dist/nqtr.d.mjs +2 -0
  154. package/dist/nqtr.d.mjs.map +1 -0
  155. package/dist/types/OnRunEvent.d.mts +3 -2
  156. package/dist/types/OnRunEvent.d.ts +3 -2
  157. package/dist/types/QuestsRequired.d.mts +2 -2
  158. package/dist/types/QuestsRequired.d.ts +2 -2
  159. package/dist/types/index.d.mts +3 -2
  160. package/dist/types/index.d.ts +3 -2
  161. package/package.json +1 -2
  162. package/dist/override/ActivityInterface.d.mts +0 -28
  163. package/dist/override/ActivityInterface.d.ts +0 -28
  164. package/dist/override/ActivityInterface.js +0 -2
  165. package/dist/override/ActivityInterface.js.map +0 -1
  166. package/dist/override/ActivityInterface.mjs +0 -2
  167. package/dist/override/ActivityInterface.mjs.map +0 -1
  168. package/dist/override/CommitmentInterface.d.mts +0 -24
  169. package/dist/override/CommitmentInterface.d.ts +0 -24
  170. package/dist/override/CommitmentInterface.js +0 -2
  171. package/dist/override/CommitmentInterface.js.map +0 -1
  172. package/dist/override/CommitmentInterface.mjs +0 -2
  173. package/dist/override/CommitmentInterface.mjs.map +0 -1
  174. package/dist/override/GraphicItemInterface.d.mts +0 -19
  175. package/dist/override/GraphicItemInterface.d.ts +0 -19
  176. package/dist/override/GraphicItemInterface.js +0 -2
  177. package/dist/override/GraphicItemInterface.js.map +0 -1
  178. package/dist/override/GraphicItemInterface.mjs +0 -2
  179. package/dist/override/GraphicItemInterface.mjs.map +0 -1
  180. package/dist/override/LocationInterface.d.mts +0 -29
  181. package/dist/override/LocationInterface.d.ts +0 -29
  182. package/dist/override/LocationInterface.js +0 -2
  183. package/dist/override/LocationInterface.js.map +0 -1
  184. package/dist/override/LocationInterface.mjs +0 -2
  185. package/dist/override/LocationInterface.mjs.map +0 -1
  186. package/dist/override/MapInterface.d.mts +0 -12
  187. package/dist/override/MapInterface.d.ts +0 -12
  188. package/dist/override/MapInterface.js +0 -2
  189. package/dist/override/MapInterface.js.map +0 -1
  190. package/dist/override/MapInterface.mjs +0 -2
  191. package/dist/override/MapInterface.mjs.map +0 -1
  192. package/dist/override/OnRenderGraphicItemProps.d.mts +0 -19
  193. package/dist/override/OnRenderGraphicItemProps.d.ts +0 -19
  194. package/dist/override/OnRenderGraphicItemProps.js +0 -2
  195. package/dist/override/OnRenderGraphicItemProps.js.map +0 -1
  196. package/dist/override/OnRenderGraphicItemProps.mjs +0 -2
  197. package/dist/override/OnRenderGraphicItemProps.mjs.map +0 -1
  198. package/dist/override/OnRunProps.d.mts +0 -19
  199. package/dist/override/OnRunProps.d.ts +0 -19
  200. package/dist/override/OnRunProps.js +0 -2
  201. package/dist/override/OnRunProps.js.map +0 -1
  202. package/dist/override/OnRunProps.mjs +0 -2
  203. package/dist/override/OnRunProps.mjs.map +0 -1
  204. package/dist/override/OnStartEndStageQuest.d.mts +0 -19
  205. package/dist/override/OnStartEndStageQuest.d.ts +0 -19
  206. package/dist/override/OnStartEndStageQuest.js +0 -2
  207. package/dist/override/OnStartEndStageQuest.js.map +0 -1
  208. package/dist/override/OnStartEndStageQuest.mjs +0 -2
  209. package/dist/override/OnStartEndStageQuest.mjs.map +0 -1
  210. package/dist/override/QuestInterface.d.mts +0 -24
  211. package/dist/override/QuestInterface.d.ts +0 -24
  212. package/dist/override/QuestInterface.js +0 -2
  213. package/dist/override/QuestInterface.js.map +0 -1
  214. package/dist/override/QuestInterface.mjs +0 -2
  215. package/dist/override/QuestInterface.mjs.map +0 -1
  216. package/dist/override/RoomInterface.d.mts +0 -33
  217. package/dist/override/RoomInterface.d.ts +0 -33
  218. package/dist/override/RoomInterface.js +0 -2
  219. package/dist/override/RoomInterface.js.map +0 -1
  220. package/dist/override/RoomInterface.mjs +0 -2
  221. package/dist/override/RoomInterface.mjs.map +0 -1
  222. package/dist/override/StageInterface.d.mts +0 -34
  223. package/dist/override/StageInterface.d.ts +0 -34
  224. package/dist/override/StageInterface.js +0 -2
  225. package/dist/override/StageInterface.js.map +0 -1
  226. package/dist/override/StageInterface.mjs +0 -2
  227. package/dist/override/StageInterface.mjs.map +0 -1
  228. package/dist/override/index.d.mts +0 -12
  229. package/dist/override/index.d.ts +0 -12
  230. package/dist/override/index.js +0 -2
  231. package/dist/override/index.js.map +0 -1
  232. package/dist/override/index.mjs +0 -2
  233. package/dist/override/index.mjs.map +0 -1
@@ -0,0 +1,195 @@
1
+ declare module "@drincs/nqtr" {
2
+ interface ActivityInterface {
3
+ /**
4
+ * The name of the activity.
5
+ */
6
+ name: string;
7
+ /**
8
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
9
+ */
10
+ get disabled(): boolean;
11
+ /**
12
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
13
+ */
14
+ set disabled(value: boolean | string);
15
+ /**
16
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
17
+ */
18
+ get hidden(): boolean;
19
+ /**
20
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
21
+ */
22
+ set hidden(value: boolean | string);
23
+ /**
24
+ * The icon of the activity.
25
+ */
26
+ readonly icon: string | undefined;
27
+ }
28
+ interface CommitmentInterface {
29
+ /**
30
+ * The name of the commitment.
31
+ */
32
+ readonly name: string;
33
+ /**
34
+ * The image of the commitment.
35
+ */
36
+ readonly image: string;
37
+ /**
38
+ * The icon of the commitment.
39
+ */
40
+ readonly icon: string;
41
+ /**
42
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
43
+ */
44
+ get disabled(): boolean;
45
+ /**
46
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
47
+ */
48
+ set disabled(value: boolean | string);
49
+ /**
50
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
51
+ */
52
+ get hidden(): boolean;
53
+ /**
54
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
55
+ */
56
+ set hidden(value: boolean | string);
57
+ }
58
+ interface LocationInterface {
59
+ /**
60
+ * The name of the location.
61
+ * If you set undefined, it will return the initial value of name.
62
+ */
63
+ name: string;
64
+ /**
65
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
66
+ */
67
+ get disabled(): boolean;
68
+ /**
69
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
70
+ */
71
+ set disabled(value: boolean | string);
72
+ /**
73
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
74
+ */
75
+ get hidden(): boolean;
76
+ /**
77
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
78
+ */
79
+ set hidden(value: boolean | string);
80
+ /**
81
+ * The icon of the location.
82
+ */
83
+ readonly icon: string | undefined;
84
+ }
85
+ interface MapInterface {
86
+ /**
87
+ * The name of the map.
88
+ */
89
+ name: string;
90
+ /**
91
+ * The image of the map.
92
+ */
93
+ readonly image?: string;
94
+ }
95
+ /**
96
+ * The props of the OnRunActivityEvent function.
97
+ * You can override this interface to add your own props.
98
+ * @example
99
+ * ```typescript
100
+ * // nqtr.types.ts
101
+ * declare module '@drincs/nqtr' {
102
+ * interface OnRunProps {
103
+ * navigate: (route: string) => void,
104
+ * [key: string]: any
105
+ * }
106
+ * }
107
+ * ```
108
+ */
109
+ interface OnRunProps {
110
+ [key: string]: any;
111
+ }
112
+ interface QuestInterface {
113
+ /**
114
+ * The name of the quest.
115
+ */
116
+ readonly name: string;
117
+ /**
118
+ * The description of the quest.
119
+ */
120
+ readonly description: string;
121
+ /**
122
+ * The function for rendering the icon of the quest.
123
+ */
124
+ readonly icon?: string;
125
+ /**
126
+ * The function for rendering the image of the quest.
127
+ */
128
+ readonly image?: string;
129
+ /**
130
+ * If the quest is in development.
131
+ */
132
+ readonly inDevelopment: boolean;
133
+ }
134
+ interface RoomInterface {
135
+ /**
136
+ * The name.
137
+ * If you set undefined, it will return the initial value of name.
138
+ */
139
+ name: string;
140
+ /**
141
+ * The image of the room.
142
+ */
143
+ readonly image: string | undefined;
144
+ /**
145
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
146
+ */
147
+ get disabled(): boolean;
148
+ /**
149
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
150
+ */
151
+ set disabled(value: boolean | string);
152
+ /**
153
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
154
+ */
155
+ get hidden(): boolean;
156
+ /**
157
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
158
+ */
159
+ set hidden(value: boolean | string);
160
+ /**
161
+ * The icon of the room.
162
+ */
163
+ readonly icon: string | undefined;
164
+ }
165
+ interface StageInterface {
166
+ /**
167
+ * The name of the stage.
168
+ */
169
+ readonly name: string;
170
+ /**
171
+ * The description of the stage.
172
+ */
173
+ readonly description: string;
174
+ /**
175
+ * The advice description of the stage.
176
+ */
177
+ readonly adviceDescription: string;
178
+ /**
179
+ * The image of the stage.
180
+ */
181
+ readonly image?: string;
182
+ /**
183
+ * The list of flags that the player must complete to finish the stage.
184
+ */
185
+ readonly flags: StageFlags[];
186
+ /**
187
+ * The list of flags required to start the stage.
188
+ */
189
+ readonly flagsRequiredToStart: StageFlags[];
190
+ /**
191
+ * The description of the request to start the stage.
192
+ */
193
+ readonly requestDescriptionToStart: string;
194
+ }
195
+ }
@@ -0,0 +1,195 @@
1
+ declare module "@drincs/nqtr" {
2
+ interface ActivityInterface {
3
+ /**
4
+ * The name of the activity.
5
+ */
6
+ name: string;
7
+ /**
8
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
9
+ */
10
+ get disabled(): boolean;
11
+ /**
12
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
13
+ */
14
+ set disabled(value: boolean | string);
15
+ /**
16
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
17
+ */
18
+ get hidden(): boolean;
19
+ /**
20
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
21
+ */
22
+ set hidden(value: boolean | string);
23
+ /**
24
+ * The icon of the activity.
25
+ */
26
+ readonly icon: string | undefined;
27
+ }
28
+ interface CommitmentInterface {
29
+ /**
30
+ * The name of the commitment.
31
+ */
32
+ readonly name: string;
33
+ /**
34
+ * The image of the commitment.
35
+ */
36
+ readonly image: string;
37
+ /**
38
+ * The icon of the commitment.
39
+ */
40
+ readonly icon: string;
41
+ /**
42
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
43
+ */
44
+ get disabled(): boolean;
45
+ /**
46
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
47
+ */
48
+ set disabled(value: boolean | string);
49
+ /**
50
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
51
+ */
52
+ get hidden(): boolean;
53
+ /**
54
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
55
+ */
56
+ set hidden(value: boolean | string);
57
+ }
58
+ interface LocationInterface {
59
+ /**
60
+ * The name of the location.
61
+ * If you set undefined, it will return the initial value of name.
62
+ */
63
+ name: string;
64
+ /**
65
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
66
+ */
67
+ get disabled(): boolean;
68
+ /**
69
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
70
+ */
71
+ set disabled(value: boolean | string);
72
+ /**
73
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
74
+ */
75
+ get hidden(): boolean;
76
+ /**
77
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
78
+ */
79
+ set hidden(value: boolean | string);
80
+ /**
81
+ * The icon of the location.
82
+ */
83
+ readonly icon: string | undefined;
84
+ }
85
+ interface MapInterface {
86
+ /**
87
+ * The name of the map.
88
+ */
89
+ name: string;
90
+ /**
91
+ * The image of the map.
92
+ */
93
+ readonly image?: string;
94
+ }
95
+ /**
96
+ * The props of the OnRunActivityEvent function.
97
+ * You can override this interface to add your own props.
98
+ * @example
99
+ * ```typescript
100
+ * // nqtr.types.ts
101
+ * declare module '@drincs/nqtr' {
102
+ * interface OnRunProps {
103
+ * navigate: (route: string) => void,
104
+ * [key: string]: any
105
+ * }
106
+ * }
107
+ * ```
108
+ */
109
+ interface OnRunProps {
110
+ [key: string]: any;
111
+ }
112
+ interface QuestInterface {
113
+ /**
114
+ * The name of the quest.
115
+ */
116
+ readonly name: string;
117
+ /**
118
+ * The description of the quest.
119
+ */
120
+ readonly description: string;
121
+ /**
122
+ * The function for rendering the icon of the quest.
123
+ */
124
+ readonly icon?: string;
125
+ /**
126
+ * The function for rendering the image of the quest.
127
+ */
128
+ readonly image?: string;
129
+ /**
130
+ * If the quest is in development.
131
+ */
132
+ readonly inDevelopment: boolean;
133
+ }
134
+ interface RoomInterface {
135
+ /**
136
+ * The name.
137
+ * If you set undefined, it will return the initial value of name.
138
+ */
139
+ name: string;
140
+ /**
141
+ * The image of the room.
142
+ */
143
+ readonly image: string | undefined;
144
+ /**
145
+ * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
146
+ */
147
+ get disabled(): boolean;
148
+ /**
149
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
150
+ */
151
+ set disabled(value: boolean | string);
152
+ /**
153
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
154
+ */
155
+ get hidden(): boolean;
156
+ /**
157
+ * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
158
+ */
159
+ set hidden(value: boolean | string);
160
+ /**
161
+ * The icon of the room.
162
+ */
163
+ readonly icon: string | undefined;
164
+ }
165
+ interface StageInterface {
166
+ /**
167
+ * The name of the stage.
168
+ */
169
+ readonly name: string;
170
+ /**
171
+ * The description of the stage.
172
+ */
173
+ readonly description: string;
174
+ /**
175
+ * The advice description of the stage.
176
+ */
177
+ readonly adviceDescription: string;
178
+ /**
179
+ * The image of the stage.
180
+ */
181
+ readonly image?: string;
182
+ /**
183
+ * The list of flags that the player must complete to finish the stage.
184
+ */
185
+ readonly flags: StageFlags[];
186
+ /**
187
+ * The list of flags required to start the stage.
188
+ */
189
+ readonly flagsRequiredToStart: StageFlags[];
190
+ /**
191
+ * The description of the request to start the stage.
192
+ */
193
+ readonly requestDescriptionToStart: string;
194
+ }
195
+ }
package/dist/nqtr.d.js ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';//# sourceMappingURL=nqtr.d.js.map
2
+ //# sourceMappingURL=nqtr.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"nqtr.d.js"}
@@ -0,0 +1,2 @@
1
+ //# sourceMappingURL=nqtr.d.mjs.map
2
+ //# sourceMappingURL=nqtr.d.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"nqtr.d.mjs"}
@@ -1,8 +1,9 @@
1
- import { OnRunProps } from '@drincs/nqtr/dist/override';
1
+ import { OnRunProps as OnRunProps$1 } from '@drincs/nqtr';
2
2
 
3
+ type OnRunProps = OnRunProps$1;
3
4
  /**
4
5
  * The function that is called when the class is runned.
5
6
  */
6
7
  type OnRunEvent<T> = (item: T, props: OnRunProps) => void;
7
8
 
8
- export type { OnRunEvent };
9
+ export type { OnRunEvent, OnRunProps };
@@ -1,8 +1,9 @@
1
- import { OnRunProps } from '@drincs/nqtr/dist/override';
1
+ import { OnRunProps as OnRunProps$1 } from '@drincs/nqtr';
2
2
 
3
+ type OnRunProps = OnRunProps$1;
3
4
  /**
4
5
  * The function that is called when the class is runned.
5
6
  */
6
7
  type OnRunEvent<T> = (item: T, props: OnRunProps) => void;
7
8
 
8
- export type { OnRunEvent };
9
+ export type { OnRunEvent, OnRunProps };
@@ -1,2 +1,2 @@
1
- export { a as QuestsRequiredType } from '../StageInterface-DmLgfrk4.mjs';
2
- import '@drincs/nqtr/dist/override';
1
+ export { a as QuestsRequiredType } from '../StageInterface-DJ7l0ubG.mjs';
2
+ import '@drincs/nqtr';
@@ -1,2 +1,2 @@
1
- export { a as QuestsRequiredType } from '../StageInterface-DmLgfrk4.js';
2
- import '@drincs/nqtr/dist/override';
1
+ export { a as QuestsRequiredType } from '../StageInterface-DJ7l0ubG.js';
2
+ import '@drincs/nqtr';
@@ -1,4 +1,5 @@
1
1
  export { default as ExecutionType } from './ExecutionType.mjs';
2
- export { a as QuestsRequiredType } from '../StageInterface-DmLgfrk4.mjs';
2
+ export { OnRunEvent, OnRunProps } from './OnRunEvent.mjs';
3
+ export { a as QuestsRequiredType } from '../StageInterface-DJ7l0ubG.mjs';
3
4
  export { ITimeStlot, TimeSettings } from './TimeSettings.mjs';
4
- import '@drincs/nqtr/dist/override';
5
+ import '@drincs/nqtr';
@@ -1,4 +1,5 @@
1
1
  export { default as ExecutionType } from './ExecutionType.js';
2
- export { a as QuestsRequiredType } from '../StageInterface-DmLgfrk4.js';
2
+ export { OnRunEvent, OnRunProps } from './OnRunEvent.js';
3
+ export { a as QuestsRequiredType } from '../StageInterface-DJ7l0ubG.js';
3
4
  export { ITimeStlot, TimeSettings } from './TimeSettings.js';
4
- import '@drincs/nqtr/dist/override';
5
+ import '@drincs/nqtr';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drincs/nqtr",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
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,7 +23,6 @@
23
23
  },
24
24
  "homepage": "https://github.com/DRincs-Productions/nqtr-pixi-vn#readme",
25
25
  "devDependencies": {
26
- "@drincs/nqtr": "^0.2.14",
27
26
  "jsdom": "^26.0.0",
28
27
  "ts-node": "^10.9.2",
29
28
  "tsup": "^8.3.5",
@@ -1,28 +0,0 @@
1
- interface ActivityInterface {
2
- /**
3
- * The name of the activity.
4
- */
5
- name: string;
6
- /**
7
- * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
8
- */
9
- get disabled(): boolean;
10
- /**
11
- * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
12
- */
13
- set disabled(value: boolean | string);
14
- /**
15
- * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
16
- */
17
- get hidden(): boolean;
18
- /**
19
- * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
20
- */
21
- set hidden(value: boolean | string);
22
- /**
23
- * The icon of the activity.
24
- */
25
- readonly icon: string | undefined;
26
- }
27
-
28
- export type { ActivityInterface as default };
@@ -1,28 +0,0 @@
1
- interface ActivityInterface {
2
- /**
3
- * The name of the activity.
4
- */
5
- name: string;
6
- /**
7
- * Whether is disabled. If it is a string, it is a Pixi'VN flag name.
8
- */
9
- get disabled(): boolean;
10
- /**
11
- * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
12
- */
13
- set disabled(value: boolean | string);
14
- /**
15
- * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
16
- */
17
- get hidden(): boolean;
18
- /**
19
- * Whether is hidden. If it is a string, it is a Pixi'VN flag name.
20
- */
21
- set hidden(value: boolean | string);
22
- /**
23
- * The icon of the activity.
24
- */
25
- readonly icon: string | undefined;
26
- }
27
-
28
- export type { ActivityInterface as default };
@@ -1,2 +0,0 @@
1
- 'use strict';//# sourceMappingURL=ActivityInterface.js.map
2
- //# sourceMappingURL=ActivityInterface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ActivityInterface.js"}
@@ -1,2 +0,0 @@
1
- //# sourceMappingURL=ActivityInterface.mjs.map
2
- //# sourceMappingURL=ActivityInterface.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"ActivityInterface.mjs"}
@@ -1,24 +0,0 @@
1
- interface CommitmentInterface {
2
- /**
3
- * The name of the commitment.
4
- */
5
- readonly name: string;
6
- /**
7
- * The image of the commitment.
8
- */
9
- readonly image: string;
10
- /**
11
- * The icon of the commitment.
12
- */
13
- readonly icon: string;
14
- /**
15
- * Whether is disabled. You can also pass a Pixi'VN flag name.
16
- */
17
- disabled: boolean;
18
- /**
19
- * Whether is hidden. You can also pass a Pixi'VN flag name.
20
- */
21
- hidden: boolean;
22
- }
23
-
24
- export type { CommitmentInterface as default };
@@ -1,24 +0,0 @@
1
- interface CommitmentInterface {
2
- /**
3
- * The name of the commitment.
4
- */
5
- readonly name: string;
6
- /**
7
- * The image of the commitment.
8
- */
9
- readonly image: string;
10
- /**
11
- * The icon of the commitment.
12
- */
13
- readonly icon: string;
14
- /**
15
- * Whether is disabled. You can also pass a Pixi'VN flag name.
16
- */
17
- disabled: boolean;
18
- /**
19
- * Whether is hidden. You can also pass a Pixi'VN flag name.
20
- */
21
- hidden: boolean;
22
- }
23
-
24
- export type { CommitmentInterface as default };
@@ -1,2 +0,0 @@
1
- 'use strict';//# sourceMappingURL=CommitmentInterface.js.map
2
- //# sourceMappingURL=CommitmentInterface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"CommitmentInterface.js"}
@@ -1,2 +0,0 @@
1
- //# sourceMappingURL=CommitmentInterface.mjs.map
2
- //# sourceMappingURL=CommitmentInterface.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"CommitmentInterface.mjs"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Grafic item type.
3
- * You can override this interface to add your own types.
4
- * @example
5
- * ```typescript
6
- * // nqtr.types.ts
7
- * declare module '@drincs/nqtr/dist/override' {
8
- * interface GraphicItemInterface {
9
- * morning: string,
10
- * afternoon: string,
11
- * evening: string
12
- * }
13
- * }
14
- * ```
15
- */
16
- interface GraphicItemInterface {
17
- }
18
-
19
- export type { GraphicItemInterface as default };
@@ -1,19 +0,0 @@
1
- /**
2
- * Grafic item type.
3
- * You can override this interface to add your own types.
4
- * @example
5
- * ```typescript
6
- * // nqtr.types.ts
7
- * declare module '@drincs/nqtr/dist/override' {
8
- * interface GraphicItemInterface {
9
- * morning: string,
10
- * afternoon: string,
11
- * evening: string
12
- * }
13
- * }
14
- * ```
15
- */
16
- interface GraphicItemInterface {
17
- }
18
-
19
- export type { GraphicItemInterface as default };
@@ -1,2 +0,0 @@
1
- 'use strict';//# sourceMappingURL=GraphicItemInterface.js.map
2
- //# sourceMappingURL=GraphicItemInterface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"GraphicItemInterface.js"}
@@ -1,2 +0,0 @@
1
- //# sourceMappingURL=GraphicItemInterface.mjs.map
2
- //# sourceMappingURL=GraphicItemInterface.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"GraphicItemInterface.mjs"}