@ryuzaki13/react-foundation-api 1.1.18 → 1.1.19
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/package.json +1 -1
- package/src/foundationApi.mdx +2 -8
package/package.json
CHANGED
package/src/foundationApi.mdx
CHANGED
|
@@ -4,13 +4,7 @@ import { Meta } from "@storybook/addon-docs/blocks";
|
|
|
4
4
|
|
|
5
5
|
# `@ryuzaki13/react-foundation-api`
|
|
6
6
|
|
|
7
|
-
Пакет соединяет приложение с внешними API. Он содержит transport, интеграцию с TanStack Query, SAP/OData V2 infrastructure и небольшие orchestration helpers.
|
|
8
|
-
|
|
9
|
-
## Подключение
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm install @ryuzaki13/react-foundation-api @ryuzaki13/react-foundation-lib
|
|
13
|
-
```
|
|
7
|
+
Пакет соединяет приложение с внешними API. Он содержит transport, интеграцию с TanStack Query, SAP/OData V2 infrastructure и небольшие orchestration helpers.
|
|
14
8
|
|
|
15
9
|
Корневого импорта нет. Всегда указывайте точный subpath:
|
|
16
10
|
|
|
@@ -34,7 +28,7 @@ host application: entities / features / widgets / pages
|
|
|
34
28
|
pure helpers + metadata + query policies
|
|
35
29
|
```
|
|
36
30
|
|
|
37
|
-
`foundation-api` не
|
|
31
|
+
`foundation-api` не знает конкретную бизнес-сущность, экран или UI-компонент. DTO/domain mapping конкретного проекта остаётся у host-приложения.
|
|
38
32
|
|
|
39
33
|
## Как выбрать entrypoint
|
|
40
34
|
|