@cratis/showrunner.usher 0.0.0-bootstrap.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 (407) hide show
  1. package/Access/AccessDuration.ts +13 -0
  2. package/Access/GrantAccess/GrantAccess.ts +80 -0
  3. package/Access/GrantAccess/index.ts +4 -0
  4. package/Access/RevokeAccess/RevokeAccess.ts +61 -0
  5. package/Access/RevokeAccess/index.ts +4 -0
  6. package/Access/index.ts +4 -0
  7. package/Contracts/Conversation/SupportAuthor.ts +25 -0
  8. package/Contracts/Conversation/SupportAuthorKind.ts +12 -0
  9. package/Contracts/Conversation/index.ts +5 -0
  10. package/Contracts/Reporting/SliceLocation.ts +30 -0
  11. package/Contracts/Reporting/StackFrame.ts +30 -0
  12. package/Contracts/Reporting/index.ts +5 -0
  13. package/Contracts/WorkItems/WorkItem.ts +36 -0
  14. package/Contracts/WorkItems/index.ts +4 -0
  15. package/Conversation/AddDetails/AddDetails.ts +87 -0
  16. package/Conversation/AddDetails/index.ts +4 -0
  17. package/Conversation/AnswerQuestion/AnswerQuestion.ts +105 -0
  18. package/Conversation/AnswerQuestion/index.ts +4 -0
  19. package/Errors/ErrorDetails.ts +41 -0
  20. package/Errors/errorDetailsFromCommandResult.ts +30 -0
  21. package/Errors/errorDetailsFromError.ts +44 -0
  22. package/Errors/errorDetailsFromQueryResult.ts +32 -0
  23. package/Errors/index.ts +9 -0
  24. package/Errors/messageOf.ts +24 -0
  25. package/Errors/parseStackTrace.ts +62 -0
  26. package/Errors/resolveLocation.ts +20 -0
  27. package/Identity/ShareIdentity/ShareIdentity.ts +61 -0
  28. package/Identity/ShareIdentity/index.ts +4 -0
  29. package/Identity/UserIdentity.ts +30 -0
  30. package/Identity/index.ts +4 -0
  31. package/Issues/IssueKind.ts +12 -0
  32. package/Issues/IssueState.ts +17 -0
  33. package/Issues/index.ts +5 -0
  34. package/Lifecycle/ReopenIssue/ReopenIssue.ts +87 -0
  35. package/Lifecycle/ReopenIssue/index.ts +4 -0
  36. package/Lifecycle/WithdrawIssue/WithdrawIssue.ts +61 -0
  37. package/Lifecycle/WithdrawIssue/index.ts +4 -0
  38. package/Listing/Listing.ts +271 -0
  39. package/Listing/index.ts +4 -0
  40. package/README.md +59 -0
  41. package/Reporting/ReportError/ReportError.ts +254 -0
  42. package/Reporting/ReportError/index.ts +4 -0
  43. package/Reporting/ReportIssue/ReportIssue.ts +217 -0
  44. package/Reporting/ReportIssue/index.ts +4 -0
  45. package/Viewing/AccessState.ts +15 -0
  46. package/Viewing/ConversationAuthorKind.ts +14 -0
  47. package/Viewing/ConversationEntryKind.ts +35 -0
  48. package/Viewing/Viewing.ts +472 -0
  49. package/Viewing/index.ts +7 -0
  50. package/dist/cjs/Access/AccessDuration.d.ts +6 -0
  51. package/dist/cjs/Access/AccessDuration.d.ts.map +1 -0
  52. package/dist/cjs/Access/AccessDuration.js +17 -0
  53. package/dist/cjs/Access/AccessDuration.js.map +1 -0
  54. package/dist/cjs/Access/GrantAccess/GrantAccess.d.ts +25 -0
  55. package/dist/cjs/Access/GrantAccess/GrantAccess.d.ts.map +1 -0
  56. package/dist/cjs/Access/GrantAccess/GrantAccess.js +55 -0
  57. package/dist/cjs/Access/GrantAccess/GrantAccess.js.map +1 -0
  58. package/dist/cjs/Access/GrantAccess/index.d.ts +2 -0
  59. package/dist/cjs/Access/GrantAccess/index.d.ts.map +1 -0
  60. package/dist/cjs/Access/RevokeAccess/RevokeAccess.d.ts +21 -0
  61. package/dist/cjs/Access/RevokeAccess/RevokeAccess.d.ts.map +1 -0
  62. package/dist/cjs/Access/RevokeAccess/RevokeAccess.js +44 -0
  63. package/dist/cjs/Access/RevokeAccess/RevokeAccess.js.map +1 -0
  64. package/dist/cjs/Access/RevokeAccess/index.d.ts +2 -0
  65. package/dist/cjs/Access/RevokeAccess/index.d.ts.map +1 -0
  66. package/dist/cjs/Access/index.d.ts +2 -0
  67. package/dist/cjs/Access/index.d.ts.map +1 -0
  68. package/dist/cjs/Contracts/Conversation/SupportAuthor.d.ts +6 -0
  69. package/dist/cjs/Contracts/Conversation/SupportAuthor.d.ts.map +1 -0
  70. package/dist/cjs/Contracts/Conversation/SupportAuthor.js +44 -0
  71. package/dist/cjs/Contracts/Conversation/SupportAuthor.js.map +1 -0
  72. package/dist/cjs/Contracts/Conversation/SupportAuthorKind.d.ts +5 -0
  73. package/dist/cjs/Contracts/Conversation/SupportAuthorKind.d.ts.map +1 -0
  74. package/dist/cjs/Contracts/Conversation/SupportAuthorKind.js +16 -0
  75. package/dist/cjs/Contracts/Conversation/SupportAuthorKind.js.map +1 -0
  76. package/dist/cjs/Contracts/Conversation/index.d.ts +3 -0
  77. package/dist/cjs/Contracts/Conversation/index.d.ts.map +1 -0
  78. package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts +6 -0
  79. package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts.map +1 -0
  80. package/dist/cjs/Contracts/Reporting/SliceLocation.js +50 -0
  81. package/dist/cjs/Contracts/Reporting/SliceLocation.js.map +1 -0
  82. package/dist/cjs/Contracts/Reporting/StackFrame.d.ts +6 -0
  83. package/dist/cjs/Contracts/Reporting/StackFrame.d.ts.map +1 -0
  84. package/dist/cjs/Contracts/Reporting/StackFrame.js +50 -0
  85. package/dist/cjs/Contracts/Reporting/StackFrame.js.map +1 -0
  86. package/dist/cjs/Contracts/Reporting/index.d.ts +3 -0
  87. package/dist/cjs/Contracts/Reporting/index.d.ts.map +1 -0
  88. package/dist/cjs/Contracts/WorkItems/WorkItem.d.ts +7 -0
  89. package/dist/cjs/Contracts/WorkItems/WorkItem.d.ts.map +1 -0
  90. package/dist/cjs/Contracts/WorkItems/WorkItem.js +57 -0
  91. package/dist/cjs/Contracts/WorkItems/WorkItem.js.map +1 -0
  92. package/dist/cjs/Contracts/WorkItems/index.d.ts +2 -0
  93. package/dist/cjs/Contracts/WorkItems/index.d.ts.map +1 -0
  94. package/dist/cjs/Conversation/AddDetails/AddDetails.d.ts +28 -0
  95. package/dist/cjs/Conversation/AddDetails/AddDetails.d.ts.map +1 -0
  96. package/dist/cjs/Conversation/AddDetails/AddDetails.js +64 -0
  97. package/dist/cjs/Conversation/AddDetails/AddDetails.js.map +1 -0
  98. package/dist/cjs/Conversation/AddDetails/index.d.ts +2 -0
  99. package/dist/cjs/Conversation/AddDetails/index.d.ts.map +1 -0
  100. package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.d.ts +31 -0
  101. package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.d.ts.map +1 -0
  102. package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.js +75 -0
  103. package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.js.map +1 -0
  104. package/dist/cjs/Conversation/AnswerQuestion/index.d.ts +2 -0
  105. package/dist/cjs/Conversation/AnswerQuestion/index.d.ts.map +1 -0
  106. package/dist/cjs/Errors/ErrorDetails.d.ts +11 -0
  107. package/dist/cjs/Errors/ErrorDetails.d.ts.map +1 -0
  108. package/dist/cjs/Errors/errorDetailsFromCommandResult.d.ts +5 -0
  109. package/dist/cjs/Errors/errorDetailsFromCommandResult.d.ts.map +1 -0
  110. package/dist/cjs/Errors/errorDetailsFromCommandResult.js +32 -0
  111. package/dist/cjs/Errors/errorDetailsFromCommandResult.js.map +1 -0
  112. package/dist/cjs/Errors/errorDetailsFromError.d.ts +4 -0
  113. package/dist/cjs/Errors/errorDetailsFromError.d.ts.map +1 -0
  114. package/dist/cjs/Errors/errorDetailsFromError.js +43 -0
  115. package/dist/cjs/Errors/errorDetailsFromError.js.map +1 -0
  116. package/dist/cjs/Errors/errorDetailsFromQueryResult.d.ts +6 -0
  117. package/dist/cjs/Errors/errorDetailsFromQueryResult.d.ts.map +1 -0
  118. package/dist/cjs/Errors/errorDetailsFromQueryResult.js +33 -0
  119. package/dist/cjs/Errors/errorDetailsFromQueryResult.js.map +1 -0
  120. package/dist/cjs/Errors/index.d.ts +7 -0
  121. package/dist/cjs/Errors/index.d.ts.map +1 -0
  122. package/dist/cjs/Errors/messageOf.d.ts +3 -0
  123. package/dist/cjs/Errors/messageOf.d.ts.map +1 -0
  124. package/dist/cjs/Errors/messageOf.js +23 -0
  125. package/dist/cjs/Errors/messageOf.js.map +1 -0
  126. package/dist/cjs/Errors/parseStackTrace.d.ts +3 -0
  127. package/dist/cjs/Errors/parseStackTrace.d.ts.map +1 -0
  128. package/dist/cjs/Errors/parseStackTrace.js +54 -0
  129. package/dist/cjs/Errors/parseStackTrace.js.map +1 -0
  130. package/dist/cjs/Errors/resolveLocation.d.ts +3 -0
  131. package/dist/cjs/Errors/resolveLocation.d.ts.map +1 -0
  132. package/dist/cjs/Errors/resolveLocation.js +22 -0
  133. package/dist/cjs/Errors/resolveLocation.js.map +1 -0
  134. package/dist/cjs/Identity/ShareIdentity/ShareIdentity.d.ts +21 -0
  135. package/dist/cjs/Identity/ShareIdentity/ShareIdentity.d.ts.map +1 -0
  136. package/dist/cjs/Identity/ShareIdentity/ShareIdentity.js +44 -0
  137. package/dist/cjs/Identity/ShareIdentity/ShareIdentity.js.map +1 -0
  138. package/dist/cjs/Identity/ShareIdentity/index.d.ts +2 -0
  139. package/dist/cjs/Identity/ShareIdentity/index.d.ts.map +1 -0
  140. package/dist/cjs/Identity/UserIdentity.d.ts +6 -0
  141. package/dist/cjs/Identity/UserIdentity.d.ts.map +1 -0
  142. package/dist/cjs/Identity/UserIdentity.js +50 -0
  143. package/dist/cjs/Identity/UserIdentity.js.map +1 -0
  144. package/dist/cjs/Identity/index.d.ts +2 -0
  145. package/dist/cjs/Identity/index.d.ts.map +1 -0
  146. package/dist/cjs/Issues/IssueKind.d.ts +5 -0
  147. package/dist/cjs/Issues/IssueKind.d.ts.map +1 -0
  148. package/dist/cjs/Issues/IssueKind.js +16 -0
  149. package/dist/cjs/Issues/IssueKind.js.map +1 -0
  150. package/dist/cjs/Issues/IssueState.d.ts +10 -0
  151. package/dist/cjs/Issues/IssueState.d.ts.map +1 -0
  152. package/dist/cjs/Issues/IssueState.js +21 -0
  153. package/dist/cjs/Issues/IssueState.js.map +1 -0
  154. package/dist/cjs/Issues/index.d.ts +3 -0
  155. package/dist/cjs/Issues/index.d.ts.map +1 -0
  156. package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.d.ts +28 -0
  157. package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.d.ts.map +1 -0
  158. package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.js +64 -0
  159. package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.js.map +1 -0
  160. package/dist/cjs/Lifecycle/ReopenIssue/index.d.ts +2 -0
  161. package/dist/cjs/Lifecycle/ReopenIssue/index.d.ts.map +1 -0
  162. package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts +21 -0
  163. package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts.map +1 -0
  164. package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.js +44 -0
  165. package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.js.map +1 -0
  166. package/dist/cjs/Lifecycle/WithdrawIssue/index.d.ts +2 -0
  167. package/dist/cjs/Lifecycle/WithdrawIssue/index.d.ts.map +1 -0
  168. package/dist/cjs/Listing/Listing.d.ts +99 -0
  169. package/dist/cjs/Listing/Listing.d.ts.map +1 -0
  170. package/dist/cjs/Listing/Listing.js +281 -0
  171. package/dist/cjs/Listing/Listing.js.map +1 -0
  172. package/dist/cjs/Listing/index.d.ts +2 -0
  173. package/dist/cjs/Listing/index.d.ts.map +1 -0
  174. package/dist/cjs/Reporting/ReportError/ReportError.d.ts +58 -0
  175. package/dist/cjs/Reporting/ReportError/ReportError.d.ts.map +1 -0
  176. package/dist/cjs/Reporting/ReportError/ReportError.js +167 -0
  177. package/dist/cjs/Reporting/ReportError/ReportError.js.map +1 -0
  178. package/dist/cjs/Reporting/ReportError/index.d.ts +2 -0
  179. package/dist/cjs/Reporting/ReportError/index.d.ts.map +1 -0
  180. package/dist/cjs/Reporting/ReportIssue/ReportIssue.d.ts +51 -0
  181. package/dist/cjs/Reporting/ReportIssue/ReportIssue.d.ts.map +1 -0
  182. package/dist/cjs/Reporting/ReportIssue/ReportIssue.js +144 -0
  183. package/dist/cjs/Reporting/ReportIssue/ReportIssue.js.map +1 -0
  184. package/dist/cjs/Reporting/ReportIssue/index.d.ts +2 -0
  185. package/dist/cjs/Reporting/ReportIssue/index.d.ts.map +1 -0
  186. package/dist/cjs/Viewing/AccessState.d.ts +8 -0
  187. package/dist/cjs/Viewing/AccessState.d.ts.map +1 -0
  188. package/dist/cjs/Viewing/AccessState.js +19 -0
  189. package/dist/cjs/Viewing/AccessState.js.map +1 -0
  190. package/dist/cjs/Viewing/ConversationAuthorKind.d.ts +7 -0
  191. package/dist/cjs/Viewing/ConversationAuthorKind.d.ts.map +1 -0
  192. package/dist/cjs/Viewing/ConversationAuthorKind.js +18 -0
  193. package/dist/cjs/Viewing/ConversationAuthorKind.js.map +1 -0
  194. package/dist/cjs/Viewing/ConversationEntryKind.d.ts +28 -0
  195. package/dist/cjs/Viewing/ConversationEntryKind.d.ts.map +1 -0
  196. package/dist/cjs/Viewing/ConversationEntryKind.js +39 -0
  197. package/dist/cjs/Viewing/ConversationEntryKind.js.map +1 -0
  198. package/dist/cjs/Viewing/Viewing.d.ts +145 -0
  199. package/dist/cjs/Viewing/Viewing.d.ts.map +1 -0
  200. package/dist/cjs/Viewing/Viewing.js +492 -0
  201. package/dist/cjs/Viewing/Viewing.js.map +1 -0
  202. package/dist/cjs/Viewing/index.d.ts +5 -0
  203. package/dist/cjs/Viewing/index.d.ts.map +1 -0
  204. package/dist/cjs/index.d.ts +19 -0
  205. package/dist/cjs/index.d.ts.map +1 -0
  206. package/dist/cjs/index.js +74 -0
  207. package/dist/cjs/index.js.map +1 -0
  208. package/dist/cjs/package.json +3 -0
  209. package/dist/esm/Access/AccessDuration.d.ts +6 -0
  210. package/dist/esm/Access/AccessDuration.d.ts.map +1 -0
  211. package/dist/esm/Access/AccessDuration.js +15 -0
  212. package/dist/esm/Access/AccessDuration.js.map +1 -0
  213. package/dist/esm/Access/GrantAccess/GrantAccess.d.ts +25 -0
  214. package/dist/esm/Access/GrantAccess/GrantAccess.d.ts.map +1 -0
  215. package/dist/esm/Access/GrantAccess/GrantAccess.js +53 -0
  216. package/dist/esm/Access/GrantAccess/GrantAccess.js.map +1 -0
  217. package/dist/esm/Access/GrantAccess/index.d.ts +2 -0
  218. package/dist/esm/Access/GrantAccess/index.d.ts.map +1 -0
  219. package/dist/esm/Access/GrantAccess/index.js +2 -0
  220. package/dist/esm/Access/GrantAccess/index.js.map +1 -0
  221. package/dist/esm/Access/RevokeAccess/RevokeAccess.d.ts +21 -0
  222. package/dist/esm/Access/RevokeAccess/RevokeAccess.d.ts.map +1 -0
  223. package/dist/esm/Access/RevokeAccess/RevokeAccess.js +42 -0
  224. package/dist/esm/Access/RevokeAccess/RevokeAccess.js.map +1 -0
  225. package/dist/esm/Access/RevokeAccess/index.d.ts +2 -0
  226. package/dist/esm/Access/RevokeAccess/index.d.ts.map +1 -0
  227. package/dist/esm/Access/RevokeAccess/index.js +2 -0
  228. package/dist/esm/Access/RevokeAccess/index.js.map +1 -0
  229. package/dist/esm/Access/index.d.ts +2 -0
  230. package/dist/esm/Access/index.d.ts.map +1 -0
  231. package/dist/esm/Access/index.js +2 -0
  232. package/dist/esm/Access/index.js.map +1 -0
  233. package/dist/esm/Contracts/Conversation/SupportAuthor.d.ts +6 -0
  234. package/dist/esm/Contracts/Conversation/SupportAuthor.d.ts.map +1 -0
  235. package/dist/esm/Contracts/Conversation/SupportAuthor.js +42 -0
  236. package/dist/esm/Contracts/Conversation/SupportAuthor.js.map +1 -0
  237. package/dist/esm/Contracts/Conversation/SupportAuthorKind.d.ts +5 -0
  238. package/dist/esm/Contracts/Conversation/SupportAuthorKind.d.ts.map +1 -0
  239. package/dist/esm/Contracts/Conversation/SupportAuthorKind.js +14 -0
  240. package/dist/esm/Contracts/Conversation/SupportAuthorKind.js.map +1 -0
  241. package/dist/esm/Contracts/Conversation/index.d.ts +3 -0
  242. package/dist/esm/Contracts/Conversation/index.d.ts.map +1 -0
  243. package/dist/esm/Contracts/Conversation/index.js +3 -0
  244. package/dist/esm/Contracts/Conversation/index.js.map +1 -0
  245. package/dist/esm/Contracts/Reporting/SliceLocation.d.ts +6 -0
  246. package/dist/esm/Contracts/Reporting/SliceLocation.d.ts.map +1 -0
  247. package/dist/esm/Contracts/Reporting/SliceLocation.js +48 -0
  248. package/dist/esm/Contracts/Reporting/SliceLocation.js.map +1 -0
  249. package/dist/esm/Contracts/Reporting/StackFrame.d.ts +6 -0
  250. package/dist/esm/Contracts/Reporting/StackFrame.d.ts.map +1 -0
  251. package/dist/esm/Contracts/Reporting/StackFrame.js +48 -0
  252. package/dist/esm/Contracts/Reporting/StackFrame.js.map +1 -0
  253. package/dist/esm/Contracts/Reporting/index.d.ts +3 -0
  254. package/dist/esm/Contracts/Reporting/index.d.ts.map +1 -0
  255. package/dist/esm/Contracts/Reporting/index.js +3 -0
  256. package/dist/esm/Contracts/Reporting/index.js.map +1 -0
  257. package/dist/esm/Contracts/WorkItems/WorkItem.d.ts +7 -0
  258. package/dist/esm/Contracts/WorkItems/WorkItem.d.ts.map +1 -0
  259. package/dist/esm/Contracts/WorkItems/WorkItem.js +55 -0
  260. package/dist/esm/Contracts/WorkItems/WorkItem.js.map +1 -0
  261. package/dist/esm/Contracts/WorkItems/index.d.ts +2 -0
  262. package/dist/esm/Contracts/WorkItems/index.d.ts.map +1 -0
  263. package/dist/esm/Contracts/WorkItems/index.js +2 -0
  264. package/dist/esm/Contracts/WorkItems/index.js.map +1 -0
  265. package/dist/esm/Conversation/AddDetails/AddDetails.d.ts +28 -0
  266. package/dist/esm/Conversation/AddDetails/AddDetails.d.ts.map +1 -0
  267. package/dist/esm/Conversation/AddDetails/AddDetails.js +61 -0
  268. package/dist/esm/Conversation/AddDetails/AddDetails.js.map +1 -0
  269. package/dist/esm/Conversation/AddDetails/index.d.ts +2 -0
  270. package/dist/esm/Conversation/AddDetails/index.d.ts.map +1 -0
  271. package/dist/esm/Conversation/AddDetails/index.js +2 -0
  272. package/dist/esm/Conversation/AddDetails/index.js.map +1 -0
  273. package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.d.ts +31 -0
  274. package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.d.ts.map +1 -0
  275. package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.js +72 -0
  276. package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.js.map +1 -0
  277. package/dist/esm/Conversation/AnswerQuestion/index.d.ts +2 -0
  278. package/dist/esm/Conversation/AnswerQuestion/index.d.ts.map +1 -0
  279. package/dist/esm/Conversation/AnswerQuestion/index.js +2 -0
  280. package/dist/esm/Conversation/AnswerQuestion/index.js.map +1 -0
  281. package/dist/esm/Errors/ErrorDetails.d.ts +11 -0
  282. package/dist/esm/Errors/ErrorDetails.d.ts.map +1 -0
  283. package/dist/esm/Errors/ErrorDetails.js +2 -0
  284. package/dist/esm/Errors/ErrorDetails.js.map +1 -0
  285. package/dist/esm/Errors/errorDetailsFromCommandResult.d.ts +5 -0
  286. package/dist/esm/Errors/errorDetailsFromCommandResult.d.ts.map +1 -0
  287. package/dist/esm/Errors/errorDetailsFromCommandResult.js +30 -0
  288. package/dist/esm/Errors/errorDetailsFromCommandResult.js.map +1 -0
  289. package/dist/esm/Errors/errorDetailsFromError.d.ts +4 -0
  290. package/dist/esm/Errors/errorDetailsFromError.d.ts.map +1 -0
  291. package/dist/esm/Errors/errorDetailsFromError.js +41 -0
  292. package/dist/esm/Errors/errorDetailsFromError.js.map +1 -0
  293. package/dist/esm/Errors/errorDetailsFromQueryResult.d.ts +6 -0
  294. package/dist/esm/Errors/errorDetailsFromQueryResult.d.ts.map +1 -0
  295. package/dist/esm/Errors/errorDetailsFromQueryResult.js +31 -0
  296. package/dist/esm/Errors/errorDetailsFromQueryResult.js.map +1 -0
  297. package/dist/esm/Errors/index.d.ts +7 -0
  298. package/dist/esm/Errors/index.d.ts.map +1 -0
  299. package/dist/esm/Errors/index.js +7 -0
  300. package/dist/esm/Errors/index.js.map +1 -0
  301. package/dist/esm/Errors/messageOf.d.ts +3 -0
  302. package/dist/esm/Errors/messageOf.d.ts.map +1 -0
  303. package/dist/esm/Errors/messageOf.js +21 -0
  304. package/dist/esm/Errors/messageOf.js.map +1 -0
  305. package/dist/esm/Errors/parseStackTrace.d.ts +3 -0
  306. package/dist/esm/Errors/parseStackTrace.d.ts.map +1 -0
  307. package/dist/esm/Errors/parseStackTrace.js +52 -0
  308. package/dist/esm/Errors/parseStackTrace.js.map +1 -0
  309. package/dist/esm/Errors/resolveLocation.d.ts +3 -0
  310. package/dist/esm/Errors/resolveLocation.d.ts.map +1 -0
  311. package/dist/esm/Errors/resolveLocation.js +20 -0
  312. package/dist/esm/Errors/resolveLocation.js.map +1 -0
  313. package/dist/esm/Identity/ShareIdentity/ShareIdentity.d.ts +21 -0
  314. package/dist/esm/Identity/ShareIdentity/ShareIdentity.d.ts.map +1 -0
  315. package/dist/esm/Identity/ShareIdentity/ShareIdentity.js +42 -0
  316. package/dist/esm/Identity/ShareIdentity/ShareIdentity.js.map +1 -0
  317. package/dist/esm/Identity/ShareIdentity/index.d.ts +2 -0
  318. package/dist/esm/Identity/ShareIdentity/index.d.ts.map +1 -0
  319. package/dist/esm/Identity/ShareIdentity/index.js +2 -0
  320. package/dist/esm/Identity/ShareIdentity/index.js.map +1 -0
  321. package/dist/esm/Identity/UserIdentity.d.ts +6 -0
  322. package/dist/esm/Identity/UserIdentity.d.ts.map +1 -0
  323. package/dist/esm/Identity/UserIdentity.js +48 -0
  324. package/dist/esm/Identity/UserIdentity.js.map +1 -0
  325. package/dist/esm/Identity/index.d.ts +2 -0
  326. package/dist/esm/Identity/index.d.ts.map +1 -0
  327. package/dist/esm/Identity/index.js +2 -0
  328. package/dist/esm/Identity/index.js.map +1 -0
  329. package/dist/esm/Issues/IssueKind.d.ts +5 -0
  330. package/dist/esm/Issues/IssueKind.d.ts.map +1 -0
  331. package/dist/esm/Issues/IssueKind.js +14 -0
  332. package/dist/esm/Issues/IssueKind.js.map +1 -0
  333. package/dist/esm/Issues/IssueState.d.ts +10 -0
  334. package/dist/esm/Issues/IssueState.d.ts.map +1 -0
  335. package/dist/esm/Issues/IssueState.js +19 -0
  336. package/dist/esm/Issues/IssueState.js.map +1 -0
  337. package/dist/esm/Issues/index.d.ts +3 -0
  338. package/dist/esm/Issues/index.d.ts.map +1 -0
  339. package/dist/esm/Issues/index.js +3 -0
  340. package/dist/esm/Issues/index.js.map +1 -0
  341. package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.d.ts +28 -0
  342. package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.d.ts.map +1 -0
  343. package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.js +61 -0
  344. package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.js.map +1 -0
  345. package/dist/esm/Lifecycle/ReopenIssue/index.d.ts +2 -0
  346. package/dist/esm/Lifecycle/ReopenIssue/index.d.ts.map +1 -0
  347. package/dist/esm/Lifecycle/ReopenIssue/index.js +2 -0
  348. package/dist/esm/Lifecycle/ReopenIssue/index.js.map +1 -0
  349. package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts +21 -0
  350. package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts.map +1 -0
  351. package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.js +42 -0
  352. package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.js.map +1 -0
  353. package/dist/esm/Lifecycle/WithdrawIssue/index.d.ts +2 -0
  354. package/dist/esm/Lifecycle/WithdrawIssue/index.d.ts.map +1 -0
  355. package/dist/esm/Lifecycle/WithdrawIssue/index.js +2 -0
  356. package/dist/esm/Lifecycle/WithdrawIssue/index.js.map +1 -0
  357. package/dist/esm/Listing/Listing.d.ts +99 -0
  358. package/dist/esm/Listing/Listing.d.ts.map +1 -0
  359. package/dist/esm/Listing/Listing.js +278 -0
  360. package/dist/esm/Listing/Listing.js.map +1 -0
  361. package/dist/esm/Listing/index.d.ts +2 -0
  362. package/dist/esm/Listing/index.d.ts.map +1 -0
  363. package/dist/esm/Listing/index.js +2 -0
  364. package/dist/esm/Listing/index.js.map +1 -0
  365. package/dist/esm/Reporting/ReportError/ReportError.d.ts +58 -0
  366. package/dist/esm/Reporting/ReportError/ReportError.d.ts.map +1 -0
  367. package/dist/esm/Reporting/ReportError/ReportError.js +164 -0
  368. package/dist/esm/Reporting/ReportError/ReportError.js.map +1 -0
  369. package/dist/esm/Reporting/ReportError/index.d.ts +2 -0
  370. package/dist/esm/Reporting/ReportError/index.d.ts.map +1 -0
  371. package/dist/esm/Reporting/ReportError/index.js +2 -0
  372. package/dist/esm/Reporting/ReportError/index.js.map +1 -0
  373. package/dist/esm/Reporting/ReportIssue/ReportIssue.d.ts +51 -0
  374. package/dist/esm/Reporting/ReportIssue/ReportIssue.d.ts.map +1 -0
  375. package/dist/esm/Reporting/ReportIssue/ReportIssue.js +141 -0
  376. package/dist/esm/Reporting/ReportIssue/ReportIssue.js.map +1 -0
  377. package/dist/esm/Reporting/ReportIssue/index.d.ts +2 -0
  378. package/dist/esm/Reporting/ReportIssue/index.d.ts.map +1 -0
  379. package/dist/esm/Reporting/ReportIssue/index.js +2 -0
  380. package/dist/esm/Reporting/ReportIssue/index.js.map +1 -0
  381. package/dist/esm/Viewing/AccessState.d.ts +8 -0
  382. package/dist/esm/Viewing/AccessState.d.ts.map +1 -0
  383. package/dist/esm/Viewing/AccessState.js +17 -0
  384. package/dist/esm/Viewing/AccessState.js.map +1 -0
  385. package/dist/esm/Viewing/ConversationAuthorKind.d.ts +7 -0
  386. package/dist/esm/Viewing/ConversationAuthorKind.d.ts.map +1 -0
  387. package/dist/esm/Viewing/ConversationAuthorKind.js +16 -0
  388. package/dist/esm/Viewing/ConversationAuthorKind.js.map +1 -0
  389. package/dist/esm/Viewing/ConversationEntryKind.d.ts +28 -0
  390. package/dist/esm/Viewing/ConversationEntryKind.d.ts.map +1 -0
  391. package/dist/esm/Viewing/ConversationEntryKind.js +37 -0
  392. package/dist/esm/Viewing/ConversationEntryKind.js.map +1 -0
  393. package/dist/esm/Viewing/Viewing.d.ts +145 -0
  394. package/dist/esm/Viewing/Viewing.d.ts.map +1 -0
  395. package/dist/esm/Viewing/Viewing.js +484 -0
  396. package/dist/esm/Viewing/Viewing.js.map +1 -0
  397. package/dist/esm/Viewing/index.d.ts +5 -0
  398. package/dist/esm/Viewing/index.d.ts.map +1 -0
  399. package/dist/esm/Viewing/index.js +5 -0
  400. package/dist/esm/Viewing/index.js.map +1 -0
  401. package/dist/esm/index.d.ts +19 -0
  402. package/dist/esm/index.d.ts.map +1 -0
  403. package/dist/esm/index.js +29 -0
  404. package/dist/esm/index.js.map +1 -0
  405. package/dist/esm/package.json +3 -0
  406. package/index.ts +21 -0
  407. package/package.json +71 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Listing.d.ts","sourceRoot":"","sources":["../../../Listing/Listing.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAU,oBAAoB,EAAE,OAAO,EAAE,cAAc,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAC7J,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAuI,MAAM,2BAA2B,CAAC;AACvO,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAChG,OAAO,EAAE,IAAI,EAAS,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MA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AAU,CAAC;IAMnB,UAAU,EAAG,IAAI,CAAC;IAMlB,cAAc,EAAG,IAAI,CAAC;IAMtB,iBAAiB,EAAG,OAAO,CAAC;IAM5B,eAAe,EAAG,MAAM,CAAC;IAMzB,QAAQ,EAAG,QAAQ,CAAC;IAMpB,cAAc,EAAG,MAAM,CAAC;IAMxB,UAAU,EAAG,YAAY,CAAC;IAM1B,aAAa,EAAG,IAAI,EAAE,CAAC;CAC1B"}
