@cratis/showrunner.notes 0.0.0-stage → 1.0.0

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 (250) hide show
  1. package/Availability/NotesAvailability.ts +59 -0
  2. package/Availability/index.ts +4 -0
  3. package/Contracts/Components/PickedComponent.ts +43 -0
  4. package/Contracts/Components/index.ts +4 -0
  5. package/Contracts/Context/NoteContext.ts +58 -0
  6. package/Contracts/Context/NoteDialog.ts +25 -0
  7. package/Contracts/Context/NoteScreen.ts +30 -0
  8. package/Contracts/Context/index.ts +6 -0
  9. package/Contracts/Giving/NoteKind.ts +14 -0
  10. package/Contracts/Giving/index.ts +4 -0
  11. package/Contracts/Reporting/SliceLocation.ts +30 -0
  12. package/Contracts/Reporting/index.ts +4 -0
  13. package/Giving/GiveNoteOnComponent/GiveNoteOnComponent.ts +146 -0
  14. package/Giving/GiveNoteOnComponent/index.ts +4 -0
  15. package/Giving/GiveNoteOnContext/GiveNoteOnContext.ts +126 -0
  16. package/Giving/GiveNoteOnContext/index.ts +4 -0
  17. package/Giving/GiveNoteOnScreen/GiveNoteOnScreen.ts +126 -0
  18. package/Giving/GiveNoteOnScreen/index.ts +4 -0
  19. package/Giving/GiveNoteOnSlices/GiveNoteOnSlices.ts +145 -0
  20. package/Giving/GiveNoteOnSlices/index.ts +4 -0
  21. package/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.ts +164 -0
  22. package/Giving/SuggestComponentPropertyChange/index.ts +4 -0
  23. package/Listing/MyNote.ts +303 -0
  24. package/Listing/NoteStatus.ts +15 -0
  25. package/Listing/NoteTarget.ts +14 -0
  26. package/Listing/SuggestedPropertyChange.ts +30 -0
  27. package/Listing/index.ts +7 -0
  28. package/Withdrawing/WithdrawNote/WithdrawNote.ts +61 -0
  29. package/Withdrawing/WithdrawNote/index.ts +4 -0
  30. package/dist/cjs/Availability/NotesAvailability.d.ts +21 -0
  31. package/dist/cjs/Availability/NotesAvailability.d.ts.map +1 -0
  32. package/dist/cjs/Availability/NotesAvailability.js +66 -0
  33. package/dist/cjs/Availability/NotesAvailability.js.map +1 -0
  34. package/dist/cjs/Availability/index.d.ts +2 -0
  35. package/dist/cjs/Availability/index.d.ts.map +1 -0
  36. package/dist/cjs/Contracts/Components/PickedComponent.d.ts +9 -0
  37. package/dist/cjs/Contracts/Components/PickedComponent.d.ts.map +1 -0
  38. package/dist/cjs/Contracts/Components/PickedComponent.js +65 -0
  39. package/dist/cjs/Contracts/Components/PickedComponent.js.map +1 -0
  40. package/dist/cjs/Contracts/Components/index.d.ts +2 -0
  41. package/dist/cjs/Contracts/Components/index.d.ts.map +1 -0
  42. package/dist/cjs/Contracts/Context/NoteContext.d.ts +14 -0
  43. package/dist/cjs/Contracts/Context/NoteContext.d.ts.map +1 -0
  44. package/dist/cjs/Contracts/Context/NoteContext.js +81 -0
  45. package/dist/cjs/Contracts/Context/NoteContext.js.map +1 -0
  46. package/dist/cjs/Contracts/Context/NoteDialog.d.ts +6 -0
  47. package/dist/cjs/Contracts/Context/NoteDialog.d.ts.map +1 -0
  48. package/dist/cjs/Contracts/Context/NoteDialog.js +44 -0
  49. package/dist/cjs/Contracts/Context/NoteDialog.js.map +1 -0
  50. package/dist/cjs/Contracts/Context/NoteScreen.d.ts +6 -0
  51. package/dist/cjs/Contracts/Context/NoteScreen.d.ts.map +1 -0
  52. package/dist/cjs/Contracts/Context/NoteScreen.js +50 -0
  53. package/dist/cjs/Contracts/Context/NoteScreen.js.map +1 -0
  54. package/dist/cjs/Contracts/Context/index.d.ts +4 -0
  55. package/dist/cjs/Contracts/Context/index.d.ts.map +1 -0
  56. package/dist/cjs/Contracts/Giving/NoteKind.d.ts +7 -0
  57. package/dist/cjs/Contracts/Giving/NoteKind.d.ts.map +1 -0
  58. package/dist/cjs/Contracts/Giving/NoteKind.js +18 -0
  59. package/dist/cjs/Contracts/Giving/NoteKind.js.map +1 -0
  60. package/dist/cjs/Contracts/Giving/index.d.ts +2 -0
  61. package/dist/cjs/Contracts/Giving/index.d.ts.map +1 -0
  62. package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts +6 -0
  63. package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts.map +1 -0
  64. package/dist/cjs/Contracts/Reporting/SliceLocation.js +50 -0
  65. package/dist/cjs/Contracts/Reporting/SliceLocation.js.map +1 -0
  66. package/dist/cjs/Contracts/Reporting/index.d.ts +2 -0
  67. package/dist/cjs/Contracts/Reporting/index.d.ts.map +1 -0
  68. package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts +40 -0
  69. package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts.map +1 -0
  70. package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js +101 -0
  71. package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js.map +1 -0
  72. package/dist/cjs/Giving/GiveNoteOnComponent/index.d.ts +2 -0
  73. package/dist/cjs/Giving/GiveNoteOnComponent/index.d.ts.map +1 -0
  74. package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts +36 -0
  75. package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts.map +1 -0
  76. package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.js +88 -0
  77. package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.js.map +1 -0
  78. package/dist/cjs/Giving/GiveNoteOnContext/index.d.ts +2 -0
  79. package/dist/cjs/Giving/GiveNoteOnContext/index.d.ts.map +1 -0
  80. package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts +36 -0
  81. package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts.map +1 -0
  82. package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js +88 -0
  83. package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js.map +1 -0
  84. package/dist/cjs/Giving/GiveNoteOnScreen/index.d.ts +2 -0
  85. package/dist/cjs/Giving/GiveNoteOnScreen/index.d.ts.map +1 -0
  86. package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts +40 -0
  87. package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts.map +1 -0
  88. package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js +100 -0
  89. package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js.map +1 -0
  90. package/dist/cjs/Giving/GiveNoteOnSlices/index.d.ts +2 -0
  91. package/dist/cjs/Giving/GiveNoteOnSlices/index.d.ts.map +1 -0
  92. package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts +42 -0
  93. package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts.map +1 -0
  94. package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js +113 -0
  95. package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js.map +1 -0
  96. package/dist/cjs/Giving/SuggestComponentPropertyChange/index.d.ts +2 -0
  97. package/dist/cjs/Giving/SuggestComponentPropertyChange/index.d.ts.map +1 -0
  98. package/dist/cjs/Listing/MyNote.d.ts +111 -0
  99. package/dist/cjs/Listing/MyNote.d.ts.map +1 -0
  100. package/dist/cjs/Listing/MyNote.js +315 -0
  101. package/dist/cjs/Listing/MyNote.js.map +1 -0
  102. package/dist/cjs/Listing/NoteStatus.d.ts +8 -0
  103. package/dist/cjs/Listing/NoteStatus.d.ts.map +1 -0
  104. package/dist/cjs/Listing/NoteStatus.js +19 -0
  105. package/dist/cjs/Listing/NoteStatus.js.map +1 -0
  106. package/dist/cjs/Listing/NoteTarget.d.ts +7 -0
  107. package/dist/cjs/Listing/NoteTarget.d.ts.map +1 -0
  108. package/dist/cjs/Listing/NoteTarget.js +18 -0
  109. package/dist/cjs/Listing/NoteTarget.js.map +1 -0
  110. package/dist/cjs/Listing/SuggestedPropertyChange.d.ts +6 -0
  111. package/dist/cjs/Listing/SuggestedPropertyChange.d.ts.map +1 -0
  112. package/dist/cjs/Listing/SuggestedPropertyChange.js +50 -0
  113. package/dist/cjs/Listing/SuggestedPropertyChange.js.map +1 -0
  114. package/dist/cjs/Listing/index.d.ts +5 -0
  115. package/dist/cjs/Listing/index.d.ts.map +1 -0
  116. package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.d.ts +21 -0
  117. package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.d.ts.map +1 -0
  118. package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.js +44 -0
  119. package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.js.map +1 -0
  120. package/dist/cjs/Withdrawing/WithdrawNote/index.d.ts +2 -0
  121. package/dist/cjs/Withdrawing/WithdrawNote/index.d.ts.map +1 -0
  122. package/dist/cjs/index.d.ts +13 -0
  123. package/dist/cjs/index.d.ts.map +1 -0
  124. package/dist/cjs/index.js +47 -0
  125. package/dist/cjs/index.js.map +1 -0
  126. package/dist/cjs/package.json +3 -0
  127. package/dist/esm/Availability/NotesAvailability.d.ts +21 -0
  128. package/dist/esm/Availability/NotesAvailability.d.ts.map +1 -0
  129. package/dist/esm/Availability/NotesAvailability.js +63 -0
  130. package/dist/esm/Availability/NotesAvailability.js.map +1 -0
  131. package/dist/esm/Availability/index.d.ts +2 -0
  132. package/dist/esm/Availability/index.d.ts.map +1 -0
  133. package/dist/esm/Availability/index.js +2 -0
  134. package/dist/esm/Availability/index.js.map +1 -0
  135. package/dist/esm/Contracts/Components/PickedComponent.d.ts +9 -0
  136. package/dist/esm/Contracts/Components/PickedComponent.d.ts.map +1 -0
  137. package/dist/esm/Contracts/Components/PickedComponent.js +63 -0
  138. package/dist/esm/Contracts/Components/PickedComponent.js.map +1 -0
  139. package/dist/esm/Contracts/Components/index.d.ts +2 -0
  140. package/dist/esm/Contracts/Components/index.d.ts.map +1 -0
  141. package/dist/esm/Contracts/Components/index.js +2 -0
  142. package/dist/esm/Contracts/Components/index.js.map +1 -0
  143. package/dist/esm/Contracts/Context/NoteContext.d.ts +14 -0
  144. package/dist/esm/Contracts/Context/NoteContext.d.ts.map +1 -0
  145. package/dist/esm/Contracts/Context/NoteContext.js +79 -0
  146. package/dist/esm/Contracts/Context/NoteContext.js.map +1 -0
  147. package/dist/esm/Contracts/Context/NoteDialog.d.ts +6 -0
  148. package/dist/esm/Contracts/Context/NoteDialog.d.ts.map +1 -0
  149. package/dist/esm/Contracts/Context/NoteDialog.js +42 -0
  150. package/dist/esm/Contracts/Context/NoteDialog.js.map +1 -0
  151. package/dist/esm/Contracts/Context/NoteScreen.d.ts +6 -0
  152. package/dist/esm/Contracts/Context/NoteScreen.d.ts.map +1 -0
  153. package/dist/esm/Contracts/Context/NoteScreen.js +48 -0
  154. package/dist/esm/Contracts/Context/NoteScreen.js.map +1 -0
  155. package/dist/esm/Contracts/Context/index.d.ts +4 -0
  156. package/dist/esm/Contracts/Context/index.d.ts.map +1 -0
  157. package/dist/esm/Contracts/Context/index.js +4 -0
  158. package/dist/esm/Contracts/Context/index.js.map +1 -0
  159. package/dist/esm/Contracts/Giving/NoteKind.d.ts +7 -0
  160. package/dist/esm/Contracts/Giving/NoteKind.d.ts.map +1 -0
  161. package/dist/esm/Contracts/Giving/NoteKind.js +16 -0
  162. package/dist/esm/Contracts/Giving/NoteKind.js.map +1 -0
  163. package/dist/esm/Contracts/Giving/index.d.ts +2 -0
  164. package/dist/esm/Contracts/Giving/index.d.ts.map +1 -0
  165. package/dist/esm/Contracts/Giving/index.js +2 -0
  166. package/dist/esm/Contracts/Giving/index.js.map +1 -0
  167. package/dist/esm/Contracts/Reporting/SliceLocation.d.ts +6 -0
  168. package/dist/esm/Contracts/Reporting/SliceLocation.d.ts.map +1 -0
  169. package/dist/esm/Contracts/Reporting/SliceLocation.js +48 -0
  170. package/dist/esm/Contracts/Reporting/SliceLocation.js.map +1 -0
  171. package/dist/esm/Contracts/Reporting/index.d.ts +2 -0
  172. package/dist/esm/Contracts/Reporting/index.d.ts.map +1 -0
  173. package/dist/esm/Contracts/Reporting/index.js +2 -0
  174. package/dist/esm/Contracts/Reporting/index.js.map +1 -0
  175. package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts +40 -0
  176. package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts.map +1 -0
  177. package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js +98 -0
  178. package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js.map +1 -0
  179. package/dist/esm/Giving/GiveNoteOnComponent/index.d.ts +2 -0
  180. package/dist/esm/Giving/GiveNoteOnComponent/index.d.ts.map +1 -0
  181. package/dist/esm/Giving/GiveNoteOnComponent/index.js +2 -0
  182. package/dist/esm/Giving/GiveNoteOnComponent/index.js.map +1 -0
  183. package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts +36 -0
  184. package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts.map +1 -0
  185. package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.js +85 -0
  186. package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.js.map +1 -0
  187. package/dist/esm/Giving/GiveNoteOnContext/index.d.ts +2 -0
  188. package/dist/esm/Giving/GiveNoteOnContext/index.d.ts.map +1 -0
  189. package/dist/esm/Giving/GiveNoteOnContext/index.js +2 -0
  190. package/dist/esm/Giving/GiveNoteOnContext/index.js.map +1 -0
  191. package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts +36 -0
  192. package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts.map +1 -0
  193. package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js +85 -0
  194. package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js.map +1 -0
  195. package/dist/esm/Giving/GiveNoteOnScreen/index.d.ts +2 -0
  196. package/dist/esm/Giving/GiveNoteOnScreen/index.d.ts.map +1 -0
  197. package/dist/esm/Giving/GiveNoteOnScreen/index.js +2 -0
  198. package/dist/esm/Giving/GiveNoteOnScreen/index.js.map +1 -0
  199. package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts +40 -0
  200. package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts.map +1 -0
  201. package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js +97 -0
  202. package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js.map +1 -0
  203. package/dist/esm/Giving/GiveNoteOnSlices/index.d.ts +2 -0
  204. package/dist/esm/Giving/GiveNoteOnSlices/index.d.ts.map +1 -0
  205. package/dist/esm/Giving/GiveNoteOnSlices/index.js +2 -0
  206. package/dist/esm/Giving/GiveNoteOnSlices/index.js.map +1 -0
  207. package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts +42 -0
  208. package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts.map +1 -0
  209. package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js +110 -0
  210. package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js.map +1 -0
  211. package/dist/esm/Giving/SuggestComponentPropertyChange/index.d.ts +2 -0
  212. package/dist/esm/Giving/SuggestComponentPropertyChange/index.d.ts.map +1 -0
  213. package/dist/esm/Giving/SuggestComponentPropertyChange/index.js +2 -0
  214. package/dist/esm/Giving/SuggestComponentPropertyChange/index.js.map +1 -0
  215. package/dist/esm/Listing/MyNote.d.ts +111 -0
  216. package/dist/esm/Listing/MyNote.d.ts.map +1 -0
  217. package/dist/esm/Listing/MyNote.js +312 -0
  218. package/dist/esm/Listing/MyNote.js.map +1 -0
  219. package/dist/esm/Listing/NoteStatus.d.ts +8 -0
  220. package/dist/esm/Listing/NoteStatus.d.ts.map +1 -0
  221. package/dist/esm/Listing/NoteStatus.js +17 -0
  222. package/dist/esm/Listing/NoteStatus.js.map +1 -0
  223. package/dist/esm/Listing/NoteTarget.d.ts +7 -0
  224. package/dist/esm/Listing/NoteTarget.d.ts.map +1 -0
  225. package/dist/esm/Listing/NoteTarget.js +16 -0
  226. package/dist/esm/Listing/NoteTarget.js.map +1 -0
  227. package/dist/esm/Listing/SuggestedPropertyChange.d.ts +6 -0
  228. package/dist/esm/Listing/SuggestedPropertyChange.d.ts.map +1 -0
  229. package/dist/esm/Listing/SuggestedPropertyChange.js +48 -0
  230. package/dist/esm/Listing/SuggestedPropertyChange.js.map +1 -0
  231. package/dist/esm/Listing/index.d.ts +5 -0
  232. package/dist/esm/Listing/index.d.ts.map +1 -0
  233. package/dist/esm/Listing/index.js +5 -0
  234. package/dist/esm/Listing/index.js.map +1 -0
  235. package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.d.ts +21 -0
  236. package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.d.ts.map +1 -0
  237. package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.js +42 -0
  238. package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.js.map +1 -0
  239. package/dist/esm/Withdrawing/WithdrawNote/index.d.ts +2 -0
  240. package/dist/esm/Withdrawing/WithdrawNote/index.d.ts.map +1 -0
  241. package/dist/esm/Withdrawing/WithdrawNote/index.js +2 -0
  242. package/dist/esm/Withdrawing/WithdrawNote/index.js.map +1 -0
  243. package/dist/esm/index.d.ts +13 -0
  244. package/dist/esm/index.d.ts.map +1 -0
  245. package/dist/esm/index.js +18 -0
  246. package/dist/esm/index.js.map +1 -0
  247. package/dist/esm/package.json +3 -0
  248. package/index.ts +15 -0
  249. package/package.json +70 -5
  250. package/README.md +0 -3
