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
@@ -36,7 +36,7 @@ This applies to relations between data models of the same module. To retrieve li
```ts
const post = await postModuleService.retrievePost("123", {
relations: ["author"]
relations: ["author"],
})
```
@@ -54,7 +54,7 @@ The method returns the record as an object.
```ts
const post = await postModuleService.retrievePost("123", {
select: ["id", "name"]
select: ["id", "name"],
})
```