@@ -0,0 +1,278 @@
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 { IssueKind } from '../Issues/IssueKind.js';
6
+ import { IssueState } from '../Issues/IssueState.js';
7
+ import { UserIdentity } from '../Identity/UserIdentity.js';
8
+ import { WorkItem } from '../Contracts/WorkItems/WorkItem.js';
9
+
10
+ function _ts_decorate(decorators, target, key, desc) {
11
+ var c = arguments.length, r = c < 3 ? target : desc, d;
12
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
13
+ r = Reflect.decorate(decorators, target, key, desc);
14
+ } else {
15
+ for(var i = decorators.length - 1; i >= 0; i--){
16
+ if (d = decorators[i]) {
17
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ }
19
+ }
20
+ }
21
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
22
+ }
23
+ function _ts_metadata(metadataKey, metadataValue) {
24
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
25
+ return Reflect.metadata(metadataKey, metadataValue);
26
+ }
27
+ }
28
+ class MyIssuesSortBy {
29
+ query;
30
+ _fixedInVersion;
31
+ _id;
32
+ _kind;
33
+ _knownIssueTitle;
34
+ _lastActivityAt;
35
+ _openQuestions;
36
+ _reportedAt;
37
+ _reportedBy;
38
+ _state;
39
+ _title;
40
+ _waitingOnReporter;
41
+ _workItem;
42
+ constructor(query){
43
+ this.query = query;
44
+ this._fixedInVersion = new SortingActionsForObservableQuery('fixedInVersion', query);
45
+ this._id = new SortingActionsForObservableQuery('id', query);
46
+ this._kind = new SortingActionsForObservableQuery('kind', query);
47
+ this._knownIssueTitle = new SortingActionsForObservableQuery('knownIssueTitle', query);
48
+ this._lastActivityAt = new SortingActionsForObservableQuery('lastActivityAt', query);
49
+ this._openQuestions = new SortingActionsForObservableQuery('openQuestions', query);
50
+ this._reportedAt = new SortingActionsForObservableQuery('reportedAt', query);
51
+ this._reportedBy = new SortingActionsForObservableQuery('reportedBy', query);
52
+ this._state = new SortingActionsForObservableQuery('state', query);
53
+ this._title = new SortingActionsForObservableQuery('title', query);
54
+ this._waitingOnReporter = new SortingActionsForObservableQuery('waitingOnReporter', query);
55
+ this._workItem = new SortingActionsForObservableQuery('workItem', query);
56
+ }
57
+ get fixedInVersion() {
58
+ return this._fixedInVersion;
59
+ }
60
+ get id() {
61
+ return this._id;
62
+ }
63
+ get kind() {
64
+ return this._kind;
65
+ }
66
+ get knownIssueTitle() {
67
+ return this._knownIssueTitle;
68
+ }
69
+ get lastActivityAt() {
70
+ return this._lastActivityAt;
71
+ }
72
+ get openQuestions() {
73
+ return this._openQuestions;
74
+ }
75
+ get reportedAt() {
76
+ return this._reportedAt;
77
+ }
78
+ get reportedBy() {
79
+ return this._reportedBy;
80
+ }
81
+ get state() {
82
+ return this._state;
83
+ }
84
+ get title() {
85
+ return this._title;
86
+ }
87
+ get waitingOnReporter() {
88
+ return this._waitingOnReporter;
89
+ }
90
+ get workItem() {
91
+ return this._workItem;
92
+ }
93
+ }
94
+ class MyIssuesSortByWithoutQuery {
95
+ _fixedInVersion = new SortingActions('fixedInVersion');
96
+ _id = new SortingActions('id');
97
+ _kind = new SortingActions('kind');
98
+ _knownIssueTitle = new SortingActions('knownIssueTitle');
99
+ _lastActivityAt = new SortingActions('lastActivityAt');
100
+ _openQuestions = new SortingActions('openQuestions');
101
+ _reportedAt = new SortingActions('reportedAt');
102
+ _reportedBy = new SortingActions('reportedBy');
103
+ _state = new SortingActions('state');
104
+ _title = new SortingActions('title');
105
+ _waitingOnReporter = new SortingActions('waitingOnReporter');
106
+ _workItem = new SortingActions('workItem');
107
+ get fixedInVersion() {
108
+ return this._fixedInVersion;
109
+ }
110
+ get id() {
111
+ return this._id;
112
+ }
113
+ get kind() {
114
+ return this._kind;
115
+ }
116
+ get knownIssueTitle() {
117
+ return this._knownIssueTitle;
118
+ }
119
+ get lastActivityAt() {
120
+ return this._lastActivityAt;
121
+ }
122
+ get openQuestions() {
123
+ return this._openQuestions;
124
+ }
125
+ get reportedAt() {
126
+ return this._reportedAt;
127
+ }
128
+ get reportedBy() {
129
+ return this._reportedBy;
130
+ }
131
+ get state() {
132
+ return this._state;
133
+ }
134
+ get title() {
135
+ return this._title;
136
+ }
137
+ get waitingOnReporter() {
138
+ return this._waitingOnReporter;
139
+ }
140
+ get workItem() {
141
+ return this._workItem;
142
+ }
143
+ }
144
+ /**
145
+ * Observes the issues the signed-in reporter reported, in the current tenant, most recent activity first.
146
+ */ class MyIssues extends ObservableQueryFor {
147
+ static sliceLocation = new SliceLocation('', '', 'Listing');
148
+ route = '/api/listing/my-issues';
149
+ queryName = 'Cratis.Showrunner.Usher.Listing.ReportedIssue.MyIssues';
150
+ treatWarningsAsErrors = false;
151
+ roles = [];
152
+ defaultValue = [];
153
+ _sortBy;
154
+ static _sortBy = new MyIssuesSortByWithoutQuery();
155
+ constructor(){
156
+ super(ReportedIssue, true);
157
+ this._sortBy = new MyIssuesSortBy(this);
158
+ }
159
+ get requiredRequestParameters() {
160
+ return [];
161
+ }
162
+ parameterDescriptors = [];
163
+ get sortBy() {
164
+ return this._sortBy;
165
+ }
166
+ static get sortBy() {
167
+ return this._sortBy;
168
+ }
169
+ static use(sorting) {
170
+ return useObservableQuery(MyIssues, undefined, sorting);
171
+ }
172
+ static useWithPaging(pageSize, sorting) {
173
+ return useObservableQueryWithPaging(MyIssues, new Paging(0, pageSize), undefined, sorting);
174
+ }
175
+ static useSuspense(sorting) {
176
+ return useSuspenseObservableQuery(MyIssues, undefined, sorting);
177
+ }
178
+ static useSuspenseWithPaging(pageSize, sorting) {
179
+ return useSuspenseObservableQueryWithPaging(MyIssues, new Paging(0, pageSize), undefined, sorting);
180
+ }
181
+ static useChangeStream(getKey, sorting) {
182
+ return useChangeStream(MyIssues, undefined, getKey, sorting);
183
+ }
184
+ static when(condition) {
185
+ return new ObservableQueryWhen(MyIssues, condition);
186
+ }
187
+ }
188
+ /**
189
+ * One of the reporter's issues, as the list of their issues shows it.
190
+ */ class ReportedIssue {
191
+ /**
192
+ * The issue.
193
+ */ id;
194
+ /**
195
+ * How the issue was reported.
196
+ */ kind;
197
+ /**
198
+ * The summary of a problem described by hand, or the message of a reported error.
199
+ */ title;
200
+ /**
201
+ * The state the issue is in.
202
+ */ state;
203
+ /**
204
+ * When the issue was reported.
205
+ */ reportedAt;
206
+ /**
207
+ * When anything last happened on the issue.
208
+ */ lastActivityAt;
209
+ /**
210
+ * Whether support asked something the reporter has not answered.
211
+ */ waitingOnReporter;
212
+ /**
213
+ * The title of the known issue it is linked to; {@link NotSet} when it is not.
214
+ */ knownIssueTitle;
215
+ /**
216
+ * The work item it is linked to; {@link WorkItem} when it is not.
217
+ */ workItem;
218
+ /**
219
+ * The version that has the fix; {@link NotSet} until a release ships it.
220
+ */ fixedInVersion;
221
+ /**
222
+ * Who reported the issue, at their identity provider.
223
+ */ reportedBy;
224
+ /**
225
+ * The questions support asked that the reporter has not answered.
226
+ */ openQuestions;
227
+ }
228
+ _ts_decorate([
229
+ field(Guid),
230
+ _ts_metadata("design:type", typeof Guid === "undefined" ? Object : Guid)
231
+ ], ReportedIssue.prototype, "id", void 0);
232
+ _ts_decorate([
233
+ field(Number),
234
+ _ts_metadata("design:type", typeof IssueKind === "undefined" ? Object : IssueKind)
235
+ ], ReportedIssue.prototype, "kind", void 0);
236
+ _ts_decorate([
237
+ field(String),
238
+ _ts_metadata("design:type", String)
239
+ ], ReportedIssue.prototype, "title", void 0);
240
+ _ts_decorate([
241
+ field(Number),
242
+ _ts_metadata("design:type", typeof IssueState === "undefined" ? Object : IssueState)
243
+ ], ReportedIssue.prototype, "state", void 0);
244
+ _ts_decorate([
245
+ field(Date),
246
+ _ts_metadata("design:type", typeof Date === "undefined" ? Object : Date)
247
+ ], ReportedIssue.prototype, "reportedAt", void 0);
248
+ _ts_decorate([
249
+ field(Date),
250
+ _ts_metadata("design:type", typeof Date === "undefined" ? Object : Date)
251
+ ], ReportedIssue.prototype, "lastActivityAt", void 0);
252
+ _ts_decorate([
253
+ field(Boolean),
254
+ _ts_metadata("design:type", Boolean)
255
+ ], ReportedIssue.prototype, "waitingOnReporter", void 0);
256
+ _ts_decorate([
257
+ field(String),
258
+ _ts_metadata("design:type", String)
259
+ ], ReportedIssue.prototype, "knownIssueTitle", void 0);
260
+ _ts_decorate([
261
+ field(WorkItem),
262
+ _ts_metadata("design:type", typeof WorkItem === "undefined" ? Object : WorkItem)
263
+ ], ReportedIssue.prototype, "workItem", void 0);
264
+ _ts_decorate([
265
+ field(String),
266
+ _ts_metadata("design:type", String)
267
+ ], ReportedIssue.prototype, "fixedInVersion", void 0);
268
+ _ts_decorate([
269
+ field(UserIdentity),
270
+ _ts_metadata("design:type", typeof UserIdentity === "undefined" ? Object : UserIdentity)
271
+ ], ReportedIssue.prototype, "reportedBy", void 0);
272
+ _ts_decorate([
273
+ field(Guid, true),
274
+ _ts_metadata("design:type", Array)
275
+ ], ReportedIssue.prototype, "openQuestions", void 0);
276
+
277
+ export { MyIssues, ReportedIssue };
278
+ //# sourceMappingURL=Listing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Listing.js","sources":["../../../Listing/Listing.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.Usher.Listing.ReportedIssue, Cratis.Showrunner.Usher.Listing.ReportedIssue. Time: 2026-10-26T20:48:58.8871950Z. Hash: E94FF103309F27881C5673E44ECED7CEB12718F227E91804FAB86F9B879A7C86\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 { IssueKind } from '../Issues/IssueKind';\nimport { IssueState } from '../Issues/IssueState';\nimport { UserIdentity } from '../Identity/UserIdentity';\nimport { WorkItem } from '../Contracts/WorkItems/WorkItem';\n\nclass MyIssuesSortBy {\n private _fixedInVersion: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _id: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _kind: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _knownIssueTitle: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _lastActivityAt: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _openQuestions: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _reportedAt: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _reportedBy: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _state: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _title: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _waitingOnReporter: SortingActionsForObservableQuery<ReportedIssue[]>;\n private _workItem: SortingActionsForObservableQuery<ReportedIssue[]>;\n\n constructor(readonly query: MyIssues) {\n this._fixedInVersion = new SortingActionsForObservableQuery<ReportedIssue[]>('fixedInVersion', query);\n this._id = new SortingActionsForObservableQuery<ReportedIssue[]>('id', query);\n this._kind = new SortingActionsForObservableQuery<ReportedIssue[]>('kind', query);\n this._knownIssueTitle = new SortingActionsForObservableQuery<ReportedIssue[]>('knownIssueTitle', query);\n this._lastActivityAt = new SortingActionsForObservableQuery<ReportedIssue[]>('lastActivityAt', query);\n this._openQuestions = new SortingActionsForObservableQuery<ReportedIssue[]>('openQuestions', query);\n this._reportedAt = new SortingActionsForObservableQuery<ReportedIssue[]>('reportedAt', query);\n this._reportedBy = new SortingActionsForObservableQuery<ReportedIssue[]>('reportedBy', query);\n this._state = new SortingActionsForObservableQuery<ReportedIssue[]>('state', query);\n this._title = new SortingActionsForObservableQuery<ReportedIssue[]>('title', query);\n this._waitingOnReporter = new SortingActionsForObservableQuery<ReportedIssue[]>('waitingOnReporter', query);\n this._workItem = new SortingActionsForObservableQuery<ReportedIssue[]>('workItem', query);\n }\n\n get fixedInVersion(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._fixedInVersion;\n }\n get id(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._id;\n }\n get kind(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._kind;\n }\n get knownIssueTitle(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._knownIssueTitle;\n }\n get lastActivityAt(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._lastActivityAt;\n }\n get openQuestions(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._openQuestions;\n }\n get reportedAt(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._reportedAt;\n }\n get reportedBy(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._reportedBy;\n }\n get state(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._state;\n }\n get title(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._title;\n }\n get waitingOnReporter(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._waitingOnReporter;\n }\n get workItem(): SortingActionsForObservableQuery<ReportedIssue[]> {\n return this._workItem;\n }\n}\n\nclass MyIssuesSortByWithoutQuery {\n private _fixedInVersion: SortingActions = new SortingActions('fixedInVersion');\n private _id: SortingActions = new SortingActions('id');\n private _kind: SortingActions = new SortingActions('kind');\n private _knownIssueTitle: SortingActions = new SortingActions('knownIssueTitle');\n private _lastActivityAt: SortingActions = new SortingActions('lastActivityAt');\n private _openQuestions: SortingActions = new SortingActions('openQuestions');\n private _reportedAt: SortingActions = new SortingActions('reportedAt');\n private _reportedBy: SortingActions = new SortingActions('reportedBy');\n private _state: SortingActions = new SortingActions('state');\n private _title: SortingActions = new SortingActions('title');\n private _waitingOnReporter: SortingActions = new SortingActions('waitingOnReporter');\n private _workItem: SortingActions = new SortingActions('workItem');\n\n get fixedInVersion(): SortingActions {\n return this._fixedInVersion;\n }\n get id(): SortingActions {\n return this._id;\n }\n get kind(): SortingActions {\n return this._kind;\n }\n get knownIssueTitle(): SortingActions {\n return this._knownIssueTitle;\n }\n get lastActivityAt(): SortingActions {\n return this._lastActivityAt;\n }\n get openQuestions(): SortingActions {\n return this._openQuestions;\n }\n get reportedAt(): SortingActions {\n return this._reportedAt;\n }\n get reportedBy(): SortingActions {\n return this._reportedBy;\n }\n get state(): SortingActions {\n return this._state;\n }\n get title(): SortingActions {\n return this._title;\n }\n get waitingOnReporter(): SortingActions {\n return this._waitingOnReporter;\n }\n get workItem(): SortingActions {\n return this._workItem;\n }\n}\n\n\n/**\n * Observes the issues the signed-in reporter reported, in the current tenant, most recent activity first.\n */\nexport class MyIssues extends ObservableQueryFor<ReportedIssue[]> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Listing');\n readonly route: string = '/api/listing/my-issues';\n readonly queryName: string = 'Cratis.Showrunner.Usher.Listing.ReportedIssue.MyIssues';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: ReportedIssue[] = [];\n private readonly _sortBy: MyIssuesSortBy;\n private static readonly _sortBy: MyIssuesSortByWithoutQuery = new MyIssuesSortByWithoutQuery();\n\n constructor() {\n super(ReportedIssue, true);\n this._sortBy = new MyIssuesSortBy(this);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n get sortBy(): MyIssuesSortBy {\n return this._sortBy;\n }\n\n static get sortBy(): MyIssuesSortByWithoutQuery {\n return this._sortBy;\n }\n\n static use(sorting?: Sorting): [QueryResultWithState<ReportedIssue[]>, SetSorting] {\n return useObservableQuery<ReportedIssue[], MyIssues>(MyIssues, undefined, sorting);\n }\n\n static useWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<ReportedIssue[]>, SetSorting, SetPage, SetPageSize] {\n return useObservableQueryWithPaging<ReportedIssue[], MyIssues>(MyIssues, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useSuspense(sorting?: Sorting): [QueryResultWithState<ReportedIssue[]>, SetSorting] {\n return useSuspenseObservableQuery<ReportedIssue[], MyIssues>(MyIssues, undefined, sorting);\n }\n\n static useSuspenseWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<ReportedIssue[]>, SetSorting, SetPage, SetPageSize] {\n return useSuspenseObservableQueryWithPaging<ReportedIssue[], MyIssues>(MyIssues, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useChangeStream(getKey?: (item: ReportedIssue) => unknown, sorting?: Sorting): ChangeSet<ReportedIssue> {\n return useChangeStream<ReportedIssue, MyIssues>(MyIssues, undefined, getKey, sorting);\n }\n\n static when(condition: boolean): ObservableQueryWhen<MyIssues, ReportedIssue[]> {\n return new ObservableQueryWhen<MyIssues, ReportedIssue[]>(MyIssues, condition);\n }\n}\n\n/**\n * One of the reporter's issues, as the list of their issues shows it.\n */\nexport class ReportedIssue {\n\n /**\n * The issue.\n */\n @field(Guid)\n id!: Guid;\n\n /**\n * How the issue was reported.\n */\n @field(Number)\n kind!: IssueKind;\n\n /**\n * The summary of a problem described by hand, or the message of a reported error.\n */\n @field(String)\n title!: string;\n\n /**\n * The state the issue is in.\n */\n @field(Number)\n state!: IssueState;\n\n /**\n * When the issue was reported.\n */\n @field(Date)\n reportedAt!: Date;\n\n /**\n * When anything last happened on the issue.\n */\n @field(Date)\n lastActivityAt!: Date;\n\n /**\n * Whether support asked something the reporter has not answered.\n */\n @field(Boolean)\n waitingOnReporter!: boolean;\n\n /**\n * The title of the known issue it is linked to; {@link NotSet} when it is not.\n */\n @field(String)\n knownIssueTitle!: string;\n\n /**\n * The work item it is linked to; {@link WorkItem} when it is not.\n */\n @field(WorkItem)\n workItem!: WorkItem;\n\n /**\n * The version that has the fix; {@link NotSet} until a release ships it.\n */\n @field(String)\n fixedInVersion!: string;\n\n /**\n * Who reported the issue, at their identity provider.\n */\n @field(UserIdentity)\n reportedBy!: UserIdentity;\n\n /**\n * The questions support asked that the reporter has not answered.\n */\n @field(Guid, true)\n openQuestions!: Guid[];\n}\n"],"names":["MyIssuesSortBy","_fixedInVersion","_id","_kind","_knownIssueTitle","_lastActivityAt","_openQuestions","_reportedAt","_reportedBy","_state","_title","_waitingOnReporter","_workItem","query","SortingActionsForObservableQuery","fixedInVersion","id","kind","knownIssueTitle","lastActivityAt","openQuestions","reportedAt","reportedBy","state","title","waitingOnReporter","workItem","MyIssuesSortByWithoutQuery","SortingActions","MyIssues","ObservableQueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","_sortBy","ReportedIssue","requiredRequestParameters","parameterDescriptors","sortBy","use","sorting","useObservableQuery","undefined","useWithPaging","pageSize","useObservableQueryWithPaging","Paging","useSuspense","useSuspenseObservableQuery","useSuspenseWithPaging","useSuspenseObservableQueryWithPaging","useChangeStream","getKey","when","condition","ObservableQueryWhen"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAMA,cAAAA,CAAAA;;IACMC,eAAAA;IACAC,GAAAA;IACAC,KAAAA;IACAC,gBAAAA;IACAC,eAAAA;IACAC,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AAAA,EAAU,IAAIqB,MAAAA,CAAO,CAAA,EAAGF,WAAWF,SAAAA,EAAWF,OAAAA,CAAAA;AACzH,IAAA;AAEA,IAAA,OAAOW,eAAAA,CAAgBC,MAAyC,EAAEZ,OAAiB,EAA4B;QAC3G,OAAOW,eAAAA,CAAyC1B,QAAAA,EAAUiB,SAAAA,EAAWU,MAAAA,EAAQZ,OAAAA,CAAAA;AACjF,IAAA;IAEA,OAAOa,IAAAA,CAAKC,SAAkB,EAAkD;QAC5E,OAAO,IAAIC,oBAA+C9B,QAAAA,EAAU6B,SAAAA,CAAAA;AACxE,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMnB,aAAAA,CAAAA;AAET;;AAEC,QACD,EACAvB;AAEA;;AAEC,QACD,IACAC;AAEA;;AAEC,QACD,KACAO;AAEA;;AAEC,QACD,KACAD;AAEA;;AAEC,QACD,UACAF;AAEA;;AAEC,QACD,cACAF;AAEA;;AAEC,QACD,iBACAM;AAEA;;AAEC,QACD,eACAP;AAEA;;AAEC,QACD,QACAQ;AAEA;;AAEC,QACD,cACAX;AAEA;;AAEC,QACD,UACAO;AAEA;;AAEC,QACD,aACAF;AACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from './Listing';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Listing/index.ts"],"names":[],"mappings":"AAGA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Listing';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Listing/index.ts"],"names":[],"mappings":"AAGA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,58 @@
1
+ import { Command, CommandValidator } 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 { AccessDuration } from '../../Access/AccessDuration';
5
+ import { SliceLocation } from '../../Contracts/Reporting/SliceLocation';
6
+ import { StackFrame } from '../../Contracts/Reporting/StackFrame';
7
+ import { Guid } from '@cratis/fundamentals';
8
+ export interface IReportError {
9
+ accessDuration?: AccessDuration;
10
+ applicationVersion?: string;
11
+ correlationIds?: Guid[];
12
+ details?: string;
13
+ errorMessage?: string;
14
+ errorType?: string;
15
+ grantAccess?: boolean;
16
+ issueId?: Guid;
17
+ location?: SliceLocation;
18
+ shareIdentity?: boolean;
19
+ stackFrames?: StackFrame[];
20
+ }
21
+ export declare class ReportErrorValidator extends CommandValidator<IReportError> {
22
+ constructor();
23
+ }
24
+ export declare class ReportError extends Command<IReportError> implements IReportError {
25
+ #private;
26
+ static readonly sliceLocation: ArcSliceLocation;
27
+ readonly route: string;
28
+ readonly validation: CommandValidator;
29
+ readonly treatWarningsAsErrors: boolean;
30
+ readonly roles: string[];
31
+ readonly propertyDescriptors: PropertyDescriptor[];
32
+ constructor();
33
+ get requestParameters(): string[];
34
+ get accessDuration(): AccessDuration;
35
+ set accessDuration(value: AccessDuration);
36
+ get applicationVersion(): string;
37
+ set applicationVersion(value: string);
38
+ get correlationIds(): Guid[];
39
+ set correlationIds(value: Guid[]);
40
+ get details(): string;
41
+ set details(value: string);
42
+ get errorMessage(): string;
43
+ set errorMessage(value: string);
44
+ get errorType(): string;
45
+ set errorType(value: string);
46
+ get grantAccess(): boolean;
47
+ set grantAccess(value: boolean);
48
+ get issueId(): Guid;
49
+ set issueId(value: Guid);
50
+ get location(): SliceLocation;
51
+ set location(value: SliceLocation);
52
+ get shareIdentity(): boolean;
53
+ set shareIdentity(value: boolean);
54
+ get stackFrames(): StackFrame[];
55
+ set stackFrames(value: StackFrame[]);
56
+ static use(initialValues?: IReportError): [ReportError, SetCommandValues<IReportError>, ClearCommandValues];
57
+ }
58
+ //# source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AAa,CAAC,EAAE,YAAY,GAAG,CAAC,WAAW,EAAE,gBAAgB,CAAC,YAAY,CAAC,EAAE,kBAAkB,CAAC;CAG9G"}
@@ -0,0 +1,164 @@
1
+ import { Command, CommandValidator } from '@cratis/arc/commands';
2
+ import { useCommand } from '@cratis/arc.react/commands';
3
+ import { SliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
4
+ import { SliceLocation as SliceLocation$1 } from '../../Contracts/Reporting/SliceLocation.js';
5
+ import { StackFrame } from '../../Contracts/Reporting/StackFrame.js';
6
+ import { Guid } from '@cratis/fundamentals';
7
+
8
+ // Copyright (c) Cratis. All rights reserved.
9
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
10
+ // **DO NOT EDIT** - This file is an automatically generated file.
11
+ // @generated by Cratis. Source: Cratis.Showrunner.Usher.Reporting.ReportError.ReportError. Time: 2026-10-26T21:13:51.1172240Z. Hash: DA734075048BC8A92F219C6B3D979A212428CC1933A9599F3B8E52AE6981D25D
12
+ class ReportErrorValidator extends CommandValidator {
13
+ constructor(){
14
+ super();
15
+ this.ruleFor((c)=>c.details).maxLength(4000).withMessage('Keep what you were doing within 4000 characters.');
16
+ this.ruleFor((c)=>c.errorMessage).notEmpty().withMessage('The error to report has no message.');
17
+ this.ruleFor((c)=>c.errorMessage).maxLength(2000).withMessage('The error message can be at most 2000 characters.');
18
+ this.ruleFor((c)=>c.errorType).maxLength(500).withMessage('The error type can be at most 500 characters.');
19
+ }
20
+ }
21
+ /**
22
+ * The reporter reports an error they hit, optionally saying what they were doing. They can let support know who they are and let support sign in as them for a while; granting access always shares who they are.
23
+ */ class ReportError extends Command {
24
+ static sliceLocation = new SliceLocation('', 'Reporting', 'ReportError');
25
+ route = '/api/reporting/report-error';
26
+ validation = new ReportErrorValidator();
27
+ treatWarningsAsErrors = false;
28
+ roles = [];
29
+ propertyDescriptors = [
30
+ new PropertyDescriptor('accessDuration', Number, false),
31
+ new PropertyDescriptor('applicationVersion', String, false),
32
+ new PropertyDescriptor('correlationIds', Guid, false),
33
+ new PropertyDescriptor('details', String, false),
34
+ new PropertyDescriptor('errorMessage', String, false),
35
+ new PropertyDescriptor('errorType', String, false),
36
+ new PropertyDescriptor('grantAccess', Boolean, false),
37
+ new PropertyDescriptor('issueId', Guid, false),
38
+ new PropertyDescriptor('location', SliceLocation$1, false),
39
+ new PropertyDescriptor('shareIdentity', Boolean, false),
40
+ new PropertyDescriptor('stackFrames', StackFrame, false)
41
+ ];
42
+ #accessDuration;
43
+ #applicationVersion;
44
+ #correlationIds;
45
+ #details;
46
+ #errorMessage;
47
+ #errorType;
48
+ #grantAccess;
49
+ #issueId;
50
+ #location;
51
+ #shareIdentity;
52
+ #stackFrames;
53
+ constructor(){
54
+ super(Object, false);
55
+ }
56
+ get requestParameters() {
57
+ return [];
58
+ }
59
+ /**
60
+ * How long support may sign in as the reporter, when access is granted.
61
+ */ get accessDuration() {
62
+ return this.#accessDuration;
63
+ }
64
+ set accessDuration(value) {
65
+ this.#accessDuration = value;
66
+ this.propertyChanged('accessDuration');
67
+ }
68
+ /**
69
+ * The version of the application the reporter runs.
70
+ */ get applicationVersion() {
71
+ return this.#applicationVersion;
72
+ }
73
+ set applicationVersion(value) {
74
+ this.#applicationVersion = value;
75
+ this.propertyChanged('applicationVersion');
76
+ }
77
+ /**
78
+ * The correlation ids of the failing command or query and those run just before it; may be empty.
79
+ */ get correlationIds() {
80
+ return this.#correlationIds;
81
+ }
82
+ set correlationIds(value) {
83
+ this.#correlationIds = value;
84
+ this.propertyChanged('correlationIds');
85
+ }
86
+ /**
87
+ * What the reporter was doing; empty when they wrote nothing.
88
+ */ get details() {
89
+ return this.#details;
90
+ }
91
+ set details(value) {
92
+ this.#details = value;
93
+ this.propertyChanged('details');
94
+ }
95
+ /**
96
+ * The message of the error.
97
+ */ get errorMessage() {
98
+ return this.#errorMessage;
99
+ }
100
+ set errorMessage(value) {
101
+ this.#errorMessage = value;
102
+ this.propertyChanged('errorMessage');
103
+ }
104
+ /**
105
+ * The type of the error.
106
+ */ get errorType() {
107
+ return this.#errorType;
108
+ }
109
+ set errorType(value) {
110
+ this.#errorType = value;
111
+ this.propertyChanged('errorType');
112
+ }
113
+ /**
114
+ * Whether to let support sign in as the reporter.
115
+ */ get grantAccess() {
116
+ return this.#grantAccess;
117
+ }
118
+ set grantAccess(value) {
119
+ this.#grantAccess = value;
120
+ this.propertyChanged('grantAccess');
121
+ }
122
+ /**
123
+ * The id of the new issue, chosen by the caller so a retried report does not open a second issue.
124
+ */ get issueId() {
125
+ return this.#issueId;
126
+ }
127
+ set issueId(value) {
128
+ this.#issueId = value;
129
+ this.propertyChanged('issueId');
130
+ }
131
+ /**
132
+ * Where in the application the error happened.
133
+ */ get location() {
134
+ return this.#location;
135
+ }
136
+ set location(value) {
137
+ this.#location = value;
138
+ this.propertyChanged('location');
139
+ }
140
+ /**
141
+ * Whether to let support know who the reporter is.
142
+ */ get shareIdentity() {
143
+ return this.#shareIdentity;
144
+ }
145
+ set shareIdentity(value) {
146
+ this.#shareIdentity = value;
147
+ this.propertyChanged('shareIdentity');
148
+ }
149
+ /**
150
+ * The stack trace of the error, top frame first; empty when there is none.
151
+ */ get stackFrames() {
152
+ return this.#stackFrames;
153
+ }
154
+ set stackFrames(value) {
155
+ this.#stackFrames = value;
156
+ this.propertyChanged('stackFrames');
157
+ }
158
+ static use(initialValues) {
159
+ return useCommand(ReportError, initialValues);
160
+ }
161
+ }
162
+
163
+ export { ReportError, ReportErrorValidator };
164
+ //# sourceMappingURL=ReportError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportError.js","sources":["../../../../Reporting/ReportError/ReportError.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.Usher.Reporting.ReportError.ReportError. Time: 2026-10-26T21:13:51.1172240Z. Hash: DA734075048BC8A92F219C6B3D979A212428CC1933A9599F3B8E52AE6981D25D\nimport { Command, CommandValidator } from '@cratis/arc/commands';\nimport { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';\nimport { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';\nimport { AccessDuration } from '../../Access/AccessDuration';\nimport { SliceLocation } from '../../Contracts/Reporting/SliceLocation';\nimport { StackFrame } from '../../Contracts/Reporting/StackFrame';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The reporter reports an error they hit, optionally saying what they were doing. They can let support know who they are and let support sign in as them for a while; granting access always shares who they are.\n */\nexport interface IReportError {\n\n /**\n * How long support may sign in as the reporter, when access is granted.\n */\n accessDuration?: AccessDuration;\n\n /**\n * The version of the application the reporter runs.\n */\n applicationVersion?: string;\n\n /**\n * The correlation ids of the failing command or query and those run just before it; may be empty.\n */\n correlationIds?: Guid[];\n\n /**\n * What the reporter was doing; empty when they wrote nothing.\n */\n details?: string;\n\n /**\n * The message of the error.\n */\n errorMessage?: string;\n\n /**\n * The type of the error.\n */\n errorType?: string;\n\n /**\n * Whether to let support sign in as the reporter.\n */\n grantAccess?: boolean;\n\n /**\n * The id of the new issue, chosen by the caller so a retried report does not open a second issue.\n */\n issueId?: Guid;\n\n /**\n * Where in the application the error happened.\n */\n location?: SliceLocation;\n\n /**\n * Whether to let support know who the reporter is.\n */\n shareIdentity?: boolean;\n\n /**\n * The stack trace of the error, top frame first; empty when there is none.\n */\n stackFrames?: StackFrame[];\n}\n\nexport class ReportErrorValidator extends CommandValidator<IReportError> {\n constructor() {\n super();\n this.ruleFor(c => c.details).maxLength(4000).withMessage('Keep what you were doing within 4000 characters.');\n this.ruleFor(c => c.errorMessage).notEmpty().withMessage('The error to report has no message.');\n this.ruleFor(c => c.errorMessage).maxLength(2000).withMessage('The error message can be at most 2000 characters.');\n this.ruleFor(c => c.errorType).maxLength(500).withMessage('The error type can be at most 500 characters.');\n }\n}\n\n/**\n * The reporter reports an error they hit, optionally saying what they were doing. They can let support know who they are and let support sign in as them for a while; granting access always shares who they are.\n */\nexport class ReportError extends Command<IReportError> implements IReportError {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Reporting', 'ReportError');\n readonly route: string = '/api/reporting/report-error';\n readonly validation: CommandValidator = new ReportErrorValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('accessDuration', Number, false),\n new PropertyDescriptor('applicationVersion', String, false),\n new PropertyDescriptor('correlationIds', Guid, false),\n new PropertyDescriptor('details', String, false),\n new PropertyDescriptor('errorMessage', String, false),\n new PropertyDescriptor('errorType', String, false),\n new PropertyDescriptor('grantAccess', Boolean, false),\n new PropertyDescriptor('issueId', Guid, false),\n new PropertyDescriptor('location', SliceLocation, false),\n new PropertyDescriptor('shareIdentity', Boolean, false),\n new PropertyDescriptor('stackFrames', StackFrame, false),\n ];\n\n #accessDuration!: AccessDuration;\n #applicationVersion!: string;\n #correlationIds!: Guid[];\n #details!: string;\n #errorMessage!: string;\n #errorType!: string;\n #grantAccess!: boolean;\n #issueId!: Guid;\n #location!: SliceLocation;\n #shareIdentity!: boolean;\n #stackFrames!: StackFrame[];\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * How long support may sign in as the reporter, when access is granted.\n */\n get accessDuration(): AccessDuration {\n return this.#accessDuration;\n }\n\n set accessDuration(value: AccessDuration) {\n this.#accessDuration = value;\n this.propertyChanged('accessDuration');\n }\n /**\n * The version of the application the reporter runs.\n */\n get applicationVersion(): string {\n return this.#applicationVersion;\n }\n\n set applicationVersion(value: string) {\n this.#applicationVersion = value;\n this.propertyChanged('applicationVersion');\n }\n /**\n * The correlation ids of the failing command or query and those run just before it; may be empty.\n */\n get correlationIds(): Guid[] {\n return this.#correlationIds;\n }\n\n set correlationIds(value: Guid[]) {\n this.#correlationIds = value;\n this.propertyChanged('correlationIds');\n }\n /**\n * What the reporter was doing; empty when they wrote nothing.\n */\n get details(): string {\n return this.#details;\n }\n\n set details(value: string) {\n this.#details = value;\n this.propertyChanged('details');\n }\n /**\n * The message of the error.\n */\n get errorMessage(): string {\n return this.#errorMessage;\n }\n\n set errorMessage(value: string) {\n this.#errorMessage = value;\n this.propertyChanged('errorMessage');\n }\n /**\n * The type of the error.\n */\n get errorType(): string {\n return this.#errorType;\n }\n\n set errorType(value: string) {\n this.#errorType = value;\n this.propertyChanged('errorType');\n }\n /**\n * Whether to let support sign in as the reporter.\n */\n get grantAccess(): boolean {\n return this.#grantAccess;\n }\n\n set grantAccess(value: boolean) {\n this.#grantAccess = value;\n this.propertyChanged('grantAccess');\n }\n /**\n * The id of the new issue, chosen by the caller so a retried report does not open a second issue.\n */\n get issueId(): Guid {\n return this.#issueId;\n }\n\n set issueId(value: Guid) {\n this.#issueId = value;\n this.propertyChanged('issueId');\n }\n /**\n * Where in the application the error happened.\n */\n get location(): SliceLocation {\n return this.#location;\n }\n\n set location(value: SliceLocation) {\n this.#location = value;\n this.propertyChanged('location');\n }\n /**\n * Whether to let support know who the reporter is.\n */\n get shareIdentity(): boolean {\n return this.#shareIdentity;\n }\n\n set shareIdentity(value: boolean) {\n this.#shareIdentity = value;\n this.propertyChanged('shareIdentity');\n }\n /**\n * The stack trace of the error, top frame first; empty when there is none.\n */\n get stackFrames(): StackFrame[] {\n return this.#stackFrames;\n }\n\n set stackFrames(value: StackFrame[]) {\n this.#stackFrames = value;\n this.propertyChanged('stackFrames');\n }\n\n static use(initialValues?: IReportError): [ReportError, SetCommandValues<IReportError>, ClearCommandValues] {\n return useCommand<ReportError, IReportError>(ReportError, initialValues);\n }\n}\n"],"names":["ReportErrorValidator","CommandValidator","ruleFor","c","details","maxLength","withMessage","errorMessage","notEmpty","errorType","ReportError","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Number","String","Guid","Boolean","SliceLocation","StackFrame","Object","requestParameters","accessDuration","value","propertyChanged","applicationVersion","correlationIds","grantAccess","issueId","location","shareIdentity","stackFrames","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAsEO,MAAMA,oBAAAA,SAA6BC,gBAAAA,CAAAA;IACtC,WAAA,EAAc;QACV,KAAK,EAAA;AACL,QAAA,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,OAAO,CAAA,CAAEC,SAAS,CAAC,IAAA,CAAA,CAAMC,WAAW,CAAC,kDAAA,CAAA;QACzD,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEI,YAAY,CAAA,CAAEC,QAAQ,EAAA,CAAGF,WAAW,CAAC,qCAAA,CAAA;AACzD,QAAA,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEI,YAAY,CAAA,CAAEF,SAAS,CAAC,IAAA,CAAA,CAAMC,WAAW,CAAC,mDAAA,CAAA;AAC9D,QAAA,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEM,SAAS,CAAA,CAAEJ,SAAS,CAAC,GAAA,CAAA,CAAKC,WAAW,CAAC,+CAAA,CAAA;AAC9D,IAAA;AACJ;AAEA;;IAGO,MAAMI,WAAAA,SAAoBC,OAAAA,CAAAA;AAC7B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,aAAa,aAAA,CAAA;AAC/EC,IAAAA,KAAAA,GAAgB,6BAAA;AAChBC,IAAAA,UAAAA,GAA+B,IAAIf,oBAAAA,EAAAA;AACnCgB,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,kBAAkBC,MAAAA,EAAQ,KAAA,CAAA;QACjD,IAAID,kBAAAA,CAAmB,sBAAsB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IAAA;AACA;;AAEC,QACD,IAAII,OAAAA,GAAgB;QAChB,OAAO,IAAI,CAAC,QAAQ;AACxB,IAAA;IAEA,IAAIA,OAAAA,CAAQL,KAAW,EAAE;QACrB,IAAI,CAAC,QAAQ,GAAGA,KAAAA;QAChB,IAAI,CAACC,eAAe,CAAC,SAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIK,QAAAA,GAA0B;QAC1B,OAAO,IAAI,CAAC,SAAS;AACzB,IAAA;IAEA,IAAIA,QAAAA,CAASN,KAAoB,EAAE;QAC/B,IAAI,CAAC,SAAS,GAAGA,KAAAA;QACjB,IAAI,CAACC,eAAe,CAAC,UAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIM,aAAAA,GAAyB;QACzB,OAAO,IAAI,CAAC,cAAc;AAC9B,IAAA;IAEA,IAAIA,aAAAA,CAAcP,KAAc,EAAE;QAC9B,IAAI,CAAC,cAAc,GAAGA,KAAAA;QACtB,IAAI,CAACC,eAAe,CAAC,eAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIO,WAAAA,GAA4B;QAC5B,OAAO,IAAI,CAAC,YAAY;AAC5B,IAAA;IAEA,IAAIA,WAAAA,CAAYR,KAAmB,EAAE;QACjC,IAAI,CAAC,YAAY,GAAGA,KAAAA;QACpB,IAAI,CAACC,eAAe,CAAC,aAAA,CAAA;AACzB,IAAA;IAEA,OAAOQ,GAAAA,CAAIC,aAA4B,EAAqE;AACxG,QAAA,OAAOC,WAAsC9B,WAAAA,EAAa6B,aAAAA,CAAAA;AAC9D,IAAA;AACJ;;"}
@@ -0,0 +1,2 @@
1
+ export * from './ReportError';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Reporting/ReportError/index.ts"],"names":[],"mappings":"AAGA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ReportError';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Reporting/ReportError/index.ts"],"names":[],"mappings":"AAGA,cAAc,eAAe,CAAC"}