docs: added a service factory reference (#8292)

Added a service factory reference of the generated methods and how to use them.

Since the types in the codebase are a bit complex, a generated reference won't provide a valuable result.

Instead, this reference is created manually and aims to cover common use cases, providing examples for them.

Closes DOCS-844
This commit is contained in:
Shahed Nasser
2024-07-26 14:40:56 +00:00
committed by GitHub
parent 71411463b1
commit a4eab3f37a
14 changed files with 1131 additions and 2 deletions
+91 -1
View File
@@ -7152,7 +7152,7 @@ export const generatedSidebar = [
{
"loaded": true,
"isPathHref": true,
"title": "API References",
"title": "References",
"hasTitleStyling": true,
"children": [
{
@@ -7398,6 +7398,96 @@ export const generatedSidebar = [
]
}
]
},
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference",
"title": "Service Factory Reference",
"isChildSidebar": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"title": "Methods",
"hasTitleStyling": true,
"autogenerate_path": "/service-factory-reference/methods",
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/methods/create",
"title": "create",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/methods/delete",
"title": "delete",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/methods/list",
"title": "list",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/methods/listAndCount",
"title": "listAndCount",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/methods/restore",
"title": "restore",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/methods/retrieve",
"title": "retrieve",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/methods/soft-delete",
"title": "softDelete",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/methods/update",
"title": "update",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Tips",
"hasTitleStyling": true,
"autogenerate_path": "/service-factory-reference/tips",
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/service-factory-reference/tips/filtering",
"title": "Filtering",
"children": []
}
]
}
]
}
]
},