@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,20 @@
|
|
|
1
|
+
import { SliceLocation } from '@cratis/arc/reflection';
|
|
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
|
+
/**
|
|
6
|
+
* Resolves where an error happened: the slice location of the failing command or query when its proxy declares one,
|
|
7
|
+
* otherwise the location given, otherwise {@link ArcSliceLocation.empty}.
|
|
8
|
+
* @param operation The failing command or query, if known.
|
|
9
|
+
* @param location The location the caller knows, such as the one from `useSliceContext()`.
|
|
10
|
+
* @returns The {@link ArcSliceLocation}.
|
|
11
|
+
*/ function resolveLocation(operation, location) {
|
|
12
|
+
const declared = operation ? SliceLocation.of(operation) : SliceLocation.empty;
|
|
13
|
+
if (!declared.isEmpty) {
|
|
14
|
+
return declared;
|
|
15
|
+
}
|
|
16
|
+
return location ?? SliceLocation.empty;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { resolveLocation };
|
|
20
|
+
//# sourceMappingURL=resolveLocation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveLocation.js","sources":["../../../Errors/resolveLocation.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\nimport { SliceLocation as ArcSliceLocation } from '@cratis/arc/reflection';\n\n/**\n * Resolves where an error happened: the slice location of the failing command or query when its proxy declares one,\n * otherwise the location given, otherwise {@link ArcSliceLocation.empty}.\n * @param operation The failing command or query, if known.\n * @param location The location the caller knows, such as the one from `useSliceContext()`.\n * @returns The {@link ArcSliceLocation}.\n */\nexport function resolveLocation(operation?: object, location?: ArcSliceLocation): ArcSliceLocation {\n const declared = operation ? ArcSliceLocation.of(operation) : ArcSliceLocation.empty;\n if (!declared.isEmpty) {\n return declared;\n }\n\n return location ?? ArcSliceLocation.empty;\n}\n"],"names":["resolveLocation","operation","location","declared","ArcSliceLocation","of","empty","isEmpty"],"mappings":";;AAAA;AACA;AAIA;;;;;;AAMC,IACM,SAASA,eAAAA,CAAgBC,SAAkB,EAAEC,QAA2B,EAAA;AAC3E,IAAA,MAAMC,WAAWF,SAAAA,GAAYG,aAAAA,CAAiBC,EAAE,CAACJ,SAAAA,CAAAA,GAAaG,cAAiBE,KAAK;IACpF,IAAI,CAACH,QAAAA,CAASI,OAAO,EAAE;QACnB,OAAOJ,QAAAA;AACX,IAAA;IAEA,OAAOD,QAAAA,IAAYE,cAAiBE,KAAK;AAC7C;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Command } from '@cratis/arc/commands';
|
|
2
|
+
import { ClearCommandValues, SetCommandValues } from '@cratis/arc.react/commands';
|
|
3
|
+
import { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
4
|
+
import { Guid } from '@cratis/fundamentals';
|
|
5
|
+
export interface IShareIdentity {
|
|
6
|
+
issueId?: Guid;
|
|
7
|
+
}
|
|
8
|
+
export declare class ShareIdentity extends Command<IShareIdentity> implements IShareIdentity {
|
|
9
|
+
#private;
|
|
10
|
+
static readonly sliceLocation: ArcSliceLocation;
|
|
11
|
+
readonly route: string;
|
|
12
|
+
readonly treatWarningsAsErrors: boolean;
|
|
13
|
+
readonly roles: string[];
|
|
14
|
+
readonly propertyDescriptors: PropertyDescriptor[];
|
|
15
|
+
constructor();
|
|
16
|
+
get requestParameters(): string[];
|
|
17
|
+
get issueId(): Guid;
|
|
18
|
+
set issueId(value: Guid);
|
|
19
|
+
static use(initialValues?: IShareIdentity): [ShareIdentity, SetCommandValues<IShareIdentity>, ClearCommandValues];
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=ShareIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareIdentity.d.ts","sourceRoot":"","sources":["../../../../Identity/ShareIdentity/ShareIdentity.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAc,MAAM,4BAA4B,CAAC;AAC9F,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC/F,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAK5C,MAAM,WAAW,cAAc;IAK3B,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AAMD,qBAAa,aAAc,SAAQ,OAAO,CAAC,cAAc,CAAE,YAAW,cAAc;;IAChF,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAyD;IACxG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAkC;IACxD,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAEhD;;IAQF,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAGhC;IAKD,IAAI,OAAO,IAAI,IAAI,CAElB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,EAGtB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,cAAc,GAAG,CAAC,aAAa,EAAE,gBAAgB,CAAC,cAAc,CAAC,EAAE,kBAAkB,CAAC;CAGpH"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command } from '@cratis/arc/commands';
|
|
2
|
+
import { useCommand } from '@cratis/arc.react/commands';
|
|
3
|
+
import { SliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
4
|
+
import { Guid } from '@cratis/fundamentals';
|
|
5
|
+
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
9
|
+
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Identity.ShareIdentity.ShareIdentity. Time: 2026-10-26T19:31:39.8469400Z. Hash: AED64B66E1CDCA28889C3B2466EBD757C08D2AF9AE56C05872DF8F0C49EE1261
|
|
10
|
+
/**
|
|
11
|
+
* The reporter lets support know who they are on one of their issues. Who they are is taken from the signed-in identity, never from the request.
|
|
12
|
+
*/ class ShareIdentity extends Command {
|
|
13
|
+
static sliceLocation = new SliceLocation('', 'Identity', 'ShareIdentity');
|
|
14
|
+
route = '/api/identity/share-identity';
|
|
15
|
+
treatWarningsAsErrors = false;
|
|
16
|
+
roles = [];
|
|
17
|
+
propertyDescriptors = [
|
|
18
|
+
new PropertyDescriptor('issueId', Guid, false)
|
|
19
|
+
];
|
|
20
|
+
#issueId;
|
|
21
|
+
constructor(){
|
|
22
|
+
super(Object, false);
|
|
23
|
+
}
|
|
24
|
+
get requestParameters() {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The issue to share identity on.
|
|
29
|
+
*/ get issueId() {
|
|
30
|
+
return this.#issueId;
|
|
31
|
+
}
|
|
32
|
+
set issueId(value) {
|
|
33
|
+
this.#issueId = value;
|
|
34
|
+
this.propertyChanged('issueId');
|
|
35
|
+
}
|
|
36
|
+
static use(initialValues) {
|
|
37
|
+
return useCommand(ShareIdentity, initialValues);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { ShareIdentity };
|
|
42
|
+
//# sourceMappingURL=ShareIdentity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareIdentity.js","sources":["../../../../Identity/ShareIdentity/ShareIdentity.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.Identity.ShareIdentity.ShareIdentity. Time: 2026-10-26T19:31:39.8469400Z. Hash: AED64B66E1CDCA28889C3B2466EBD757C08D2AF9AE56C05872DF8F0C49EE1261\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 lets support know who they are on one of their issues. Who they are is taken from the signed-in identity, never from the request.\n */\nexport interface IShareIdentity {\n\n /**\n * The issue to share identity on.\n */\n issueId?: Guid;\n}\n\n\n/**\n * The reporter lets support know who they are on one of their issues. Who they are is taken from the signed-in identity, never from the request.\n */\nexport class ShareIdentity extends Command<IShareIdentity> implements IShareIdentity {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Identity', 'ShareIdentity');\n readonly route: string = '/api/identity/share-identity';\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 share identity 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?: IShareIdentity): [ShareIdentity, SetCommandValues<IShareIdentity>, ClearCommandValues] {\n return useCommand<ShareIdentity, IShareIdentity>(ShareIdentity, initialValues);\n }\n}\n"],"names":["ShareIdentity","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,aAAAA,SAAsBC,OAAAA,CAAAA;AAC/B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,YAAY,eAAA,CAAA;AAC9EC,IAAAA,KAAAA,GAAgB,8BAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,WAAWC,IAAAA,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,aAA8B,EAAyE;AAC9G,QAAA,OAAOC,WAA0CjB,aAAAA,EAAegB,aAAAA,CAAAA;AACpE,IAAA;AACJ;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Identity/ShareIdentity/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Identity/ShareIdentity/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserIdentity.d.ts","sourceRoot":"","sources":["../../../Identity/UserIdentity.ts"],"names":[],"mappings":"AAUA,qBAAa,YAAY;IAMrB,gBAAgB,EAAG,MAAM,CAAC;IAM1B,OAAO,EAAG,MAAM,CAAC;IAMjB,KAAK,EAAG,OAAO,CAAC;CACnB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { field } from '@cratis/fundamentals';
|
|
2
|
+
|
|
3
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
4
|
+
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
5
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
6
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
7
|
+
} else {
|
|
8
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
9
|
+
if (d = decorators[i]) {
|
|
10
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
+
}
|
|
16
|
+
function _ts_metadata(metadataKey, metadataValue) {
|
|
17
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
18
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Who a person is at the identity provider they signed in with: the provider and the subject it issued them. A subject is unique only within its provider, so two people can have the same subject at two providers; Usher compares the pair wherever it decides whose an issue is or who acts.
|
|
23
|
+
*/ class UserIdentity {
|
|
24
|
+
/**
|
|
25
|
+
* The identity provider; {@link NotSet} when the principal names none.
|
|
26
|
+
*/ identityProvider;
|
|
27
|
+
/**
|
|
28
|
+
* The subject the identity provider issued.
|
|
29
|
+
*/ subject;
|
|
30
|
+
/**
|
|
31
|
+
* Gets whether the identity names somebody: it has a subject.
|
|
32
|
+
*/ isSet;
|
|
33
|
+
}
|
|
34
|
+
_ts_decorate([
|
|
35
|
+
field(String),
|
|
36
|
+
_ts_metadata("design:type", String)
|
|
37
|
+
], UserIdentity.prototype, "identityProvider", void 0);
|
|
38
|
+
_ts_decorate([
|
|
39
|
+
field(String),
|
|
40
|
+
_ts_metadata("design:type", String)
|
|
41
|
+
], UserIdentity.prototype, "subject", void 0);
|
|
42
|
+
_ts_decorate([
|
|
43
|
+
field(Boolean),
|
|
44
|
+
_ts_metadata("design:type", Boolean)
|
|
45
|
+
], UserIdentity.prototype, "isSet", void 0);
|
|
46
|
+
|
|
47
|
+
export { UserIdentity };
|
|
48
|
+
//# sourceMappingURL=UserIdentity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserIdentity.js","sources":["../../../Identity/UserIdentity.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.Identity.UserIdentity. Time: 2026-10-26T20:48:58.8871950Z. Hash: 6FDEB6ECF78153E93401ADDA5DFA8E0CD88A42CA6173225F52070F2E7EE7306E\nimport { field } from '@cratis/fundamentals';\n\n/**\n * Who a person is at the identity provider they signed in with: the provider and the subject it issued them. A subject is unique only within its provider, so two people can have the same subject at two providers; Usher compares the pair wherever it decides whose an issue is or who acts.\n */\nexport class UserIdentity {\n\n /**\n * The identity provider; {@link NotSet} when the principal names none.\n */\n @field(String)\n identityProvider!: string;\n\n /**\n * The subject the identity provider issued.\n */\n @field(String)\n subject!: string;\n\n /**\n * Gets whether the identity names somebody: it has a subject.\n */\n @field(Boolean)\n isSet!: boolean;\n}\n"],"names":["UserIdentity","identityProvider","subject","isSet"],"mappings":";;;;;;;;;;;;;;;;;;;;AAOA;;AAEC,IACM,MAAMA,YAAAA,CAAAA;AAET;;AAEC,QACD,gBACAC;AAEA;;AAEC,QACD,OACAC;AAEA;;AAEC,QACD,KACAC;AACJ;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Identity/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Identity/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IssueKind.d.ts","sourceRoot":"","sources":["../../../Issues/IssueKind.ts"],"names":[],"mappings":"AAQA,oBAAY,SAAS;IACjB,KAAK,IAAI;IACT,MAAM,IAAI;CACb"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
4
|
+
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Issues.IssueKind. Time: 2026-10-26T18:15:51.5541920Z. Hash: 5E093A337A9E2FA5956A4B2D3ADEBDCAC852CF1D670DFB27A5BE02D0FC567B25
|
|
5
|
+
/**
|
|
6
|
+
* How an issue came to be reported.
|
|
7
|
+
*/ var IssueKind = /*#__PURE__*/ function(IssueKind) {
|
|
8
|
+
IssueKind[IssueKind["error"] = 0] = "error";
|
|
9
|
+
IssueKind[IssueKind["manual"] = 1] = "manual";
|
|
10
|
+
return IssueKind;
|
|
11
|
+
}({});
|
|
12
|
+
|
|
13
|
+
export { IssueKind };
|
|
14
|
+
//# sourceMappingURL=IssueKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IssueKind.js","sources":["../../../Issues/IssueKind.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.Issues.IssueKind. Time: 2026-10-26T18:15:51.5541920Z. Hash: 5E093A337A9E2FA5956A4B2D3ADEBDCAC852CF1D670DFB27A5BE02D0FC567B25\n/**\n * How an issue came to be reported.\n */\nexport enum IssueKind {\n error = 0,\n manual = 1,\n}\n"],"names":["IssueKind"],"mappings":"AAAA;AACA;AAEA;AACA;AACA;;IAGO,IAAKA,SAAAA,iBAAAA,SAAAA,SAAAA,EAAAA;AACA,IAAA,SAAA,CAAA,SAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AACC,IAAA,SAAA,CAAA,SAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA;AAFDA,IAAAA,OAAAA,SAAAA;AAGX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IssueState.d.ts","sourceRoot":"","sources":["../../../Issues/IssueState.ts"],"names":[],"mappings":"AAQA,oBAAY,UAAU;IAClB,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,UAAU,IAAI;IACd,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,SAAS,IAAI;CAChB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
4
|
+
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Issues.IssueState. Time: 2026-10-26T18:15:51.5541920Z. Hash: 12421F073F48EA7DD9049D1536BC01BA74CED8BF2CD65648DF8F000FC821CC9E
|
|
5
|
+
/**
|
|
6
|
+
* The state an issue is in, as the reporter sees it.
|
|
7
|
+
*/ var IssueState = /*#__PURE__*/ function(IssueState) {
|
|
8
|
+
IssueState[IssueState["reported"] = 0] = "reported";
|
|
9
|
+
IssueState[IssueState["triaged"] = 1] = "triaged";
|
|
10
|
+
IssueState[IssueState["accepted"] = 2] = "accepted";
|
|
11
|
+
IssueState[IssueState["inProgress"] = 3] = "inProgress";
|
|
12
|
+
IssueState[IssueState["resolved"] = 4] = "resolved";
|
|
13
|
+
IssueState[IssueState["wontFix"] = 5] = "wontFix";
|
|
14
|
+
IssueState[IssueState["withdrawn"] = 6] = "withdrawn";
|
|
15
|
+
return IssueState;
|
|
16
|
+
}({});
|
|
17
|
+
|
|
18
|
+
export { IssueState };
|
|
19
|
+
//# sourceMappingURL=IssueState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IssueState.js","sources":["../../../Issues/IssueState.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.Issues.IssueState. Time: 2026-10-26T18:15:51.5541920Z. Hash: 12421F073F48EA7DD9049D1536BC01BA74CED8BF2CD65648DF8F000FC821CC9E\n/**\n * The state an issue is in, as the reporter sees it.\n */\nexport enum IssueState {\n reported = 0,\n triaged = 1,\n accepted = 2,\n inProgress = 3,\n resolved = 4,\n wontFix = 5,\n withdrawn = 6,\n}\n"],"names":["IssueState"],"mappings":"AAAA;AACA;AAEA;AACA;AACA;;IAGO,IAAKA,UAAAA,iBAAAA,SAAAA,UAAAA,EAAAA;AACG,IAAA,UAAA,CAAA,UAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAA;AACD,IAAA,UAAA,CAAA,UAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AACC,IAAA,UAAA,CAAA,UAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAA;AACE,IAAA,UAAA,CAAA,UAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAA;AACF,IAAA,UAAA,CAAA,UAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAA;AACD,IAAA,UAAA,CAAA,UAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AACE,IAAA,UAAA,CAAA,UAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAA;AAPJA,IAAAA,OAAAA,UAAAA;AAQX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Issues/index.ts"],"names":[],"mappings":"AAGA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Issues/index.ts"],"names":[],"mappings":"AAGA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,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 IReopenIssue {
|
|
6
|
+
issueId?: Guid;
|
|
7
|
+
reason?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class ReopenIssueValidator extends CommandValidator<IReopenIssue> {
|
|
10
|
+
constructor();
|
|
11
|
+
}
|
|
12
|
+
export declare class ReopenIssue extends Command<IReopenIssue> implements IReopenIssue {
|
|
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 issueId(): Guid;
|
|
23
|
+
set issueId(value: Guid);
|
|
24
|
+
get reason(): string;
|
|
25
|
+
set reason(value: string);
|
|
26
|
+
static use(initialValues?: IReopenIssue): [ReopenIssue, SetCommandValues<IReopenIssue>, ClearCommandValues];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=ReopenIssue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReopenIssue.d.ts","sourceRoot":"","sources":["../../../../Lifecycle/ReopenIssue/ReopenIssue.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,YAAY;IAKzB,OAAO,CAAC,EAAE,IAAI,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,oBAAqB,SAAQ,gBAAgB,CAAC,YAAY,CAAC;;CAMvE;AAKD,qBAAa,WAAY,SAAQ,OAAO,CAAC,YAAY,CAAE,YAAW,YAAY;;IAC1E,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAwD;IACvG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAiC;IACvD,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAA8B;IACnE,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,IAAI,CAElB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,EAGtB;IAID,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAGvB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,YAAY,GAAG,CAAC,WAAW,EAAE,gBAAgB,CAAC,YAAY,CAAC,EAAE,kBAAkB,CAAC;CAG9G"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { Guid } from '@cratis/fundamentals';
|
|
5
|
+
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
9
|
+
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Lifecycle.ReopenIssue.ReopenIssue. Time: 2026-10-26T21:13:51.1172240Z. Hash: 3A9B88B81AF2987AC016DC7A57C42A135969D27240F0FB9EC5E05166E9DECBD8
|
|
10
|
+
class ReopenIssueValidator extends CommandValidator {
|
|
11
|
+
constructor(){
|
|
12
|
+
super();
|
|
13
|
+
this.ruleFor((c)=>c.reason).notEmpty().withMessage('Tell support why you reopen the issue.');
|
|
14
|
+
this.ruleFor((c)=>c.reason).maxLength(1000).withMessage('Keep the reason within 1000 characters.');
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The reporter reopens one of their resolved issues because the problem is not gone.
|
|
19
|
+
*/ class ReopenIssue extends Command {
|
|
20
|
+
static sliceLocation = new SliceLocation('', 'Lifecycle', 'ReopenIssue');
|
|
21
|
+
route = '/api/lifecycle/reopen-issue';
|
|
22
|
+
validation = new ReopenIssueValidator();
|
|
23
|
+
treatWarningsAsErrors = false;
|
|
24
|
+
roles = [];
|
|
25
|
+
propertyDescriptors = [
|
|
26
|
+
new PropertyDescriptor('issueId', Guid, false),
|
|
27
|
+
new PropertyDescriptor('reason', String, false)
|
|
28
|
+
];
|
|
29
|
+
#issueId;
|
|
30
|
+
#reason;
|
|
31
|
+
constructor(){
|
|
32
|
+
super(Object, false);
|
|
33
|
+
}
|
|
34
|
+
get requestParameters() {
|
|
35
|
+
return [];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The issue to reopen.
|
|
39
|
+
*/ get issueId() {
|
|
40
|
+
return this.#issueId;
|
|
41
|
+
}
|
|
42
|
+
set issueId(value) {
|
|
43
|
+
this.#issueId = value;
|
|
44
|
+
this.propertyChanged('issueId');
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Why the reporter reopens it.
|
|
48
|
+
*/ get reason() {
|
|
49
|
+
return this.#reason;
|
|
50
|
+
}
|
|
51
|
+
set reason(value) {
|
|
52
|
+
this.#reason = value;
|
|
53
|
+
this.propertyChanged('reason');
|
|
54
|
+
}
|
|
55
|
+
static use(initialValues) {
|
|
56
|
+
return useCommand(ReopenIssue, initialValues);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { ReopenIssue, ReopenIssueValidator };
|
|
61
|
+
//# sourceMappingURL=ReopenIssue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReopenIssue.js","sources":["../../../../Lifecycle/ReopenIssue/ReopenIssue.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.Lifecycle.ReopenIssue.ReopenIssue. Time: 2026-10-26T21:13:51.1172240Z. Hash: 3A9B88B81AF2987AC016DC7A57C42A135969D27240F0FB9EC5E05166E9DECBD8\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 reopens one of their resolved issues because the problem is not gone.\n */\nexport interface IReopenIssue {\n\n /**\n * The issue to reopen.\n */\n issueId?: Guid;\n\n /**\n * Why the reporter reopens it.\n */\n reason?: string;\n}\n\nexport class ReopenIssueValidator extends CommandValidator<IReopenIssue> {\n constructor() {\n super();\n this.ruleFor(c => c.reason).notEmpty().withMessage('Tell support why you reopen the issue.');\n this.ruleFor(c => c.reason).maxLength(1000).withMessage('Keep the reason within 1000 characters.');\n }\n}\n\n/**\n * The reporter reopens one of their resolved issues because the problem is not gone.\n */\nexport class ReopenIssue extends Command<IReopenIssue> implements IReopenIssue {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Lifecycle', 'ReopenIssue');\n readonly route: string = '/api/lifecycle/reopen-issue';\n readonly validation: CommandValidator = new ReopenIssueValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('issueId', Guid, false),\n new PropertyDescriptor('reason', String, false),\n ];\n\n #issueId!: Guid;\n #reason!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The issue to reopen.\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 * Why the reporter reopens it.\n */\n get reason(): string {\n return this.#reason;\n }\n\n set reason(value: string) {\n this.#reason = value;\n this.propertyChanged('reason');\n }\n\n static use(initialValues?: IReopenIssue): [ReopenIssue, SetCommandValues<IReopenIssue>, ClearCommandValues] {\n return useCommand<ReopenIssue, IReopenIssue>(ReopenIssue, initialValues);\n }\n}\n"],"names":["ReopenIssueValidator","CommandValidator","ruleFor","c","reason","notEmpty","withMessage","maxLength","ReopenIssue","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Guid","String","Object","requestParameters","issueId","value","propertyChanged","use","initialValues","useCommand"],"mappings":";;;;;AAAA;AACA;AAEA;AACA;AAsBO,MAAMA,oBAAAA,SAA6BC,gBAAAA,CAAAA;IACtC,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,MAAM,CAAA,CAAEC,QAAQ,EAAA,CAAGC,WAAW,CAAC,wCAAA,CAAA;AACnD,QAAA,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,MAAM,CAAA,CAAEG,SAAS,CAAC,IAAA,CAAA,CAAMD,WAAW,CAAC,yCAAA,CAAA;AAC5D,IAAA;AACJ;AAEA;;IAGO,MAAME,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,IAAIb,oBAAAA,EAAAA;AACnCc,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,WAAWC,IAAAA,EAAM,KAAA,CAAA;QACxC,IAAID,kBAAAA,CAAmB,UAAUE,MAAAA,EAAQ,KAAA;KAC5C;AAED,IAAA,QAAQ;AACR,IAAA,OAAO;IAEP,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,KAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIC,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;AACA;;AAEC,QACD,IAAIpB,MAAAA,GAAiB;QACjB,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOmB,KAAa,EAAE;QACtB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;IAEA,OAAOC,GAAAA,CAAIC,aAA4B,EAAqE;AACxG,QAAA,OAAOC,WAAsCnB,WAAAA,EAAakB,aAAAA,CAAAA;AAC9D,IAAA;AACJ;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Lifecycle/ReopenIssue/index.ts"],"names":[],"mappings":"AAGA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Lifecycle/ReopenIssue/index.ts"],"names":[],"mappings":"AAGA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Command } from '@cratis/arc/commands';
|
|
2
|
+
import { ClearCommandValues, SetCommandValues } from '@cratis/arc.react/commands';
|
|
3
|
+
import { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
4
|
+
import { Guid } from '@cratis/fundamentals';
|
|
5
|
+
export interface IWithdrawIssue {
|
|
6
|
+
issueId?: Guid;
|
|
7
|
+
}
|
|
8
|
+
export declare class WithdrawIssue extends Command<IWithdrawIssue> implements IWithdrawIssue {
|
|
9
|
+
#private;
|
|
10
|
+
static readonly sliceLocation: ArcSliceLocation;
|
|
11
|
+
readonly route: string;
|
|
12
|
+
readonly treatWarningsAsErrors: boolean;
|
|
13
|
+
readonly roles: string[];
|
|
14
|
+
readonly propertyDescriptors: PropertyDescriptor[];
|
|
15
|
+
constructor();
|
|
16
|
+
get requestParameters(): string[];
|
|
17
|
+
get issueId(): Guid;
|
|
18
|
+
set issueId(value: Guid);
|
|
19
|
+
static use(initialValues?: IWithdrawIssue): [WithdrawIssue, SetCommandValues<IWithdrawIssue>, ClearCommandValues];
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=WithdrawIssue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawIssue.d.ts","sourceRoot":"","sources":["../../../../Lifecycle/WithdrawIssue/WithdrawIssue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAc,MAAM,4BAA4B,CAAC;AAC9F,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC/F,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAK5C,MAAM,WAAW,cAAc;IAK3B,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AAMD,qBAAa,aAAc,SAAQ,OAAO,CAAC,cAAc,CAAE,YAAW,cAAc;;IAChF,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAA0D;IACzG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAmC;IACzD,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAEhD;;IAQF,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAGhC;IAKD,IAAI,OAAO,IAAI,IAAI,CAElB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,EAGtB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,cAAc,GAAG,CAAC,aAAa,EAAE,gBAAgB,CAAC,cAAc,CAAC,EAAE,kBAAkB,CAAC;CAGpH"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command } from '@cratis/arc/commands';
|
|
2
|
+
import { useCommand } from '@cratis/arc.react/commands';
|
|
3
|
+
import { SliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
4
|
+
import { Guid } from '@cratis/fundamentals';
|
|
5
|
+
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
9
|
+
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Lifecycle.WithdrawIssue.WithdrawIssue. Time: 2026-10-26T19:31:39.8469400Z. Hash: 722745425BDD6BA0C960FE515A55F7F3A36193C8FBDD541449B13B5960DE9716
|
|
10
|
+
/**
|
|
11
|
+
* The reporter withdraws one of their open issues; support no longer needs to look into it.
|
|
12
|
+
*/ class WithdrawIssue extends Command {
|
|
13
|
+
static sliceLocation = new SliceLocation('', 'Lifecycle', 'WithdrawIssue');
|
|
14
|
+
route = '/api/lifecycle/withdraw-issue';
|
|
15
|
+
treatWarningsAsErrors = false;
|
|
16
|
+
roles = [];
|
|
17
|
+
propertyDescriptors = [
|
|
18
|
+
new PropertyDescriptor('issueId', Guid, false)
|
|
19
|
+
];
|
|
20
|
+
#issueId;
|
|
21
|
+
constructor(){
|
|
22
|
+
super(Object, false);
|
|
23
|
+
}
|
|
24
|
+
get requestParameters() {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The issue to withdraw.
|
|
29
|
+
*/ get issueId() {
|
|
30
|
+
return this.#issueId;
|
|
31
|
+
}
|
|
32
|
+
set issueId(value) {
|
|
33
|
+
this.#issueId = value;
|
|
34
|
+
this.propertyChanged('issueId');
|
|
35
|
+
}
|
|
36
|
+
static use(initialValues) {
|
|
37
|
+
return useCommand(WithdrawIssue, initialValues);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { WithdrawIssue };
|
|
42
|
+
//# sourceMappingURL=WithdrawIssue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawIssue.js","sources":["../../../../Lifecycle/WithdrawIssue/WithdrawIssue.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.Lifecycle.WithdrawIssue.WithdrawIssue. Time: 2026-10-26T19:31:39.8469400Z. Hash: 722745425BDD6BA0C960FE515A55F7F3A36193C8FBDD541449B13B5960DE9716\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 withdraws one of their open issues; support no longer needs to look into it.\n */\nexport interface IWithdrawIssue {\n\n /**\n * The issue to withdraw.\n */\n issueId?: Guid;\n}\n\n\n/**\n * The reporter withdraws one of their open issues; support no longer needs to look into it.\n */\nexport class WithdrawIssue extends Command<IWithdrawIssue> implements IWithdrawIssue {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Lifecycle', 'WithdrawIssue');\n readonly route: string = '/api/lifecycle/withdraw-issue';\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 withdraw.\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?: IWithdrawIssue): [WithdrawIssue, SetCommandValues<IWithdrawIssue>, ClearCommandValues] {\n return useCommand<WithdrawIssue, IWithdrawIssue>(WithdrawIssue, initialValues);\n }\n}\n"],"names":["WithdrawIssue","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,aAAAA,SAAsBC,OAAAA,CAAAA;AAC/B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,aAAa,eAAA,CAAA;AAC/EC,IAAAA,KAAAA,GAAgB,+BAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,WAAWC,IAAAA,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,aAA8B,EAAyE;AAC9G,QAAA,OAAOC,WAA0CjB,aAAAA,EAAegB,aAAAA,CAAAA;AACpE,IAAA;AACJ;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Lifecycle/WithdrawIssue/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Lifecycle/WithdrawIssue/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ChangeSet, ObservableQueryFor, QueryResultWithState, Sorting, SortingActions, SortingActionsForObservableQuery } from '@cratis/arc/queries';
|
|
2
|
+
import { ObservableQueryWhen, SetPage, SetPageSize, SetSorting } from '@cratis/arc.react/queries';
|
|
3
|
+
import { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';
|
|
4
|
+
import { Guid } from '@cratis/fundamentals';
|
|
5
|
+
import { IssueKind } from '../Issues/IssueKind';
|
|
6
|
+
import { IssueState } from '../Issues/IssueState';
|
|
7
|
+
import { UserIdentity } from '../Identity/UserIdentity';
|
|
8
|
+
import { WorkItem } from '../Contracts/WorkItems/WorkItem';
|
|
9
|
+
declare class MyIssuesSortBy {
|
|
10
|
+
readonly query: MyIssues;
|
|
11
|
+
private _fixedInVersion;
|
|
12
|
+
private _id;
|
|
13
|
+
private _kind;
|
|
14
|
+
private _knownIssueTitle;
|
|
15
|
+
private _lastActivityAt;
|
|
16
|
+
private _openQuestions;
|
|
17
|
+
private _reportedAt;
|
|
18
|
+
private _reportedBy;
|
|
19
|
+
private _state;
|
|
20
|
+
private _title;
|
|
21
|
+
private _waitingOnReporter;
|
|
22
|
+
private _workItem;
|
|
23
|
+
constructor(query: MyIssues);
|
|
24
|
+
get fixedInVersion(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
25
|
+
get id(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
26
|
+
get kind(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
27
|
+
get knownIssueTitle(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
28
|
+
get lastActivityAt(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
29
|
+
get openQuestions(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
30
|
+
get reportedAt(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
31
|
+
get reportedBy(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
32
|
+
get state(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
33
|
+
get title(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
34
|
+
get waitingOnReporter(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
35
|
+
get workItem(): SortingActionsForObservableQuery<ReportedIssue[]>;
|
|
36
|
+
}
|
|
37
|
+
declare class MyIssuesSortByWithoutQuery {
|
|
38
|
+
private _fixedInVersion;
|
|
39
|
+
private _id;
|
|
40
|
+
private _kind;
|
|
41
|
+
private _knownIssueTitle;
|
|
42
|
+
private _lastActivityAt;
|
|
43
|
+
private _openQuestions;
|
|
44
|
+
private _reportedAt;
|
|
45
|
+
private _reportedBy;
|
|
46
|
+
private _state;
|
|
47
|
+
private _title;
|
|
48
|
+
private _waitingOnReporter;
|
|
49
|
+
private _workItem;
|
|
50
|
+
get fixedInVersion(): SortingActions;
|
|
51
|
+
get id(): SortingActions;
|
|
52
|
+
get kind(): SortingActions;
|
|
53
|
+
get knownIssueTitle(): SortingActions;
|
|
54
|
+
get lastActivityAt(): SortingActions;
|
|
55
|
+
get openQuestions(): SortingActions;
|
|
56
|
+
get reportedAt(): SortingActions;
|
|
57
|
+
get reportedBy(): SortingActions;
|
|
58
|
+
get state(): SortingActions;
|
|
59
|
+
get title(): SortingActions;
|
|
60
|
+
get waitingOnReporter(): SortingActions;
|
|
61
|
+
get workItem(): SortingActions;
|
|
62
|
+
}
|
|
63
|
+
export declare class MyIssues extends ObservableQueryFor<ReportedIssue[]> {
|
|
64
|
+
static readonly sliceLocation: ArcSliceLocation;
|
|
65
|
+
readonly route: string;
|
|
66
|
+
readonly queryName: string;
|
|
67
|
+
readonly treatWarningsAsErrors: boolean;
|
|
68
|
+
readonly roles: string[];
|
|
69
|
+
readonly defaultValue: ReportedIssue[];
|
|
70
|
+
private readonly _sortBy;
|
|
71
|
+
private static readonly _sortBy;
|
|
72
|
+
constructor();
|
|
73
|
+
get requiredRequestParameters(): string[];
|
|
74
|
+
readonly parameterDescriptors: ParameterDescriptor[];
|
|
75
|
+
get sortBy(): MyIssuesSortBy;
|
|
76
|
+
static get sortBy(): MyIssuesSortByWithoutQuery;
|
|
77
|
+
static use(sorting?: Sorting): [QueryResultWithState<ReportedIssue[]>, SetSorting];
|
|
78
|
+
static useWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<ReportedIssue[]>, SetSorting, SetPage, SetPageSize];
|
|
79
|
+
static useSuspense(sorting?: Sorting): [QueryResultWithState<ReportedIssue[]>, SetSorting];
|
|
80
|
+
static useSuspenseWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<ReportedIssue[]>, SetSorting, SetPage, SetPageSize];
|
|
81
|
+
static useChangeStream(getKey?: (item: ReportedIssue) => unknown, sorting?: Sorting): ChangeSet<ReportedIssue>;
|
|
82
|
+
static when(condition: boolean): ObservableQueryWhen<MyIssues, ReportedIssue[]>;
|
|
83
|
+
}
|
|
84
|
+
export declare class ReportedIssue {
|
|
85
|
+
id: Guid;
|
|
86
|
+
kind: IssueKind;
|
|
87
|
+
title: string;
|
|
88
|
+
state: IssueState;
|
|
89
|
+
reportedAt: Date;
|
|
90
|
+
lastActivityAt: Date;
|
|
91
|
+
waitingOnReporter: boolean;
|
|
92
|
+
knownIssueTitle: string;
|
|
93
|
+
workItem: WorkItem;
|
|
94
|
+
fixedInVersion: string;
|
|
95
|
+
reportedBy: UserIdentity;
|
|
96
|
+
openQuestions: Guid[];
|
|
97
|
+
}
|
|
98
|
+
export {};
|
|
99
|
+
//# sourceMappingURL=Listing.d.ts.map
|