u
This commit is contained in:
@@ -190,7 +190,7 @@ Company-scoped brands. Auth via `resolveCompanyAccess`.
|
|||||||
| `rename` | `({ googleAuthId, id, name })` | `{ id, name, slug }` |
|
| `rename` | `({ googleAuthId, id, name })` | `{ id, name, slug }` |
|
||||||
| `move` | `({ googleAuthId, id, parentId })` | `{ id, parentId, sort }` |
|
| `move` | `({ googleAuthId, id, parentId })` | `{ id, parentId, sort }` |
|
||||||
| `order` | `({ googleAuthId, parentId, categoryIds })` | `{ categoryIds }` |
|
| `order` | `({ googleAuthId, parentId, categoryIds })` | `{ categoryIds }` |
|
||||||
| `delete` | `({ googleAuthId, id })` | `void` — blocked by FK if `categoryarticle` or child categories remain |
|
| `delete` | `({ googleAuthId, id })` | `void` — `Category has children` if child categories remain; FK `categoryarticle` also blocks deletion |
|
||||||
| `getTreeForCompany` | `(googleAuthId, companyId)` | `{ languageId, tree, articles }` — tree rows carry `name` + `slug` |
|
| `getTreeForCompany` | `(googleAuthId, companyId)` | `{ languageId, tree, articles }` — tree rows carry `name` + `slug` |
|
||||||
| `getCategoryArticles` | `(googleAuthId, categoryId)` | `{ id, sku, name, slug, net, taxRate, optionsCount, articleListCount, childCount, fatherArticleId, fatherSku, fullHash, thumbW, thumbH, thumbHash }[]` |
|
| `getCategoryArticles` | `(googleAuthId, categoryId)` | `{ id, sku, name, slug, net, taxRate, optionsCount, articleListCount, childCount, fatherArticleId, fatherSku, fullHash, thumbW, thumbH, thumbHash }[]` |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user