From c2d3cdb088006982017ebd9838d3b10817fc0432 Mon Sep 17 00:00:00 2001 From: seb Date: Thu, 8 Oct 2026 12:59:14 +0200 Subject: [PATCH] u --- docs/api/routes-all.md | 2 +- docs/api/routes.md | 2 +- docs/api/routes/article/_sku/track_stock.md | 2 ++ docs/api/routes/article/get.md | 2 ++ docs/api/routes/article/set-brand.md | 2 ++ docs/api/routes/article/set-categories.md | 2 ++ docs/api/routes/article/set-eans.md | 2 ++ docs/api/routes/article/set-prices.md | 2 ++ docs/api/routes/article/set-weight.md | 2 ++ docs/api/routes/article/update.md | 2 ++ src/api/openapi.js | 6 ++++++ 11 files changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/api/routes-all.md b/docs/api/routes-all.md index 46cf254..8aface2 100644 --- a/docs/api/routes-all.md +++ b/docs/api/routes-all.md @@ -10,7 +10,7 @@ Params: path values first, then `query:` and `body:` (`body?` = optional body). ### Reusable types - `T1` = `{ article: T2 }` -- `T2` = `{ id: int, sku: str, name: str, slug: str, track_stock: bool, unitamount: num|null, weight: num|null, unit: T32, brand: T28|null, categoryIds: int[], photos: T26[], eans: str[], prices: T36[], suppliers: T12[] }` +- `T2` = `{ id: int, sku: str, name: str, slug: str, desc: str|null, seo: str|null, track_stock: bool, unitamount: num|null, weight: num|null, unit: T32, brand: T28|null, categoryIds: int[], photos: T26[], eans: str[], prices: T36[], suppliers: T12[] }` - `T3` = `{ delivery: T4 }` - `T4` = `{ id: int, number: str, type: str, supplierId: int|null, date: str, lines: T20[], files: T9[], externalNumber?: str|null, createdAt?: str, ledger?: T40 }` - `T5` = `{ labeltemplate: T6 }` diff --git a/docs/api/routes.md b/docs/api/routes.md index c451074..a333b90 100644 --- a/docs/api/routes.md +++ b/docs/api/routes.md @@ -10,7 +10,7 @@ Params: path values first, then `query:` and `body:` (`body?` = optional body). ### Reusable types - `T1` = `{ article: T2 }` -- `T2` = `{ id: int, sku: str, name: str, slug: str, track_stock: bool, unitamount: num|null, weight: num|null, unit: T30, brand: T27|null, categoryIds: int[], photos: T25[], eans: str[], prices: T32[], suppliers: T11[] }` +- `T2` = `{ id: int, sku: str, name: str, slug: str, desc: str|null, seo: str|null, track_stock: bool, unitamount: num|null, weight: num|null, unit: T30, brand: T27|null, categoryIds: int[], photos: T25[], eans: str[], prices: T32[], suppliers: T11[] }` - `T3` = `{ delivery: T4 }` - `T4` = `{ id: int, number: str, type: str, supplierId: int|null, date: str, lines: T19[], files: T9[], externalNumber?: str|null, createdAt?: str, ledger?: T36 }` - `T5` = `{ labeltemplate: T6 }` diff --git a/docs/api/routes/article/_sku/track_stock.md b/docs/api/routes/article/_sku/track_stock.md index 4160979..80c5ab8 100644 --- a/docs/api/routes/article/_sku/track_stock.md +++ b/docs/api/routes/article/_sku/track_stock.md @@ -40,6 +40,8 @@ Updated article detail "sku": "…", "name": "…", "slug": "…", + "desc": "…", + "seo": "…", "track_stock": true, "unitamount": 1, "weight": 1, diff --git a/docs/api/routes/article/get.md b/docs/api/routes/article/get.md index f3ab6a9..4c731d9 100644 --- a/docs/api/routes/article/get.md +++ b/docs/api/routes/article/get.md @@ -23,6 +23,8 @@ Article detail "sku": "…", "name": "…", "slug": "…", + "desc": "…", + "seo": "…", "track_stock": true, "unitamount": 1, "weight": 1, diff --git a/docs/api/routes/article/set-brand.md b/docs/api/routes/article/set-brand.md index 9fa6067..71adf3d 100644 --- a/docs/api/routes/article/set-brand.md +++ b/docs/api/routes/article/set-brand.md @@ -41,6 +41,8 @@ Updated article detail "sku": "…", "name": "…", "slug": "…", + "desc": "…", + "seo": "…", "track_stock": true, "unitamount": 1, "weight": 1, diff --git a/docs/api/routes/article/set-categories.md b/docs/api/routes/article/set-categories.md index a21a064..4ea0a7e 100644 --- a/docs/api/routes/article/set-categories.md +++ b/docs/api/routes/article/set-categories.md @@ -45,6 +45,8 @@ Updated article detail "sku": "…", "name": "…", "slug": "…", + "desc": "…", + "seo": "…", "track_stock": true, "unitamount": 1, "weight": 1, diff --git a/docs/api/routes/article/set-eans.md b/docs/api/routes/article/set-eans.md index 93f897e..ab24a53 100644 --- a/docs/api/routes/article/set-eans.md +++ b/docs/api/routes/article/set-eans.md @@ -43,6 +43,8 @@ Updated article detail "sku": "…", "name": "…", "slug": "…", + "desc": "…", + "seo": "…", "track_stock": true, "unitamount": 1, "weight": 1, diff --git a/docs/api/routes/article/set-prices.md b/docs/api/routes/article/set-prices.md index b6cae6d..225d143 100644 --- a/docs/api/routes/article/set-prices.md +++ b/docs/api/routes/article/set-prices.md @@ -61,6 +61,8 @@ Updated article detail "sku": "…", "name": "…", "slug": "…", + "desc": "…", + "seo": "…", "track_stock": true, "unitamount": 1, "weight": 1, diff --git a/docs/api/routes/article/set-weight.md b/docs/api/routes/article/set-weight.md index e79b6ef..df6af47 100644 --- a/docs/api/routes/article/set-weight.md +++ b/docs/api/routes/article/set-weight.md @@ -41,6 +41,8 @@ Updated article detail "sku": "…", "name": "…", "slug": "…", + "desc": "…", + "seo": "…", "track_stock": true, "unitamount": 1, "weight": 1, diff --git a/docs/api/routes/article/update.md b/docs/api/routes/article/update.md index 3ace10f..a58ec2c 100644 --- a/docs/api/routes/article/update.md +++ b/docs/api/routes/article/update.md @@ -47,6 +47,8 @@ Updated article detail "sku": "…", "name": "…", "slug": "…", + "desc": "…", + "seo": "…", "track_stock": true, "unitamount": 1, "weight": 1, diff --git a/src/api/openapi.js b/src/api/openapi.js index 3efb649..c43f61a 100644 --- a/src/api/openapi.js +++ b/src/api/openapi.js @@ -136,6 +136,12 @@ * type: string * slug: * type: string + * desc: + * type: string + * nullable: true + * seo: + * type: string + * nullable: true * track_stock: * type: boolean * unitamount: