@dynamicforms/fastapi-viewsets 0.1.0 → 0.3.0

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,8 +8,9 @@ Celery-backed async execution and a matching Vue/TypeScript client counterpart.
8
8
  Handles type resolution, lifecycle management and OpenAPI schema automatically.
9
9
  - **`CollectionViewSet`** — zero-boilerplate in-memory viewset backed by any Python list, set or dict.
10
10
  Great for prototyping and testing.
11
- - **`CeleryViewSet`**delegate all CRUD operations to Celery tasks, for long-running or background
12
- processing scenarios (requires the `celery` extra).
11
+ - **`celery_viewset` decorator** move a viewset's execution to a Celery worker with no code changes
12
+ to the viewset itself, for long-running or background processing scenarios (requires the `celery`
13
+ extra).
13
14
  - **Bulk operations** — first-class support for bulk create, update, partial update and destroy.
14
15
  - **Vue / TypeScript counterpart** — mirror mixin classes and a `route_rest` factory give you a fully
15
16
  typed HTTP client that matches your backend viewset exactly (published separately as
@@ -58,7 +59,7 @@ app.include_router(router)
58
59
  ```
59
60
 
60
61
  See the [full documentation](https://docs.velis.si/dynamicforms/fastapi-viewsets/) for guides on
61
- the mixin system, `route_viewset`, `CollectionViewSet`, `CeleryViewSet`, and the Vue client.
62
+ the mixin system, `route_viewset`, `CollectionViewSet`, `celery_viewset`, and the Vue client.
62
63
 
63
64
  ## License
64
65
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dynamicforms/fastapi-viewsets",
3
3
  "private": false,
4
- "version": "0.1.0",
4
+ "version": "0.3.0",
5
5
  "type": "module",
6
6
  "description": "RESTful viewsets for Vue",
7
7
  "author": "Jure Erznožnik",