@@ -0,0 +1,312 @@
1
+ import { ObservableQueryFor, Paging, SortingActions, SortingActionsForObservableQuery } from '@cratis/arc/queries';
2
+ import { useObservableQuery, useObservableQueryWithPaging, useSuspenseObservableQuery, useSuspenseObservableQueryWithPaging, useChangeStream, ObservableQueryWhen } from '@cratis/arc.react/queries';
3
+ import { SliceLocation } from '@cratis/arc/reflection';
4
+ import { field, Guid } from '@cratis/fundamentals';
5
+ import { NoteKind } from '../Contracts/Giving/NoteKind.js';
6
+ import { NoteScreen } from '../Contracts/Context/NoteScreen.js';
7
+ import { NoteStatus } from './NoteStatus.js';
8
+ import { NoteTarget } from './NoteTarget.js';
9
+ import { SliceLocation as SliceLocation$1 } from '../Contracts/Reporting/SliceLocation.js';
10
+ import { SuggestedPropertyChange } from './SuggestedPropertyChange.js';
11
+
12
+ function _ts_decorate(decorators, target, key, desc) {
13
+ var c = arguments.length, r = c < 3 ? target : desc, d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
15
+ r = Reflect.decorate(decorators, target, key, desc);
16
+ } else {
17
+ for(var i = decorators.length - 1; i >= 0; i--){
18
+ if (d = decorators[i]) {
19
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
20
+ }
21
+ }
22
+ }
23
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
24
+ }
25
+ function _ts_metadata(metadataKey, metadataValue) {
26
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
27
+ return Reflect.metadata(metadataKey, metadataValue);
28
+ }
29
+ }
30
+ class MyNotesSortBy {
31
+ query;
32
+ _component;
33
+ _givenAt;
34
+ _givenBy;
35
+ _id;
36
+ _kind;
37
+ _lastActivityAt;
38
+ _location;
39
+ _propertyChanges;
40
+ _screen;
41
+ _slices;
42
+ _status;
43
+ _statusDetail;
44
+ _target;
45
+ _text;
46
+ constructor(query){
47
+ this.query = query;
48
+ this._component = new SortingActionsForObservableQuery('component', query);
49
+ this._givenAt = new SortingActionsForObservableQuery('givenAt', query);
50
+ this._givenBy = new SortingActionsForObservableQuery('givenBy', query);
51
+ this._id = new SortingActionsForObservableQuery('id', query);
52
+ this._kind = new SortingActionsForObservableQuery('kind', query);
53
+ this._lastActivityAt = new SortingActionsForObservableQuery('lastActivityAt', query);
54
+ this._location = new SortingActionsForObservableQuery('location', query);
55
+ this._propertyChanges = new SortingActionsForObservableQuery('propertyChanges', query);
56
+ this._screen = new SortingActionsForObservableQuery('screen', query);
57
+ this._slices = new SortingActionsForObservableQuery('slices', query);
58
+ this._status = new SortingActionsForObservableQuery('status', query);
59
+ this._statusDetail = new SortingActionsForObservableQuery('statusDetail', query);
60
+ this._target = new SortingActionsForObservableQuery('target', query);
61
+ this._text = new SortingActionsForObservableQuery('text', query);
62
+ }
63
+ get component() {
64
+ return this._component;
65
+ }
66
+ get givenAt() {
67
+ return this._givenAt;
68
+ }
69
+ get givenBy() {
70
+ return this._givenBy;
71
+ }
72
+ get id() {
73
+ return this._id;
74
+ }
75
+ get kind() {
76
+ return this._kind;
77
+ }
78
+ get lastActivityAt() {
79
+ return this._lastActivityAt;
80
+ }
81
+ get location() {
82
+ return this._location;
83
+ }
84
+ get propertyChanges() {
85
+ return this._propertyChanges;
86
+ }
87
+ get screen() {
88
+ return this._screen;
89
+ }
90
+ get slices() {
91
+ return this._slices;
92
+ }
93
+ get status() {
94
+ return this._status;
95
+ }
96
+ get statusDetail() {
97
+ return this._statusDetail;
98
+ }
99
+ get target() {
100
+ return this._target;
101
+ }
102
+ get text() {
103
+ return this._text;
104
+ }
105
+ }
106
+ class MyNotesSortByWithoutQuery {
107
+ _component = new SortingActions('component');
108
+ _givenAt = new SortingActions('givenAt');
109
+ _givenBy = new SortingActions('givenBy');
110
+ _id = new SortingActions('id');
111
+ _kind = new SortingActions('kind');
112
+ _lastActivityAt = new SortingActions('lastActivityAt');
113
+ _location = new SortingActions('location');
114
+ _propertyChanges = new SortingActions('propertyChanges');
115
+ _screen = new SortingActions('screen');
116
+ _slices = new SortingActions('slices');
117
+ _status = new SortingActions('status');
118
+ _statusDetail = new SortingActions('statusDetail');
119
+ _target = new SortingActions('target');
120
+ _text = new SortingActions('text');
121
+ get component() {
122
+ return this._component;
123
+ }
124
+ get givenAt() {
125
+ return this._givenAt;
126
+ }
127
+ get givenBy() {
128
+ return this._givenBy;
129
+ }
130
+ get id() {
131
+ return this._id;
132
+ }
133
+ get kind() {
134
+ return this._kind;
135
+ }
136
+ get lastActivityAt() {
137
+ return this._lastActivityAt;
138
+ }
139
+ get location() {
140
+ return this._location;
141
+ }
142
+ get propertyChanges() {
143
+ return this._propertyChanges;
144
+ }
145
+ get screen() {
146
+ return this._screen;
147
+ }
148
+ get slices() {
149
+ return this._slices;
150
+ }
151
+ get status() {
152
+ return this._status;
153
+ }
154
+ get statusDetail() {
155
+ return this._statusDetail;
156
+ }
157
+ get target() {
158
+ return this._target;
159
+ }
160
+ get text() {
161
+ return this._text;
162
+ }
163
+ }
164
+ /**
165
+ * Observes the notes the signed-in user gave, in the current tenant, most recent activity first.
166
+ */ class MyNotes extends ObservableQueryFor {
167
+ static sliceLocation = new SliceLocation('', '', 'Listing');
168
+ route = '/api/listing/my-notes';
169
+ queryName = 'Cratis.Showrunner.Notes.Listing.MyNote.MyNotes';
170
+ treatWarningsAsErrors = false;
171
+ roles = [];
172
+ defaultValue = [];
173
+ _sortBy;
174
+ static _sortBy = new MyNotesSortByWithoutQuery();
175
+ constructor(){
176
+ super(MyNote, true);
177
+ this._sortBy = new MyNotesSortBy(this);
178
+ }
179
+ get requiredRequestParameters() {
180
+ return [];
181
+ }
182
+ parameterDescriptors = [];
183
+ get sortBy() {
184
+ return this._sortBy;
185
+ }
186
+ static get sortBy() {
187
+ return this._sortBy;
188
+ }
189
+ static use(sorting) {
190
+ return useObservableQuery(MyNotes, undefined, sorting);
191
+ }
192
+ static useWithPaging(pageSize, sorting) {
193
+ return useObservableQueryWithPaging(MyNotes, new Paging(0, pageSize), undefined, sorting);
194
+ }
195
+ static useSuspense(sorting) {
196
+ return useSuspenseObservableQuery(MyNotes, undefined, sorting);
197
+ }
198
+ static useSuspenseWithPaging(pageSize, sorting) {
199
+ return useSuspenseObservableQueryWithPaging(MyNotes, new Paging(0, pageSize), undefined, sorting);
200
+ }
201
+ static useChangeStream(getKey, sorting) {
202
+ return useChangeStream(MyNotes, undefined, getKey, sorting);
203
+ }
204
+ static when(condition) {
205
+ return new ObservableQueryWhen(MyNotes, condition);
206
+ }
207
+ }
208
+ /**
209
+ * One of the user's notes, as the list of their notes shows it, with where it is: given, acknowledged, addressed, declined or withdrawn.
210
+ */ class MyNote {
211
+ /**
212
+ * The note.
213
+ */ id;
214
+ /**
215
+ * Who gave the note.
216
+ */ givenBy;
217
+ /**
218
+ * What the note is about.
219
+ */ target;
220
+ /**
221
+ * What kind of feedback it is.
222
+ */ kind;
223
+ /**
224
+ * What the giver wrote; empty on a note that has suggested property changes only.
225
+ */ text;
226
+ /**
227
+ * Where in the application the giver was.
228
+ */ location;
229
+ /**
230
+ * The screen the giver was on.
231
+ */ screen;
232
+ /**
233
+ * The slices the giver picked; empty unless the note is about slices.
234
+ */ slices;
235
+ /**
236
+ * The name of the component the giver picked; {@link NotSet} unless the note is about a component.
237
+ */ component;
238
+ /**
239
+ * The property changes the giver suggested.
240
+ */ propertyChanges;
241
+ /**
242
+ * Where the note is.
243
+ */ status;
244
+ /**
245
+ * The version that addresses the note or why it is declined; empty otherwise.
246
+ */ statusDetail;
247
+ /**
248
+ * When the giver gave it.
249
+ */ givenAt;
250
+ /**
251
+ * When anything last happened on it.
252
+ */ lastActivityAt;
253
+ }
254
+ _ts_decorate([
255
+ field(Guid),
256
+ _ts_metadata("design:type", typeof Guid === "undefined" ? Object : Guid)
257
+ ], MyNote.prototype, "id", void 0);
258
+ _ts_decorate([
259
+ field(String),
260
+ _ts_metadata("design:type", String)
261
+ ], MyNote.prototype, "givenBy", void 0);
262
+ _ts_decorate([
263
+ field(Number),
264
+ _ts_metadata("design:type", typeof NoteTarget === "undefined" ? Object : NoteTarget)
265
+ ], MyNote.prototype, "target", void 0);
266
+ _ts_decorate([
267
+ field(Number),
268
+ _ts_metadata("design:type", typeof NoteKind === "undefined" ? Object : NoteKind)
269
+ ], MyNote.prototype, "kind", void 0);
270
+ _ts_decorate([
271
+ field(String),
272
+ _ts_metadata("design:type", String)
273
+ ], MyNote.prototype, "text", void 0);
274
+ _ts_decorate([
275
+ field(SliceLocation$1),
276
+ _ts_metadata("design:type", typeof SliceLocation$1 === "undefined" ? Object : SliceLocation$1)
277
+ ], MyNote.prototype, "location", void 0);
278
+ _ts_decorate([
279
+ field(NoteScreen),
280
+ _ts_metadata("design:type", typeof NoteScreen === "undefined" ? Object : NoteScreen)
281
+ ], MyNote.prototype, "screen", void 0);
282
+ _ts_decorate([
283
+ field(SliceLocation$1, true),
284
+ _ts_metadata("design:type", Array)
285
+ ], MyNote.prototype, "slices", void 0);
286
+ _ts_decorate([
287
+ field(String),
288
+ _ts_metadata("design:type", String)
289
+ ], MyNote.prototype, "component", void 0);
290
+ _ts_decorate([
291
+ field(SuggestedPropertyChange, true),
292
+ _ts_metadata("design:type", Array)
293
+ ], MyNote.prototype, "propertyChanges", void 0);
294
+ _ts_decorate([
295
+ field(Number),
296
+ _ts_metadata("design:type", typeof NoteStatus === "undefined" ? Object : NoteStatus)
297
+ ], MyNote.prototype, "status", void 0);
298
+ _ts_decorate([
299
+ field(String),
300
+ _ts_metadata("design:type", String)
301
+ ], MyNote.prototype, "statusDetail", void 0);
302
+ _ts_decorate([
303
+ field(Date),
304
+ _ts_metadata("design:type", typeof Date === "undefined" ? Object : Date)
305
+ ], MyNote.prototype, "givenAt", void 0);
306
+ _ts_decorate([
307
+ field(Date),
308
+ _ts_metadata("design:type", typeof Date === "undefined" ? Object : Date)
309
+ ], MyNote.prototype, "lastActivityAt", void 0);
310
+
311
+ export { MyNote, MyNotes };
312
+ //# sourceMappingURL=MyNote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyNote.js","sources":["../../../Listing/MyNote.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.Notes.Listing.MyNote, Cratis.Showrunner.Notes.Listing.MyNote. Time: 2026-11-01T11:55:12.6707473Z. Hash: 53DA8F14A2D0432B6BEC55A2F1B97626D62BEC349F30D0775C0AF36A4B481266\nimport { ChangeSet, ObservableQueryFor, Paging, QueryResultWithState, Sorting, SortingActions, SortingActionsForObservableQuery } from '@cratis/arc/queries';\nimport { ObservableQueryWhen, SetPage, SetPageSize, SetSorting, useChangeStream, useObservableQuery, useObservableQueryWithPaging, useSuspenseObservableQuery, useSuspenseObservableQueryWithPaging } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { Guid, field } from '@cratis/fundamentals';\nimport { NoteKind } from '../Contracts/Giving/NoteKind';\nimport { NoteScreen } from '../Contracts/Context/NoteScreen';\nimport { NoteStatus } from './NoteStatus';\nimport { NoteTarget } from './NoteTarget';\nimport { SliceLocation } from '../Contracts/Reporting/SliceLocation';\nimport { SuggestedPropertyChange } from './SuggestedPropertyChange';\n\nclass MyNotesSortBy {\n private _component: SortingActionsForObservableQuery<MyNote[]>;\n private _givenAt: SortingActionsForObservableQuery<MyNote[]>;\n private _givenBy: SortingActionsForObservableQuery<MyNote[]>;\n private _id: SortingActionsForObservableQuery<MyNote[]>;\n private _kind: SortingActionsForObservableQuery<MyNote[]>;\n private _lastActivityAt: SortingActionsForObservableQuery<MyNote[]>;\n private _location: SortingActionsForObservableQuery<MyNote[]>;\n private _propertyChanges: SortingActionsForObservableQuery<MyNote[]>;\n private _screen: SortingActionsForObservableQuery<MyNote[]>;\n private _slices: SortingActionsForObservableQuery<MyNote[]>;\n private _status: SortingActionsForObservableQuery<MyNote[]>;\n private _statusDetail: SortingActionsForObservableQuery<MyNote[]>;\n private _target: SortingActionsForObservableQuery<MyNote[]>;\n private _text: SortingActionsForObservableQuery<MyNote[]>;\n\n constructor(readonly query: MyNotes) {\n this._component = new SortingActionsForObservableQuery<MyNote[]>('component', query);\n this._givenAt = new SortingActionsForObservableQuery<MyNote[]>('givenAt', query);\n this._givenBy = new SortingActionsForObservableQuery<MyNote[]>('givenBy', query);\n this._id = new SortingActionsForObservableQuery<MyNote[]>('id', query);\n this._kind = new SortingActionsForObservableQuery<MyNote[]>('kind', query);\n this._lastActivityAt = new SortingActionsForObservableQuery<MyNote[]>('lastActivityAt', query);\n this._location = new SortingActionsForObservableQuery<MyNote[]>('location', query);\n this._propertyChanges = new SortingActionsForObservableQuery<MyNote[]>('propertyChanges', query);\n this._screen = new SortingActionsForObservableQuery<MyNote[]>('screen', query);\n this._slices = new SortingActionsForObservableQuery<MyNote[]>('slices', query);\n this._status = new SortingActionsForObservableQuery<MyNote[]>('status', query);\n this._statusDetail = new SortingActionsForObservableQuery<MyNote[]>('statusDetail', query);\n this._target = new SortingActionsForObservableQuery<MyNote[]>('target', query);\n this._text = new SortingActionsForObservableQuery<MyNote[]>('text', query);\n }\n\n get component(): SortingActionsForObservableQuery<MyNote[]> {\n return this._component;\n }\n get givenAt(): SortingActionsForObservableQuery<MyNote[]> {\n return this._givenAt;\n }\n get givenBy(): SortingActionsForObservableQuery<MyNote[]> {\n return this._givenBy;\n }\n get id(): SortingActionsForObservableQuery<MyNote[]> {\n return this._id;\n }\n get kind(): SortingActionsForObservableQuery<MyNote[]> {\n return this._kind;\n }\n get lastActivityAt(): SortingActionsForObservableQuery<MyNote[]> {\n return this._lastActivityAt;\n }\n get location(): SortingActionsForObservableQuery<MyNote[]> {\n return this._location;\n }\n get propertyChanges(): SortingActionsForObservableQuery<MyNote[]> {\n return this._propertyChanges;\n }\n get screen(): SortingActionsForObservableQuery<MyNote[]> {\n return this._screen;\n }\n get slices(): SortingActionsForObservableQuery<MyNote[]> {\n return this._slices;\n }\n get status(): SortingActionsForObservableQuery<MyNote[]> {\n return this._status;\n }\n get statusDetail(): SortingActionsForObservableQuery<MyNote[]> {\n return this._statusDetail;\n }\n get target(): SortingActionsForObservableQuery<MyNote[]> {\n return this._target;\n }\n get text(): SortingActionsForObservableQuery<MyNote[]> {\n return this._text;\n }\n}\n\nclass MyNotesSortByWithoutQuery {\n private _component: SortingActions = new SortingActions('component');\n private _givenAt: SortingActions = new SortingActions('givenAt');\n private _givenBy: SortingActions = new SortingActions('givenBy');\n private _id: SortingActions = new SortingActions('id');\n private _kind: SortingActions = new SortingActions('kind');\n private _lastActivityAt: SortingActions = new SortingActions('lastActivityAt');\n private _location: SortingActions = new SortingActions('location');\n private _propertyChanges: SortingActions = new SortingActions('propertyChanges');\n private _screen: SortingActions = new SortingActions('screen');\n private _slices: SortingActions = new SortingActions('slices');\n private _status: SortingActions = new SortingActions('status');\n private _statusDetail: SortingActions = new SortingActions('statusDetail');\n private _target: SortingActions = new SortingActions('target');\n private _text: SortingActions = new SortingActions('text');\n\n get component(): SortingActions {\n return this._component;\n }\n get givenAt(): SortingActions {\n return this._givenAt;\n }\n get givenBy(): SortingActions {\n return this._givenBy;\n }\n get id(): SortingActions {\n return this._id;\n }\n get kind(): SortingActions {\n return this._kind;\n }\n get lastActivityAt(): SortingActions {\n return this._lastActivityAt;\n }\n get location(): SortingActions {\n return this._location;\n }\n get propertyChanges(): SortingActions {\n return this._propertyChanges;\n }\n get screen(): SortingActions {\n return this._screen;\n }\n get slices(): SortingActions {\n return this._slices;\n }\n get status(): SortingActions {\n return this._status;\n }\n get statusDetail(): SortingActions {\n return this._statusDetail;\n }\n get target(): SortingActions {\n return this._target;\n }\n get text(): SortingActions {\n return this._text;\n }\n}\n\n\n/**\n * Observes the notes the signed-in user gave, in the current tenant, most recent activity first.\n */\nexport class MyNotes extends ObservableQueryFor<MyNote[]> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Listing');\n readonly route: string = '/api/listing/my-notes';\n readonly queryName: string = 'Cratis.Showrunner.Notes.Listing.MyNote.MyNotes';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: MyNote[] = [];\n private readonly _sortBy: MyNotesSortBy;\n private static readonly _sortBy: MyNotesSortByWithoutQuery = new MyNotesSortByWithoutQuery();\n\n constructor() {\n super(MyNote, true);\n this._sortBy = new MyNotesSortBy(this);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n get sortBy(): MyNotesSortBy {\n return this._sortBy;\n }\n\n static get sortBy(): MyNotesSortByWithoutQuery {\n return this._sortBy;\n }\n\n static use(sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting] {\n return useObservableQuery<MyNote[], MyNotes>(MyNotes, undefined, sorting);\n }\n\n static useWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting, SetPage, SetPageSize] {\n return useObservableQueryWithPaging<MyNote[], MyNotes>(MyNotes, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useSuspense(sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting] {\n return useSuspenseObservableQuery<MyNote[], MyNotes>(MyNotes, undefined, sorting);\n }\n\n static useSuspenseWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting, SetPage, SetPageSize] {\n return useSuspenseObservableQueryWithPaging<MyNote[], MyNotes>(MyNotes, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useChangeStream(getKey?: (item: MyNote) => unknown, sorting?: Sorting): ChangeSet<MyNote> {\n return useChangeStream<MyNote, MyNotes>(MyNotes, undefined, getKey, sorting);\n }\n\n static when(condition: boolean): ObservableQueryWhen<MyNotes, MyNote[]> {\n return new ObservableQueryWhen<MyNotes, MyNote[]>(MyNotes, condition);\n }\n}\n\n/**\n * One of the user's notes, as the list of their notes shows it, with where it is: given, acknowledged, addressed, declined or withdrawn.\n */\nexport class MyNote {\n\n /**\n * The note.\n */\n @field(Guid)\n id!: Guid;\n\n /**\n * Who gave the note.\n */\n @field(String)\n givenBy!: string;\n\n /**\n * What the note is about.\n */\n @field(Number)\n target!: NoteTarget;\n\n /**\n * What kind of feedback it is.\n */\n @field(Number)\n kind!: NoteKind;\n\n /**\n * What the giver wrote; empty on a note that has suggested property changes only.\n */\n @field(String)\n text!: string;\n\n /**\n * Where in the application the giver was.\n */\n @field(SliceLocation)\n location!: SliceLocation;\n\n /**\n * The screen the giver was on.\n */\n @field(NoteScreen)\n screen!: NoteScreen;\n\n /**\n * The slices the giver picked; empty unless the note is about slices.\n */\n @field(SliceLocation, true)\n slices!: SliceLocation[];\n\n /**\n * The name of the component the giver picked; {@link NotSet} unless the note is about a component.\n */\n @field(String)\n component!: string;\n\n /**\n * The property changes the giver suggested.\n */\n @field(SuggestedPropertyChange, true)\n propertyChanges!: SuggestedPropertyChange[];\n\n /**\n * Where the note is.\n */\n @field(Number)\n status!: NoteStatus;\n\n /**\n * The version that addresses the note or why it is declined; empty otherwise.\n */\n @field(String)\n statusDetail!: string;\n\n /**\n * When the giver gave it.\n */\n @field(Date)\n givenAt!: Date;\n\n /**\n * When anything last happened on it.\n */\n @field(Date)\n lastActivityAt!: Date;\n}\n"],"names":["MyNotesSortBy","_component","_givenAt","_givenBy","_id","_kind","_lastActivityAt","_location","_propertyChanges","_screen","_slices","_status","_statusDetail","_target","_text","query","SortingActionsForObservableQuery","component","givenAt","givenBy","id","kind","lastActivityAt","location","propertyChanges","screen","slices","status","statusDetail","target","text","MyNotesSortByWithoutQuery","SortingActions","MyNotes","ObservableQueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","_sortBy","MyNote","requiredRequestParameters","parameterDescriptors","sortBy","use","sorting","useObservableQuery","undefined","useWithPaging","pageSize","useObservableQueryWithPaging","Paging","useSuspense","useSuspenseObservableQuery","useSuspenseWithPaging","useSuspenseObservableQueryWithPaging","useChangeStream","getKey","when","condition","ObservableQueryWhen"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,aAAAA,CAAAA;;IACMC,UAAAA;IACAC,QAAAA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A;;AAEC,QACD,QACAP;AAEA;;AAEC,QACD,MACAE;AAEA;;AAEC,QACD,MACAC;AAEA;;AAEC,QACD,SACAT;AAEA;;AAEC,QACD,eACAO;AAEA;;AAEC,QACD,MACAG;AAEA;;AAEC,QACD,YACAC;AAEA;;AAEC,QACD,OACAV;AAEA;;AAEC,QACD,cACAI;AACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ export declare enum NoteStatus {
2
+ given = 0,
3
+ acknowledged = 1,
4
+ addressed = 2,
5
+ declined = 3,
6
+ withdrawn = 4
7
+ }
8
+ //# sourceMappingURL=NoteStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoteStatus.d.ts","sourceRoot":"","sources":["../../../Listing/NoteStatus.ts"],"names":[],"mappings":"AAQA,oBAAY,UAAU;IAClB,KAAK,IAAI;IACT,YAAY,IAAI;IAChB,SAAS,IAAI;IACb,QAAQ,IAAI;IACZ,SAAS,IAAI;CAChB"}
@@ -0,0 +1,17 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ // **DO NOT EDIT** - This file is an automatically generated file.
4
+ // @generated by Cratis. Source: Cratis.Showrunner.Notes.Listing.NoteStatus. Time: 2026-11-01T11:55:12.6707473Z. Hash: 8A4EB1CDFDCC33226EDCA2C905DF131D826F8B88D67FAA027E76B9CEBAF7BB0B
5
+ /**
6
+ * Where a note is, as the giver sees it.
7
+ */ var NoteStatus = /*#__PURE__*/ function(NoteStatus) {
8
+ NoteStatus[NoteStatus["given"] = 0] = "given";
9
+ NoteStatus[NoteStatus["acknowledged"] = 1] = "acknowledged";
10
+ NoteStatus[NoteStatus["addressed"] = 2] = "addressed";
11
+ NoteStatus[NoteStatus["declined"] = 3] = "declined";
12
+ NoteStatus[NoteStatus["withdrawn"] = 4] = "withdrawn";
13
+ return NoteStatus;
14
+ }({});
15
+
16
+ export { NoteStatus };
17
+ //# sourceMappingURL=NoteStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoteStatus.js","sources":["../../../Listing/NoteStatus.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.Notes.Listing.NoteStatus. Time: 2026-11-01T11:55:12.6707473Z. Hash: 8A4EB1CDFDCC33226EDCA2C905DF131D826F8B88D67FAA027E76B9CEBAF7BB0B\n/**\n * Where a note is, as the giver sees it.\n */\nexport enum NoteStatus {\n given = 0,\n acknowledged = 1,\n addressed = 2,\n declined = 3,\n withdrawn = 4,\n}\n"],"names":["NoteStatus"],"mappings":"AAAA;AACA;AAEA;AACA;AACA;;IAGO,IAAKA,UAAAA,iBAAAA,SAAAA,UAAAA,EAAAA;AACA,IAAA,UAAA,CAAA,UAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AACO,IAAA,UAAA,CAAA,UAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAA;AACH,IAAA,UAAA,CAAA,UAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAA;AACD,IAAA,UAAA,CAAA,UAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAA;AACC,IAAA,UAAA,CAAA,UAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAA;AALJA,IAAAA,OAAAA,UAAAA;AAMX,CAAA,CAAA,EAAA;;"}
@@ -0,0 +1,7 @@
1
+ export declare enum NoteTarget {
2
+ context = 0,
3
+ slices = 1,
4
+ screen = 2,
5
+ component = 3
6
+ }
7
+ //# sourceMappingURL=NoteTarget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoteTarget.d.ts","sourceRoot":"","sources":["../../../Listing/NoteTarget.ts"],"names":[],"mappings":"AAQA,oBAAY,UAAU;IAClB,OAAO,IAAI;IACX,MAAM,IAAI;IACV,MAAM,IAAI;IACV,SAAS,IAAI;CAChB"}
@@ -0,0 +1,16 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ // **DO NOT EDIT** - This file is an automatically generated file.
4
+ // @generated by Cratis. Source: Cratis.Showrunner.Notes.Listing.NoteTarget. Time: 2026-11-01T11:55:12.6707473Z. Hash: D3CEBE50C47D6F88D67A3005BEFAB6B0794F6B872FB64C0108B8B94B3B5B4585
5
+ /**
6
+ * What a note is about.
7
+ */ var NoteTarget = /*#__PURE__*/ function(NoteTarget) {
8
+ NoteTarget[NoteTarget["context"] = 0] = "context";
9
+ NoteTarget[NoteTarget["slices"] = 1] = "slices";
10
+ NoteTarget[NoteTarget["screen"] = 2] = "screen";
11
+ NoteTarget[NoteTarget["component"] = 3] = "component";
12
+ return NoteTarget;
13
+ }({});
14
+
15
+ export { NoteTarget };
16
+ //# sourceMappingURL=NoteTarget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoteTarget.js","sources":["../../../Listing/NoteTarget.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.Notes.Listing.NoteTarget. Time: 2026-11-01T11:55:12.6707473Z. Hash: D3CEBE50C47D6F88D67A3005BEFAB6B0794F6B872FB64C0108B8B94B3B5B4585\n/**\n * What a note is about.\n */\nexport enum NoteTarget {\n context = 0,\n slices = 1,\n screen = 2,\n component = 3,\n}\n"],"names":["NoteTarget"],"mappings":"AAAA;AACA;AAEA;AACA;AACA;;IAGO,IAAKA,UAAAA,iBAAAA,SAAAA,UAAAA,EAAAA;AACE,IAAA,UAAA,CAAA,UAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AACD,IAAA,UAAA,CAAA,UAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA;AACA,IAAA,UAAA,CAAA,UAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA;AACG,IAAA,UAAA,CAAA,UAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAA;AAJJA,IAAAA,OAAAA,UAAAA;AAKX,CAAA,CAAA,EAAA;;"}
@@ -0,0 +1,6 @@
1
+ export declare class SuggestedPropertyChange {
2
+ property: string;
3
+ currentValue: string;
4
+ suggestedValue: string;
5
+ }
6
+ //# sourceMappingURL=SuggestedPropertyChange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuggestedPropertyChange.d.ts","sourceRoot":"","sources":["../../../Listing/SuggestedPropertyChange.ts"],"names":[],"mappings":"AAUA,qBAAa,uBAAuB;IAMhC,QAAQ,EAAG,MAAM,CAAC;IAMlB,YAAY,EAAG,MAAM,CAAC;IAMtB,cAAc,EAAG,MAAM,CAAC;CAC3B"}
@@ -0,0 +1,48 @@
1
+ import { field } from '@cratis/fundamentals';
2
+
3
+ function _ts_decorate(decorators, target, key, desc) {
4
+ var c = arguments.length, r = c < 3 ? target : desc, d;
5
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
6
+ r = Reflect.decorate(decorators, target, key, desc);
7
+ } else {
8
+ for(var i = decorators.length - 1; i >= 0; i--){
9
+ if (d = decorators[i]) {
10
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
11
+ }
12
+ }
13
+ }
14
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
15
+ }
16
+ function _ts_metadata(metadataKey, metadataValue) {
17
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
18
+ return Reflect.metadata(metadataKey, metadataValue);
19
+ }
20
+ }
21
+ /**
22
+ * A presentation property change the giver suggested on a note.
23
+ */ class SuggestedPropertyChange {
24
+ /**
25
+ * The property.
26
+ */ property;
27
+ /**
28
+ * The value it has.
29
+ */ currentValue;
30
+ /**
31
+ * The value the giver suggests.
32
+ */ suggestedValue;
33
+ }
34
+ _ts_decorate([
35
+ field(String),
36
+ _ts_metadata("design:type", String)
37
+ ], SuggestedPropertyChange.prototype, "property", void 0);
38
+ _ts_decorate([
39
+ field(String),
40
+ _ts_metadata("design:type", String)
41
+ ], SuggestedPropertyChange.prototype, "currentValue", void 0);
42
+ _ts_decorate([
43
+ field(String),
44
+ _ts_metadata("design:type", String)
45
+ ], SuggestedPropertyChange.prototype, "suggestedValue", void 0);
46
+
47
+ export { SuggestedPropertyChange };
48
+ //# sourceMappingURL=SuggestedPropertyChange.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuggestedPropertyChange.js","sources":["../../../Listing/SuggestedPropertyChange.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.Notes.Listing.SuggestedPropertyChange. Time: 2026-11-01T11:55:12.6707473Z. Hash: 12DABFA7B05F41B5A25C6FEB38D618AC0FFF2E30C1C4637FD08A8E4212F95C5E\nimport { field } from '@cratis/fundamentals';\n\n/**\n * A presentation property change the giver suggested on a note.\n */\nexport class SuggestedPropertyChange {\n\n /**\n * The property.\n */\n @field(String)\n property!: string;\n\n /**\n * The value it has.\n */\n @field(String)\n currentValue!: string;\n\n /**\n * The value the giver suggests.\n */\n @field(String)\n suggestedValue!: string;\n}\n"],"names":["SuggestedPropertyChange","property","currentValue","suggestedValue"],"mappings":";;;;;;;;;;;;;;;;;;;;AAOA;;AAEC,IACM,MAAMA,uBAAAA,CAAAA;AAET;;AAEC,QACD,QACAC;AAEA;;AAEC,QACD,YACAC;AAEA;;AAEC,QACD,cACAC;AACJ;;;;;;;;;;;;;;"}
@@ -0,0 +1,5 @@
1
+ export * from './MyNote';
2
+ export * from './NoteStatus';
3
+ export * from './NoteTarget';
4
+ export * from './SuggestedPropertyChange';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Listing/index.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './MyNote';
2
+ export * from './NoteStatus';
3
+ export * from './NoteTarget';
4
+ export * from './SuggestedPropertyChange';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Listing/index.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { Command } from '@cratis/arc/commands';
2
+ import { ClearCommandValues, SetCommandValues } from '@cratis/arc.react/commands';
3
+ import { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
4
+ import { Guid } from '@cratis/fundamentals';
5
+ export interface IWithdrawNote {
6
+ noteId?: Guid;
7
+ }
8
+ export declare class WithdrawNote extends Command<IWithdrawNote> implements IWithdrawNote {
9
+ #private;
10
+ static readonly sliceLocation: ArcSliceLocation;
11
+ readonly route: string;
12
+ readonly treatWarningsAsErrors: boolean;
13
+ readonly roles: string[];
14
+ readonly propertyDescriptors: PropertyDescriptor[];
15
+ constructor();
16
+ get requestParameters(): string[];
17
+ get noteId(): Guid;
18
+ set noteId(value: Guid);
19
+ static use(initialValues?: IWithdrawNote): [WithdrawNote, SetCommandValues<IWithdrawNote>, ClearCommandValues];
20
+ }
21
+ //# sourceMappingURL=WithdrawNote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawNote.d.ts","sourceRoot":"","sources":["../../../../Withdrawing/WithdrawNote/WithdrawNote.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAc,MAAM,4BAA4B,CAAC;AAC9F,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC/F,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAK5C,MAAM,WAAW,aAAa;IAK1B,MAAM,CAAC,EAAE,IAAI,CAAC;CACjB;AAMD,qBAAa,YAAa,SAAQ,OAAO,CAAC,aAAa,CAAE,YAAW,aAAa;;IAC7E,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAA2D;IAC1G,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAoC;IAC1D,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAEhD;;IAQF,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAGhC;IAKD,IAAI,MAAM,IAAI,IAAI,CAEjB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,IAAI,EAGrB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,aAAa,GAAG,CAAC,YAAY,EAAE,gBAAgB,CAAC,aAAa,CAAC,EAAE,kBAAkB,CAAC;CAGjH"}
@@ -0,0 +1,42 @@
1
+ import { Command } from '@cratis/arc/commands';
2
+ import { useCommand } from '@cratis/arc.react/commands';
3
+ import { SliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
4
+ import { Guid } from '@cratis/fundamentals';
5
+
6
+ // Copyright (c) Cratis. All rights reserved.
7
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
8
+ // **DO NOT EDIT** - This file is an automatically generated file.
9
+ // @generated by Cratis. Source: Cratis.Showrunner.Notes.Withdrawing.WithdrawNote.WithdrawNote. Time: 2026-11-01T11:55:12.6707473Z. Hash: 6187372217CAB22FD8266A2E14512A47E2170C4FB9DF46D463F85BDBBF911481
10
+ /**
11
+ * The giver withdraws one of their notes; the people building the application no longer need to act on it.
12
+ */ class WithdrawNote extends Command {
13
+ static sliceLocation = new SliceLocation('', 'Withdrawing', 'WithdrawNote');
14
+ route = '/api/withdrawing/withdraw-note';
15
+ treatWarningsAsErrors = false;
16
+ roles = [];
17
+ propertyDescriptors = [
18
+ new PropertyDescriptor('noteId', Guid, false)
19
+ ];
20
+ #noteId;
21
+ constructor(){
22
+ super(Object, false);
23
+ }
24
+ get requestParameters() {
25
+ return [];
26
+ }
27
+ /**
28
+ * The note to withdraw.
29
+ */ get noteId() {
30
+ return this.#noteId;
31
+ }
32
+ set noteId(value) {
33
+ this.#noteId = value;
34
+ this.propertyChanged('noteId');
35
+ }
36
+ static use(initialValues) {
37
+ return useCommand(WithdrawNote, initialValues);
38
+ }
39
+ }
40
+
41
+ export { WithdrawNote };
42
+ //# sourceMappingURL=WithdrawNote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawNote.js","sources":["../../../../Withdrawing/WithdrawNote/WithdrawNote.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.Notes.Withdrawing.WithdrawNote.WithdrawNote. Time: 2026-11-01T11:55:12.6707473Z. Hash: 6187372217CAB22FD8266A2E14512A47E2170C4FB9DF46D463F85BDBBF911481\nimport { Command } from '@cratis/arc/commands';\nimport { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';\nimport { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The giver withdraws one of their notes; the people building the application no longer need to act on it.\n */\nexport interface IWithdrawNote {\n\n /**\n * The note to withdraw.\n */\n noteId?: Guid;\n}\n\n\n/**\n * The giver withdraws one of their notes; the people building the application no longer need to act on it.\n */\nexport class WithdrawNote extends Command<IWithdrawNote> implements IWithdrawNote {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Withdrawing', 'WithdrawNote');\n readonly route: string = '/api/withdrawing/withdraw-note';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('noteId', Guid, false),\n ];\n\n #noteId!: Guid;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The note to withdraw.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n\n static use(initialValues?: IWithdrawNote): [WithdrawNote, SetCommandValues<IWithdrawNote>, ClearCommandValues] {\n return useCommand<WithdrawNote, IWithdrawNote>(WithdrawNote, initialValues);\n }\n}\n"],"names":["WithdrawNote","Command","sliceLocation","ArcSliceLocation","route","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Guid","Object","requestParameters","noteId","value","propertyChanged","use","initialValues","useCommand"],"mappings":";;;;;AAAA;AACA;AAEA;AACA;AAkBA;;IAGO,MAAMA,YAAAA,SAAqBC,OAAAA,CAAAA;AAC9B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,eAAe,cAAA,CAAA;AACjFC,IAAAA,KAAAA,GAAgB,gCAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,UAAUC,IAAAA,EAAM,KAAA;KAC1C;AAED,IAAA,OAAO;IAEP,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,KAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIC,MAAAA,GAAe;QACf,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOC,KAAW,EAAE;QACpB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;IAEA,OAAOC,GAAAA,CAAIC,aAA6B,EAAuE;AAC3G,QAAA,OAAOC,WAAwCjB,YAAAA,EAAcgB,aAAAA,CAAAA;AACjE,IAAA;AACJ;;"}
@@ -0,0 +1,2 @@
1
+ export * from './WithdrawNote';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Withdrawing/WithdrawNote/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './WithdrawNote';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Withdrawing/WithdrawNote/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,13 @@
1
+ export * from './Availability';
2
+ export * from './Contracts/Components';
3
+ export * from './Contracts/Context';
4
+ export * from './Contracts/Giving';
5
+ export * from './Contracts/Reporting';
6
+ export * from './Giving/GiveNoteOnComponent';
7
+ export * from './Giving/GiveNoteOnContext';
8
+ export * from './Giving/GiveNoteOnScreen';
9
+ export * from './Giving/GiveNoteOnSlices';
10
+ export * from './Giving/SuggestComponentPropertyChange';
11
+ export * from './Listing';
12
+ export * from './Withdrawing/WithdrawNote';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,WAAW,CAAC;AAC1B,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,18 @@
1
+ export { Availability, NotesAvailability } from './Availability/NotesAvailability.js';
2
+ export { PickedComponent } from './Contracts/Components/PickedComponent.js';
3
+ export { NoteContext } from './Contracts/Context/NoteContext.js';
4
+ export { NoteDialog } from './Contracts/Context/NoteDialog.js';
5
+ export { NoteScreen } from './Contracts/Context/NoteScreen.js';
6
+ export { NoteKind } from './Contracts/Giving/NoteKind.js';
7
+ export { SliceLocation } from './Contracts/Reporting/SliceLocation.js';
8
+ export { GiveNoteOnComponent, GiveNoteOnComponentValidator } from './Giving/GiveNoteOnComponent/GiveNoteOnComponent.js';
9
+ export { GiveNoteOnContext, GiveNoteOnContextValidator } from './Giving/GiveNoteOnContext/GiveNoteOnContext.js';
10
+ export { GiveNoteOnScreen, GiveNoteOnScreenValidator } from './Giving/GiveNoteOnScreen/GiveNoteOnScreen.js';
11
+ export { GiveNoteOnSlices, GiveNoteOnSlicesValidator } from './Giving/GiveNoteOnSlices/GiveNoteOnSlices.js';
12
+ export { SuggestComponentPropertyChange, SuggestComponentPropertyChangeValidator } from './Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js';
13
+ export { MyNote, MyNotes } from './Listing/MyNote.js';
14
+ export { NoteStatus } from './Listing/NoteStatus.js';
15
+ export { NoteTarget } from './Listing/NoteTarget.js';
16
+ export { SuggestedPropertyChange } from './Listing/SuggestedPropertyChange.js';
17
+ export { WithdrawNote } from './Withdrawing/WithdrawNote/WithdrawNote.js';
18
+ //# sourceMappingURL=index.js.map