Type Alias: VocabularyCommittedResult
@kortexya/reasoninglayer / VocabularyCommittedResult
Type Alias: VocabularyCommittedResult
Section titled “Type Alias: VocabularyCommittedResult”VocabularyCommittedResult = {
body:VocabularyCandidateRevision;operation:"create_candidate"|"save_revision"|"rebase"; } | {body:VocabularyAssessment;operation:"assess"; } | {body:VocabularyDecisionResult;operation:"submit"|"review"|"approve"|"reject"|"withdraw"; } | {body:VocabularyReleaseResult;operation:"release"; } | {body:VocabularyActivationResult;operation:"activate"; }
Defined in: src/types/vocabulary.ts:2063
The committed response of a vocabulary mutation, decoded as the result the
mutation itself returns. operation discriminates body.
operation |
body |
|---|---|
create_candidate, save_revision, rebase |
VocabularyCandidateRevision |
assess |
VocabularyAssessment |
submit, review, approve, reject, withdraw |
VocabularyDecisionResult |
release |
VocabularyReleaseResult |
activate |
VocabularyActivationResult |
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ body: VocabularyCandidateRevision; operation: "create_candidate" | "save_revision" | "rebase"; }
The committed candidate revision.
operation
Section titled “operation”operation:
"create_candidate"|"save_revision"|"rebase"
The mutation.
Type Literal
Section titled “Type Literal”{ body: VocabularyAssessment; operation: "assess"; }
body:
VocabularyAssessment
The committed assessment.
operation
Section titled “operation”operation:
"assess"
The mutation.
Type Literal
Section titled “Type Literal”{ body: VocabularyDecisionResult; operation: "submit" | "review" | "approve" | "reject" | "withdraw"; }
body:
VocabularyDecisionResult
The committed decision.
operation
Section titled “operation”operation:
"submit"|"review"|"approve"|"reject"|"withdraw"
The mutation.
Type Literal
Section titled “Type Literal”{ body: VocabularyReleaseResult; operation: "release"; }
body:
VocabularyReleaseResult
The committed release.
operation
Section titled “operation”operation:
"release"
The mutation.
Type Literal
Section titled “Type Literal”{ body: VocabularyActivationResult; operation: "activate"; }
The committed activation.
operation
Section titled “operation”operation:
"activate"
The mutation.