removed files
This commit is contained in:
@@ -224,10 +224,23 @@ export interface ProductCategory {
|
||||
categoryname: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* `GET /web/products/getproductsubcategories`.
|
||||
*
|
||||
* The wire names are `subcatid` and `subcatname` — ABBREVIATED, unlike
|
||||
* `ProductCategory` next door, which spells `categoryid`/`categoryname` in
|
||||
* full. This interface claimed the long forms, so every field read off it was
|
||||
* `undefined` and TypeScript had no way to know: the rows arrive typed by this
|
||||
* declaration, not by what the server sent. `scripts/appgap.mjs` built its
|
||||
* subcategory map from them and got a map of `undefined → undefined`, then
|
||||
* reported "(none returned)" for a category that has six.
|
||||
*/
|
||||
export interface ProductSubCategory {
|
||||
subcategoryid: number;
|
||||
subcategoryname: string;
|
||||
subcatid: number;
|
||||
subcatname: string;
|
||||
categoryid?: number;
|
||||
image?: string;
|
||||
status?: string;
|
||||
}
|
||||
|
||||
/** Body of POST /web/products/importcatalogueproduct — send an ARRAY of these. */
|
||||
|
||||
Reference in New Issue
Block a user