astrbot_plugin_imagestudio/frontend/README.md

18 行
593 B
Markdown

2026-07-04 22:51:52 +08:00
# Frontend
The frontend contains two Vite applications:
- `plugin-page/`: builds into `../pages/imagestudio`.
- `standalone-web/`: builds into `../web`.
Shared API clients, types, stores, components, constants, schemas, and utilities live in `shared/`.
Dependencies are declared in `package.json` but not installed yet.
Both UIs must consume the same v3 API contract:
- Plugin Page UI uses `window.AstrBotPluginPage`.
- Standalone Web UI uses `/api/v1/plugins/extensions/astrbot_plugin_imagestudio`.
Do not store API keys, media paths, or selected image state in frontend-only storage.