@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.
- package/Access/AccessDuration.ts +13 -0
- package/Access/GrantAccess/GrantAccess.ts +80 -0
- package/Access/GrantAccess/index.ts +4 -0
- package/Access/RevokeAccess/RevokeAccess.ts +61 -0
- package/Access/RevokeAccess/index.ts +4 -0
- package/Access/index.ts +4 -0
- package/Contracts/Conversation/SupportAuthor.ts +25 -0
- package/Contracts/Conversation/SupportAuthorKind.ts +12 -0
- package/Contracts/Conversation/index.ts +5 -0
- package/Contracts/Reporting/SliceLocation.ts +30 -0
- package/Contracts/Reporting/StackFrame.ts +30 -0
- package/Contracts/Reporting/index.ts +5 -0
- package/Contracts/WorkItems/WorkItem.ts +36 -0
- package/Contracts/WorkItems/index.ts +4 -0
- package/Conversation/AddDetails/AddDetails.ts +87 -0
- package/Conversation/AddDetails/index.ts +4 -0
- package/Conversation/AnswerQuestion/AnswerQuestion.ts +105 -0
- package/Conversation/AnswerQuestion/index.ts +4 -0
- package/Errors/ErrorDetails.ts +41 -0
- package/Errors/errorDetailsFromCommandResult.ts +30 -0
- package/Errors/errorDetailsFromError.ts +44 -0
- package/Errors/errorDetailsFromQueryResult.ts +32 -0
- package/Errors/index.ts +9 -0
- package/Errors/messageOf.ts +24 -0
- package/Errors/parseStackTrace.ts +62 -0
- package/Errors/resolveLocation.ts +20 -0
- package/Identity/ShareIdentity/ShareIdentity.ts +61 -0
- package/Identity/ShareIdentity/index.ts +4 -0
- package/Identity/UserIdentity.ts +30 -0
- package/Identity/index.ts +4 -0
- package/Issues/IssueKind.ts +12 -0
- package/Issues/IssueState.ts +17 -0
- package/Issues/index.ts +5 -0
- package/Lifecycle/ReopenIssue/ReopenIssue.ts +87 -0
- package/Lifecycle/ReopenIssue/index.ts +4 -0
- package/Lifecycle/WithdrawIssue/WithdrawIssue.ts +61 -0
- package/Lifecycle/WithdrawIssue/index.ts +4 -0
- package/Listing/Listing.ts +271 -0
- package/Listing/index.ts +4 -0
- package/README.md +59 -0
- package/Reporting/ReportError/ReportError.ts +254 -0
- package/Reporting/ReportError/index.ts +4 -0
- package/Reporting/ReportIssue/ReportIssue.ts +217 -0
- package/Reporting/ReportIssue/index.ts +4 -0
- package/Viewing/AccessState.ts +15 -0
- package/Viewing/ConversationAuthorKind.ts +14 -0
- package/Viewing/ConversationEntryKind.ts +35 -0
- package/Viewing/Viewing.ts +472 -0
- package/Viewing/index.ts +7 -0
- package/dist/cjs/Access/AccessDuration.d.ts +6 -0
- package/dist/cjs/Access/AccessDuration.d.ts.map +1 -0
- package/dist/cjs/Access/AccessDuration.js +17 -0
- package/dist/cjs/Access/AccessDuration.js.map +1 -0
- package/dist/cjs/Access/GrantAccess/GrantAccess.d.ts +25 -0
- package/dist/cjs/Access/GrantAccess/GrantAccess.d.ts.map +1 -0
- package/dist/cjs/Access/GrantAccess/GrantAccess.js +55 -0
- package/dist/cjs/Access/GrantAccess/GrantAccess.js.map +1 -0
- package/dist/cjs/Access/GrantAccess/index.d.ts +2 -0
- package/dist/cjs/Access/GrantAccess/index.d.ts.map +1 -0
- package/dist/cjs/Access/RevokeAccess/RevokeAccess.d.ts +21 -0
- package/dist/cjs/Access/RevokeAccess/RevokeAccess.d.ts.map +1 -0
- package/dist/cjs/Access/RevokeAccess/RevokeAccess.js +44 -0
- package/dist/cjs/Access/RevokeAccess/RevokeAccess.js.map +1 -0
- package/dist/cjs/Access/RevokeAccess/index.d.ts +2 -0
- package/dist/cjs/Access/RevokeAccess/index.d.ts.map +1 -0
- package/dist/cjs/Access/index.d.ts +2 -0
- package/dist/cjs/Access/index.d.ts.map +1 -0
- package/dist/cjs/Contracts/Conversation/SupportAuthor.d.ts +6 -0
- package/dist/cjs/Contracts/Conversation/SupportAuthor.d.ts.map +1 -0
- package/dist/cjs/Contracts/Conversation/SupportAuthor.js +44 -0
- package/dist/cjs/Contracts/Conversation/SupportAuthor.js.map +1 -0
- package/dist/cjs/Contracts/Conversation/SupportAuthorKind.d.ts +5 -0
- package/dist/cjs/Contracts/Conversation/SupportAuthorKind.d.ts.map +1 -0
- package/dist/cjs/Contracts/Conversation/SupportAuthorKind.js +16 -0
- package/dist/cjs/Contracts/Conversation/SupportAuthorKind.js.map +1 -0
- package/dist/cjs/Contracts/Conversation/index.d.ts +3 -0
- package/dist/cjs/Contracts/Conversation/index.d.ts.map +1 -0
- package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts +6 -0
- package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts.map +1 -0
- package/dist/cjs/Contracts/Reporting/SliceLocation.js +50 -0
- package/dist/cjs/Contracts/Reporting/SliceLocation.js.map +1 -0
- package/dist/cjs/Contracts/Reporting/StackFrame.d.ts +6 -0
- package/dist/cjs/Contracts/Reporting/StackFrame.d.ts.map +1 -0
- package/dist/cjs/Contracts/Reporting/StackFrame.js +50 -0
- package/dist/cjs/Contracts/Reporting/StackFrame.js.map +1 -0
- package/dist/cjs/Contracts/Reporting/index.d.ts +3 -0
- package/dist/cjs/Contracts/Reporting/index.d.ts.map +1 -0
- package/dist/cjs/Contracts/WorkItems/WorkItem.d.ts +7 -0
- package/dist/cjs/Contracts/WorkItems/WorkItem.d.ts.map +1 -0
- package/dist/cjs/Contracts/WorkItems/WorkItem.js +57 -0
- package/dist/cjs/Contracts/WorkItems/WorkItem.js.map +1 -0
- package/dist/cjs/Contracts/WorkItems/index.d.ts +2 -0
- package/dist/cjs/Contracts/WorkItems/index.d.ts.map +1 -0
- package/dist/cjs/Conversation/AddDetails/AddDetails.d.ts +28 -0
- package/dist/cjs/Conversation/AddDetails/AddDetails.d.ts.map +1 -0
- package/dist/cjs/Conversation/AddDetails/AddDetails.js +64 -0
- package/dist/cjs/Conversation/AddDetails/AddDetails.js.map +1 -0
- package/dist/cjs/Conversation/AddDetails/index.d.ts +2 -0
- package/dist/cjs/Conversation/AddDetails/index.d.ts.map +1 -0
- package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.d.ts +31 -0
- package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.d.ts.map +1 -0
- package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.js +75 -0
- package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.js.map +1 -0
- package/dist/cjs/Conversation/AnswerQuestion/index.d.ts +2 -0
- package/dist/cjs/Conversation/AnswerQuestion/index.d.ts.map +1 -0
- package/dist/cjs/Errors/ErrorDetails.d.ts +11 -0
- package/dist/cjs/Errors/ErrorDetails.d.ts.map +1 -0
- package/dist/cjs/Errors/errorDetailsFromCommandResult.d.ts +5 -0
- package/dist/cjs/Errors/errorDetailsFromCommandResult.d.ts.map +1 -0
- package/dist/cjs/Errors/errorDetailsFromCommandResult.js +32 -0
- package/dist/cjs/Errors/errorDetailsFromCommandResult.js.map +1 -0
- package/dist/cjs/Errors/errorDetailsFromError.d.ts +4 -0
- package/dist/cjs/Errors/errorDetailsFromError.d.ts.map +1 -0
- package/dist/cjs/Errors/errorDetailsFromError.js +43 -0
- package/dist/cjs/Errors/errorDetailsFromError.js.map +1 -0
- package/dist/cjs/Errors/errorDetailsFromQueryResult.d.ts +6 -0
- package/dist/cjs/Errors/errorDetailsFromQueryResult.d.ts.map +1 -0
- package/dist/cjs/Errors/errorDetailsFromQueryResult.js +33 -0
- package/dist/cjs/Errors/errorDetailsFromQueryResult.js.map +1 -0
- package/dist/cjs/Errors/index.d.ts +7 -0
- package/dist/cjs/Errors/index.d.ts.map +1 -0
- package/dist/cjs/Errors/messageOf.d.ts +3 -0
- package/dist/cjs/Errors/messageOf.d.ts.map +1 -0
- package/dist/cjs/Errors/messageOf.js +23 -0
- package/dist/cjs/Errors/messageOf.js.map +1 -0
- package/dist/cjs/Errors/parseStackTrace.d.ts +3 -0
- package/dist/cjs/Errors/parseStackTrace.d.ts.map +1 -0
- package/dist/cjs/Errors/parseStackTrace.js +54 -0
- package/dist/cjs/Errors/parseStackTrace.js.map +1 -0
- package/dist/cjs/Errors/resolveLocation.d.ts +3 -0
- package/dist/cjs/Errors/resolveLocation.d.ts.map +1 -0
- package/dist/cjs/Errors/resolveLocation.js +22 -0
- package/dist/cjs/Errors/resolveLocation.js.map +1 -0
- package/dist/cjs/Identity/ShareIdentity/ShareIdentity.d.ts +21 -0
- package/dist/cjs/Identity/ShareIdentity/ShareIdentity.d.ts.map +1 -0
- package/dist/cjs/Identity/ShareIdentity/ShareIdentity.js +44 -0
- package/dist/cjs/Identity/ShareIdentity/ShareIdentity.js.map +1 -0
- package/dist/cjs/Identity/ShareIdentity/index.d.ts +2 -0
- package/dist/cjs/Identity/ShareIdentity/index.d.ts.map +1 -0
- package/dist/cjs/Identity/UserIdentity.d.ts +6 -0
- package/dist/cjs/Identity/UserIdentity.d.ts.map +1 -0
- package/dist/cjs/Identity/UserIdentity.js +50 -0
- package/dist/cjs/Identity/UserIdentity.js.map +1 -0
- package/dist/cjs/Identity/index.d.ts +2 -0
- package/dist/cjs/Identity/index.d.ts.map +1 -0
- package/dist/cjs/Issues/IssueKind.d.ts +5 -0
- package/dist/cjs/Issues/IssueKind.d.ts.map +1 -0
- package/dist/cjs/Issues/IssueKind.js +16 -0
- package/dist/cjs/Issues/IssueKind.js.map +1 -0
- package/dist/cjs/Issues/IssueState.d.ts +10 -0
- package/dist/cjs/Issues/IssueState.d.ts.map +1 -0
- package/dist/cjs/Issues/IssueState.js +21 -0
- package/dist/cjs/Issues/IssueState.js.map +1 -0
- package/dist/cjs/Issues/index.d.ts +3 -0
- package/dist/cjs/Issues/index.d.ts.map +1 -0
- package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.d.ts +28 -0
- package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.d.ts.map +1 -0
- package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.js +64 -0
- package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.js.map +1 -0
- package/dist/cjs/Lifecycle/ReopenIssue/index.d.ts +2 -0
- package/dist/cjs/Lifecycle/ReopenIssue/index.d.ts.map +1 -0
- package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts +21 -0
- package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts.map +1 -0
- package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.js +44 -0
- package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.js.map +1 -0
- package/dist/cjs/Lifecycle/WithdrawIssue/index.d.ts +2 -0
- package/dist/cjs/Lifecycle/WithdrawIssue/index.d.ts.map +1 -0
- package/dist/cjs/Listing/Listing.d.ts +99 -0
- package/dist/cjs/Listing/Listing.d.ts.map +1 -0
- package/dist/cjs/Listing/Listing.js +281 -0
- package/dist/cjs/Listing/Listing.js.map +1 -0
- package/dist/cjs/Listing/index.d.ts +2 -0
- package/dist/cjs/Listing/index.d.ts.map +1 -0
- package/dist/cjs/Reporting/ReportError/ReportError.d.ts +58 -0
- package/dist/cjs/Reporting/ReportError/ReportError.d.ts.map +1 -0
- package/dist/cjs/Reporting/ReportError/ReportError.js +167 -0
- package/dist/cjs/Reporting/ReportError/ReportError.js.map +1 -0
- package/dist/cjs/Reporting/ReportError/index.d.ts +2 -0
- package/dist/cjs/Reporting/ReportError/index.d.ts.map +1 -0
- package/dist/cjs/Reporting/ReportIssue/ReportIssue.d.ts +51 -0
- package/dist/cjs/Reporting/ReportIssue/ReportIssue.d.ts.map +1 -0
- package/dist/cjs/Reporting/ReportIssue/ReportIssue.js +144 -0
- package/dist/cjs/Reporting/ReportIssue/ReportIssue.js.map +1 -0
- package/dist/cjs/Reporting/ReportIssue/index.d.ts +2 -0
- package/dist/cjs/Reporting/ReportIssue/index.d.ts.map +1 -0
- package/dist/cjs/Viewing/AccessState.d.ts +8 -0
- package/dist/cjs/Viewing/AccessState.d.ts.map +1 -0
- package/dist/cjs/Viewing/AccessState.js +19 -0
- package/dist/cjs/Viewing/AccessState.js.map +1 -0
- package/dist/cjs/Viewing/ConversationAuthorKind.d.ts +7 -0
- package/dist/cjs/Viewing/ConversationAuthorKind.d.ts.map +1 -0
- package/dist/cjs/Viewing/ConversationAuthorKind.js +18 -0
- package/dist/cjs/Viewing/ConversationAuthorKind.js.map +1 -0
- package/dist/cjs/Viewing/ConversationEntryKind.d.ts +28 -0
- package/dist/cjs/Viewing/ConversationEntryKind.d.ts.map +1 -0
- package/dist/cjs/Viewing/ConversationEntryKind.js +39 -0
- package/dist/cjs/Viewing/ConversationEntryKind.js.map +1 -0
- package/dist/cjs/Viewing/Viewing.d.ts +145 -0
- package/dist/cjs/Viewing/Viewing.d.ts.map +1 -0
- package/dist/cjs/Viewing/Viewing.js +492 -0
- package/dist/cjs/Viewing/Viewing.js.map +1 -0
- package/dist/cjs/Viewing/index.d.ts +5 -0
- package/dist/cjs/Viewing/index.d.ts.map +1 -0
- package/dist/cjs/index.d.ts +19 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +74 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/esm/Access/AccessDuration.d.ts +6 -0
- package/dist/esm/Access/AccessDuration.d.ts.map +1 -0
- package/dist/esm/Access/AccessDuration.js +15 -0
- package/dist/esm/Access/AccessDuration.js.map +1 -0
- package/dist/esm/Access/GrantAccess/GrantAccess.d.ts +25 -0
- package/dist/esm/Access/GrantAccess/GrantAccess.d.ts.map +1 -0
- package/dist/esm/Access/GrantAccess/GrantAccess.js +53 -0
- package/dist/esm/Access/GrantAccess/GrantAccess.js.map +1 -0
- package/dist/esm/Access/GrantAccess/index.d.ts +2 -0
- package/dist/esm/Access/GrantAccess/index.d.ts.map +1 -0
- package/dist/esm/Access/GrantAccess/index.js +2 -0
- package/dist/esm/Access/GrantAccess/index.js.map +1 -0
- package/dist/esm/Access/RevokeAccess/RevokeAccess.d.ts +21 -0
- package/dist/esm/Access/RevokeAccess/RevokeAccess.d.ts.map +1 -0
- package/dist/esm/Access/RevokeAccess/RevokeAccess.js +42 -0
- package/dist/esm/Access/RevokeAccess/RevokeAccess.js.map +1 -0
- package/dist/esm/Access/RevokeAccess/index.d.ts +2 -0
- package/dist/esm/Access/RevokeAccess/index.d.ts.map +1 -0
- package/dist/esm/Access/RevokeAccess/index.js +2 -0
- package/dist/esm/Access/RevokeAccess/index.js.map +1 -0
- package/dist/esm/Access/index.d.ts +2 -0
- package/dist/esm/Access/index.d.ts.map +1 -0
- package/dist/esm/Access/index.js +2 -0
- package/dist/esm/Access/index.js.map +1 -0
- package/dist/esm/Contracts/Conversation/SupportAuthor.d.ts +6 -0
- package/dist/esm/Contracts/Conversation/SupportAuthor.d.ts.map +1 -0
- package/dist/esm/Contracts/Conversation/SupportAuthor.js +42 -0
- package/dist/esm/Contracts/Conversation/SupportAuthor.js.map +1 -0
- package/dist/esm/Contracts/Conversation/SupportAuthorKind.d.ts +5 -0
- package/dist/esm/Contracts/Conversation/SupportAuthorKind.d.ts.map +1 -0
- package/dist/esm/Contracts/Conversation/SupportAuthorKind.js +14 -0
- package/dist/esm/Contracts/Conversation/SupportAuthorKind.js.map +1 -0
- package/dist/esm/Contracts/Conversation/index.d.ts +3 -0
- package/dist/esm/Contracts/Conversation/index.d.ts.map +1 -0
- package/dist/esm/Contracts/Conversation/index.js +3 -0
- package/dist/esm/Contracts/Conversation/index.js.map +1 -0
- package/dist/esm/Contracts/Reporting/SliceLocation.d.ts +6 -0
- package/dist/esm/Contracts/Reporting/SliceLocation.d.ts.map +1 -0
- package/dist/esm/Contracts/Reporting/SliceLocation.js +48 -0
- package/dist/esm/Contracts/Reporting/SliceLocation.js.map +1 -0
- package/dist/esm/Contracts/Reporting/StackFrame.d.ts +6 -0
- package/dist/esm/Contracts/Reporting/StackFrame.d.ts.map +1 -0
- package/dist/esm/Contracts/Reporting/StackFrame.js +48 -0
- package/dist/esm/Contracts/Reporting/StackFrame.js.map +1 -0
- package/dist/esm/Contracts/Reporting/index.d.ts +3 -0
- package/dist/esm/Contracts/Reporting/index.d.ts.map +1 -0
- package/dist/esm/Contracts/Reporting/index.js +3 -0
- package/dist/esm/Contracts/Reporting/index.js.map +1 -0
- package/dist/esm/Contracts/WorkItems/WorkItem.d.ts +7 -0
- package/dist/esm/Contracts/WorkItems/WorkItem.d.ts.map +1 -0
- package/dist/esm/Contracts/WorkItems/WorkItem.js +55 -0
- package/dist/esm/Contracts/WorkItems/WorkItem.js.map +1 -0
- package/dist/esm/Contracts/WorkItems/index.d.ts +2 -0
- package/dist/esm/Contracts/WorkItems/index.d.ts.map +1 -0
- package/dist/esm/Contracts/WorkItems/index.js +2 -0
- package/dist/esm/Contracts/WorkItems/index.js.map +1 -0
- package/dist/esm/Conversation/AddDetails/AddDetails.d.ts +28 -0
- package/dist/esm/Conversation/AddDetails/AddDetails.d.ts.map +1 -0
- package/dist/esm/Conversation/AddDetails/AddDetails.js +61 -0
- package/dist/esm/Conversation/AddDetails/AddDetails.js.map +1 -0
- package/dist/esm/Conversation/AddDetails/index.d.ts +2 -0
- package/dist/esm/Conversation/AddDetails/index.d.ts.map +1 -0
- package/dist/esm/Conversation/AddDetails/index.js +2 -0
- package/dist/esm/Conversation/AddDetails/index.js.map +1 -0
- package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.d.ts +31 -0
- package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.d.ts.map +1 -0
- package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.js +72 -0
- package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.js.map +1 -0
- package/dist/esm/Conversation/AnswerQuestion/index.d.ts +2 -0
- package/dist/esm/Conversation/AnswerQuestion/index.d.ts.map +1 -0
- package/dist/esm/Conversation/AnswerQuestion/index.js +2 -0
- package/dist/esm/Conversation/AnswerQuestion/index.js.map +1 -0
- package/dist/esm/Errors/ErrorDetails.d.ts +11 -0
- package/dist/esm/Errors/ErrorDetails.d.ts.map +1 -0
- package/dist/esm/Errors/ErrorDetails.js +2 -0
- package/dist/esm/Errors/ErrorDetails.js.map +1 -0
- package/dist/esm/Errors/errorDetailsFromCommandResult.d.ts +5 -0
- package/dist/esm/Errors/errorDetailsFromCommandResult.d.ts.map +1 -0
- package/dist/esm/Errors/errorDetailsFromCommandResult.js +30 -0
- package/dist/esm/Errors/errorDetailsFromCommandResult.js.map +1 -0
- package/dist/esm/Errors/errorDetailsFromError.d.ts +4 -0
- package/dist/esm/Errors/errorDetailsFromError.d.ts.map +1 -0
- package/dist/esm/Errors/errorDetailsFromError.js +41 -0
- package/dist/esm/Errors/errorDetailsFromError.js.map +1 -0
- package/dist/esm/Errors/errorDetailsFromQueryResult.d.ts +6 -0
- package/dist/esm/Errors/errorDetailsFromQueryResult.d.ts.map +1 -0
- package/dist/esm/Errors/errorDetailsFromQueryResult.js +31 -0
- package/dist/esm/Errors/errorDetailsFromQueryResult.js.map +1 -0
- package/dist/esm/Errors/index.d.ts +7 -0
- package/dist/esm/Errors/index.d.ts.map +1 -0
- package/dist/esm/Errors/index.js +7 -0
- package/dist/esm/Errors/index.js.map +1 -0
- package/dist/esm/Errors/messageOf.d.ts +3 -0
- package/dist/esm/Errors/messageOf.d.ts.map +1 -0
- package/dist/esm/Errors/messageOf.js +21 -0
- package/dist/esm/Errors/messageOf.js.map +1 -0
- package/dist/esm/Errors/parseStackTrace.d.ts +3 -0
- package/dist/esm/Errors/parseStackTrace.d.ts.map +1 -0
- package/dist/esm/Errors/parseStackTrace.js +52 -0
- package/dist/esm/Errors/parseStackTrace.js.map +1 -0
- package/dist/esm/Errors/resolveLocation.d.ts +3 -0
- package/dist/esm/Errors/resolveLocation.d.ts.map +1 -0
- package/dist/esm/Errors/resolveLocation.js +20 -0
- package/dist/esm/Errors/resolveLocation.js.map +1 -0
- package/dist/esm/Identity/ShareIdentity/ShareIdentity.d.ts +21 -0
- package/dist/esm/Identity/ShareIdentity/ShareIdentity.d.ts.map +1 -0
- package/dist/esm/Identity/ShareIdentity/ShareIdentity.js +42 -0
- package/dist/esm/Identity/ShareIdentity/ShareIdentity.js.map +1 -0
- package/dist/esm/Identity/ShareIdentity/index.d.ts +2 -0
- package/dist/esm/Identity/ShareIdentity/index.d.ts.map +1 -0
- package/dist/esm/Identity/ShareIdentity/index.js +2 -0
- package/dist/esm/Identity/ShareIdentity/index.js.map +1 -0
- package/dist/esm/Identity/UserIdentity.d.ts +6 -0
- package/dist/esm/Identity/UserIdentity.d.ts.map +1 -0
- package/dist/esm/Identity/UserIdentity.js +48 -0
- package/dist/esm/Identity/UserIdentity.js.map +1 -0
- package/dist/esm/Identity/index.d.ts +2 -0
- package/dist/esm/Identity/index.d.ts.map +1 -0
- package/dist/esm/Identity/index.js +2 -0
- package/dist/esm/Identity/index.js.map +1 -0
- package/dist/esm/Issues/IssueKind.d.ts +5 -0
- package/dist/esm/Issues/IssueKind.d.ts.map +1 -0
- package/dist/esm/Issues/IssueKind.js +14 -0
- package/dist/esm/Issues/IssueKind.js.map +1 -0
- package/dist/esm/Issues/IssueState.d.ts +10 -0
- package/dist/esm/Issues/IssueState.d.ts.map +1 -0
- package/dist/esm/Issues/IssueState.js +19 -0
- package/dist/esm/Issues/IssueState.js.map +1 -0
- package/dist/esm/Issues/index.d.ts +3 -0
- package/dist/esm/Issues/index.d.ts.map +1 -0
- package/dist/esm/Issues/index.js +3 -0
- package/dist/esm/Issues/index.js.map +1 -0
- package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.d.ts +28 -0
- package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.d.ts.map +1 -0
- package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.js +61 -0
- package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.js.map +1 -0
- package/dist/esm/Lifecycle/ReopenIssue/index.d.ts +2 -0
- package/dist/esm/Lifecycle/ReopenIssue/index.d.ts.map +1 -0
- package/dist/esm/Lifecycle/ReopenIssue/index.js +2 -0
- package/dist/esm/Lifecycle/ReopenIssue/index.js.map +1 -0
- package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts +21 -0
- package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts.map +1 -0
- package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.js +42 -0
- package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.js.map +1 -0
- package/dist/esm/Lifecycle/WithdrawIssue/index.d.ts +2 -0
- package/dist/esm/Lifecycle/WithdrawIssue/index.d.ts.map +1 -0
- package/dist/esm/Lifecycle/WithdrawIssue/index.js +2 -0
- package/dist/esm/Lifecycle/WithdrawIssue/index.js.map +1 -0
- package/dist/esm/Listing/Listing.d.ts +99 -0
- package/dist/esm/Listing/Listing.d.ts.map +1 -0
- package/dist/esm/Listing/Listing.js +278 -0
- package/dist/esm/Listing/Listing.js.map +1 -0
- package/dist/esm/Listing/index.d.ts +2 -0
- package/dist/esm/Listing/index.d.ts.map +1 -0
- package/dist/esm/Listing/index.js +2 -0
- package/dist/esm/Listing/index.js.map +1 -0
- package/dist/esm/Reporting/ReportError/ReportError.d.ts +58 -0
- package/dist/esm/Reporting/ReportError/ReportError.d.ts.map +1 -0
- package/dist/esm/Reporting/ReportError/ReportError.js +164 -0
- package/dist/esm/Reporting/ReportError/ReportError.js.map +1 -0
- package/dist/esm/Reporting/ReportError/index.d.ts +2 -0
- package/dist/esm/Reporting/ReportError/index.d.ts.map +1 -0
- package/dist/esm/Reporting/ReportError/index.js +2 -0
- package/dist/esm/Reporting/ReportError/index.js.map +1 -0
- package/dist/esm/Reporting/ReportIssue/ReportIssue.d.ts +51 -0
- package/dist/esm/Reporting/ReportIssue/ReportIssue.d.ts.map +1 -0
- package/dist/esm/Reporting/ReportIssue/ReportIssue.js +141 -0
- package/dist/esm/Reporting/ReportIssue/ReportIssue.js.map +1 -0
- package/dist/esm/Reporting/ReportIssue/index.d.ts +2 -0
- package/dist/esm/Reporting/ReportIssue/index.d.ts.map +1 -0
- package/dist/esm/Reporting/ReportIssue/index.js +2 -0
- package/dist/esm/Reporting/ReportIssue/index.js.map +1 -0
- package/dist/esm/Viewing/AccessState.d.ts +8 -0
- package/dist/esm/Viewing/AccessState.d.ts.map +1 -0
- package/dist/esm/Viewing/AccessState.js +17 -0
- package/dist/esm/Viewing/AccessState.js.map +1 -0
- package/dist/esm/Viewing/ConversationAuthorKind.d.ts +7 -0
- package/dist/esm/Viewing/ConversationAuthorKind.d.ts.map +1 -0
- package/dist/esm/Viewing/ConversationAuthorKind.js +16 -0
- package/dist/esm/Viewing/ConversationAuthorKind.js.map +1 -0
- package/dist/esm/Viewing/ConversationEntryKind.d.ts +28 -0
- package/dist/esm/Viewing/ConversationEntryKind.d.ts.map +1 -0
- package/dist/esm/Viewing/ConversationEntryKind.js +37 -0
- package/dist/esm/Viewing/ConversationEntryKind.js.map +1 -0
- package/dist/esm/Viewing/Viewing.d.ts +145 -0
- package/dist/esm/Viewing/Viewing.d.ts.map +1 -0
- package/dist/esm/Viewing/Viewing.js +484 -0
- package/dist/esm/Viewing/Viewing.js.map +1 -0
- package/dist/esm/Viewing/index.d.ts +5 -0
- package/dist/esm/Viewing/index.d.ts.map +1 -0
- package/dist/esm/Viewing/index.js +5 -0
- package/dist/esm/Viewing/index.js.map +1 -0
- package/dist/esm/index.d.ts +19 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +29 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/index.ts +21 -0
- package/package.json +71 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commands = require('@cratis/arc/commands');
|
|
4
|
+
var commands$1 = require('@cratis/arc.react/commands');
|
|
5
|
+
var reflection = require('@cratis/arc/reflection');
|
|
6
|
+
var fundamentals = require('@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.Access.RevokeAccess.RevokeAccess. Time: 2026-10-26T19:31:39.8469400Z. Hash: A43D27067A33FB57D824175026F0970762913BDB1BEE073DA0228A65B8994147
|
|
12
|
+
/**
|
|
13
|
+
* The reporter takes back the access they granted support on one of their issues, before it ends by itself.
|
|
14
|
+
*/ class RevokeAccess extends commands.Command {
|
|
15
|
+
static sliceLocation = new reflection.SliceLocation('', 'Access', 'RevokeAccess');
|
|
16
|
+
route = '/api/access/revoke-access';
|
|
17
|
+
treatWarningsAsErrors = false;
|
|
18
|
+
roles = [];
|
|
19
|
+
propertyDescriptors = [
|
|
20
|
+
new reflection.PropertyDescriptor('issueId', fundamentals.Guid, false)
|
|
21
|
+
];
|
|
22
|
+
#issueId;
|
|
23
|
+
constructor(){
|
|
24
|
+
super(Object, false);
|
|
25
|
+
}
|
|
26
|
+
get requestParameters() {
|
|
27
|
+
return [];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The issue to revoke access on.
|
|
31
|
+
*/ get issueId() {
|
|
32
|
+
return this.#issueId;
|
|
33
|
+
}
|
|
34
|
+
set issueId(value) {
|
|
35
|
+
this.#issueId = value;
|
|
36
|
+
this.propertyChanged('issueId');
|
|
37
|
+
}
|
|
38
|
+
static use(initialValues) {
|
|
39
|
+
return commands$1.useCommand(RevokeAccess, initialValues);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.RevokeAccess = RevokeAccess;
|
|
44
|
+
//# sourceMappingURL=RevokeAccess.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevokeAccess.js","sources":["../../../../Access/RevokeAccess/RevokeAccess.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.Access.RevokeAccess.RevokeAccess. Time: 2026-10-26T19:31:39.8469400Z. Hash: A43D27067A33FB57D824175026F0970762913BDB1BEE073DA0228A65B8994147\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 reporter takes back the access they granted support on one of their issues, before it ends by itself.\n */\nexport interface IRevokeAccess {\n\n /**\n * The issue to revoke access on.\n */\n issueId?: Guid;\n}\n\n\n/**\n * The reporter takes back the access they granted support on one of their issues, before it ends by itself.\n */\nexport class RevokeAccess extends Command<IRevokeAccess> implements IRevokeAccess {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Access', 'RevokeAccess');\n readonly route: string = '/api/access/revoke-access';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('issueId', Guid, false),\n ];\n\n #issueId!: Guid;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The issue to revoke access on.\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 static use(initialValues?: IRevokeAccess): [RevokeAccess, SetCommandValues<IRevokeAccess>, ClearCommandValues] {\n return useCommand<RevokeAccess, IRevokeAccess>(RevokeAccess, initialValues);\n }\n}\n"],"names":["RevokeAccess","Command","sliceLocation","ArcSliceLocation","route","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Guid","Object","requestParameters","issueId","value","propertyChanged","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAkBA;;IAGO,MAAMA,YAAAA,SAAqBC,gBAAAA,CAAAA;AAC9B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,wBAAAA,CAAiB,EAAA,EAAI,UAAU,cAAA,CAAA;AAC5EC,IAAAA,KAAAA,GAAgB,2BAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,6BAAAA,CAAmB,WAAWC,iBAAAA,EAAM,KAAA;KAC3C;AAED,IAAA,QAAQ;IAER,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,OAAAA,GAAgB;QAChB,OAAO,IAAI,CAAC,QAAQ;AACxB,IAAA;IAEA,IAAIA,OAAAA,CAAQC,KAAW,EAAE;QACrB,IAAI,CAAC,QAAQ,GAAGA,KAAAA;QAChB,IAAI,CAACC,eAAe,CAAC,SAAA,CAAA;AACzB,IAAA;IAEA,OAAOC,GAAAA,CAAIC,aAA6B,EAAuE;AAC3G,QAAA,OAAOC,sBAAwCjB,YAAAA,EAAcgB,aAAAA,CAAAA;AACjE,IAAA;AACJ;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Access/RevokeAccess/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Access/index.ts"],"names":[],"mappings":"AAGA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportAuthor.d.ts","sourceRoot":"","sources":["../../../../Contracts/Conversation/SupportAuthor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,qBAAa,aAAa;IAMtB,IAAI,EAAG,MAAM,CAAC;IAMd,IAAI,EAAG,iBAAiB,CAAC;CAC5B"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var fundamentals = require('@cratis/fundamentals');
|
|
4
|
+
var SupportAuthorKind = require('./SupportAuthorKind.js');
|
|
5
|
+
|
|
6
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
7
|
+
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
9
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
10
|
+
} else {
|
|
11
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
12
|
+
if (d = decorators[i]) {
|
|
13
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
}
|
|
19
|
+
function _ts_metadata(metadataKey, metadataValue) {
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
21
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Who wrote a support entry, as the reporter is meant to see it. It travels in the payload because the desk's own causation (who appended the event in the desk store) does not cross into the application: the application records the translated event under its own causation, and the desk decides what the reporter may see.
|
|
26
|
+
*/ class SupportAuthor {
|
|
27
|
+
/**
|
|
28
|
+
* The author's name; {@link NotSet} when the desk hides it.
|
|
29
|
+
*/ name;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the author is a person or an agent.
|
|
32
|
+
*/ kind;
|
|
33
|
+
}
|
|
34
|
+
_ts_decorate([
|
|
35
|
+
fundamentals.field(String),
|
|
36
|
+
_ts_metadata("design:type", String)
|
|
37
|
+
], SupportAuthor.prototype, "name", void 0);
|
|
38
|
+
_ts_decorate([
|
|
39
|
+
fundamentals.field(Number),
|
|
40
|
+
_ts_metadata("design:type", typeof SupportAuthorKind.SupportAuthorKind === "undefined" ? Object : SupportAuthorKind.SupportAuthorKind)
|
|
41
|
+
], SupportAuthor.prototype, "kind", void 0);
|
|
42
|
+
|
|
43
|
+
exports.SupportAuthor = SupportAuthor;
|
|
44
|
+
//# sourceMappingURL=SupportAuthor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportAuthor.js","sources":["../../../../Contracts/Conversation/SupportAuthor.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.Contracts.Conversation.SupportAuthor. Time: 2026-10-26T18:15:51.5541920Z. Hash: D971774E1CCD2C2A3F843B181EB3702E3D2B029CC98A4E67A7AA5BA736C177FC\nimport { field } from '@cratis/fundamentals';\nimport { SupportAuthorKind } from './SupportAuthorKind';\n\n/**\n * Who wrote a support entry, as the reporter is meant to see it. It travels in the payload because the desk's own causation (who appended the event in the desk store) does not cross into the application: the application records the translated event under its own causation, and the desk decides what the reporter may see.\n */\nexport class SupportAuthor {\n\n /**\n * The author's name; {@link NotSet} when the desk hides it.\n */\n @field(String)\n name!: string;\n\n /**\n * Whether the author is a person or an agent.\n */\n @field(Number)\n kind!: SupportAuthorKind;\n}\n"],"names":["SupportAuthor","name","kind"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQA;;AAEC,IACM,MAAMA,aAAAA,CAAAA;AAET;;AAEC,QACD,IACAC;AAEA;;AAEC,QACD,IACAC;AACJ;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportAuthorKind.d.ts","sourceRoot":"","sources":["../../../../Contracts/Conversation/SupportAuthorKind.ts"],"names":[],"mappings":"AAQA,oBAAY,iBAAiB;IACzB,MAAM,IAAI;IACV,KAAK,IAAI;CACZ"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
6
|
+
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Contracts.Conversation.SupportAuthorKind. Time: 2026-10-26T18:15:51.5541920Z. Hash: F0E3DFBE5B4CC9979D8E809F25FE71B45342DCEC39253BD19C5B48510442C643
|
|
7
|
+
/**
|
|
8
|
+
* What kind of author wrote a support entry the reporter sees.
|
|
9
|
+
*/ var SupportAuthorKind = /*#__PURE__*/ function(SupportAuthorKind) {
|
|
10
|
+
SupportAuthorKind[SupportAuthorKind["person"] = 0] = "person";
|
|
11
|
+
SupportAuthorKind[SupportAuthorKind["agent"] = 1] = "agent";
|
|
12
|
+
return SupportAuthorKind;
|
|
13
|
+
}({});
|
|
14
|
+
|
|
15
|
+
exports.SupportAuthorKind = SupportAuthorKind;
|
|
16
|
+
//# sourceMappingURL=SupportAuthorKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportAuthorKind.js","sources":["../../../../Contracts/Conversation/SupportAuthorKind.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.Contracts.Conversation.SupportAuthorKind. Time: 2026-10-26T18:15:51.5541920Z. Hash: F0E3DFBE5B4CC9979D8E809F25FE71B45342DCEC39253BD19C5B48510442C643\n/**\n * What kind of author wrote a support entry the reporter sees.\n */\nexport enum SupportAuthorKind {\n person = 0,\n agent = 1,\n}\n"],"names":["SupportAuthorKind"],"mappings":";;AAAA;AACA;AAEA;AACA;AACA;;IAGO,IAAKA,iBAAAA,iBAAAA,SAAAA,iBAAAA,EAAAA;AACC,IAAA,iBAAA,CAAA,iBAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA;AACD,IAAA,iBAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AAFAA,IAAAA,OAAAA,iBAAAA;AAGX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Contracts/Conversation/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SliceLocation.d.ts","sourceRoot":"","sources":["../../../../Contracts/Reporting/SliceLocation.ts"],"names":[],"mappings":"AAUA,qBAAa,aAAa;IAMtB,MAAM,EAAG,MAAM,CAAC;IAMhB,OAAO,EAAG,MAAM,CAAC;IAMjB,KAAK,EAAG,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var fundamentals = require('@cratis/fundamentals');
|
|
4
|
+
|
|
5
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
8
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
+
} else {
|
|
10
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
11
|
+
if (d = decorators[i]) {
|
|
12
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
+
}
|
|
18
|
+
function _ts_metadata(metadataKey, metadataValue) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
20
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Where in the application an issue happened, as the module, feature and slice Arc resolves - on the backend from the executing command or query, in the frontend from the component hierarchy. A part Arc cannot resolve is `NotSet`, never absent.
|
|
25
|
+
*/ class SliceLocation {
|
|
26
|
+
/**
|
|
27
|
+
* The module.
|
|
28
|
+
*/ module;
|
|
29
|
+
/**
|
|
30
|
+
* The feature within the module.
|
|
31
|
+
*/ feature;
|
|
32
|
+
/**
|
|
33
|
+
* The slice within the feature.
|
|
34
|
+
*/ slice;
|
|
35
|
+
}
|
|
36
|
+
_ts_decorate([
|
|
37
|
+
fundamentals.field(String),
|
|
38
|
+
_ts_metadata("design:type", String)
|
|
39
|
+
], SliceLocation.prototype, "module", void 0);
|
|
40
|
+
_ts_decorate([
|
|
41
|
+
fundamentals.field(String),
|
|
42
|
+
_ts_metadata("design:type", String)
|
|
43
|
+
], SliceLocation.prototype, "feature", void 0);
|
|
44
|
+
_ts_decorate([
|
|
45
|
+
fundamentals.field(String),
|
|
46
|
+
_ts_metadata("design:type", String)
|
|
47
|
+
], SliceLocation.prototype, "slice", void 0);
|
|
48
|
+
|
|
49
|
+
exports.SliceLocation = SliceLocation;
|
|
50
|
+
//# sourceMappingURL=SliceLocation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SliceLocation.js","sources":["../../../../Contracts/Reporting/SliceLocation.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.Contracts.Reporting.SliceLocation. Time: 2026-10-26T18:15:51.5541920Z. Hash: 43F1EEEB0FFCB772AA0F2633DFF9FAC94AADE89AB1858F453B61A86B87327956\nimport { field } from '@cratis/fundamentals';\n\n/**\n * Where in the application an issue happened, as the module, feature and slice Arc resolves - on the backend from the executing command or query, in the frontend from the component hierarchy. A part Arc cannot resolve is `NotSet`, never absent.\n */\nexport class SliceLocation {\n\n /**\n * The module.\n */\n @field(String)\n module!: string;\n\n /**\n * The feature within the module.\n */\n @field(String)\n feature!: string;\n\n /**\n * The slice within the feature.\n */\n @field(String)\n slice!: string;\n}\n"],"names":["SliceLocation","module","feature","slice"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAOA;;AAEC,IACM,MAAMA,aAAAA,CAAAA;AAET;;AAEC,QACD,MACAC;AAEA;;AAEC,QACD,OACAC;AAEA;;AAEC,QACD,KACAC;AACJ;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackFrame.d.ts","sourceRoot":"","sources":["../../../../Contracts/Reporting/StackFrame.ts"],"names":[],"mappings":"AAUA,qBAAa,UAAU;IAMnB,MAAM,EAAG,MAAM,CAAC;IAMhB,IAAI,EAAG,MAAM,CAAC;IAMd,IAAI,EAAG,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var fundamentals = require('@cratis/fundamentals');
|
|
4
|
+
|
|
5
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
8
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
+
} else {
|
|
10
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
11
|
+
if (d = decorators[i]) {
|
|
12
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
+
}
|
|
18
|
+
function _ts_metadata(metadataKey, metadataValue) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
20
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* One frame of the stack trace captured with an error, top frame first. A part the runtime did not report is `NotSet`; an error without a stack trace carries no frames at all.
|
|
25
|
+
*/ class StackFrame {
|
|
26
|
+
/**
|
|
27
|
+
* The method or function.
|
|
28
|
+
*/ method;
|
|
29
|
+
/**
|
|
30
|
+
* The source file or script URL.
|
|
31
|
+
*/ file;
|
|
32
|
+
/**
|
|
33
|
+
* The line number in the file.
|
|
34
|
+
*/ line;
|
|
35
|
+
}
|
|
36
|
+
_ts_decorate([
|
|
37
|
+
fundamentals.field(String),
|
|
38
|
+
_ts_metadata("design:type", String)
|
|
39
|
+
], StackFrame.prototype, "method", void 0);
|
|
40
|
+
_ts_decorate([
|
|
41
|
+
fundamentals.field(String),
|
|
42
|
+
_ts_metadata("design:type", String)
|
|
43
|
+
], StackFrame.prototype, "file", void 0);
|
|
44
|
+
_ts_decorate([
|
|
45
|
+
fundamentals.field(Number),
|
|
46
|
+
_ts_metadata("design:type", Number)
|
|
47
|
+
], StackFrame.prototype, "line", void 0);
|
|
48
|
+
|
|
49
|
+
exports.StackFrame = StackFrame;
|
|
50
|
+
//# sourceMappingURL=StackFrame.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackFrame.js","sources":["../../../../Contracts/Reporting/StackFrame.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.Contracts.Reporting.StackFrame. Time: 2026-10-26T18:15:51.5541920Z. Hash: 9C8E5C91DFFB6B0A76AD65FD9A99521AD00B63AAB07047C86467525A89A18281\nimport { field } from '@cratis/fundamentals';\n\n/**\n * One frame of the stack trace captured with an error, top frame first. A part the runtime did not report is `NotSet`; an error without a stack trace carries no frames at all.\n */\nexport class StackFrame {\n\n /**\n * The method or function.\n */\n @field(String)\n method!: string;\n\n /**\n * The source file or script URL.\n */\n @field(String)\n file!: string;\n\n /**\n * The line number in the file.\n */\n @field(Number)\n line!: number;\n}\n"],"names":["StackFrame","method","file","line"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAOA;;AAEC,IACM,MAAMA,UAAAA,CAAAA;AAET;;AAEC,QACD,MACAC;AAEA;;AAEC,QACD,IACAC;AAEA;;AAEC,QACD,IACAC;AACJ;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Contracts/Reporting/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkItem.d.ts","sourceRoot":"","sources":["../../../../Contracts/WorkItems/WorkItem.ts"],"names":[],"mappings":"AAUA,qBAAa,QAAQ;IAMjB,OAAO,EAAG,MAAM,CAAC;IAMjB,SAAS,EAAG,MAAM,CAAC;IAMnB,KAAK,EAAG,MAAM,CAAC;IAMf,GAAG,EAAG,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var fundamentals = require('@cratis/fundamentals');
|
|
4
|
+
|
|
5
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
8
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
+
} else {
|
|
10
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
11
|
+
if (d = decorators[i]) {
|
|
12
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
+
}
|
|
18
|
+
function _ts_metadata(metadataKey, metadataValue) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
20
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A work item in the issue tracker configured for the application, such as a GitHub issue, that the fix for an issue is tracked by.
|
|
25
|
+
*/ class WorkItem {
|
|
26
|
+
/**
|
|
27
|
+
* The tracker the work item lives in.
|
|
28
|
+
*/ tracker;
|
|
29
|
+
/**
|
|
30
|
+
* The tracker's own reference to the work item.
|
|
31
|
+
*/ reference;
|
|
32
|
+
/**
|
|
33
|
+
* The work item's title.
|
|
34
|
+
*/ title;
|
|
35
|
+
/**
|
|
36
|
+
* Where the reporter can open the work item; {@link NotSet} when they cannot.
|
|
37
|
+
*/ url;
|
|
38
|
+
}
|
|
39
|
+
_ts_decorate([
|
|
40
|
+
fundamentals.field(String),
|
|
41
|
+
_ts_metadata("design:type", String)
|
|
42
|
+
], WorkItem.prototype, "tracker", void 0);
|
|
43
|
+
_ts_decorate([
|
|
44
|
+
fundamentals.field(String),
|
|
45
|
+
_ts_metadata("design:type", String)
|
|
46
|
+
], WorkItem.prototype, "reference", void 0);
|
|
47
|
+
_ts_decorate([
|
|
48
|
+
fundamentals.field(String),
|
|
49
|
+
_ts_metadata("design:type", String)
|
|
50
|
+
], WorkItem.prototype, "title", void 0);
|
|
51
|
+
_ts_decorate([
|
|
52
|
+
fundamentals.field(String),
|
|
53
|
+
_ts_metadata("design:type", String)
|
|
54
|
+
], WorkItem.prototype, "url", void 0);
|
|
55
|
+
|
|
56
|
+
exports.WorkItem = WorkItem;
|
|
57
|
+
//# sourceMappingURL=WorkItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkItem.js","sources":["../../../../Contracts/WorkItems/WorkItem.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.Contracts.WorkItems.WorkItem. Time: 2026-10-26T18:15:51.5541920Z. Hash: 31E79735FA61F9982CB757EAB8C488E2EF008E57887F2D8BC0974779204ED489\nimport { field } from '@cratis/fundamentals';\n\n/**\n * A work item in the issue tracker configured for the application, such as a GitHub issue, that the fix for an issue is tracked by.\n */\nexport class WorkItem {\n\n /**\n * The tracker the work item lives in.\n */\n @field(String)\n tracker!: string;\n\n /**\n * The tracker's own reference to the work item.\n */\n @field(String)\n reference!: string;\n\n /**\n * The work item's title.\n */\n @field(String)\n title!: string;\n\n /**\n * Where the reporter can open the work item; {@link NotSet} when they cannot.\n */\n @field(String)\n url!: string;\n}\n"],"names":["WorkItem","tracker","reference","title","url"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAOA;;AAEC,IACM,MAAMA,QAAAA,CAAAA;AAET;;AAEC,QACD,OACAC;AAEA;;AAEC,QACD,SACAC;AAEA;;AAEC,QACD,KACAC;AAEA;;AAEC,QACD,GACAC;AACJ;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Contracts/WorkItems/index.ts"],"names":[],"mappings":"AAGA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { Guid } from '@cratis/fundamentals';
|
|
5
|
+
export interface IAddDetails {
|
|
6
|
+
details?: string;
|
|
7
|
+
issueId?: Guid;
|
|
8
|
+
}
|
|
9
|
+
export declare class AddDetailsValidator extends CommandValidator<IAddDetails> {
|
|
10
|
+
constructor();
|
|
11
|
+
}
|
|
12
|
+
export declare class AddDetails extends Command<IAddDetails> implements IAddDetails {
|
|
13
|
+
#private;
|
|
14
|
+
static readonly sliceLocation: ArcSliceLocation;
|
|
15
|
+
readonly route: string;
|
|
16
|
+
readonly validation: CommandValidator;
|
|
17
|
+
readonly treatWarningsAsErrors: boolean;
|
|
18
|
+
readonly roles: string[];
|
|
19
|
+
readonly propertyDescriptors: PropertyDescriptor[];
|
|
20
|
+
constructor();
|
|
21
|
+
get requestParameters(): string[];
|
|
22
|
+
get details(): string;
|
|
23
|
+
set details(value: string);
|
|
24
|
+
get issueId(): Guid;
|
|
25
|
+
set issueId(value: Guid);
|
|
26
|
+
static use(initialValues?: IAddDetails): [AddDetails, SetCommandValues<IAddDetails>, ClearCommandValues];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=AddDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddDetails.d.ts","sourceRoot":"","sources":["../../../../Conversation/AddDetails/AddDetails.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACjE,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,WAAW;IAKxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AAED,qBAAa,mBAAoB,SAAQ,gBAAgB,CAAC,WAAW,CAAC;;CAMrE;AAKD,qBAAa,UAAW,SAAQ,OAAO,CAAC,WAAW,CAAE,YAAW,WAAW;;IACvE,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAA0D;IACzG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAmC;IACzD,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAA6B;IAClE,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAGhD;;IASF,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAGhC;IAKD,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,EAGxB;IAID,IAAI,OAAO,IAAI,IAAI,CAElB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,EAGtB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,CAAC,UAAU,EAAE,gBAAgB,CAAC,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAG3G"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commands = require('@cratis/arc/commands');
|
|
4
|
+
var commands$1 = require('@cratis/arc.react/commands');
|
|
5
|
+
var reflection = require('@cratis/arc/reflection');
|
|
6
|
+
var fundamentals = require('@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.Conversation.AddDetails.AddDetails. Time: 2026-10-26T21:13:51.1172240Z. Hash: 123040E7A0D9A2374A3D88E5B1831AC01DA9786D2C513278D3F97002293779F9
|
|
12
|
+
class AddDetailsValidator extends commands.CommandValidator {
|
|
13
|
+
constructor(){
|
|
14
|
+
super();
|
|
15
|
+
this.ruleFor((c)=>c.details).notEmpty().withMessage('Tell support what you want to add.');
|
|
16
|
+
this.ruleFor((c)=>c.details).maxLength(4000).withMessage('Keep what you add within 4000 characters.');
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The reporter tells support more about one of their issues.
|
|
21
|
+
*/ class AddDetails extends commands.Command {
|
|
22
|
+
static sliceLocation = new reflection.SliceLocation('', 'Conversation', 'AddDetails');
|
|
23
|
+
route = '/api/conversation/add-details';
|
|
24
|
+
validation = new AddDetailsValidator();
|
|
25
|
+
treatWarningsAsErrors = false;
|
|
26
|
+
roles = [];
|
|
27
|
+
propertyDescriptors = [
|
|
28
|
+
new reflection.PropertyDescriptor('details', String, false),
|
|
29
|
+
new reflection.PropertyDescriptor('issueId', fundamentals.Guid, false)
|
|
30
|
+
];
|
|
31
|
+
#details;
|
|
32
|
+
#issueId;
|
|
33
|
+
constructor(){
|
|
34
|
+
super(Object, false);
|
|
35
|
+
}
|
|
36
|
+
get requestParameters() {
|
|
37
|
+
return [];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* What the reporter adds.
|
|
41
|
+
*/ get details() {
|
|
42
|
+
return this.#details;
|
|
43
|
+
}
|
|
44
|
+
set details(value) {
|
|
45
|
+
this.#details = value;
|
|
46
|
+
this.propertyChanged('details');
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The issue to add details to.
|
|
50
|
+
*/ get issueId() {
|
|
51
|
+
return this.#issueId;
|
|
52
|
+
}
|
|
53
|
+
set issueId(value) {
|
|
54
|
+
this.#issueId = value;
|
|
55
|
+
this.propertyChanged('issueId');
|
|
56
|
+
}
|
|
57
|
+
static use(initialValues) {
|
|
58
|
+
return commands$1.useCommand(AddDetails, initialValues);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
exports.AddDetails = AddDetails;
|
|
63
|
+
exports.AddDetailsValidator = AddDetailsValidator;
|
|
64
|
+
//# sourceMappingURL=AddDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddDetails.js","sources":["../../../../Conversation/AddDetails/AddDetails.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.Conversation.AddDetails.AddDetails. Time: 2026-10-26T21:13:51.1172240Z. Hash: 123040E7A0D9A2374A3D88E5B1831AC01DA9786D2C513278D3F97002293779F9\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 { Guid } from '@cratis/fundamentals';\n\n/**\n * The reporter tells support more about one of their issues.\n */\nexport interface IAddDetails {\n\n /**\n * What the reporter adds.\n */\n details?: string;\n\n /**\n * The issue to add details to.\n */\n issueId?: Guid;\n}\n\nexport class AddDetailsValidator extends CommandValidator<IAddDetails> {\n constructor() {\n super();\n this.ruleFor(c => c.details).notEmpty().withMessage('Tell support what you want to add.');\n this.ruleFor(c => c.details).maxLength(4000).withMessage('Keep what you add within 4000 characters.');\n }\n}\n\n/**\n * The reporter tells support more about one of their issues.\n */\nexport class AddDetails extends Command<IAddDetails> implements IAddDetails {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Conversation', 'AddDetails');\n readonly route: string = '/api/conversation/add-details';\n readonly validation: CommandValidator = new AddDetailsValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('details', String, false),\n new PropertyDescriptor('issueId', Guid, false),\n ];\n\n #details!: string;\n #issueId!: Guid;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * What the reporter adds.\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 issue to add details to.\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 static use(initialValues?: IAddDetails): [AddDetails, SetCommandValues<IAddDetails>, ClearCommandValues] {\n return useCommand<AddDetails, IAddDetails>(AddDetails, initialValues);\n }\n}\n"],"names":["AddDetailsValidator","CommandValidator","ruleFor","c","details","notEmpty","withMessage","maxLength","AddDetails","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","String","Guid","Object","requestParameters","value","propertyChanged","issueId","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAsBO,MAAMA,mBAAAA,SAA4BC,yBAAAA,CAAAA;IACrC,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,OAAO,CAAA,CAAEC,QAAQ,EAAA,CAAGC,WAAW,CAAC,oCAAA,CAAA;AACpD,QAAA,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,OAAO,CAAA,CAAEG,SAAS,CAAC,IAAA,CAAA,CAAMD,WAAW,CAAC,2CAAA,CAAA;AAC7D,IAAA;AACJ;AAEA;;IAGO,MAAME,UAAAA,SAAmBC,gBAAAA,CAAAA;AAC5B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,wBAAAA,CAAiB,EAAA,EAAI,gBAAgB,YAAA,CAAA;AAClFC,IAAAA,KAAAA,GAAgB,+BAAA;AAChBC,IAAAA,UAAAA,GAA+B,IAAIb,mBAAAA,EAAAA;AACnCc,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,6BAAAA,CAAmB,WAAWC,MAAAA,EAAQ,KAAA,CAAA;QAC1C,IAAID,6BAAAA,CAAmB,WAAWE,iBAAAA,EAAM,KAAA;KAC3C;AAED,IAAA,QAAQ;AACR,IAAA,QAAQ;IAER,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,IAAIjB,OAAAA,GAAkB;QAClB,OAAO,IAAI,CAAC,QAAQ;AACxB,IAAA;IAEA,IAAIA,OAAAA,CAAQkB,KAAa,EAAE;QACvB,IAAI,CAAC,QAAQ,GAAGA,KAAAA;QAChB,IAAI,CAACC,eAAe,CAAC,SAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIC,OAAAA,GAAgB;QAChB,OAAO,IAAI,CAAC,QAAQ;AACxB,IAAA;IAEA,IAAIA,OAAAA,CAAQF,KAAW,EAAE;QACrB,IAAI,CAAC,QAAQ,GAAGA,KAAAA;QAChB,IAAI,CAACC,eAAe,CAAC,SAAA,CAAA;AACzB,IAAA;IAEA,OAAOE,GAAAA,CAAIC,aAA2B,EAAmE;AACrG,QAAA,OAAOC,sBAAoCnB,UAAAA,EAAYkB,aAAAA,CAAAA;AAC3D,IAAA;AACJ;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Conversation/AddDetails/index.ts"],"names":[],"mappings":"AAGA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { Guid } from '@cratis/fundamentals';
|
|
5
|
+
export interface IAnswerQuestion {
|
|
6
|
+
answer?: string;
|
|
7
|
+
issueId?: Guid;
|
|
8
|
+
questionId?: Guid;
|
|
9
|
+
}
|
|
10
|
+
export declare class AnswerQuestionValidator extends CommandValidator<IAnswerQuestion> {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export declare class AnswerQuestion extends Command<IAnswerQuestion> implements IAnswerQuestion {
|
|
14
|
+
#private;
|
|
15
|
+
static readonly sliceLocation: ArcSliceLocation;
|
|
16
|
+
readonly route: string;
|
|
17
|
+
readonly validation: CommandValidator;
|
|
18
|
+
readonly treatWarningsAsErrors: boolean;
|
|
19
|
+
readonly roles: string[];
|
|
20
|
+
readonly propertyDescriptors: PropertyDescriptor[];
|
|
21
|
+
constructor();
|
|
22
|
+
get requestParameters(): string[];
|
|
23
|
+
get answer(): string;
|
|
24
|
+
set answer(value: string);
|
|
25
|
+
get issueId(): Guid;
|
|
26
|
+
set issueId(value: Guid);
|
|
27
|
+
get questionId(): Guid;
|
|
28
|
+
set questionId(value: Guid);
|
|
29
|
+
static use(initialValues?: IAnswerQuestion): [AnswerQuestion, SetCommandValues<IAnswerQuestion>, ClearCommandValues];
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=AnswerQuestion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnswerQuestion.d.ts","sourceRoot":"","sources":["../../../../Conversation/AnswerQuestion/AnswerQuestion.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACjE,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,eAAe;IAK5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,UAAU,CAAC,EAAE,IAAI,CAAC;CACrB;AAED,qBAAa,uBAAwB,SAAQ,gBAAgB,CAAC,eAAe,CAAC;;CAM7E;AAKD,qBAAa,cAAe,SAAQ,OAAO,CAAC,eAAe,CAAE,YAAW,eAAe;;IACnF,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAA8D;IAC7G,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAuC;IAC7D,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAiC;IACtE,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAIhD;;IAUF,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAGhC;IAKD,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAGvB;IAID,IAAI,OAAO,IAAI,IAAI,CAElB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,EAGtB;IAID,IAAI,UAAU,IAAI,IAAI,CAErB;IAED,IAAI,UAAU,CAAC,KAAK,EAAE,IAAI,EAGzB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,eAAe,GAAG,CAAC,cAAc,EAAE,gBAAgB,CAAC,eAAe,CAAC,EAAE,kBAAkB,CAAC;CAGvH"}
|