Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* @toolctrl/api-client-ts
|
||||
*
|
||||
* Official TypeScript SDK for the toolctrl boilerplate REST API.
|
||||
*
|
||||
* The public surface is a thin Higher-Level-Wrapper around the @hey-api/openapi-ts
|
||||
* generated client. The wrapper adds auth header injection, retry with exponential
|
||||
* backoff (honoring Retry-After), idempotency-key auto-generation on mutating
|
||||
* requests, an async pagination iterator, and an HMAC webhook signature verifier.
|
||||
*
|
||||
* Refs: docs/improvement-plan/08-mobile-cli-storybook-sdk/ts-sdk.md
|
||||
*/
|
||||
|
||||
export {
|
||||
createToolctrlClient,
|
||||
ToolctrlApiError,
|
||||
ToolctrlNetworkError,
|
||||
type ToolctrlClient,
|
||||
type ToolctrlClientConfig,
|
||||
type ToolctrlAuthConfig,
|
||||
type ToolctrlRetryConfig,
|
||||
type ToolctrlIdempotencyConfig,
|
||||
type PaginatedResponse,
|
||||
type PaginateOptions,
|
||||
} from "./client.js";
|
||||
|
||||
export { verifyWebhookSignature, signWebhookPayload, type VerifyWebhookOptions, type SignWebhookOptions } from "./webhooks.js";
|
||||
Reference in new issue
Block a user