feat: Improved onboarding documents (#970)
* feat: New onboarding documents * Images -> blocks * Add tips * test: removes assumptions of welcome documents this actually results in the tests being much more understandable too * add db flag when document was created from welcome flow
This commit is contained in:
@ -70,11 +70,10 @@ const seed = async () => {
|
||||
userId: collection.creatorId,
|
||||
lastModifiedById: collection.creatorId,
|
||||
createdById: collection.creatorId,
|
||||
publishedAt: new Date(),
|
||||
title: 'Second document',
|
||||
text: '# Much guidance',
|
||||
title: 'First ever document',
|
||||
text: '# Much test support',
|
||||
});
|
||||
|
||||
await document.publish();
|
||||
await collection.reload();
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user