qarpeo 0.2.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/dist/chunks/tools.mjs +993 -31
- package/dist/cli/index.mjs +1102 -31
- package/dist/fate/index.d.ts +9 -1
- package/dist/fate/index.mjs +20 -3
- package/dist/module.mjs +296 -753
- package/dist/runtime/browser.mjs +2 -2
- package/dist/runtime/comments-server.d.ts +3 -0
- package/dist/runtime/comments-server.mjs +2 -0
- package/dist/runtime/comments.d.ts +0 -2
- package/dist/runtime/comments.mjs +0 -2
- package/dist/runtime/db.d.ts +10 -9
- package/dist/runtime/db.mjs +79 -8
- package/dist/runtime/drizzle.mjs +21 -6
- package/dist/runtime/index.d.ts +4 -0
- package/dist/runtime/realtime-server.d.ts +4 -0
- package/dist/runtime/realtime-server.mjs +13 -0
- package/dist/runtime/realtime.d.ts +1 -4
- package/dist/runtime/realtime.mjs +0 -13
- package/dist/runtime/replica.d.ts +27 -0
- package/dist/runtime/replica.mjs +229 -0
- package/dist/runtime/server/durable-objects/agent.mjs +14 -2
- package/dist/runtime/server/durable-objects/room.d.ts +10 -0
- package/dist/runtime/server/durable-objects/room.mjs +119 -28
- package/dist/runtime/server/middleware/devtools.mjs +1 -1
- package/dist/runtime/server/middleware/tenancy.mjs +7 -4
- package/dist/runtime/server/plugins/store.mjs +1 -1
- package/dist/runtime/server/routes/__qarpeo/mail/track/click/[id].get.mjs +57 -17
- package/dist/runtime/server/routes/agents/[agent]/chat.post.mjs +19 -12
- package/dist/runtime/server/routes/agents/[agent]/clear.post.mjs +8 -9
- package/dist/runtime/server/routes/agents/[agent]/history.get.mjs +8 -9
- package/dist/runtime/server/routes/analytics/events.get.mjs +12 -2
- package/dist/runtime/server/routes/analytics/pageviews.get.mjs +10 -1
- package/dist/runtime/server/routes/analytics/summary.get.mjs +10 -1
- package/dist/runtime/server/routes/auth/2fa/disable.post.mjs +11 -2
- package/dist/runtime/server/routes/auth/2fa/setup.post.mjs +7 -0
- package/dist/runtime/server/routes/auth/2fa/verify.post.mjs +11 -2
- package/dist/runtime/server/routes/auth/account.delete.mjs +7 -0
- package/dist/runtime/server/routes/auth/magic-link/verify.get.mjs +5 -3
- package/dist/runtime/server/routes/auth/organization/sso/index.post.mjs +10 -0
- package/dist/runtime/server/routes/auth/otp/verify.post.mjs +5 -3
- package/dist/runtime/server/routes/auth/sso/saml/acs.post.mjs +18 -0
- package/dist/runtime/server/routes/auth/webauthn/login/options.post.d.ts +1 -1
- package/dist/runtime/server/routes/auth/webauthn/login/options.post.mjs +11 -2
- package/dist/runtime/server/routes/auth/webauthn/login/verify.post.mjs +10 -1
- package/dist/runtime/server/routes/auth/webauthn/register/options.post.d.ts +1 -1
- package/dist/runtime/server/routes/auth/webauthn/register/options.post.mjs +10 -1
- package/dist/runtime/server/routes/auth/webauthn/register/verify.post.mjs +10 -1
- package/dist/runtime/server/routes/browser/crawl.post.mjs +13 -0
- package/dist/runtime/server/routes/browser/invoice.post.mjs +15 -1
- package/dist/runtime/server/routes/browser/og-image.post.mjs +13 -0
- package/dist/runtime/server/routes/browser/pdf.post.mjs +15 -1
- package/dist/runtime/server/routes/browser/screenshot.post.mjs +13 -0
- package/dist/runtime/server/routes/cms/[collection]/[id]/preview-token.post.mjs +23 -8
- package/dist/runtime/server/routes/cms/[collection]/[id]/publish.post.mjs +2 -1
- package/dist/runtime/server/routes/cms/[collection]/[id]/review.post.mjs +2 -1
- package/dist/runtime/server/routes/cms/[collection]/[id]/revisions/[revId]/restore.post.mjs +2 -1
- package/dist/runtime/server/routes/cms/[collection]/[id].delete.mjs +2 -1
- package/dist/runtime/server/routes/cms/[collection]/[id].put.mjs +2 -1
- package/dist/runtime/server/routes/cms/[collection]/index.post.mjs +2 -1
- package/dist/runtime/server/routes/cms/categories/[id].delete.mjs +2 -1
- package/dist/runtime/server/routes/cms/categories/[id].put.mjs +2 -1
- package/dist/runtime/server/routes/cms/categories.post.mjs +2 -1
- package/dist/runtime/server/routes/cms/collections/[id].delete.mjs +2 -1
- package/dist/runtime/server/routes/cms/collections/[id].put.mjs +2 -1
- package/dist/runtime/server/routes/cms/collections/index.post.mjs +2 -1
- package/dist/runtime/server/routes/cms/export.post.mjs +1 -1
- package/dist/runtime/server/routes/cms/subscribers/[id].delete.mjs +2 -1
- package/dist/runtime/server/routes/cms/subscribers/[id].patch.mjs +2 -1
- package/dist/runtime/server/routes/cms/tags/[id].delete.mjs +2 -1
- package/dist/runtime/server/routes/cms/tags.post.mjs +2 -1
- package/dist/runtime/server/routes/comments/[id]/react.post.mjs +7 -3
- package/dist/runtime/server/routes/comments/[id]/report.post.mjs +3 -0
- package/dist/runtime/server/routes/comments/[id].delete.mjs +1 -1
- package/dist/runtime/server/routes/comments/[id].get.mjs +13 -0
- package/dist/runtime/server/routes/comments/[id].patch.mjs +1 -1
- package/dist/runtime/server/routes/fate.d.ts +6 -0
- package/dist/runtime/server/routes/fate.mjs +32 -3
- package/dist/runtime/server/routes/mail/bounce.post.mjs +14 -2
- package/dist/runtime/server/routes/mail/unsubscribe.mjs +2 -1
- package/dist/runtime/server/routes/mail/webhooks.post.mjs +18 -4
- package/dist/runtime/server/routes/notifications/[id].get.mjs +3 -4
- package/dist/runtime/server/routes/notifications/index.get.mjs +4 -2
- package/dist/runtime/server/routes/notifications/push/subscribe.post.mjs +3 -1
- package/dist/runtime/server/routes/notifications/push/unsubscribe.post.mjs +5 -3
- package/dist/runtime/server/routes/notifications/read-all.post.mjs +6 -2
- package/dist/runtime/server/routes/notifications/send.post.mjs +13 -2
- package/dist/runtime/server/routes/payments/cancel.post.mjs +1 -1
- package/dist/runtime/server/routes/payments/change-plan.post.mjs +1 -1
- package/dist/runtime/server/routes/payments/checkout.post.mjs +1 -1
- package/dist/runtime/server/routes/payments/pause.post.mjs +1 -1
- package/dist/runtime/server/routes/payments/portal.post.mjs +1 -1
- package/dist/runtime/server/routes/payments/subscription.get.mjs +1 -1
- package/dist/runtime/server/routes/payments/usage.get.mjs +1 -1
- package/dist/runtime/server/routes/payments/usage.post.mjs +1 -1
- package/dist/runtime/server/routes/payments/webhook.post.mjs +8 -1
- package/dist/runtime/server/routes/realtime/broadcast.post.mjs +3 -2
- package/dist/runtime/server/routes/realtime/history.delete.mjs +2 -2
- package/dist/runtime/server/routes/realtime/history.get.mjs +2 -2
- package/dist/runtime/server/routes/realtime/presence.get.mjs +3 -3
- package/dist/runtime/server/routes/realtime/state.get.mjs +3 -3
- package/dist/runtime/server/routes/realtime/state.post.mjs +13 -4
- package/dist/runtime/server/routes/realtime/ws.get.mjs +2 -2
- package/dist/runtime/server/routes/storage/file/[...key].delete.mjs +1 -1
- package/dist/runtime/server/routes/storage/file/[...key].get.mjs +7 -0
- package/dist/runtime/server/routes/storage/files.get.d.ts +1 -1
- package/dist/runtime/server/routes/storage/files.get.mjs +24 -4
- package/dist/runtime/server/routes/storage/multipart/abort.post.mjs +16 -1
- package/dist/runtime/server/routes/storage/multipart/complete.post.d.ts +1 -1
- package/dist/runtime/server/routes/storage/multipart/complete.post.mjs +15 -1
- package/dist/runtime/server/routes/storage/multipart/create.post.mjs +7 -0
- package/dist/runtime/server/routes/storage/multipart/part.put.mjs +15 -1
- package/dist/runtime/server/routes/storage/presigned-r2.post.mjs +8 -1
- package/dist/runtime/server/routes/storage/presigned.post.d.ts +1 -1
- package/dist/runtime/server/routes/storage/presigned.post.mjs +8 -1
- package/dist/runtime/server/routes/storage/sign.post.mjs +7 -0
- package/dist/runtime/server/routes/storage/upload.post.d.ts +2 -2
- package/dist/runtime/server/routes/store/cart/index.delete.mjs +3 -4
- package/dist/runtime/server/routes/store/cart/index.get.mjs +3 -10
- package/dist/runtime/server/routes/store/cart/items/[id].delete.mjs +6 -4
- package/dist/runtime/server/routes/store/cart/items/[id].patch.mjs +12 -4
- package/dist/runtime/server/routes/store/cart/items.post.mjs +9 -10
- package/dist/runtime/server/routes/store/categories/index.get.mjs +4 -2
- package/dist/runtime/server/routes/store/checkout.post.mjs +13 -3
- package/dist/runtime/server/routes/store/coupons/apply.post.mjs +6 -5
- package/dist/runtime/server/routes/store/orders/[id].get.mjs +2 -2
- package/dist/runtime/server/routes/store/orders/download/[token].get.mjs +6 -3
- package/dist/runtime/server/routes/store/orders/index.get.mjs +1 -1
- package/dist/runtime/server/routes/store/products/[slug].get.mjs +2 -2
- package/dist/runtime/server/routes/store/products/index.get.mjs +1 -1
- package/dist/runtime/server/routes/store/tax/calculate.post.mjs +10 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/index.delete.mjs +26 -25
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/verify.post.mjs +26 -25
- package/dist/runtime/server/utils/ai.d.ts +6 -0
- package/dist/runtime/server/utils/ai.mjs +12 -2
- package/dist/runtime/server/utils/analytics-query.mjs +8 -4
- package/dist/runtime/server/utils/browser-utils.d.ts +9 -0
- package/dist/runtime/server/utils/browser-utils.mjs +135 -0
- package/dist/runtime/server/utils/cms/cache.d.ts +13 -0
- package/dist/runtime/server/utils/cms/cache.mjs +95 -0
- package/dist/runtime/server/utils/cms/common.mjs +1 -1
- package/dist/runtime/server/utils/cms/markdown.mjs +38 -8
- package/dist/runtime/server/utils/cms/mutations.d.ts +26 -0
- package/dist/runtime/server/utils/cms/mutations.mjs +569 -0
- package/dist/runtime/server/utils/cms/path.d.ts +8 -0
- package/dist/runtime/server/utils/cms/path.mjs +23 -0
- package/dist/runtime/server/utils/cms/queries.d.ts +27 -0
- package/dist/runtime/server/utils/cms/queries.mjs +366 -0
- package/dist/runtime/server/utils/cms/references.d.ts +48 -0
- package/dist/runtime/server/utils/cms/references.mjs +309 -0
- package/dist/runtime/server/utils/cms/revisions.d.ts +7 -0
- package/dist/runtime/server/utils/cms/revisions.mjs +60 -0
- package/dist/runtime/server/utils/cms/sync.mjs +3 -3
- package/dist/runtime/server/utils/cms.d.ts +5 -82
- package/dist/runtime/server/utils/cms.mjs +28 -1367
- package/dist/runtime/server/utils/comments.d.ts +11 -0
- package/dist/runtime/server/utils/comments.mjs +65 -17
- package/dist/runtime/server/utils/crypto.mjs +1 -1
- package/dist/runtime/server/utils/domains.mjs +9 -0
- package/dist/runtime/server/utils/drizzle.d.ts +26 -1
- package/dist/runtime/server/utils/drizzle.mjs +78 -19
- package/dist/runtime/server/utils/email-inbound.mjs +9 -1
- package/dist/runtime/server/utils/impersonation.mjs +58 -1
- package/dist/runtime/server/utils/lock.d.ts +11 -0
- package/dist/runtime/server/utils/lock.mjs +4 -0
- package/dist/runtime/server/utils/mail-suppression.mjs +48 -13
- package/dist/runtime/server/utils/mail.d.ts +2 -1
- package/dist/runtime/server/utils/mail.mjs +17 -11
- package/dist/runtime/server/utils/notifications.d.ts +13 -4
- package/dist/runtime/server/utils/notifications.mjs +20 -4
- package/dist/runtime/server/utils/organization.mjs +36 -1
- package/dist/runtime/server/utils/passwordless.mjs +8 -0
- package/dist/runtime/server/utils/payments/checkout.d.ts +34 -0
- package/dist/runtime/server/utils/payments/checkout.mjs +158 -0
- package/dist/runtime/server/utils/payments/common.d.ts +45 -0
- package/dist/runtime/server/utils/payments/common.mjs +234 -0
- package/dist/runtime/server/utils/payments/index.d.ts +9 -0
- package/dist/runtime/server/utils/payments/index.mjs +21 -0
- package/dist/runtime/server/utils/payments/lemonsqueezy.d.ts +7 -0
- package/dist/runtime/server/utils/payments/lemonsqueezy.mjs +55 -0
- package/dist/runtime/server/utils/payments/paddle.d.ts +7 -0
- package/dist/runtime/server/utils/payments/paddle.mjs +92 -0
- package/dist/runtime/server/utils/payments/polar.d.ts +11 -0
- package/dist/runtime/server/utils/payments/polar.mjs +66 -0
- package/dist/runtime/server/utils/payments/stripe.d.ts +7 -0
- package/dist/runtime/server/utils/payments/stripe.mjs +159 -0
- package/dist/runtime/server/utils/payments/subscriptions.d.ts +89 -0
- package/dist/runtime/server/utils/payments/subscriptions.mjs +236 -0
- package/dist/runtime/server/utils/payments/usage.d.ts +12 -0
- package/dist/runtime/server/utils/payments/usage.mjs +143 -0
- package/dist/runtime/server/utils/payments/webhooks.d.ts +10 -0
- package/dist/runtime/server/utils/payments/webhooks.mjs +200 -0
- package/dist/runtime/server/utils/payments.d.ts +1 -158
- package/dist/runtime/server/utils/payments.mjs +1 -1289
- package/dist/runtime/server/utils/queue.d.ts +2 -0
- package/dist/runtime/server/utils/queue.mjs +34 -21
- package/dist/runtime/server/utils/rag.mjs +30 -17
- package/dist/runtime/server/utils/realtime.d.ts +5 -1
- package/dist/runtime/server/utils/realtime.mjs +43 -7
- package/dist/runtime/server/utils/session.mjs +16 -3
- package/dist/runtime/server/utils/sso.d.ts +3 -0
- package/dist/runtime/server/utils/sso.mjs +43 -0
- package/dist/runtime/server/utils/storage.mjs +12 -1
- package/dist/runtime/server/utils/store/cart.d.ts +63 -0
- package/dist/runtime/server/utils/store/cart.mjs +542 -0
- package/dist/runtime/server/utils/store/checkout.d.ts +14 -0
- package/dist/runtime/server/utils/store/checkout.mjs +118 -0
- package/dist/runtime/server/utils/store/common.d.ts +29 -0
- package/dist/runtime/server/utils/store/common.mjs +479 -0
- package/dist/runtime/server/utils/store/index.d.ts +7 -0
- package/dist/runtime/server/utils/store/index.mjs +30 -0
- package/dist/runtime/server/utils/store/inventory.d.ts +25 -0
- package/dist/runtime/server/utils/store/inventory.mjs +190 -0
- package/dist/runtime/server/utils/store/orders.d.ts +60 -0
- package/dist/runtime/server/utils/store/orders.mjs +590 -0
- package/dist/runtime/server/utils/store/products.d.ts +35 -0
- package/dist/runtime/server/utils/store/products.mjs +461 -0
- package/dist/runtime/server/utils/store/vendor.d.ts +18 -0
- package/dist/runtime/server/utils/store/vendor.mjs +68 -0
- package/dist/runtime/server/utils/store.d.ts +1 -207
- package/dist/runtime/server/utils/store.mjs +1 -2227
- package/dist/runtime/server/utils/string.d.ts +1 -1
- package/dist/runtime/server/utils/string.mjs +12 -4
- package/dist/runtime/server/utils/tenant.mjs +19 -5
- package/dist/runtime/server/utils/tracker.mjs +2 -0
- package/dist/runtime/server.d.ts +3 -3
- package/dist/runtime/server.mjs +4 -4
- package/dist/runtime/storage-server.d.ts +2 -0
- package/dist/runtime/storage-server.mjs +1 -0
- package/dist/runtime/storage.d.ts +1 -1
- package/dist/runtime/storage.mjs +0 -1
- package/dist/runtime/store.d.ts +0 -1
- package/dist/runtime/store.mjs +0 -1
- package/dist/runtime/test-utils.d.ts +4 -0
- package/dist/runtime/test-utils.mjs +54 -0
- package/dist/runtime/types/d1.d.ts +43 -0
- package/dist/runtime/types/drizzle.d.ts +6 -0
- package/dist/runtime/types/store.d.ts +1 -1
- package/dist/types/analytics.d.ts +80 -0
- package/dist/types/auth.d.ts +282 -0
- package/dist/types/cache.d.ts +55 -0
- package/dist/types/comments.d.ts +130 -0
- package/dist/types/db.d.ts +29 -0
- package/dist/types/email.d.ts +182 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/jobs.d.ts +58 -0
- package/dist/types/notifications.d.ts +77 -0
- package/dist/types/options.d.ts +363 -0
- package/dist/types/payments.d.ts +145 -0
- package/dist/types/ratelimit.d.ts +71 -0
- package/dist/types/realtime.d.ts +136 -0
- package/dist/types/site.d.ts +121 -0
- package/dist/types/storage.d.ts +164 -0
- package/dist/types/store-options.d.ts +199 -0
- package/dist/types/tenant.d.ts +100 -0
- package/dist/types.d.ts +1 -2174
- package/dist/utils/migration-lock.d.ts +139 -0
- package/dist/utils/pkg.d.ts +14 -1
- package/dist/utils/schema-diff.d.ts +39 -0
- package/package.json +55 -17
- package/dist/chunks/auth-schema.mjs +0 -364
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export interface RealtimeOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Base route path for WebSocket connections.
|
|
4
|
+
*
|
|
5
|
+
* @default "/api/realtime/ws"
|
|
6
|
+
*/
|
|
7
|
+
path?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Cloudflare Durable Object binding name.
|
|
10
|
+
*
|
|
11
|
+
* @default "QARPEO_ROOM_DO"
|
|
12
|
+
*/
|
|
13
|
+
binding?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Enable presence tracking (automatic join/leave events and active roster sync).
|
|
16
|
+
*
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
presence?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Require authenticated session to connect to rooms.
|
|
22
|
+
*
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
requireAuth?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Alias for `requireAuth`. Require authenticated session to connect to rooms.
|
|
28
|
+
*
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
auth?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Maximum concurrent WebSocket connections allowed per room.
|
|
34
|
+
*
|
|
35
|
+
* @default 100
|
|
36
|
+
*/
|
|
37
|
+
maxConnectionsPerRoom?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Maximum recent messages retained in the room's replay buffer in Durable Object storage.
|
|
40
|
+
*
|
|
41
|
+
* @default 50
|
|
42
|
+
*/
|
|
43
|
+
historyLimit?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Ping/heartbeat interval in milliseconds.
|
|
46
|
+
*
|
|
47
|
+
* @default 30000
|
|
48
|
+
*/
|
|
49
|
+
heartbeatInterval?: number;
|
|
50
|
+
/** Alias for heartbeatInterval. */
|
|
51
|
+
heartbeat?: number;
|
|
52
|
+
/** Auto-reconnect enabled by default on client composable. */
|
|
53
|
+
reconnect?: boolean;
|
|
54
|
+
/** Replay unreceived messages automatically on reconnect using sequence numbers. @default true */
|
|
55
|
+
replayOnReconnect?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export interface RealtimePeer {
|
|
58
|
+
id: string;
|
|
59
|
+
roomId: string;
|
|
60
|
+
ctx: {
|
|
61
|
+
user: RealtimeUser | Record<string, any> | null;
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export interface RealtimeHandlerOptions {
|
|
66
|
+
connect?(peer: RealtimePeer): void | Promise<void>;
|
|
67
|
+
disconnect?(peer: RealtimePeer): void | Promise<void>;
|
|
68
|
+
message?(peer: RealtimePeer, event: string, payload: any): void | Promise<void>;
|
|
69
|
+
}
|
|
70
|
+
export interface RealtimeHandlerRegistration {
|
|
71
|
+
pattern: string;
|
|
72
|
+
handlers: RealtimeHandlerOptions;
|
|
73
|
+
}
|
|
74
|
+
export interface RealtimeUser<TPresence = Record<string, any>> {
|
|
75
|
+
id: string;
|
|
76
|
+
name?: string | null;
|
|
77
|
+
avatar?: string | null;
|
|
78
|
+
metadata?: Record<string, unknown>;
|
|
79
|
+
presence?: TPresence;
|
|
80
|
+
joinedAt: number;
|
|
81
|
+
isAnonymous?: boolean;
|
|
82
|
+
}
|
|
83
|
+
export interface RealtimeMessage<T = unknown> {
|
|
84
|
+
type: "message" | "presence:sync" | "presence:join" | "presence:leave" | "presence:update" | "state:sync" | "state:set" | "state:patch" | "history:sync" | "ping" | "pong";
|
|
85
|
+
event?: string;
|
|
86
|
+
payload?: T;
|
|
87
|
+
sender?: string;
|
|
88
|
+
user?: RealtimeUser;
|
|
89
|
+
presence?: RealtimeUser[];
|
|
90
|
+
state?: Record<string, any>;
|
|
91
|
+
history?: RealtimeMessage[];
|
|
92
|
+
id?: string;
|
|
93
|
+
seq?: number;
|
|
94
|
+
replay?: boolean;
|
|
95
|
+
lastSeq?: number;
|
|
96
|
+
timestamp?: number;
|
|
97
|
+
}
|
|
98
|
+
/** Defines a type-safe schema definition for a room's synchronized state. */
|
|
99
|
+
export interface RoomStateSchema<T extends Record<string, any> = Record<string, any>> {
|
|
100
|
+
name?: string;
|
|
101
|
+
initialState?: T;
|
|
102
|
+
validator?: (state: unknown) => state is T;
|
|
103
|
+
}
|
|
104
|
+
export interface UsePresenceOptions<T extends Record<string, any> = Record<string, any>> {
|
|
105
|
+
/** Initial presence state */
|
|
106
|
+
initial?: T;
|
|
107
|
+
/** Minimum interval in milliseconds between broadcast updates (throttling). @default 50 */
|
|
108
|
+
throttle?: number;
|
|
109
|
+
}
|
|
110
|
+
export interface UsePresenceReturn<T extends Record<string, any> = Record<string, any>> {
|
|
111
|
+
/** My own current presence state */
|
|
112
|
+
myPresence: any;
|
|
113
|
+
/** Update my presence state (throttled) */
|
|
114
|
+
updatePresence: (partial: Partial<T>) => void;
|
|
115
|
+
/** Connected peers in the room with their presence data (excluding self) */
|
|
116
|
+
peers: any;
|
|
117
|
+
/** Total number of online peers including self */
|
|
118
|
+
onlineCount: any;
|
|
119
|
+
/** All connected users including self */
|
|
120
|
+
presence: any;
|
|
121
|
+
/** Helper to track and broadcast mouse/cursor coordinates on an element or window */
|
|
122
|
+
onCursorMove: (e: {
|
|
123
|
+
clientX: number;
|
|
124
|
+
clientY: number;
|
|
125
|
+
}) => void;
|
|
126
|
+
}
|
|
127
|
+
export interface UseRoomStateReturn<T extends Record<string, any> = Record<string, any>> {
|
|
128
|
+
/** Current synchronized room state */
|
|
129
|
+
state: any;
|
|
130
|
+
/** Replace entire room state */
|
|
131
|
+
setState: (newState: T) => void;
|
|
132
|
+
/** Merge partial update into room state */
|
|
133
|
+
patchState: (partial: Partial<T>) => void;
|
|
134
|
+
/** Whether initial state sync has completed */
|
|
135
|
+
synced: any;
|
|
136
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
export interface DocsSearchSection {
|
|
2
|
+
/** Unique ID for search result item (e.g. "/docs/features/payments#paddle") */
|
|
3
|
+
id: string;
|
|
4
|
+
/** Canonical entry path */
|
|
5
|
+
path: string;
|
|
6
|
+
/** Section heading title (or page title if lead section) */
|
|
7
|
+
title: string;
|
|
8
|
+
/** Overall document page title */
|
|
9
|
+
pageTitle: string;
|
|
10
|
+
/** Breadcrumb hierarchy of titles */
|
|
11
|
+
titles: string[];
|
|
12
|
+
/** Clean highlighted text excerpt */
|
|
13
|
+
content: string;
|
|
14
|
+
/** Hash anchor for heading (e.g. "#webhooks") */
|
|
15
|
+
section?: string;
|
|
16
|
+
/** Locale of the document (e.g. "en", "es") */
|
|
17
|
+
locale?: string;
|
|
18
|
+
/** Heading level (1 for h1/title, 2 for h2, 3 for h3) */
|
|
19
|
+
level?: number;
|
|
20
|
+
/** Relevance match score */
|
|
21
|
+
score: number;
|
|
22
|
+
}
|
|
23
|
+
export interface DocsSearchResponse {
|
|
24
|
+
results: DocsSearchSection[];
|
|
25
|
+
total: number;
|
|
26
|
+
query: string;
|
|
27
|
+
/** Search execution engine used */
|
|
28
|
+
mode?: "fts" | "like";
|
|
29
|
+
}
|
|
30
|
+
export interface DocsSearchOptions {
|
|
31
|
+
q?: string;
|
|
32
|
+
locale?: string;
|
|
33
|
+
collection?: string;
|
|
34
|
+
limit?: number;
|
|
35
|
+
version?: string;
|
|
36
|
+
/** Search mode: 'fts' (default), 'like', or 'semantic' */
|
|
37
|
+
mode?: "fts" | "like" | "semantic";
|
|
38
|
+
}
|
|
39
|
+
export interface CMSLocaleConfig {
|
|
40
|
+
code: string;
|
|
41
|
+
name: string;
|
|
42
|
+
flag?: string;
|
|
43
|
+
dir?: "ltr" | "rtl";
|
|
44
|
+
}
|
|
45
|
+
export interface DocsVersionItem {
|
|
46
|
+
/** Version identifier (e.g. 'latest', 'v1', 'v2', 'next') */
|
|
47
|
+
id: string;
|
|
48
|
+
/** Display label in the version switcher (e.g. 'v2 (latest)', 'v1.x') */
|
|
49
|
+
label: string;
|
|
50
|
+
/** URL path prefix (e.g. '/docs', '/docs/v1') */
|
|
51
|
+
prefix: string;
|
|
52
|
+
/** Whether this is the active latest version */
|
|
53
|
+
isLatest?: boolean;
|
|
54
|
+
/** Whether this version is archived / deprecated */
|
|
55
|
+
isArchived?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export interface SiteRobotsConfig {
|
|
58
|
+
/**
|
|
59
|
+
* Allow search engines to index the site. When false, generates Disallow: / on robots.txt and
|
|
60
|
+
* noindex meta.
|
|
61
|
+
*/
|
|
62
|
+
index?: boolean;
|
|
63
|
+
/** Paths to disallow in robots.txt. Defaults to ["/api/", "/devtools/", "/_qarpeo/"] */
|
|
64
|
+
disallow?: string[];
|
|
65
|
+
/** Paths to allow in robots.txt. Defaults to ["/"] */
|
|
66
|
+
allow?: string[];
|
|
67
|
+
}
|
|
68
|
+
export interface SiteSitemapUrl {
|
|
69
|
+
loc: string;
|
|
70
|
+
lastmod?: string;
|
|
71
|
+
changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
|
|
72
|
+
priority?: number;
|
|
73
|
+
}
|
|
74
|
+
export interface SiteSitemapConfig {
|
|
75
|
+
/** Automatically generate /sitemap.xml. Defaults to true when site.url is provided. */
|
|
76
|
+
enabled?: boolean;
|
|
77
|
+
/** Paths to exclude from /sitemap.xml (supports wildcards, e.g. ["/api/**", "/_qarpeo/**"]) */
|
|
78
|
+
exclude?: string[];
|
|
79
|
+
/** Include published CMS entries from D1 database. Defaults to true. */
|
|
80
|
+
cms?: boolean;
|
|
81
|
+
/** Additional custom URLs to include in sitemap */
|
|
82
|
+
urls?: SiteSitemapUrl[];
|
|
83
|
+
}
|
|
84
|
+
export interface SiteFeedConfig {
|
|
85
|
+
/** Enabled by default when site.url is set. Set false to disable. */
|
|
86
|
+
enabled?: boolean;
|
|
87
|
+
/** CMS collection IDs/slugs to include in the global feed. Default: all published. */
|
|
88
|
+
collections?: string[];
|
|
89
|
+
/** Maximum entries per feed. Default: 50. */
|
|
90
|
+
maxItems?: number;
|
|
91
|
+
/** RSS TTL in minutes. Default: 60. */
|
|
92
|
+
ttl?: number;
|
|
93
|
+
/** Cache-Control max-age in seconds. Default: 3600. */
|
|
94
|
+
cacheMaxAge?: number;
|
|
95
|
+
}
|
|
96
|
+
export interface QarpeoSiteConfig {
|
|
97
|
+
/** Project/site name (used for Cloudflare Worker name, SEO, emails, branding) */
|
|
98
|
+
name?: string;
|
|
99
|
+
/** Canonical site URL (e.g. 'https://qarpeo.com') */
|
|
100
|
+
url?: string;
|
|
101
|
+
/** Site description */
|
|
102
|
+
description?: string;
|
|
103
|
+
/** Primary locale */
|
|
104
|
+
defaultLocale?: string;
|
|
105
|
+
/** Title template, e.g. "%s — %siteName" or "%s | %siteName". Default: "%s — %siteName" */
|
|
106
|
+
titleTemplate?: string;
|
|
107
|
+
/** Default separator between page title and site name. Default: "—" */
|
|
108
|
+
separator?: string;
|
|
109
|
+
/** Default OpenGraph / social share image URL (absolute or relative to site.url) */
|
|
110
|
+
image?: string;
|
|
111
|
+
/** Twitter/X creator or site handle (e.g. "@qarpeo") */
|
|
112
|
+
twitter?: string;
|
|
113
|
+
/** Canonical robots.txt rules */
|
|
114
|
+
robots?: boolean | SiteRobotsConfig;
|
|
115
|
+
/** Sitemap configuration */
|
|
116
|
+
sitemap?: boolean | SiteSitemapConfig;
|
|
117
|
+
/** RSS 2.0 / Atom 1.0 feed configuration */
|
|
118
|
+
feed?: boolean | SiteFeedConfig;
|
|
119
|
+
/** Auto-inject WebSite JSON-LD schema on root page. Default: true */
|
|
120
|
+
schemaOrg?: boolean;
|
|
121
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export interface StorageImagePreset {
|
|
2
|
+
width?: number;
|
|
3
|
+
height?: number;
|
|
4
|
+
quality?: number;
|
|
5
|
+
format?: "webp" | "avif" | "jpeg" | "png";
|
|
6
|
+
fit?: "cover" | "contain" | "scale-down" | "crop" | "pad";
|
|
7
|
+
}
|
|
8
|
+
export type BlobAccessTier = "public" | "unlisted" | "private";
|
|
9
|
+
export interface SignedDownloadUrlOptions {
|
|
10
|
+
/** Expiration duration (e.g. '1h', '15m', '7d', or seconds) */
|
|
11
|
+
expiresIn?: string | number;
|
|
12
|
+
/** Force browser download attachment */
|
|
13
|
+
download?: boolean;
|
|
14
|
+
/** Custom download filename override */
|
|
15
|
+
filename?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface StorageOptions {
|
|
18
|
+
/**
|
|
19
|
+
* Custom Cloudflare R2 binding name.
|
|
20
|
+
*
|
|
21
|
+
* @default "BLOB"
|
|
22
|
+
*/
|
|
23
|
+
binding?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Base route prefix for auto-injected storage endpoints.
|
|
26
|
+
*
|
|
27
|
+
* @default "/api/storage"
|
|
28
|
+
*/
|
|
29
|
+
prefix?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Custom public CDN domain or URL prefix (e.g. 'https://cdn.example.com'). If omitted, files are
|
|
32
|
+
* served through Qarpeo's edge handler.
|
|
33
|
+
*/
|
|
34
|
+
cdnUrl?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Maximum allowed file upload size. Accepts number (bytes) or human string (e.g. '10MB',
|
|
37
|
+
* '500KB').
|
|
38
|
+
*
|
|
39
|
+
* @default "20MB"
|
|
40
|
+
*/
|
|
41
|
+
maxSize?: string | number;
|
|
42
|
+
/**
|
|
43
|
+
* Allowed MIME types for uploaded files (e.g. ['image/*', 'application/pdf']).
|
|
44
|
+
*
|
|
45
|
+
* @default ["*"]
|
|
46
|
+
*/
|
|
47
|
+
allowedTypes?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* Automatic directory scoping for multi-tenancy.
|
|
50
|
+
*
|
|
51
|
+
* - 'org': files stored under `org_${orgId}/`
|
|
52
|
+
* - 'user': files stored under `user_${userId}/`
|
|
53
|
+
* - 'public': files stored directly under root prefix
|
|
54
|
+
*
|
|
55
|
+
* @default "public"
|
|
56
|
+
*/
|
|
57
|
+
scope?: "org" | "user" | "public";
|
|
58
|
+
/**
|
|
59
|
+
* Default access tier for newly uploaded files.
|
|
60
|
+
*
|
|
61
|
+
* - 'public': accessible to anyone
|
|
62
|
+
* - 'unlisted': accessible via token-signed URL only
|
|
63
|
+
* - 'private': guarded by session & authentication
|
|
64
|
+
*
|
|
65
|
+
* @default "public"
|
|
66
|
+
*/
|
|
67
|
+
defaultAccess?: BlobAccessTier;
|
|
68
|
+
/**
|
|
69
|
+
* Whether unauthenticated callers are allowed to generate presigned upload tickets. Defaults to
|
|
70
|
+
* false (authentication required).
|
|
71
|
+
*
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
74
|
+
allowAnonymousUploads?: boolean;
|
|
75
|
+
/** Cloudflare Image Resizing / optimization presets and settings. */
|
|
76
|
+
images?: {
|
|
77
|
+
/**
|
|
78
|
+
* Enable Cloudflare Image Resizing (/cdn-cgi/image/...) on served URLs.
|
|
79
|
+
*
|
|
80
|
+
* @default true
|
|
81
|
+
*/
|
|
82
|
+
resizing?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Named transformation presets.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* presets: {
|
|
88
|
+
* thumbnail: { width: 150, height: 150, format: "webp" },
|
|
89
|
+
* banner: { width: 1200, height: 400, quality: 85 }
|
|
90
|
+
* }
|
|
91
|
+
*/
|
|
92
|
+
presets?: Record<string, StorageImagePreset>;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Automatically integrate `<BlobImage>` with Nuxt UI components (`<UAvatar>`, `<UCard>`, etc.) so
|
|
96
|
+
* their `src` props resolve R2 storage keys without custom slots.
|
|
97
|
+
*
|
|
98
|
+
* - When `@nuxt/image` is installed, Qarpeo registers its built-in image provider and optionally
|
|
99
|
+
* sets it as the default provider.
|
|
100
|
+
* - When `@nuxt/image` is **not** installed, Qarpeo aliases Nuxt UI's internal image component to
|
|
101
|
+
* `<BlobImage>` via `#build/ui-image-component`.
|
|
102
|
+
*
|
|
103
|
+
* Set to `false` to opt out of all automatic Nuxt UI / image integration.
|
|
104
|
+
*
|
|
105
|
+
* @default true
|
|
106
|
+
*/
|
|
107
|
+
ui?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* When `@nuxt/image` is **also** installed, alias Nuxt UI's image slot to `<BlobImage>` anyway
|
|
110
|
+
* (via `components:extend`), so that the Qarpeo provider is always used even if another provider
|
|
111
|
+
* is the global default.
|
|
112
|
+
*
|
|
113
|
+
* Ignored when `ui` is `false`.
|
|
114
|
+
*
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
uiImage?: boolean;
|
|
118
|
+
}
|
|
119
|
+
export type BlobOptions = StorageOptions;
|
|
120
|
+
export interface UploadedFile {
|
|
121
|
+
key: string;
|
|
122
|
+
pathname: string;
|
|
123
|
+
url: string;
|
|
124
|
+
size: number;
|
|
125
|
+
type: string;
|
|
126
|
+
etag: string;
|
|
127
|
+
access?: BlobAccessTier;
|
|
128
|
+
customMetadata?: Record<string, string>;
|
|
129
|
+
}
|
|
130
|
+
export interface ResumableUploadSession {
|
|
131
|
+
uploadId: string;
|
|
132
|
+
key: string;
|
|
133
|
+
pathname: string;
|
|
134
|
+
chunkSize: number;
|
|
135
|
+
totalParts: number;
|
|
136
|
+
fileSize: number;
|
|
137
|
+
type: string;
|
|
138
|
+
access: BlobAccessTier;
|
|
139
|
+
expiresAt: number;
|
|
140
|
+
}
|
|
141
|
+
export interface ResumableUploadOptions {
|
|
142
|
+
filename?: string;
|
|
143
|
+
chunkSize?: number;
|
|
144
|
+
access?: BlobAccessTier;
|
|
145
|
+
customMetadata?: Record<string, string>;
|
|
146
|
+
onProgress?: (progress: number, uploadedBytes: number, totalBytes: number) => void;
|
|
147
|
+
onSuccess?: (result: any) => void;
|
|
148
|
+
onError?: (error: Error) => void;
|
|
149
|
+
}
|
|
150
|
+
export interface UseResumableUploadReturn {
|
|
151
|
+
upload: (file: File | Blob, options?: ResumableUploadOptions) => Promise<any>;
|
|
152
|
+
pause: () => void;
|
|
153
|
+
resume: () => Promise<any>;
|
|
154
|
+
abort: () => Promise<void>;
|
|
155
|
+
isUploading: any;
|
|
156
|
+
isPaused: any;
|
|
157
|
+
progress: any;
|
|
158
|
+
uploadedBytes: any;
|
|
159
|
+
totalBytes: any;
|
|
160
|
+
currentPart: any;
|
|
161
|
+
totalParts: any;
|
|
162
|
+
error: any;
|
|
163
|
+
reset: () => void;
|
|
164
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
export interface StoreOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Default 3-letter currency code (ISO 4217).
|
|
4
|
+
*
|
|
5
|
+
* @default "USD"
|
|
6
|
+
*/
|
|
7
|
+
currency?: string;
|
|
8
|
+
/**
|
|
9
|
+
* URL prefix for auto-mounted Store REST API routes.
|
|
10
|
+
*
|
|
11
|
+
* @default "/api/store"
|
|
12
|
+
*/
|
|
13
|
+
prefix?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Cookie expiration in seconds for anonymous guest carts.
|
|
16
|
+
*
|
|
17
|
+
* @default 2592000 (30 days)
|
|
18
|
+
*/
|
|
19
|
+
cartCookieTtl?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Cart configuration.
|
|
22
|
+
*/
|
|
23
|
+
cart?: {
|
|
24
|
+
maxAgeDays?: number;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Checkout configuration (tax, shipping).
|
|
28
|
+
*/
|
|
29
|
+
checkout?: {
|
|
30
|
+
taxRate?: number;
|
|
31
|
+
shippingRates?: Array<{
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
amount: number;
|
|
35
|
+
}>;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Multi-currency, FX exchange rates, and rule-based edge tax/VAT settings.
|
|
39
|
+
*/
|
|
40
|
+
localization?: {
|
|
41
|
+
/** Base store currency (ISO 4217). Default: "USD" */
|
|
42
|
+
defaultCurrency?: string;
|
|
43
|
+
/** List of supported currencies. Default: ["USD", "EUR", "GBP", "CAD", "AUD", "JPY"] */
|
|
44
|
+
currencies?: string[];
|
|
45
|
+
/** Custom exchange rates relative to defaultCurrency */
|
|
46
|
+
rates?: Record<string, number>;
|
|
47
|
+
/** Auto-detect currency from Cloudflare cf.country header. Default: true */
|
|
48
|
+
autoDetect?: boolean;
|
|
49
|
+
/** Price rounding strategy for converted amounts */
|
|
50
|
+
rounding?: "none" | "round" | "charm-99" | "charm-95";
|
|
51
|
+
/** Rule-based edge tax and VAT configuration */
|
|
52
|
+
tax?: {
|
|
53
|
+
merchantCountry?: string;
|
|
54
|
+
defaultRate?: number;
|
|
55
|
+
pricesIncludeTax?: boolean;
|
|
56
|
+
euVat?: boolean;
|
|
57
|
+
rates?: Record<string, number | Record<string, number>>;
|
|
58
|
+
b2bReverseCharge?: boolean;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Discount coupon configuration.
|
|
63
|
+
*/
|
|
64
|
+
discounts?: {
|
|
65
|
+
enabled?: boolean;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Store operating mode: "single" (single merchant, default) or "multi-vendor" (marketplace).
|
|
69
|
+
*
|
|
70
|
+
* @default "single"
|
|
71
|
+
*/
|
|
72
|
+
mode?: "single" | "multi-vendor";
|
|
73
|
+
/**
|
|
74
|
+
* Multi-vendor marketplace configuration. Active when `mode === "multi-vendor"`.
|
|
75
|
+
*/
|
|
76
|
+
multiVendor?: {
|
|
77
|
+
/** Default platform commission rate (e.g. 0.10 for 10% platform fee). @default 0 */
|
|
78
|
+
commissionRate?: number;
|
|
79
|
+
/** Whether customers can add items from multiple vendors into a single cart. @default true */
|
|
80
|
+
allowCrossVendorCart?: boolean;
|
|
81
|
+
/** Whether newly created products by vendors require approval before publishing. @default false */
|
|
82
|
+
requireApproval?: boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Digital product download security settings.
|
|
86
|
+
*/
|
|
87
|
+
downloads?: {
|
|
88
|
+
expiresInHours?: number;
|
|
89
|
+
maxDownloads?: number;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Inventory stock tracking configuration.
|
|
93
|
+
*/
|
|
94
|
+
inventory?: {
|
|
95
|
+
/** Track inventory levels and prevent overselling. @default true */
|
|
96
|
+
trackStock?: boolean;
|
|
97
|
+
/** Allow purchasing items with zero stock. @default false */
|
|
98
|
+
allowBackorders?: boolean;
|
|
99
|
+
/** Quantity at or below which the product is marked low-stock. @default 5 */
|
|
100
|
+
lowStockThreshold?: number;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Digital product download security settings.
|
|
104
|
+
*/
|
|
105
|
+
digitalProducts?: {
|
|
106
|
+
/** Expiration window for presigned download URLs in hours. @default 24 */
|
|
107
|
+
downloadLinkTtlHours?: number;
|
|
108
|
+
/** Maximum download attempts allowed per purchased item. @default 5 */
|
|
109
|
+
maxDownloadsPerItem?: number;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Granular table name overrides or global table prefix for all store tables.
|
|
113
|
+
* Respects the same prefix/tables mechanics as `tablePrefix` on the root config.
|
|
114
|
+
*/
|
|
115
|
+
tablePrefix?: boolean | string;
|
|
116
|
+
tables?: Record<string, string>;
|
|
117
|
+
}
|
|
118
|
+
/** Root configuration options for the Qarpeo Nuxt module (Strict Two-Tier Standard, Decision 22 & 23) */
|
|
119
|
+
export interface QarpeoTablesConfig {
|
|
120
|
+
/** User table name override (Better Auth / custom schema). @default "user" */
|
|
121
|
+
user?: string;
|
|
122
|
+
/** Session table name override. @default "session" */
|
|
123
|
+
session?: string;
|
|
124
|
+
/** Account table name override. @default "account" */
|
|
125
|
+
account?: string;
|
|
126
|
+
/** Verification token table name override. @default "verification" */
|
|
127
|
+
verification?: string;
|
|
128
|
+
/** Two-factor authentication table name override. @default "two_factor" */
|
|
129
|
+
twoFactor?: string;
|
|
130
|
+
/** Passkey / WebAuthn table name override. @default "passkey" */
|
|
131
|
+
passkey?: string;
|
|
132
|
+
/** Organization table name override. @default "organization" */
|
|
133
|
+
organization?: string;
|
|
134
|
+
/** Organization member table name override. @default "member" */
|
|
135
|
+
member?: string;
|
|
136
|
+
/** Organization invitation table name override. @default "invitation" */
|
|
137
|
+
invitation?: string;
|
|
138
|
+
/** Audit log table name override. @default "audit_log" */
|
|
139
|
+
auditLog?: string;
|
|
140
|
+
/** Comments table name override. @default "comment" */
|
|
141
|
+
comment?: string;
|
|
142
|
+
/** Comment reports table name override. @default "comment_report" */
|
|
143
|
+
commentReport?: string;
|
|
144
|
+
/** Comment reactions table name override. @default "comment_reaction" */
|
|
145
|
+
commentReaction?: string;
|
|
146
|
+
/** Customers table name override. @default "customer" */
|
|
147
|
+
customer?: string;
|
|
148
|
+
/** Subscriptions table name override. @default "subscription" */
|
|
149
|
+
subscription?: string;
|
|
150
|
+
/** Webhook events table name override. @default "webhook_event" */
|
|
151
|
+
webhookEvent?: string;
|
|
152
|
+
/** Usage records table name override. @default "usage_record" */
|
|
153
|
+
usageRecord?: string;
|
|
154
|
+
/** In-app notifications table name override. @default "notification" */
|
|
155
|
+
notification?: string;
|
|
156
|
+
/** Push subscriptions table name override. @default "push_subscription" */
|
|
157
|
+
pushSubscription?: string;
|
|
158
|
+
/** Tenant table name override. @default "tenant" */
|
|
159
|
+
tenant?: string;
|
|
160
|
+
/** Domain table name override. @default "domain" */
|
|
161
|
+
domain?: string;
|
|
162
|
+
/** CMS collection table name override. @default "cms_collection" */
|
|
163
|
+
cmsCollection?: string;
|
|
164
|
+
/** CMS entry table name override. @default "cms_entry" */
|
|
165
|
+
cmsEntry?: string;
|
|
166
|
+
/** CMS revision table name override. @default "cms_revision" */
|
|
167
|
+
cmsRevision?: string;
|
|
168
|
+
/** CMS category table name override. @default "cms_category" */
|
|
169
|
+
cmsCategory?: string;
|
|
170
|
+
/** CMS tag table name override. @default "cms_tag" */
|
|
171
|
+
cmsTag?: string;
|
|
172
|
+
/** CMS bookmark table name override. @default "cms_bookmark" */
|
|
173
|
+
cmsBookmark?: string;
|
|
174
|
+
/** CMS subscriber table name override. @default "cms_subscriber" */
|
|
175
|
+
cmsSubscriber?: string;
|
|
176
|
+
/** Email suppression table name override. @default "mail_suppression" */
|
|
177
|
+
mailSuppression?: string;
|
|
178
|
+
/** Store product table name override. @default "store_product" */
|
|
179
|
+
storeProduct?: string;
|
|
180
|
+
/** Store product variant table name override. @default "store_product_variant" */
|
|
181
|
+
storeProductVariant?: string;
|
|
182
|
+
/** Store inventory table name override. @default "store_inventory" */
|
|
183
|
+
storeInventory?: string;
|
|
184
|
+
/** Store category table name override. @default "store_category" */
|
|
185
|
+
storeCategory?: string;
|
|
186
|
+
/** Store cart table name override. @default "store_cart" */
|
|
187
|
+
storeCart?: string;
|
|
188
|
+
/** Store cart item table name override. @default "store_cart_item" */
|
|
189
|
+
storeCartItem?: string;
|
|
190
|
+
/** Store order table name override. @default "store_order" */
|
|
191
|
+
storeOrder?: string;
|
|
192
|
+
/** Store order item table name override. @default "store_order_item" */
|
|
193
|
+
storeOrderItem?: string;
|
|
194
|
+
/** Store discount table name override. @default "store_discount" */
|
|
195
|
+
storeDiscount?: string;
|
|
196
|
+
/** Store customer address table name override. @default "store_customer_address" */
|
|
197
|
+
storeCustomerAddress?: string;
|
|
198
|
+
[key: string]: string | undefined;
|
|
199
|
+
}
|