@prism-draft/sdk 0.0.0-stage → 0.1.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 +171 -2
- package/dist/client.d.ts +36 -0
- package/dist/errors.d.ts +25 -0
- package/dist/generated/resources.d.ts +1460 -0
- package/dist/generated/schema.d.ts +16240 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1857 -0
- package/dist/middleware.d.ts +9 -0
- package/dist/retry.d.ts +15 -0
- package/dist/transport.d.ts +15 -0
- package/dist/webhook-events.d.ts +99 -0
- package/dist/webhooks.d.ts +27 -0
- package/package.json +39 -4
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { DEFAULT_BASE_URL, PrismDraft, type PrismDraftOptions } from "./client.js";
|
|
2
|
+
export type { PrismDraftClient, RequestOptions } from "./transport.js";
|
|
3
|
+
export * from "./generated/resources.js";
|
|
4
|
+
export type { paths, components, operations } from "./generated/schema.js";
|
|
5
|
+
export { PrismDraftError, PrismDraftTimeoutError, UnknownWebhookEventError, WebhookSignatureError, } from "./errors.js";
|
|
6
|
+
export { throwOnError } from "./middleware.js";
|
|
7
|
+
export { retryingFetch, type RetryOptions } from "./retry.js";
|
|
8
|
+
export { WEBHOOK_SIGNATURE_HEADER, constructWebhookEvent, verifyWebhookSignature, type VerifyInput, } from "./webhooks.js";
|
|
9
|
+
export { WEBHOOK_EVENTS, type ArticleChangedField, type WebhookEvent, type WebhookEventData, type WebhookEventName, } from "./webhook-events.js";
|