@xylex-group/athena 3.3.0 → 3.5.1
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 +17 -1
- package/dist/{athena-request-headers-Lr_m8xCV.d.cts → athena-request-headers-BnFN2mbd.d.cts} +1 -1
- package/dist/{athena-request-headers-DzimbvOA.d.ts → athena-request-headers-Dwdkq2WR.d.ts} +1 -1
- package/dist/billing.cjs +1 -1
- package/dist/billing.cjs.map +1 -1
- package/dist/billing.js +1 -1
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +3064 -163
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +10 -10
- package/dist/browser.d.ts +10 -10
- package/dist/browser.js +3064 -163
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +2990 -83
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +4 -4
- package/dist/cli/index.d.ts +4 -4
- package/dist/cli/index.js +2990 -83
- package/dist/cli/index.js.map +1 -1
- package/dist/cloudflare.cjs +12914 -0
- package/dist/cloudflare.cjs.map +1 -0
- package/dist/cloudflare.d.cts +368 -0
- package/dist/cloudflare.d.ts +368 -0
- package/dist/cloudflare.js +12885 -0
- package/dist/cloudflare.js.map +1 -0
- package/dist/cookies.cjs +4 -3
- package/dist/cookies.cjs.map +1 -1
- package/dist/cookies.js +4 -3
- package/dist/cookies.js.map +1 -1
- package/dist/env.cjs +1 -1
- package/dist/env.cjs.map +1 -1
- package/dist/env.js +1 -1
- package/dist/env.js.map +1 -1
- package/dist/index.cjs +2989 -86
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +2989 -87
- package/dist/index.js.map +1 -1
- package/dist/{model-form-3Gr8rkdT.d.cts → model-form-D0ykVVOs.d.cts} +3 -3
- package/dist/{model-form-CotpEL7z.d.ts → model-form-U8NVtfSA.d.ts} +3 -3
- package/dist/{module-CQmOaDzP.d.cts → module-CMWlJ1z3.d.cts} +4 -4
- package/dist/{module-CWkUTcUc.d.ts → module-CZ-wPcf2.d.ts} +4 -4
- package/dist/next/client.cjs +3025 -125
- package/dist/next/client.cjs.map +1 -1
- package/dist/next/client.d.cts +4 -4
- package/dist/next/client.d.ts +4 -4
- package/dist/next/client.js +3025 -125
- package/dist/next/client.js.map +1 -1
- package/dist/next/server.cjs +3108 -194
- package/dist/next/server.cjs.map +1 -1
- package/dist/next/server.d.cts +22 -9
- package/dist/next/server.d.ts +22 -9
- package/dist/next/server.js +3108 -194
- package/dist/next/server.js.map +1 -1
- package/dist/{pipeline-BnRKO_Pd.d.cts → pipeline-BCpb4BX1.d.cts} +1 -1
- package/dist/{pipeline-sWCmlFqu.d.ts → pipeline-CgmXwMeX.d.ts} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +6 -6
- package/dist/react.d.ts +6 -6
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/{schema-handlers-VjFDhIMw.d.ts → schema-handlers-CvWqF-dW.d.ts} +1 -1
- package/dist/{schema-handlers-BtT_IQFi.d.cts → schema-handlers-Dr8h9Jg-.d.cts} +1 -1
- package/dist/social-providers.cjs +1 -1
- package/dist/social-providers.cjs.map +1 -1
- package/dist/social-providers.js +1 -1
- package/dist/social-providers.js.map +1 -1
- package/dist/{types-Bltx6iL6.d.cts → types-B2RZPivM.d.cts} +8 -1
- package/dist/{types-Bltx6iL6.d.ts → types-B2RZPivM.d.ts} +8 -1
- package/dist/{types-BDX8zS7w.d.ts → types-BKklrX4J.d.ts} +2 -2
- package/dist/{types-CgCv5o6R.d.cts → types-D5dj1v5Z.d.cts} +1 -1
- package/dist/{types-D-Am7YSd.d.cts → types-DqBFwfhn.d.cts} +2 -2
- package/dist/{types-B75PdABb.d.ts → types-S-bTMPiM.d.ts} +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js.map +1 -1
- package/dist/{v3-client-G1SLeHRa.d.cts → v3-client-DP-qg82X.d.cts} +300 -4
- package/dist/{v3-client-ao8BWQ8v.d.ts → v3-client-OAai_JNs.d.ts} +300 -4
- package/package.json +10 -3
|
@@ -82,6 +82,9 @@ interface AthenaDeletePayload {
|
|
|
82
82
|
columns?: string[] | string;
|
|
83
83
|
conditions?: AthenaGatewayCondition[];
|
|
84
84
|
sort_by?: AthenaSortBy;
|
|
85
|
+
/** Fluent `.limit()` / `.range()` bounds (preferred over page_* when both are set). */
|
|
86
|
+
limit?: number;
|
|
87
|
+
offset?: number;
|
|
85
88
|
current_page?: number;
|
|
86
89
|
page_size?: number;
|
|
87
90
|
total_pages?: number;
|
|
@@ -114,6 +117,8 @@ interface AthenaRpcPayload<TArgs = AthenaJsonObject> {
|
|
|
114
117
|
}
|
|
115
118
|
interface AthenaQueryPayload {
|
|
116
119
|
query: string;
|
|
120
|
+
/** Optional bind parameters (D1 / SQLite-safe query path; HTTP gateways may ignore). */
|
|
121
|
+
params?: unknown[];
|
|
117
122
|
}
|
|
118
123
|
/** Backend type for Athena client (aligns with athena-rs) */
|
|
119
124
|
type BackendType = 'athena' | 'postgrest' | 'postgresql' | 'scylladb';
|
|
@@ -166,6 +171,8 @@ interface AthenaGatewayCallOptions extends AthenaGatewayBaseOptions {
|
|
|
166
171
|
stripNulls?: boolean;
|
|
167
172
|
onConflict?: string | string[];
|
|
168
173
|
updateBody?: AthenaJsonObject;
|
|
174
|
+
/** Bind parameters for `queryGateway` / `client.query` (edge D1 and SQL-aware gateways). */
|
|
175
|
+
params?: unknown[];
|
|
169
176
|
}
|
|
170
177
|
interface AthenaRpcCallOptions extends AthenaGatewayCallOptions {
|
|
171
178
|
count?: AthenaCountOption;
|
|
@@ -231,4 +238,4 @@ interface AthenaGatewayHookResult {
|
|
|
231
238
|
baseUrl: string;
|
|
232
239
|
}
|
|
233
240
|
|
|
234
|
-
export { type AthenaConditionCastType as A, Backend as B, type AthenaQueryPayload as C, type AthenaGatewayBaseOptions as D, type AthenaConditionValue as E, type AthenaConditionArrayValue as F, type AthenaGatewayCondition as G, type AthenaSortBy as H, type AthenaConditionOperator as I, type AthenaGatewayCallOptions as a, type AthenaGatewayConnectionOptions as b, type AthenaGatewayConnectionResult as c, type AthenaGatewayErrorCode as d, type AthenaGatewayErrorDetails as e, type AthenaJsonArray as f, type AthenaJsonObject as g, type AthenaJsonPrimitive as h, type AthenaJsonValue as i, type AthenaRpcCallOptions as j, type AthenaRpcFilter as k, type AthenaRpcFilterOperator as l, type AthenaRpcOrder as m, type AthenaRpcPayload as n, type BackendConfig as o, type BackendType as p, type AthenaGatewayEndpointPath as q, type AthenaGatewayMethod as r, type AthenaGatewayResponse as s, type BackendOption as t, type
|
|
241
|
+
export { type AthenaConditionCastType as A, Backend as B, type AthenaQueryPayload as C, type AthenaGatewayBaseOptions as D, type AthenaConditionValue as E, type AthenaConditionArrayValue as F, type AthenaGatewayCondition as G, type AthenaSortBy as H, type AthenaConditionOperator as I, type AthenaGatewayCallOptions as a, type AthenaGatewayConnectionOptions as b, type AthenaGatewayConnectionResult as c, type AthenaGatewayErrorCode as d, type AthenaGatewayErrorDetails as e, type AthenaJsonArray as f, type AthenaJsonObject as g, type AthenaJsonPrimitive as h, type AthenaJsonValue as i, type AthenaRpcCallOptions as j, type AthenaRpcFilter as k, type AthenaRpcFilterOperator as l, type AthenaRpcOrder as m, type AthenaRpcPayload as n, type BackendConfig as o, type BackendType as p, type AthenaGatewayEndpointPath as q, type AthenaGatewayMethod as r, type AthenaGatewayResponse as s, type BackendOption as t, type AthenaFetchPayload as u, type AthenaDeletePayload as v, type AthenaInsertPayload as w, type AthenaUpdatePayload as x, type AthenaGatewayHookConfig as y, type AthenaGatewayHookResult as z };
|
|
@@ -82,6 +82,9 @@ interface AthenaDeletePayload {
|
|
|
82
82
|
columns?: string[] | string;
|
|
83
83
|
conditions?: AthenaGatewayCondition[];
|
|
84
84
|
sort_by?: AthenaSortBy;
|
|
85
|
+
/** Fluent `.limit()` / `.range()` bounds (preferred over page_* when both are set). */
|
|
86
|
+
limit?: number;
|
|
87
|
+
offset?: number;
|
|
85
88
|
current_page?: number;
|
|
86
89
|
page_size?: number;
|
|
87
90
|
total_pages?: number;
|
|
@@ -114,6 +117,8 @@ interface AthenaRpcPayload<TArgs = AthenaJsonObject> {
|
|
|
114
117
|
}
|
|
115
118
|
interface AthenaQueryPayload {
|
|
116
119
|
query: string;
|
|
120
|
+
/** Optional bind parameters (D1 / SQLite-safe query path; HTTP gateways may ignore). */
|
|
121
|
+
params?: unknown[];
|
|
117
122
|
}
|
|
118
123
|
/** Backend type for Athena client (aligns with athena-rs) */
|
|
119
124
|
type BackendType = 'athena' | 'postgrest' | 'postgresql' | 'scylladb';
|
|
@@ -166,6 +171,8 @@ interface AthenaGatewayCallOptions extends AthenaGatewayBaseOptions {
|
|
|
166
171
|
stripNulls?: boolean;
|
|
167
172
|
onConflict?: string | string[];
|
|
168
173
|
updateBody?: AthenaJsonObject;
|
|
174
|
+
/** Bind parameters for `queryGateway` / `client.query` (edge D1 and SQL-aware gateways). */
|
|
175
|
+
params?: unknown[];
|
|
169
176
|
}
|
|
170
177
|
interface AthenaRpcCallOptions extends AthenaGatewayCallOptions {
|
|
171
178
|
count?: AthenaCountOption;
|
|
@@ -231,4 +238,4 @@ interface AthenaGatewayHookResult {
|
|
|
231
238
|
baseUrl: string;
|
|
232
239
|
}
|
|
233
240
|
|
|
234
|
-
export { type AthenaConditionCastType as A, Backend as B, type AthenaQueryPayload as C, type AthenaGatewayBaseOptions as D, type AthenaConditionValue as E, type AthenaConditionArrayValue as F, type AthenaGatewayCondition as G, type AthenaSortBy as H, type AthenaConditionOperator as I, type AthenaGatewayCallOptions as a, type AthenaGatewayConnectionOptions as b, type AthenaGatewayConnectionResult as c, type AthenaGatewayErrorCode as d, type AthenaGatewayErrorDetails as e, type AthenaJsonArray as f, type AthenaJsonObject as g, type AthenaJsonPrimitive as h, type AthenaJsonValue as i, type AthenaRpcCallOptions as j, type AthenaRpcFilter as k, type AthenaRpcFilterOperator as l, type AthenaRpcOrder as m, type AthenaRpcPayload as n, type BackendConfig as o, type BackendType as p, type AthenaGatewayEndpointPath as q, type AthenaGatewayMethod as r, type AthenaGatewayResponse as s, type BackendOption as t, type
|
|
241
|
+
export { type AthenaConditionCastType as A, Backend as B, type AthenaQueryPayload as C, type AthenaGatewayBaseOptions as D, type AthenaConditionValue as E, type AthenaConditionArrayValue as F, type AthenaGatewayCondition as G, type AthenaSortBy as H, type AthenaConditionOperator as I, type AthenaGatewayCallOptions as a, type AthenaGatewayConnectionOptions as b, type AthenaGatewayConnectionResult as c, type AthenaGatewayErrorCode as d, type AthenaGatewayErrorDetails as e, type AthenaJsonArray as f, type AthenaJsonObject as g, type AthenaJsonPrimitive as h, type AthenaJsonValue as i, type AthenaRpcCallOptions as j, type AthenaRpcFilter as k, type AthenaRpcFilterOperator as l, type AthenaRpcOrder as m, type AthenaRpcPayload as n, type BackendConfig as o, type BackendType as p, type AthenaGatewayEndpointPath as q, type AthenaGatewayMethod as r, type AthenaGatewayResponse as s, type BackendOption as t, type AthenaFetchPayload as u, type AthenaDeletePayload as v, type AthenaInsertPayload as w, type AthenaUpdatePayload as x, type AthenaGatewayHookConfig as y, type AthenaGatewayHookResult as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as BackendType } from './types-
|
|
2
|
-
import { I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-
|
|
1
|
+
import { p as BackendType } from './types-B2RZPivM.js';
|
|
2
|
+
import { I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-S-bTMPiM.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Supported case transformations for generated symbols and path token variants.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as BackendType } from './types-
|
|
2
|
-
import { I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-
|
|
1
|
+
import { p as BackendType } from './types-B2RZPivM.cjs';
|
|
2
|
+
import { I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-D5dj1v5Z.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Supported case transformations for generated symbols and path token variants.
|