docs: added workflow hooks docs + changed workflow response (#8364)

* docs: added workflow hooks docs + changed workflow response

* Update page.mdx
This commit is contained in:
Shahed Nasser
2024-07-31 17:01:33 +03:00
committed by GitHub
parent 27837b8833
commit 6f973d9f2b
29 changed files with 321 additions and 167 deletions
@@ -17,8 +17,8 @@ const post = await postModuleService.createPosts({
name: "My Post",
published_at: new Date(),
metadata: {
external_id: "1234"
}
external_id: "1234",
},
})
```
@@ -32,12 +32,12 @@ If an object is passed of the method, an object of the created record is also re
const posts = await postModuleService.createPosts([
{
name: "My Post",
published_at: new Date()
published_at: new Date(),
},
{
name: "My Other Post",
published_at: new Date()
}
published_at: new Date(),
},
])
```