fix(research): verify creation acknowledgements before leaving drafts (RP31)
This commit is contained in:
parent
b09b2de406
commit
57ba86d035
8 changed files with 552 additions and 22 deletions
|
|
@ -759,6 +759,9 @@ function sourceFor(value = standalone()) {
|
|||
}
|
||||
function savedArtifact(body: ArtifactInput): ResearchArtifact {
|
||||
const value = artifact();
|
||||
value.latestRevision.title = body.title;
|
||||
value.latestRevision.body = body.body;
|
||||
value.latestRevision.contentOrigin = body.contentOrigin ?? 'human';
|
||||
value.latestRevision.source = body.source ?? null;
|
||||
value.latestRevision.evidence = (body.evidence ?? []).map(reference => ({
|
||||
...reference,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue