plato-api-sdk
v1.0.15
Published
Typesafe SDK for Plato API using tRPC client.
Readme
Plato API SDK
A TypeScript/JavaScript SDK for interacting with the Plato API.
Getting Started
Installation
npm install plato-api-sdk
# or
pnpm add plato-api-sdkDevelopment
Build the SDK
pnpm run buildVersioning
Bump the patch version before publishing:
pnpm version patchPublishing
To publish the package to npm (public access):
npm publish --access publicType Extraction for AppRouter
To ensure you have the latest types for the AppRouter:
- Open the project in VS Code.
- Use the TypeScript: Go to Type Definition feature (F12 or right-click → Go to Type Definition) to inspect and extract the latest types for the AppRouter.
- If you use a type extraction extension (such as TypeLens), install it from the VS Code marketplace for enhanced type navigation.
Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
import { BuiltRouter, DecorateCreateRouterOptions, MutationProcedure, QueryProcedure, Router, TRPC_ERROR_CODE_NUMBER } from "@trpc/server/dist/unstable-core-do-not-import.d-C6mFWtNG.cjs";
