@cratis/showrunner.usher 0.0.0-bootstrap.0 → 0.0.0-stage
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/README.md +2 -58
- package/package.json +4 -69
- package/Access/AccessDuration.ts +0 -13
- package/Access/GrantAccess/GrantAccess.ts +0 -80
- package/Access/GrantAccess/index.ts +0 -4
- package/Access/RevokeAccess/RevokeAccess.ts +0 -61
- package/Access/RevokeAccess/index.ts +0 -4
- package/Access/index.ts +0 -4
- package/Contracts/Conversation/SupportAuthor.ts +0 -25
- package/Contracts/Conversation/SupportAuthorKind.ts +0 -12
- package/Contracts/Conversation/index.ts +0 -5
- package/Contracts/Reporting/SliceLocation.ts +0 -30
- package/Contracts/Reporting/StackFrame.ts +0 -30
- package/Contracts/Reporting/index.ts +0 -5
- package/Contracts/WorkItems/WorkItem.ts +0 -36
- package/Contracts/WorkItems/index.ts +0 -4
- package/Conversation/AddDetails/AddDetails.ts +0 -87
- package/Conversation/AddDetails/index.ts +0 -4
- package/Conversation/AnswerQuestion/AnswerQuestion.ts +0 -105
- package/Conversation/AnswerQuestion/index.ts +0 -4
- package/Errors/ErrorDetails.ts +0 -41
- package/Errors/errorDetailsFromCommandResult.ts +0 -30
- package/Errors/errorDetailsFromError.ts +0 -44
- package/Errors/errorDetailsFromQueryResult.ts +0 -32
- package/Errors/index.ts +0 -9
- package/Errors/messageOf.ts +0 -24
- package/Errors/parseStackTrace.ts +0 -62
- package/Errors/resolveLocation.ts +0 -20
- package/Identity/ShareIdentity/ShareIdentity.ts +0 -61
- package/Identity/ShareIdentity/index.ts +0 -4
- package/Identity/UserIdentity.ts +0 -30
- package/Identity/index.ts +0 -4
- package/Issues/IssueKind.ts +0 -12
- package/Issues/IssueState.ts +0 -17
- package/Issues/index.ts +0 -5
- package/Lifecycle/ReopenIssue/ReopenIssue.ts +0 -87
- package/Lifecycle/ReopenIssue/index.ts +0 -4
- package/Lifecycle/WithdrawIssue/WithdrawIssue.ts +0 -61
- package/Lifecycle/WithdrawIssue/index.ts +0 -4
- package/Listing/Listing.ts +0 -271
- package/Listing/index.ts +0 -4
- package/Reporting/ReportError/ReportError.ts +0 -254
- package/Reporting/ReportError/index.ts +0 -4
- package/Reporting/ReportIssue/ReportIssue.ts +0 -217
- package/Reporting/ReportIssue/index.ts +0 -4
- package/Viewing/AccessState.ts +0 -15
- package/Viewing/ConversationAuthorKind.ts +0 -14
- package/Viewing/ConversationEntryKind.ts +0 -35
- package/Viewing/Viewing.ts +0 -472
- package/Viewing/index.ts +0 -7
- package/dist/cjs/Access/AccessDuration.d.ts +0 -6
- package/dist/cjs/Access/AccessDuration.d.ts.map +0 -1
- package/dist/cjs/Access/AccessDuration.js +0 -17
- package/dist/cjs/Access/AccessDuration.js.map +0 -1
- package/dist/cjs/Access/GrantAccess/GrantAccess.d.ts +0 -25
- package/dist/cjs/Access/GrantAccess/GrantAccess.d.ts.map +0 -1
- package/dist/cjs/Access/GrantAccess/GrantAccess.js +0 -55
- package/dist/cjs/Access/GrantAccess/GrantAccess.js.map +0 -1
- package/dist/cjs/Access/GrantAccess/index.d.ts +0 -2
- package/dist/cjs/Access/GrantAccess/index.d.ts.map +0 -1
- package/dist/cjs/Access/RevokeAccess/RevokeAccess.d.ts +0 -21
- package/dist/cjs/Access/RevokeAccess/RevokeAccess.d.ts.map +0 -1
- package/dist/cjs/Access/RevokeAccess/RevokeAccess.js +0 -44
- package/dist/cjs/Access/RevokeAccess/RevokeAccess.js.map +0 -1
- package/dist/cjs/Access/RevokeAccess/index.d.ts +0 -2
- package/dist/cjs/Access/RevokeAccess/index.d.ts.map +0 -1
- package/dist/cjs/Access/index.d.ts +0 -2
- package/dist/cjs/Access/index.d.ts.map +0 -1
- package/dist/cjs/Contracts/Conversation/SupportAuthor.d.ts +0 -6
- package/dist/cjs/Contracts/Conversation/SupportAuthor.d.ts.map +0 -1
- package/dist/cjs/Contracts/Conversation/SupportAuthor.js +0 -44
- package/dist/cjs/Contracts/Conversation/SupportAuthor.js.map +0 -1
- package/dist/cjs/Contracts/Conversation/SupportAuthorKind.d.ts +0 -5
- package/dist/cjs/Contracts/Conversation/SupportAuthorKind.d.ts.map +0 -1
- package/dist/cjs/Contracts/Conversation/SupportAuthorKind.js +0 -16
- package/dist/cjs/Contracts/Conversation/SupportAuthorKind.js.map +0 -1
- package/dist/cjs/Contracts/Conversation/index.d.ts +0 -3
- package/dist/cjs/Contracts/Conversation/index.d.ts.map +0 -1
- package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts +0 -6
- package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts.map +0 -1
- package/dist/cjs/Contracts/Reporting/SliceLocation.js +0 -50
- package/dist/cjs/Contracts/Reporting/SliceLocation.js.map +0 -1
- package/dist/cjs/Contracts/Reporting/StackFrame.d.ts +0 -6
- package/dist/cjs/Contracts/Reporting/StackFrame.d.ts.map +0 -1
- package/dist/cjs/Contracts/Reporting/StackFrame.js +0 -50
- package/dist/cjs/Contracts/Reporting/StackFrame.js.map +0 -1
- package/dist/cjs/Contracts/Reporting/index.d.ts +0 -3
- package/dist/cjs/Contracts/Reporting/index.d.ts.map +0 -1
- package/dist/cjs/Contracts/WorkItems/WorkItem.d.ts +0 -7
- package/dist/cjs/Contracts/WorkItems/WorkItem.d.ts.map +0 -1
- package/dist/cjs/Contracts/WorkItems/WorkItem.js +0 -57
- package/dist/cjs/Contracts/WorkItems/WorkItem.js.map +0 -1
- package/dist/cjs/Contracts/WorkItems/index.d.ts +0 -2
- package/dist/cjs/Contracts/WorkItems/index.d.ts.map +0 -1
- package/dist/cjs/Conversation/AddDetails/AddDetails.d.ts +0 -28
- package/dist/cjs/Conversation/AddDetails/AddDetails.d.ts.map +0 -1
- package/dist/cjs/Conversation/AddDetails/AddDetails.js +0 -64
- package/dist/cjs/Conversation/AddDetails/AddDetails.js.map +0 -1
- package/dist/cjs/Conversation/AddDetails/index.d.ts +0 -2
- package/dist/cjs/Conversation/AddDetails/index.d.ts.map +0 -1
- package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.d.ts +0 -31
- package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.d.ts.map +0 -1
- package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.js +0 -75
- package/dist/cjs/Conversation/AnswerQuestion/AnswerQuestion.js.map +0 -1
- package/dist/cjs/Conversation/AnswerQuestion/index.d.ts +0 -2
- package/dist/cjs/Conversation/AnswerQuestion/index.d.ts.map +0 -1
- package/dist/cjs/Errors/ErrorDetails.d.ts +0 -11
- package/dist/cjs/Errors/ErrorDetails.d.ts.map +0 -1
- package/dist/cjs/Errors/errorDetailsFromCommandResult.d.ts +0 -5
- package/dist/cjs/Errors/errorDetailsFromCommandResult.d.ts.map +0 -1
- package/dist/cjs/Errors/errorDetailsFromCommandResult.js +0 -32
- package/dist/cjs/Errors/errorDetailsFromCommandResult.js.map +0 -1
- package/dist/cjs/Errors/errorDetailsFromError.d.ts +0 -4
- package/dist/cjs/Errors/errorDetailsFromError.d.ts.map +0 -1
- package/dist/cjs/Errors/errorDetailsFromError.js +0 -43
- package/dist/cjs/Errors/errorDetailsFromError.js.map +0 -1
- package/dist/cjs/Errors/errorDetailsFromQueryResult.d.ts +0 -6
- package/dist/cjs/Errors/errorDetailsFromQueryResult.d.ts.map +0 -1
- package/dist/cjs/Errors/errorDetailsFromQueryResult.js +0 -33
- package/dist/cjs/Errors/errorDetailsFromQueryResult.js.map +0 -1
- package/dist/cjs/Errors/index.d.ts +0 -7
- package/dist/cjs/Errors/index.d.ts.map +0 -1
- package/dist/cjs/Errors/messageOf.d.ts +0 -3
- package/dist/cjs/Errors/messageOf.d.ts.map +0 -1
- package/dist/cjs/Errors/messageOf.js +0 -23
- package/dist/cjs/Errors/messageOf.js.map +0 -1
- package/dist/cjs/Errors/parseStackTrace.d.ts +0 -3
- package/dist/cjs/Errors/parseStackTrace.d.ts.map +0 -1
- package/dist/cjs/Errors/parseStackTrace.js +0 -54
- package/dist/cjs/Errors/parseStackTrace.js.map +0 -1
- package/dist/cjs/Errors/resolveLocation.d.ts +0 -3
- package/dist/cjs/Errors/resolveLocation.d.ts.map +0 -1
- package/dist/cjs/Errors/resolveLocation.js +0 -22
- package/dist/cjs/Errors/resolveLocation.js.map +0 -1
- package/dist/cjs/Identity/ShareIdentity/ShareIdentity.d.ts +0 -21
- package/dist/cjs/Identity/ShareIdentity/ShareIdentity.d.ts.map +0 -1
- package/dist/cjs/Identity/ShareIdentity/ShareIdentity.js +0 -44
- package/dist/cjs/Identity/ShareIdentity/ShareIdentity.js.map +0 -1
- package/dist/cjs/Identity/ShareIdentity/index.d.ts +0 -2
- package/dist/cjs/Identity/ShareIdentity/index.d.ts.map +0 -1
- package/dist/cjs/Identity/UserIdentity.d.ts +0 -6
- package/dist/cjs/Identity/UserIdentity.d.ts.map +0 -1
- package/dist/cjs/Identity/UserIdentity.js +0 -50
- package/dist/cjs/Identity/UserIdentity.js.map +0 -1
- package/dist/cjs/Identity/index.d.ts +0 -2
- package/dist/cjs/Identity/index.d.ts.map +0 -1
- package/dist/cjs/Issues/IssueKind.d.ts +0 -5
- package/dist/cjs/Issues/IssueKind.d.ts.map +0 -1
- package/dist/cjs/Issues/IssueKind.js +0 -16
- package/dist/cjs/Issues/IssueKind.js.map +0 -1
- package/dist/cjs/Issues/IssueState.d.ts +0 -10
- package/dist/cjs/Issues/IssueState.d.ts.map +0 -1
- package/dist/cjs/Issues/IssueState.js +0 -21
- package/dist/cjs/Issues/IssueState.js.map +0 -1
- package/dist/cjs/Issues/index.d.ts +0 -3
- package/dist/cjs/Issues/index.d.ts.map +0 -1
- package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.d.ts +0 -28
- package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.d.ts.map +0 -1
- package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.js +0 -64
- package/dist/cjs/Lifecycle/ReopenIssue/ReopenIssue.js.map +0 -1
- package/dist/cjs/Lifecycle/ReopenIssue/index.d.ts +0 -2
- package/dist/cjs/Lifecycle/ReopenIssue/index.d.ts.map +0 -1
- package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts +0 -21
- package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts.map +0 -1
- package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.js +0 -44
- package/dist/cjs/Lifecycle/WithdrawIssue/WithdrawIssue.js.map +0 -1
- package/dist/cjs/Lifecycle/WithdrawIssue/index.d.ts +0 -2
- package/dist/cjs/Lifecycle/WithdrawIssue/index.d.ts.map +0 -1
- package/dist/cjs/Listing/Listing.d.ts +0 -99
- package/dist/cjs/Listing/Listing.d.ts.map +0 -1
- package/dist/cjs/Listing/Listing.js +0 -281
- package/dist/cjs/Listing/Listing.js.map +0 -1
- package/dist/cjs/Listing/index.d.ts +0 -2
- package/dist/cjs/Listing/index.d.ts.map +0 -1
- package/dist/cjs/Reporting/ReportError/ReportError.d.ts +0 -58
- package/dist/cjs/Reporting/ReportError/ReportError.d.ts.map +0 -1
- package/dist/cjs/Reporting/ReportError/ReportError.js +0 -167
- package/dist/cjs/Reporting/ReportError/ReportError.js.map +0 -1
- package/dist/cjs/Reporting/ReportError/index.d.ts +0 -2
- package/dist/cjs/Reporting/ReportError/index.d.ts.map +0 -1
- package/dist/cjs/Reporting/ReportIssue/ReportIssue.d.ts +0 -51
- package/dist/cjs/Reporting/ReportIssue/ReportIssue.d.ts.map +0 -1
- package/dist/cjs/Reporting/ReportIssue/ReportIssue.js +0 -144
- package/dist/cjs/Reporting/ReportIssue/ReportIssue.js.map +0 -1
- package/dist/cjs/Reporting/ReportIssue/index.d.ts +0 -2
- package/dist/cjs/Reporting/ReportIssue/index.d.ts.map +0 -1
- package/dist/cjs/Viewing/AccessState.d.ts +0 -8
- package/dist/cjs/Viewing/AccessState.d.ts.map +0 -1
- package/dist/cjs/Viewing/AccessState.js +0 -19
- package/dist/cjs/Viewing/AccessState.js.map +0 -1
- package/dist/cjs/Viewing/ConversationAuthorKind.d.ts +0 -7
- package/dist/cjs/Viewing/ConversationAuthorKind.d.ts.map +0 -1
- package/dist/cjs/Viewing/ConversationAuthorKind.js +0 -18
- package/dist/cjs/Viewing/ConversationAuthorKind.js.map +0 -1
- package/dist/cjs/Viewing/ConversationEntryKind.d.ts +0 -28
- package/dist/cjs/Viewing/ConversationEntryKind.d.ts.map +0 -1
- package/dist/cjs/Viewing/ConversationEntryKind.js +0 -39
- package/dist/cjs/Viewing/ConversationEntryKind.js.map +0 -1
- package/dist/cjs/Viewing/Viewing.d.ts +0 -145
- package/dist/cjs/Viewing/Viewing.d.ts.map +0 -1
- package/dist/cjs/Viewing/Viewing.js +0 -492
- package/dist/cjs/Viewing/Viewing.js.map +0 -1
- package/dist/cjs/Viewing/index.d.ts +0 -5
- package/dist/cjs/Viewing/index.d.ts.map +0 -1
- package/dist/cjs/index.d.ts +0 -19
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -74
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/package.json +0 -3
- package/dist/esm/Access/AccessDuration.d.ts +0 -6
- package/dist/esm/Access/AccessDuration.d.ts.map +0 -1
- package/dist/esm/Access/AccessDuration.js +0 -15
- package/dist/esm/Access/AccessDuration.js.map +0 -1
- package/dist/esm/Access/GrantAccess/GrantAccess.d.ts +0 -25
- package/dist/esm/Access/GrantAccess/GrantAccess.d.ts.map +0 -1
- package/dist/esm/Access/GrantAccess/GrantAccess.js +0 -53
- package/dist/esm/Access/GrantAccess/GrantAccess.js.map +0 -1
- package/dist/esm/Access/GrantAccess/index.d.ts +0 -2
- package/dist/esm/Access/GrantAccess/index.d.ts.map +0 -1
- package/dist/esm/Access/GrantAccess/index.js +0 -2
- package/dist/esm/Access/GrantAccess/index.js.map +0 -1
- package/dist/esm/Access/RevokeAccess/RevokeAccess.d.ts +0 -21
- package/dist/esm/Access/RevokeAccess/RevokeAccess.d.ts.map +0 -1
- package/dist/esm/Access/RevokeAccess/RevokeAccess.js +0 -42
- package/dist/esm/Access/RevokeAccess/RevokeAccess.js.map +0 -1
- package/dist/esm/Access/RevokeAccess/index.d.ts +0 -2
- package/dist/esm/Access/RevokeAccess/index.d.ts.map +0 -1
- package/dist/esm/Access/RevokeAccess/index.js +0 -2
- package/dist/esm/Access/RevokeAccess/index.js.map +0 -1
- package/dist/esm/Access/index.d.ts +0 -2
- package/dist/esm/Access/index.d.ts.map +0 -1
- package/dist/esm/Access/index.js +0 -2
- package/dist/esm/Access/index.js.map +0 -1
- package/dist/esm/Contracts/Conversation/SupportAuthor.d.ts +0 -6
- package/dist/esm/Contracts/Conversation/SupportAuthor.d.ts.map +0 -1
- package/dist/esm/Contracts/Conversation/SupportAuthor.js +0 -42
- package/dist/esm/Contracts/Conversation/SupportAuthor.js.map +0 -1
- package/dist/esm/Contracts/Conversation/SupportAuthorKind.d.ts +0 -5
- package/dist/esm/Contracts/Conversation/SupportAuthorKind.d.ts.map +0 -1
- package/dist/esm/Contracts/Conversation/SupportAuthorKind.js +0 -14
- package/dist/esm/Contracts/Conversation/SupportAuthorKind.js.map +0 -1
- package/dist/esm/Contracts/Conversation/index.d.ts +0 -3
- package/dist/esm/Contracts/Conversation/index.d.ts.map +0 -1
- package/dist/esm/Contracts/Conversation/index.js +0 -3
- package/dist/esm/Contracts/Conversation/index.js.map +0 -1
- package/dist/esm/Contracts/Reporting/SliceLocation.d.ts +0 -6
- package/dist/esm/Contracts/Reporting/SliceLocation.d.ts.map +0 -1
- package/dist/esm/Contracts/Reporting/SliceLocation.js +0 -48
- package/dist/esm/Contracts/Reporting/SliceLocation.js.map +0 -1
- package/dist/esm/Contracts/Reporting/StackFrame.d.ts +0 -6
- package/dist/esm/Contracts/Reporting/StackFrame.d.ts.map +0 -1
- package/dist/esm/Contracts/Reporting/StackFrame.js +0 -48
- package/dist/esm/Contracts/Reporting/StackFrame.js.map +0 -1
- package/dist/esm/Contracts/Reporting/index.d.ts +0 -3
- package/dist/esm/Contracts/Reporting/index.d.ts.map +0 -1
- package/dist/esm/Contracts/Reporting/index.js +0 -3
- package/dist/esm/Contracts/Reporting/index.js.map +0 -1
- package/dist/esm/Contracts/WorkItems/WorkItem.d.ts +0 -7
- package/dist/esm/Contracts/WorkItems/WorkItem.d.ts.map +0 -1
- package/dist/esm/Contracts/WorkItems/WorkItem.js +0 -55
- package/dist/esm/Contracts/WorkItems/WorkItem.js.map +0 -1
- package/dist/esm/Contracts/WorkItems/index.d.ts +0 -2
- package/dist/esm/Contracts/WorkItems/index.d.ts.map +0 -1
- package/dist/esm/Contracts/WorkItems/index.js +0 -2
- package/dist/esm/Contracts/WorkItems/index.js.map +0 -1
- package/dist/esm/Conversation/AddDetails/AddDetails.d.ts +0 -28
- package/dist/esm/Conversation/AddDetails/AddDetails.d.ts.map +0 -1
- package/dist/esm/Conversation/AddDetails/AddDetails.js +0 -61
- package/dist/esm/Conversation/AddDetails/AddDetails.js.map +0 -1
- package/dist/esm/Conversation/AddDetails/index.d.ts +0 -2
- package/dist/esm/Conversation/AddDetails/index.d.ts.map +0 -1
- package/dist/esm/Conversation/AddDetails/index.js +0 -2
- package/dist/esm/Conversation/AddDetails/index.js.map +0 -1
- package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.d.ts +0 -31
- package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.d.ts.map +0 -1
- package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.js +0 -72
- package/dist/esm/Conversation/AnswerQuestion/AnswerQuestion.js.map +0 -1
- package/dist/esm/Conversation/AnswerQuestion/index.d.ts +0 -2
- package/dist/esm/Conversation/AnswerQuestion/index.d.ts.map +0 -1
- package/dist/esm/Conversation/AnswerQuestion/index.js +0 -2
- package/dist/esm/Conversation/AnswerQuestion/index.js.map +0 -1
- package/dist/esm/Errors/ErrorDetails.d.ts +0 -11
- package/dist/esm/Errors/ErrorDetails.d.ts.map +0 -1
- package/dist/esm/Errors/ErrorDetails.js +0 -2
- package/dist/esm/Errors/ErrorDetails.js.map +0 -1
- package/dist/esm/Errors/errorDetailsFromCommandResult.d.ts +0 -5
- package/dist/esm/Errors/errorDetailsFromCommandResult.d.ts.map +0 -1
- package/dist/esm/Errors/errorDetailsFromCommandResult.js +0 -30
- package/dist/esm/Errors/errorDetailsFromCommandResult.js.map +0 -1
- package/dist/esm/Errors/errorDetailsFromError.d.ts +0 -4
- package/dist/esm/Errors/errorDetailsFromError.d.ts.map +0 -1
- package/dist/esm/Errors/errorDetailsFromError.js +0 -41
- package/dist/esm/Errors/errorDetailsFromError.js.map +0 -1
- package/dist/esm/Errors/errorDetailsFromQueryResult.d.ts +0 -6
- package/dist/esm/Errors/errorDetailsFromQueryResult.d.ts.map +0 -1
- package/dist/esm/Errors/errorDetailsFromQueryResult.js +0 -31
- package/dist/esm/Errors/errorDetailsFromQueryResult.js.map +0 -1
- package/dist/esm/Errors/index.d.ts +0 -7
- package/dist/esm/Errors/index.d.ts.map +0 -1
- package/dist/esm/Errors/index.js +0 -7
- package/dist/esm/Errors/index.js.map +0 -1
- package/dist/esm/Errors/messageOf.d.ts +0 -3
- package/dist/esm/Errors/messageOf.d.ts.map +0 -1
- package/dist/esm/Errors/messageOf.js +0 -21
- package/dist/esm/Errors/messageOf.js.map +0 -1
- package/dist/esm/Errors/parseStackTrace.d.ts +0 -3
- package/dist/esm/Errors/parseStackTrace.d.ts.map +0 -1
- package/dist/esm/Errors/parseStackTrace.js +0 -52
- package/dist/esm/Errors/parseStackTrace.js.map +0 -1
- package/dist/esm/Errors/resolveLocation.d.ts +0 -3
- package/dist/esm/Errors/resolveLocation.d.ts.map +0 -1
- package/dist/esm/Errors/resolveLocation.js +0 -20
- package/dist/esm/Errors/resolveLocation.js.map +0 -1
- package/dist/esm/Identity/ShareIdentity/ShareIdentity.d.ts +0 -21
- package/dist/esm/Identity/ShareIdentity/ShareIdentity.d.ts.map +0 -1
- package/dist/esm/Identity/ShareIdentity/ShareIdentity.js +0 -42
- package/dist/esm/Identity/ShareIdentity/ShareIdentity.js.map +0 -1
- package/dist/esm/Identity/ShareIdentity/index.d.ts +0 -2
- package/dist/esm/Identity/ShareIdentity/index.d.ts.map +0 -1
- package/dist/esm/Identity/ShareIdentity/index.js +0 -2
- package/dist/esm/Identity/ShareIdentity/index.js.map +0 -1
- package/dist/esm/Identity/UserIdentity.d.ts +0 -6
- package/dist/esm/Identity/UserIdentity.d.ts.map +0 -1
- package/dist/esm/Identity/UserIdentity.js +0 -48
- package/dist/esm/Identity/UserIdentity.js.map +0 -1
- package/dist/esm/Identity/index.d.ts +0 -2
- package/dist/esm/Identity/index.d.ts.map +0 -1
- package/dist/esm/Identity/index.js +0 -2
- package/dist/esm/Identity/index.js.map +0 -1
- package/dist/esm/Issues/IssueKind.d.ts +0 -5
- package/dist/esm/Issues/IssueKind.d.ts.map +0 -1
- package/dist/esm/Issues/IssueKind.js +0 -14
- package/dist/esm/Issues/IssueKind.js.map +0 -1
- package/dist/esm/Issues/IssueState.d.ts +0 -10
- package/dist/esm/Issues/IssueState.d.ts.map +0 -1
- package/dist/esm/Issues/IssueState.js +0 -19
- package/dist/esm/Issues/IssueState.js.map +0 -1
- package/dist/esm/Issues/index.d.ts +0 -3
- package/dist/esm/Issues/index.d.ts.map +0 -1
- package/dist/esm/Issues/index.js +0 -3
- package/dist/esm/Issues/index.js.map +0 -1
- package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.d.ts +0 -28
- package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.d.ts.map +0 -1
- package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.js +0 -61
- package/dist/esm/Lifecycle/ReopenIssue/ReopenIssue.js.map +0 -1
- package/dist/esm/Lifecycle/ReopenIssue/index.d.ts +0 -2
- package/dist/esm/Lifecycle/ReopenIssue/index.d.ts.map +0 -1
- package/dist/esm/Lifecycle/ReopenIssue/index.js +0 -2
- package/dist/esm/Lifecycle/ReopenIssue/index.js.map +0 -1
- package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts +0 -21
- package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.d.ts.map +0 -1
- package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.js +0 -42
- package/dist/esm/Lifecycle/WithdrawIssue/WithdrawIssue.js.map +0 -1
- package/dist/esm/Lifecycle/WithdrawIssue/index.d.ts +0 -2
- package/dist/esm/Lifecycle/WithdrawIssue/index.d.ts.map +0 -1
- package/dist/esm/Lifecycle/WithdrawIssue/index.js +0 -2
- package/dist/esm/Lifecycle/WithdrawIssue/index.js.map +0 -1
- package/dist/esm/Listing/Listing.d.ts +0 -99
- package/dist/esm/Listing/Listing.d.ts.map +0 -1
- package/dist/esm/Listing/Listing.js +0 -278
- package/dist/esm/Listing/Listing.js.map +0 -1
- package/dist/esm/Listing/index.d.ts +0 -2
- package/dist/esm/Listing/index.d.ts.map +0 -1
- package/dist/esm/Listing/index.js +0 -2
- package/dist/esm/Listing/index.js.map +0 -1
- package/dist/esm/Reporting/ReportError/ReportError.d.ts +0 -58
- package/dist/esm/Reporting/ReportError/ReportError.d.ts.map +0 -1
- package/dist/esm/Reporting/ReportError/ReportError.js +0 -164
- package/dist/esm/Reporting/ReportError/ReportError.js.map +0 -1
- package/dist/esm/Reporting/ReportError/index.d.ts +0 -2
- package/dist/esm/Reporting/ReportError/index.d.ts.map +0 -1
- package/dist/esm/Reporting/ReportError/index.js +0 -2
- package/dist/esm/Reporting/ReportError/index.js.map +0 -1
- package/dist/esm/Reporting/ReportIssue/ReportIssue.d.ts +0 -51
- package/dist/esm/Reporting/ReportIssue/ReportIssue.d.ts.map +0 -1
- package/dist/esm/Reporting/ReportIssue/ReportIssue.js +0 -141
- package/dist/esm/Reporting/ReportIssue/ReportIssue.js.map +0 -1
- package/dist/esm/Reporting/ReportIssue/index.d.ts +0 -2
- package/dist/esm/Reporting/ReportIssue/index.d.ts.map +0 -1
- package/dist/esm/Reporting/ReportIssue/index.js +0 -2
- package/dist/esm/Reporting/ReportIssue/index.js.map +0 -1
- package/dist/esm/Viewing/AccessState.d.ts +0 -8
- package/dist/esm/Viewing/AccessState.d.ts.map +0 -1
- package/dist/esm/Viewing/AccessState.js +0 -17
- package/dist/esm/Viewing/AccessState.js.map +0 -1
- package/dist/esm/Viewing/ConversationAuthorKind.d.ts +0 -7
- package/dist/esm/Viewing/ConversationAuthorKind.d.ts.map +0 -1
- package/dist/esm/Viewing/ConversationAuthorKind.js +0 -16
- package/dist/esm/Viewing/ConversationAuthorKind.js.map +0 -1
- package/dist/esm/Viewing/ConversationEntryKind.d.ts +0 -28
- package/dist/esm/Viewing/ConversationEntryKind.d.ts.map +0 -1
- package/dist/esm/Viewing/ConversationEntryKind.js +0 -37
- package/dist/esm/Viewing/ConversationEntryKind.js.map +0 -1
- package/dist/esm/Viewing/Viewing.d.ts +0 -145
- package/dist/esm/Viewing/Viewing.d.ts.map +0 -1
- package/dist/esm/Viewing/Viewing.js +0 -484
- package/dist/esm/Viewing/Viewing.js.map +0 -1
- package/dist/esm/Viewing/index.d.ts +0 -5
- package/dist/esm/Viewing/index.d.ts.map +0 -1
- package/dist/esm/Viewing/index.js +0 -5
- package/dist/esm/Viewing/index.js.map +0 -1
- package/dist/esm/index.d.ts +0 -19
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -29
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/package.json +0 -3
- package/index.ts +0 -21
package/README.md
CHANGED
|
@@ -1,59 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Temporary Holding Version
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[](LICENSE)
|
|
6
|
-
[](https://github.com/Cratis/Showrunner/actions/workflows/build.yml)
|
|
7
|
-
[](https://github.com/Cratis/Showrunner/actions/workflows/publish.yml)
|
|
8
|
-
[](https://discord.gg/kt4AMpV8WV)
|
|
9
|
-
|
|
10
|
-
## Usher
|
|
11
|
-
|
|
12
|
-
**Usher** is the support part: it lets the users of an application report issues and hold support conversations with the people running it. It is a library an application hosts, not a service of its own — the backend package adds Usher's commands, queries and events to the host's Arc application and Chronicle event store, and the frontend packages give the host's React UI the generated proxies and components to drive them.
|
|
13
|
-
|
|
14
|
-
Usher is in its earliest stage: the packages are scaffolded and published, but carry no behavior yet. See [Documentation](./Documentation/index.md).
|
|
15
|
-
|
|
16
|
-
## Packages
|
|
17
|
-
|
|
18
|
-
| Package | Registry | What it is |
|
|
19
|
-
| --- | --- | --- |
|
|
20
|
-
| `Cratis.Showrunner.Usher.Contracts` | NuGet | Usher's event contracts, for hosts that react to what Usher records |
|
|
21
|
-
| `Cratis.Showrunner.Usher` | NuGet | Usher's backend — Arc commands and queries over Chronicle |
|
|
22
|
-
| `@cratis/showrunner.usher` | npm | The generated TypeScript proxies for Usher's commands and queries; no UI framework dependency |
|
|
23
|
-
| `@cratis/showrunner.usher.react` | npm | React components for Usher, built on `@cratis/arc.react` and `@cratis/components` |
|
|
24
|
-
|
|
25
|
-
## Building
|
|
26
|
-
|
|
27
|
-
Prerequisites: the .NET SDK from [`global.json`](./global.json) (10.0.400 or later) and Node.js 20 or later with Corepack enabled (`corepack enable`); Yarn itself is checked in under `.yarn/releases`.
|
|
28
|
-
|
|
29
|
-
```shell
|
|
30
|
-
# Backend: Debug builds compile the inline specs and regenerate the TypeScript proxies
|
|
31
|
-
dotnet build Showrunner.slnx --configuration Debug
|
|
32
|
-
dotnet test Showrunner.slnx --configuration Debug --no-build
|
|
33
|
-
|
|
34
|
-
# Release is warnings-as-errors; clearing CratisProxiesOutputPath skips proxy generation
|
|
35
|
-
dotnet build Showrunner.slnx --configuration Release -p:CratisProxiesOutputPath=
|
|
36
|
-
|
|
37
|
-
# Frontend
|
|
38
|
-
yarn install
|
|
39
|
-
yarn lint:ci
|
|
40
|
-
yarn compile
|
|
41
|
-
yarn test
|
|
42
|
-
yarn build
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Specifications live beside the code they specify — `for_*/when_*/` folders compiled into Debug builds only for .NET, and Vitest specs in the same layout for TypeScript.
|
|
46
|
-
|
|
47
|
-
The end-to-end specifications in [`Integration`](./Integration) run Usher and a desk against a real Chronicle kernel in a container, so `dotnet test Showrunner.slnx` needs Docker. Set `USHER_CHRONICLE_IMAGE` to run them against another kernel image, and `USHER_INTEGRATION_LOG` to a file path to keep the application's log.
|
|
48
|
-
|
|
49
|
-
## Releasing
|
|
50
|
-
|
|
51
|
-
Every pull request carries exactly one of the `major`, `minor`, `patch` or `no-release` labels. Merging a version-labelled pull request to `main` releases all four packages under one semantic version through [`cratis/release-action`](https://github.com/Cratis/release-action) — NuGet packages through NuGet trusted publishing and npm packages through npm trusted publishing with provenance. The packages are built and packed in jobs without publishing rights; separate jobs that run no build or install script hold the short-lived OIDC token and only push what was packed.
|
|
52
|
-
|
|
53
|
-
## Part of the Cratis ecosystem
|
|
54
|
-
|
|
55
|
-
Showrunner is a [Cratis](https://www.cratis.io) project, built on event sourcing with [Chronicle](https://github.com/Cratis/Chronicle) and CQRS with [Arc](https://github.com/Cratis/Arc), with frontends on [`@cratis/components`](https://github.com/Cratis/Components). Join the community on [Discord](https://discord.gg/kt4AMpV8WV).
|
|
56
|
-
|
|
57
|
-
## License
|
|
58
|
-
|
|
59
|
-
Showrunner is licensed under the [MIT License](LICENSE) and free to use.
|
|
3
|
+
This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
|
package/package.json
CHANGED
|
@@ -1,71 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"keywords": [
|
|
7
|
-
"cratis",
|
|
8
|
-
"showrunner",
|
|
9
|
-
"usher",
|
|
10
|
-
"support",
|
|
11
|
-
"arc",
|
|
12
|
-
"proxies",
|
|
13
|
-
"typescript"
|
|
14
|
-
],
|
|
15
|
-
"homepage": "https://github.com/Cratis/Showrunner",
|
|
16
|
-
"author": "Cratis",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "git+https://github.com/Cratis/Showrunner.git"
|
|
21
|
-
},
|
|
22
|
-
"publishConfig": {
|
|
23
|
-
"access": "public"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist",
|
|
27
|
-
"**/*.ts",
|
|
28
|
-
"**/*.tsx",
|
|
29
|
-
"!**/for_*/**",
|
|
30
|
-
"!**/given/**",
|
|
31
|
-
"!**/*.tsbuildinfo"
|
|
32
|
-
],
|
|
33
|
-
"main": "dist/cjs/index.js",
|
|
34
|
-
"module": "dist/esm/index.js",
|
|
35
|
-
"types": "dist/esm/index.d.ts",
|
|
36
|
-
"exports": {
|
|
37
|
-
"./package.json": "./package.json",
|
|
38
|
-
".": {
|
|
39
|
-
"import": {
|
|
40
|
-
"types": "./dist/esm/index.d.ts",
|
|
41
|
-
"default": "./dist/esm/index.js"
|
|
42
|
-
},
|
|
43
|
-
"require": {
|
|
44
|
-
"types": "./dist/cjs/index.d.ts",
|
|
45
|
-
"default": "./dist/cjs/index.js"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"scripts": {
|
|
50
|
-
"prepare": "yarn g:build",
|
|
51
|
-
"clean": "yarn g:clean",
|
|
52
|
-
"compile": "yarn g:compile",
|
|
53
|
-
"build": "yarn g:build",
|
|
54
|
-
"lint": "yarn g:lint",
|
|
55
|
-
"lint:ci": "yarn g:lint:ci",
|
|
56
|
-
"test": "yarn g:test",
|
|
57
|
-
"test:watch": "yarn g:test:watch",
|
|
58
|
-
"ci": "yarn g:ci",
|
|
59
|
-
"up": "yarn g:up"
|
|
60
|
-
},
|
|
61
|
-
"devDependencies": {
|
|
62
|
-
"@cratis/arc": "22.146.0",
|
|
63
|
-
"@cratis/arc.react": "22.146.0",
|
|
64
|
-
"@cratis/fundamentals": "7.27.0"
|
|
65
|
-
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"@cratis/arc": "^22.146.0",
|
|
68
|
-
"@cratis/arc.react": "^22.146.0",
|
|
69
|
-
"@cratis/fundamentals": "^7.27.0"
|
|
70
|
-
}
|
|
2
|
+
"name": "@cratis/showrunner.usher",
|
|
3
|
+
"version": "0.0.0-stage",
|
|
4
|
+
"stub": true,
|
|
5
|
+
"description": "Temporary package placeholder for staged publishing"
|
|
71
6
|
}
|
package/Access/AccessDuration.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Access.AccessDuration. Time: 2026-10-26T18:15:51.5541920Z. Hash: 02EA7A21E388E503C178B1F59050CA769BE3C13F20DF9CCE919698A2587F493C
|
|
6
|
-
/**
|
|
7
|
-
* How long a reporter lets support sign in as them. A command carries the duration; the event records the fixed {@link ValidUntil} it gives, so the fact does not change meaning with the time it is read.
|
|
8
|
-
*/
|
|
9
|
-
export enum AccessDuration {
|
|
10
|
-
oneHour = 0,
|
|
11
|
-
oneDay = 1,
|
|
12
|
-
sevenDays = 2,
|
|
13
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Access.GrantAccess.GrantAccess. Time: 2026-10-26T21:06:46.7466610Z. Hash: 6C24DECBF40D9D51CD1BBF740D36201F3F71B828180A6EB05D886EDAF5F38DBE
|
|
6
|
-
import { Command } from '@cratis/arc/commands';
|
|
7
|
-
import { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';
|
|
8
|
-
import { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
9
|
-
import { AccessDuration } from '../AccessDuration';
|
|
10
|
-
import { Guid } from '@cratis/fundamentals';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* The reporter lets support sign in as them, for a limited time, to look into one of their issues. Support can only act as someone it knows, so granting access shares the reporter's identity first when it is not shared yet.
|
|
14
|
-
*/
|
|
15
|
-
export interface IGrantAccess {
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* How long support may sign in as the reporter.
|
|
19
|
-
*/
|
|
20
|
-
accessDuration?: AccessDuration;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* The issue support may look into.
|
|
24
|
-
*/
|
|
25
|
-
issueId?: Guid;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* The reporter lets support sign in as them, for a limited time, to look into one of their issues. Support can only act as someone it knows, so granting access shares the reporter's identity first when it is not shared yet.
|
|
31
|
-
*/
|
|
32
|
-
export class GrantAccess extends Command<IGrantAccess> implements IGrantAccess {
|
|
33
|
-
static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Access', 'GrantAccess');
|
|
34
|
-
readonly route: string = '/api/access/grant-access';
|
|
35
|
-
readonly treatWarningsAsErrors: boolean = false;
|
|
36
|
-
readonly roles: string[] = [];
|
|
37
|
-
readonly propertyDescriptors: PropertyDescriptor[] = [
|
|
38
|
-
new PropertyDescriptor('accessDuration', Number, false),
|
|
39
|
-
new PropertyDescriptor('issueId', Guid, false),
|
|
40
|
-
];
|
|
41
|
-
|
|
42
|
-
#accessDuration!: AccessDuration;
|
|
43
|
-
#issueId!: Guid;
|
|
44
|
-
|
|
45
|
-
constructor() {
|
|
46
|
-
super(Object, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
get requestParameters(): string[] {
|
|
50
|
-
return [
|
|
51
|
-
];
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* How long support may sign in as the reporter.
|
|
56
|
-
*/
|
|
57
|
-
get accessDuration(): AccessDuration {
|
|
58
|
-
return this.#accessDuration;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
set accessDuration(value: AccessDuration) {
|
|
62
|
-
this.#accessDuration = value;
|
|
63
|
-
this.propertyChanged('accessDuration');
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* The issue support may look into.
|
|
67
|
-
*/
|
|
68
|
-
get issueId(): Guid {
|
|
69
|
-
return this.#issueId;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
set issueId(value: Guid) {
|
|
73
|
-
this.#issueId = value;
|
|
74
|
-
this.propertyChanged('issueId');
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
static use(initialValues?: IGrantAccess): [GrantAccess, SetCommandValues<IGrantAccess>, ClearCommandValues] {
|
|
78
|
-
return useCommand<GrantAccess, IGrantAccess>(GrantAccess, initialValues);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Access.RevokeAccess.RevokeAccess. Time: 2026-10-26T19:31:39.8469400Z. Hash: A43D27067A33FB57D824175026F0970762913BDB1BEE073DA0228A65B8994147
|
|
6
|
-
import { Command } from '@cratis/arc/commands';
|
|
7
|
-
import { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';
|
|
8
|
-
import { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
9
|
-
import { Guid } from '@cratis/fundamentals';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The reporter takes back the access they granted support on one of their issues, before it ends by itself.
|
|
13
|
-
*/
|
|
14
|
-
export interface IRevokeAccess {
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The issue to revoke access on.
|
|
18
|
-
*/
|
|
19
|
-
issueId?: Guid;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* The reporter takes back the access they granted support on one of their issues, before it ends by itself.
|
|
25
|
-
*/
|
|
26
|
-
export class RevokeAccess extends Command<IRevokeAccess> implements IRevokeAccess {
|
|
27
|
-
static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Access', 'RevokeAccess');
|
|
28
|
-
readonly route: string = '/api/access/revoke-access';
|
|
29
|
-
readonly treatWarningsAsErrors: boolean = false;
|
|
30
|
-
readonly roles: string[] = [];
|
|
31
|
-
readonly propertyDescriptors: PropertyDescriptor[] = [
|
|
32
|
-
new PropertyDescriptor('issueId', Guid, false),
|
|
33
|
-
];
|
|
34
|
-
|
|
35
|
-
#issueId!: Guid;
|
|
36
|
-
|
|
37
|
-
constructor() {
|
|
38
|
-
super(Object, false);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
get requestParameters(): string[] {
|
|
42
|
-
return [
|
|
43
|
-
];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* The issue to revoke access on.
|
|
48
|
-
*/
|
|
49
|
-
get issueId(): Guid {
|
|
50
|
-
return this.#issueId;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
set issueId(value: Guid) {
|
|
54
|
-
this.#issueId = value;
|
|
55
|
-
this.propertyChanged('issueId');
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
static use(initialValues?: IRevokeAccess): [RevokeAccess, SetCommandValues<IRevokeAccess>, ClearCommandValues] {
|
|
59
|
-
return useCommand<RevokeAccess, IRevokeAccess>(RevokeAccess, initialValues);
|
|
60
|
-
}
|
|
61
|
-
}
|
package/Access/index.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Contracts.Conversation.SupportAuthor. Time: 2026-10-26T18:15:51.5541920Z. Hash: D971774E1CCD2C2A3F843B181EB3702E3D2B029CC98A4E67A7AA5BA736C177FC
|
|
6
|
-
import { field } from '@cratis/fundamentals';
|
|
7
|
-
import { SupportAuthorKind } from './SupportAuthorKind';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* 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.
|
|
11
|
-
*/
|
|
12
|
-
export class SupportAuthor {
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* The author's name; {@link NotSet} when the desk hides it.
|
|
16
|
-
*/
|
|
17
|
-
@field(String)
|
|
18
|
-
name!: string;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Whether the author is a person or an agent.
|
|
22
|
-
*/
|
|
23
|
-
@field(Number)
|
|
24
|
-
kind!: SupportAuthorKind;
|
|
25
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Contracts.Conversation.SupportAuthorKind. Time: 2026-10-26T18:15:51.5541920Z. Hash: F0E3DFBE5B4CC9979D8E809F25FE71B45342DCEC39253BD19C5B48510442C643
|
|
6
|
-
/**
|
|
7
|
-
* What kind of author wrote a support entry the reporter sees.
|
|
8
|
-
*/
|
|
9
|
-
export enum SupportAuthorKind {
|
|
10
|
-
person = 0,
|
|
11
|
-
agent = 1,
|
|
12
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Contracts.Reporting.SliceLocation. Time: 2026-10-26T18:15:51.5541920Z. Hash: 43F1EEEB0FFCB772AA0F2633DFF9FAC94AADE89AB1858F453B61A86B87327956
|
|
6
|
-
import { field } from '@cratis/fundamentals';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* 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.
|
|
10
|
-
*/
|
|
11
|
-
export class SliceLocation {
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* The module.
|
|
15
|
-
*/
|
|
16
|
-
@field(String)
|
|
17
|
-
module!: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The feature within the module.
|
|
21
|
-
*/
|
|
22
|
-
@field(String)
|
|
23
|
-
feature!: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* The slice within the feature.
|
|
27
|
-
*/
|
|
28
|
-
@field(String)
|
|
29
|
-
slice!: string;
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Contracts.Reporting.StackFrame. Time: 2026-10-26T18:15:51.5541920Z. Hash: 9C8E5C91DFFB6B0A76AD65FD9A99521AD00B63AAB07047C86467525A89A18281
|
|
6
|
-
import { field } from '@cratis/fundamentals';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* 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.
|
|
10
|
-
*/
|
|
11
|
-
export class StackFrame {
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* The method or function.
|
|
15
|
-
*/
|
|
16
|
-
@field(String)
|
|
17
|
-
method!: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The source file or script URL.
|
|
21
|
-
*/
|
|
22
|
-
@field(String)
|
|
23
|
-
file!: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* The line number in the file.
|
|
27
|
-
*/
|
|
28
|
-
@field(Number)
|
|
29
|
-
line!: number;
|
|
30
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Contracts.WorkItems.WorkItem. Time: 2026-10-26T18:15:51.5541920Z. Hash: 31E79735FA61F9982CB757EAB8C488E2EF008E57887F2D8BC0974779204ED489
|
|
6
|
-
import { field } from '@cratis/fundamentals';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* 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.
|
|
10
|
-
*/
|
|
11
|
-
export class WorkItem {
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* The tracker the work item lives in.
|
|
15
|
-
*/
|
|
16
|
-
@field(String)
|
|
17
|
-
tracker!: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The tracker's own reference to the work item.
|
|
21
|
-
*/
|
|
22
|
-
@field(String)
|
|
23
|
-
reference!: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* The work item's title.
|
|
27
|
-
*/
|
|
28
|
-
@field(String)
|
|
29
|
-
title!: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Where the reporter can open the work item; {@link NotSet} when they cannot.
|
|
33
|
-
*/
|
|
34
|
-
@field(String)
|
|
35
|
-
url!: string;
|
|
36
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Conversation.AddDetails.AddDetails. Time: 2026-10-26T21:13:51.1172240Z. Hash: 123040E7A0D9A2374A3D88E5B1831AC01DA9786D2C513278D3F97002293779F9
|
|
6
|
-
import { Command, CommandValidator } from '@cratis/arc/commands';
|
|
7
|
-
import { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';
|
|
8
|
-
import { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
9
|
-
import { Guid } from '@cratis/fundamentals';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The reporter tells support more about one of their issues.
|
|
13
|
-
*/
|
|
14
|
-
export interface IAddDetails {
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* What the reporter adds.
|
|
18
|
-
*/
|
|
19
|
-
details?: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* The issue to add details to.
|
|
23
|
-
*/
|
|
24
|
-
issueId?: Guid;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export class AddDetailsValidator extends CommandValidator<IAddDetails> {
|
|
28
|
-
constructor() {
|
|
29
|
-
super();
|
|
30
|
-
this.ruleFor(c => c.details).notEmpty().withMessage('Tell support what you want to add.');
|
|
31
|
-
this.ruleFor(c => c.details).maxLength(4000).withMessage('Keep what you add within 4000 characters.');
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* The reporter tells support more about one of their issues.
|
|
37
|
-
*/
|
|
38
|
-
export class AddDetails extends Command<IAddDetails> implements IAddDetails {
|
|
39
|
-
static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Conversation', 'AddDetails');
|
|
40
|
-
readonly route: string = '/api/conversation/add-details';
|
|
41
|
-
readonly validation: CommandValidator = new AddDetailsValidator();
|
|
42
|
-
readonly treatWarningsAsErrors: boolean = false;
|
|
43
|
-
readonly roles: string[] = [];
|
|
44
|
-
readonly propertyDescriptors: PropertyDescriptor[] = [
|
|
45
|
-
new PropertyDescriptor('details', String, false),
|
|
46
|
-
new PropertyDescriptor('issueId', Guid, false),
|
|
47
|
-
];
|
|
48
|
-
|
|
49
|
-
#details!: string;
|
|
50
|
-
#issueId!: Guid;
|
|
51
|
-
|
|
52
|
-
constructor() {
|
|
53
|
-
super(Object, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
get requestParameters(): string[] {
|
|
57
|
-
return [
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* What the reporter adds.
|
|
63
|
-
*/
|
|
64
|
-
get details(): string {
|
|
65
|
-
return this.#details;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
set details(value: string) {
|
|
69
|
-
this.#details = value;
|
|
70
|
-
this.propertyChanged('details');
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* The issue to add details to.
|
|
74
|
-
*/
|
|
75
|
-
get issueId(): Guid {
|
|
76
|
-
return this.#issueId;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
set issueId(value: Guid) {
|
|
80
|
-
this.#issueId = value;
|
|
81
|
-
this.propertyChanged('issueId');
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
static use(initialValues?: IAddDetails): [AddDetails, SetCommandValues<IAddDetails>, ClearCommandValues] {
|
|
85
|
-
return useCommand<AddDetails, IAddDetails>(AddDetails, initialValues);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
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
|
-
|
|
4
|
-
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
5
|
-
// @generated by Cratis. Source: Cratis.Showrunner.Usher.Conversation.AnswerQuestion.AnswerQuestion. Time: 2026-10-26T21:13:51.1172240Z. Hash: E9094699C3CA7572D788CDA4E95DCA46A53E721FFC91648D483E64EFC5A6979B
|
|
6
|
-
import { Command, CommandValidator } from '@cratis/arc/commands';
|
|
7
|
-
import { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';
|
|
8
|
-
import { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
9
|
-
import { Guid } from '@cratis/fundamentals';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The reporter answers a question support asked on one of their issues.
|
|
13
|
-
*/
|
|
14
|
-
export interface IAnswerQuestion {
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The reporter's answer.
|
|
18
|
-
*/
|
|
19
|
-
answer?: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* The issue the question was asked on.
|
|
23
|
-
*/
|
|
24
|
-
issueId?: Guid;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* The question being answered, as the desk minted it.
|
|
28
|
-
*/
|
|
29
|
-
questionId?: Guid;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export class AnswerQuestionValidator extends CommandValidator<IAnswerQuestion> {
|
|
33
|
-
constructor() {
|
|
34
|
-
super();
|
|
35
|
-
this.ruleFor(c => c.answer).notEmpty().withMessage('Write an answer.');
|
|
36
|
-
this.ruleFor(c => c.answer).maxLength(4000).withMessage('Keep the answer within 4000 characters.');
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* The reporter answers a question support asked on one of their issues.
|
|
42
|
-
*/
|
|
43
|
-
export class AnswerQuestion extends Command<IAnswerQuestion> implements IAnswerQuestion {
|
|
44
|
-
static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Conversation', 'AnswerQuestion');
|
|
45
|
-
readonly route: string = '/api/conversation/answer-question';
|
|
46
|
-
readonly validation: CommandValidator = new AnswerQuestionValidator();
|
|
47
|
-
readonly treatWarningsAsErrors: boolean = false;
|
|
48
|
-
readonly roles: string[] = [];
|
|
49
|
-
readonly propertyDescriptors: PropertyDescriptor[] = [
|
|
50
|
-
new PropertyDescriptor('answer', String, false),
|
|
51
|
-
new PropertyDescriptor('issueId', Guid, false),
|
|
52
|
-
new PropertyDescriptor('questionId', Guid, false),
|
|
53
|
-
];
|
|
54
|
-
|
|
55
|
-
#answer!: string;
|
|
56
|
-
#issueId!: Guid;
|
|
57
|
-
#questionId!: Guid;
|
|
58
|
-
|
|
59
|
-
constructor() {
|
|
60
|
-
super(Object, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
get requestParameters(): string[] {
|
|
64
|
-
return [
|
|
65
|
-
];
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* The reporter's answer.
|
|
70
|
-
*/
|
|
71
|
-
get answer(): string {
|
|
72
|
-
return this.#answer;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
set answer(value: string) {
|
|
76
|
-
this.#answer = value;
|
|
77
|
-
this.propertyChanged('answer');
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* The issue the question was asked on.
|
|
81
|
-
*/
|
|
82
|
-
get issueId(): Guid {
|
|
83
|
-
return this.#issueId;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
set issueId(value: Guid) {
|
|
87
|
-
this.#issueId = value;
|
|
88
|
-
this.propertyChanged('issueId');
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* The question being answered, as the desk minted it.
|
|
92
|
-
*/
|
|
93
|
-
get questionId(): Guid {
|
|
94
|
-
return this.#questionId;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
set questionId(value: Guid) {
|
|
98
|
-
this.#questionId = value;
|
|
99
|
-
this.propertyChanged('questionId');
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
static use(initialValues?: IAnswerQuestion): [AnswerQuestion, SetCommandValues<IAnswerQuestion>, ClearCommandValues] {
|
|
103
|
-
return useCommand<AnswerQuestion, IAnswerQuestion>(AnswerQuestion, initialValues);
|
|
104
|
-
}
|
|
105
|
-
}
|