dataceen-client
v0.0.4
Published
TypeScript client for Dataceen GraphQL + subscription APIs
Downloads
589
Readme
dataceen-client (TypeScript)
TypeScript client for the Dataceen GraphQL + gRPC subscription APIs. Parallel
to the C# (DataceenClient/) and Python (DataceenClientPython/) reference
clients — feature-parity verified against the same Thomas/CandyShopModel/All
fixtures.
Status: 0.0.1 alpha.
Install
npm install dataceen-clientUsage
import { DataceenClient } from "dataceen-client";
import { DataceenConfig } from "dataceen-client/config";
const config = new DataceenConfig({
tenantId: process.env.DATACEEN_TENANT_ID!,
clientId: process.env.DATACEEN_CLIENT_ID!,
clientSecret: process.env.DATACEEN_CLIENT_SECRET!,
baseUrl: process.env.DATACEEN_BASE_URL!,
});
const client = new DataceenClient(config);Subpath entry points:
| Import | Purpose |
| --- | --- |
| dataceen-client | Top-level client + query API |
| dataceen-client/config | Configuration types |
| dataceen-client/runtime | Transport / auth runtime |
| dataceen-client/subscriptions | gRPC baseload + live subscriptions |
Build from source
npm install
npm run build # emits dist/ (.js + .d.ts) via tsconfig.build.jsonLicense
Apache-2.0 — see LICENSE.
