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
@@ -30,7 +30,7 @@ For example, the returned object of the above example is:
```ts
deletedPosts = {
post_id: ["123"]
post_id: ["123"],
}
```
@@ -41,7 +41,7 @@ deletedPosts = {
```ts
const deletedPosts = await postModuleService.softDeletePosts([
"123",
"321"
"321",
])
```
@@ -59,8 +59,8 @@ For example, the returned object of the above example is:
deletedPosts = {
post_id: [
"123",
"321"
]
"321",
],
}
```
@@ -70,7 +70,7 @@ deletedPosts = {
```ts
const deletedPosts = await postModuleService.softDeletePosts({
name: "My Post"
name: "My Post",
})
```
@@ -92,6 +92,6 @@ For example, the returned object of the above example is:
```ts
deletedPosts = {
post_id: ["123"]
post_id: ["123"],
}
```