@manablox/api-rpc 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.
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # `@manablox/api-rpc`
2
+
3
+ The management API as an oRPC router: input schemas, permission middleware and one service call per procedure. The admin imports `ManabloxRouter` as a type and gets an end-to-end typed client with no code generation; `apps/api` also serves the same router as REST with an OpenAPI document.
4
+
5
+ ## Exports
6
+
7
+ - `router` / `ManabloxRouter`
8
+ - `base`, `authed`, `scoped(permission)`, `superadmin` — the procedure builders
9
+ - `RpcContext`, `RpcRuntime`, `pickRpcRuntime`
10
+ - `schemas` — `uuid`, `locale`, `machineName`, `pagination()`, …
11
+
12
+ ## Depends on
13
+
14
+ @manablox/services, @manablox/auth, @orpc/server, zod
15
+
16
+ ## Test
17
+
18
+ ```sh
19
+ pnpm --filter @manablox/api-rpc test
20
+ ```