toga-ai 1.0.50 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/knowledge/2.0/apps/api2/INDEX.md +1 -1
- package/knowledge/2.0/apps/api2/{features → bug}/nested-field-foreign-key-resolution.md +2 -2
- package/knowledge/2.0/apps/toga2-commerce/INDEX.md +1 -1
- package/knowledge/2.0/apps/toga2-commerce/architecture.md +2 -2
- package/knowledge/2.0/apps/toga2-commerce/{features → bug}/item-view-bundle-vs-direct-fetch.md +2 -2
- package/package.json +1 -1
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
| Doc | Summary | Files |
|
|
4
4
|
|-----|---------|-------|
|
|
5
5
|
| [API (api2 / TOGa API v2) Architecture](architecture.md) | `api2` is the backend powering the public **TOGa 2.0 API**. | api2/Controller/Index.php, api2/Component/Api/V2/V2.php, api2/Component/Api/Cxml/Cxml.php, api2/Component/Api/V2/Response/Response.php, api2/Config/ |
|
|
6
|
-
| [Nested Field Foreign-Key Resolution (getChildOptionRecords)](
|
|
6
|
+
| [Nested Field Foreign-Key Resolution (getChildOptionRecords)](bug/nested-field-foreign-key-resolution.md) | When a request supplies a `fields` option, the V2 JSON engine does NOT use the depth-bounded `getFullModelData()` serializer. | api2/Component/Api/V2/V2.php, _underscore/Model/Client/ItemCategoryFeature.php, _underscore/Model/Client/ItemFeature.php, _underscore/Model/Client/ItemCategoryFeatureGroup.php |
|
|
@@ -14,7 +14,7 @@ files:
|
|
|
14
14
|
- _underscore/Model/Client/ItemFeature.php
|
|
15
15
|
- _underscore/Model/Client/ItemCategoryFeatureGroup.php
|
|
16
16
|
related:
|
|
17
|
-
- 2.0/apps/toga2-commerce/
|
|
17
|
+
- 2.0/apps/toga2-commerce/bug/item-view-bundle-vs-direct-fetch.md
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
## Summary
|
|
@@ -105,4 +105,4 @@ request has the shape "FK -> inherent child -> FK". The common top-level case
|
|
|
105
105
|
|
|
106
106
|
## Related docs
|
|
107
107
|
|
|
108
|
-
- 2.0/apps/toga2-commerce/
|
|
108
|
+
- 2.0/apps/toga2-commerce/bug/item-view-bundle-vs-direct-fetch.md
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
| Doc | Summary | Files |
|
|
4
4
|
|-----|---------|-------|
|
|
5
5
|
| [TOGa Commerce (toga2-commerce) Architecture](architecture.md) | TOGa Commerce (npm package `commerce2-react`) is the multi-tenant 2.0 storefront. | toga2-commerce/src/App.tsx, toga2-commerce/src/routes.tsx, toga2-commerce/src/api/axiosInstance.ts, toga2-commerce/src/contexts/AuthContext.tsx, toga2-commerce/src/themeConfig/ThemeContext.tsx, toga2-commerce/src/stores/index.ts |
|
|
6
|
-
| [Item-View Bundle vs Direct Fetch](
|
|
6
|
+
| [Item-View Bundle vs Direct Fetch](bug/item-view-bundle-vs-direct-fetch.md) | The item-view page (`/item-view`) fetches a single item two different ways depending on how the user reached it and what access they have: - **Direct** — `GET / | toga2-commerce/src/pages/ItemsView/api/ItemsApi.ts, toga2-commerce/src/pages/ItemsView/viewModel/useItemDetailsViewModel.ts |
|
|
@@ -64,5 +64,5 @@ Vite + TypeScript + Tailwind. Its backend is api2 (2.0 REST); shared UI comes fr
|
|
|
64
64
|
|
|
65
65
|
## Related docs
|
|
66
66
|
|
|
67
|
-
- 2.0/apps/api2/
|
|
68
|
-
- 2.0/apps/toga2-commerce/
|
|
67
|
+
- 2.0/apps/api2/bug/nested-field-foreign-key-resolution.md
|
|
68
|
+
- 2.0/apps/toga2-commerce/bug/item-view-bundle-vs-direct-fetch.md
|
package/knowledge/2.0/apps/toga2-commerce/{features → bug}/item-view-bundle-vs-direct-fetch.md
RENAMED
|
@@ -12,7 +12,7 @@ files:
|
|
|
12
12
|
- toga2-commerce/src/pages/ItemsView/api/ItemsApi.ts
|
|
13
13
|
- toga2-commerce/src/pages/ItemsView/viewModel/useItemDetailsViewModel.ts
|
|
14
14
|
related:
|
|
15
|
-
- 2.0/apps/api2/
|
|
15
|
+
- 2.0/apps/api2/bug/nested-field-foreign-key-resolution.md
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
## Summary
|
|
@@ -66,4 +66,4 @@ per-client/per-language/per-role under
|
|
|
66
66
|
|
|
67
67
|
## Related docs
|
|
68
68
|
|
|
69
|
-
- 2.0/apps/api2/
|
|
69
|
+
- 2.0/apps/api2/bug/nested-field-foreign-key-resolution.md
|
package/package.json
CHANGED