@xylex-group/athena 2.8.0 → 2.8.2
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 +13 -6
- package/dist/browser.cjs +663 -17
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +7 -7
- package/dist/browser.d.ts +7 -7
- package/dist/browser.js +663 -17
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +693 -18
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +3 -3
- package/dist/cli/index.d.ts +3 -3
- package/dist/cli/index.js +693 -18
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +664 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +664 -17
- package/dist/index.js.map +1 -1
- package/dist/{model-form-DMed05gE.d.cts → model-form-Cx3wtvi8.d.ts} +641 -36
- package/dist/{model-form-DXPlOnlI.d.ts → model-form-_ugfOXao.d.cts} +641 -36
- package/dist/{pipeline-D4sJRKqN.d.cts → pipeline-BtD-Uo5X.d.cts} +1 -1
- package/dist/{pipeline-CkMnhwPI.d.ts → pipeline-yCIZNJHE.d.ts} +1 -1
- package/dist/{react-email-DZhDDlEl.d.cts → react-email-CiiSVa9F.d.cts} +4 -6
- package/dist/{react-email-Lrz9A-BW.d.ts → react-email-WN8UU3AL.d.ts} +4 -6
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +4 -4
- package/dist/react.d.ts +4 -4
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/{types-CAtTGGoz.d.cts → types-89EfjLjV.d.cts} +2 -1
- package/dist/{types-BzY6fETM.d.ts → types-C2kiTt6-.d.ts} +2 -1
- package/dist/{types-vikz9YIO.d.cts → types-g8G6J0xE.d.cts} +4 -1
- package/dist/{types-vikz9YIO.d.ts → types-g8G6J0xE.d.ts} +4 -1
- package/package.json +26 -56
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as BackendType, I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-
|
|
1
|
+
import { q as BackendType, I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-g8G6J0xE.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Supported case transformations for generated symbols and path token variants.
|
|
@@ -195,6 +195,7 @@ interface RunGeneratorOptions {
|
|
|
195
195
|
*/
|
|
196
196
|
interface RunGeneratorResult extends GeneratedArtifacts {
|
|
197
197
|
configPath: string;
|
|
198
|
+
config: NormalizedAthenaGeneratorConfig;
|
|
198
199
|
writtenFiles: string[];
|
|
199
200
|
}
|
|
200
201
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as BackendType, I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-
|
|
1
|
+
import { q as BackendType, I as IntrospectionSnapshot, S as SchemaIntrospectionProvider } from './types-g8G6J0xE.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Supported case transformations for generated symbols and path token variants.
|
|
@@ -195,6 +195,7 @@ interface RunGeneratorOptions {
|
|
|
195
195
|
*/
|
|
196
196
|
interface RunGeneratorResult extends GeneratedArtifacts {
|
|
197
197
|
configPath: string;
|
|
198
|
+
config: NormalizedAthenaGeneratorConfig;
|
|
198
199
|
writtenFiles: string[];
|
|
199
200
|
}
|
|
200
201
|
|
|
@@ -113,6 +113,9 @@ interface AthenaRpcPayload<TArgs = AthenaJsonObject> {
|
|
|
113
113
|
offset?: number;
|
|
114
114
|
order?: AthenaRpcOrder;
|
|
115
115
|
}
|
|
116
|
+
interface AthenaQueryPayload {
|
|
117
|
+
query: string;
|
|
118
|
+
}
|
|
116
119
|
/** Backend type for Athena client (aligns with athena-rs) */
|
|
117
120
|
type BackendType = 'athena' | 'postgrest' | 'postgresql' | 'scylladb';
|
|
118
121
|
/** Backend config: type from SDK + backend-scoped options */
|
|
@@ -421,4 +424,4 @@ interface SchemaIntrospectionProvider {
|
|
|
421
424
|
inspect(options?: IntrospectionInspectOptions): Promise<IntrospectionSnapshot>;
|
|
422
425
|
}
|
|
423
426
|
|
|
424
|
-
export { type
|
|
427
|
+
export { type AthenaGatewayMethod as $, type AthenaConditionCastType as A, Backend as B, type ModelDef as C, type DatabaseDef as D, type ModelMetadata as E, type ModelRelationKind as F, type ModelRelationMetadata as G, type RowOf as H, type IntrospectionSnapshot as I, type SchemaDef as J, type TenantContextValue as K, type TenantKeyMap as L, type ModelAt as M, type AnyModelDef as N, type AthenaGatewayHookConfig as O, type AthenaGatewayHookResult as P, type AthenaDeletePayload as Q, type RegistryDef as R, type SchemaIntrospectionProvider as S, type TenantContext as T, type UpdateOf as U, type AthenaFetchPayload as V, type AthenaGatewayResponse as W, type AthenaInsertPayload as X, type AthenaUpdatePayload as Y, type AthenaQueryPayload as Z, type AthenaGatewayEndpointPath as _, type AthenaGatewayCallOptions as a, type AthenaConditionValue as a0, type AthenaConditionArrayValue as a1, type AthenaGatewayCondition as a2, type AthenaSortBy as a3, type AthenaConditionOperator as a4, 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 AthenaModelTarget as j, type AthenaRpcCallOptions as k, type AthenaRpcFilter as l, type AthenaRpcFilterOperator as m, type AthenaRpcOrder as n, type AthenaRpcPayload as o, type BackendConfig as p, type BackendType as q, type InsertOf as r, type IntrospectionColumn as s, type IntrospectionInspectOptions as t, type IntrospectionRelation as u, type IntrospectionSchema as v, type IntrospectionTable as w, type IntrospectionTypeKind as x, type ModelColumnKind as y, type ModelColumnMetadata as z };
|
|
@@ -113,6 +113,9 @@ interface AthenaRpcPayload<TArgs = AthenaJsonObject> {
|
|
|
113
113
|
offset?: number;
|
|
114
114
|
order?: AthenaRpcOrder;
|
|
115
115
|
}
|
|
116
|
+
interface AthenaQueryPayload {
|
|
117
|
+
query: string;
|
|
118
|
+
}
|
|
116
119
|
/** Backend type for Athena client (aligns with athena-rs) */
|
|
117
120
|
type BackendType = 'athena' | 'postgrest' | 'postgresql' | 'scylladb';
|
|
118
121
|
/** Backend config: type from SDK + backend-scoped options */
|
|
@@ -421,4 +424,4 @@ interface SchemaIntrospectionProvider {
|
|
|
421
424
|
inspect(options?: IntrospectionInspectOptions): Promise<IntrospectionSnapshot>;
|
|
422
425
|
}
|
|
423
426
|
|
|
424
|
-
export { type
|
|
427
|
+
export { type AthenaGatewayMethod as $, type AthenaConditionCastType as A, Backend as B, type ModelDef as C, type DatabaseDef as D, type ModelMetadata as E, type ModelRelationKind as F, type ModelRelationMetadata as G, type RowOf as H, type IntrospectionSnapshot as I, type SchemaDef as J, type TenantContextValue as K, type TenantKeyMap as L, type ModelAt as M, type AnyModelDef as N, type AthenaGatewayHookConfig as O, type AthenaGatewayHookResult as P, type AthenaDeletePayload as Q, type RegistryDef as R, type SchemaIntrospectionProvider as S, type TenantContext as T, type UpdateOf as U, type AthenaFetchPayload as V, type AthenaGatewayResponse as W, type AthenaInsertPayload as X, type AthenaUpdatePayload as Y, type AthenaQueryPayload as Z, type AthenaGatewayEndpointPath as _, type AthenaGatewayCallOptions as a, type AthenaConditionValue as a0, type AthenaConditionArrayValue as a1, type AthenaGatewayCondition as a2, type AthenaSortBy as a3, type AthenaConditionOperator as a4, 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 AthenaModelTarget as j, type AthenaRpcCallOptions as k, type AthenaRpcFilter as l, type AthenaRpcFilterOperator as m, type AthenaRpcOrder as n, type AthenaRpcPayload as o, type BackendConfig as p, type BackendType as q, type InsertOf as r, type IntrospectionColumn as s, type IntrospectionInspectOptions as t, type IntrospectionRelation as u, type IntrospectionSchema as v, type IntrospectionTable as w, type IntrospectionTypeKind as x, type ModelColumnKind as y, type ModelColumnMetadata as z };
|
package/package.json
CHANGED
|
@@ -38,71 +38,41 @@
|
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|
|
40
40
|
".": {
|
|
41
|
+
"types": "./dist/index.d.ts",
|
|
41
42
|
"browser": {
|
|
42
|
-
"
|
|
43
|
-
"import":
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
"require": {
|
|
48
|
-
"default": "./dist/browser.cjs",
|
|
49
|
-
"types": "./dist/browser.d.cts"
|
|
50
|
-
}
|
|
43
|
+
"types": "./dist/browser.d.ts",
|
|
44
|
+
"import": "./dist/browser.js",
|
|
45
|
+
"require": "./dist/browser.cjs",
|
|
46
|
+
"default": "./dist/browser.js"
|
|
51
47
|
},
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
"types": "./dist/index.d.ts"
|
|
56
|
-
},
|
|
57
|
-
"require": {
|
|
58
|
-
"default": "./dist/index.cjs",
|
|
59
|
-
"types": "./dist/index.d.cts"
|
|
60
|
-
}
|
|
48
|
+
"import": "./dist/index.js",
|
|
49
|
+
"require": "./dist/index.cjs",
|
|
50
|
+
"default": "./dist/index.js"
|
|
61
51
|
},
|
|
62
52
|
"./browser": {
|
|
63
|
-
"
|
|
64
|
-
"import":
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
},
|
|
68
|
-
"require": {
|
|
69
|
-
"default": "./dist/browser.cjs",
|
|
70
|
-
"types": "./dist/browser.d.cts"
|
|
71
|
-
}
|
|
53
|
+
"types": "./dist/browser.d.ts",
|
|
54
|
+
"import": "./dist/browser.js",
|
|
55
|
+
"require": "./dist/browser.cjs",
|
|
56
|
+
"default": "./dist/browser.js"
|
|
72
57
|
},
|
|
73
58
|
"./cookies": {
|
|
74
|
-
"
|
|
75
|
-
"import":
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
},
|
|
79
|
-
"require": {
|
|
80
|
-
"default": "./dist/cookies.cjs",
|
|
81
|
-
"types": "./dist/cookies.d.cts"
|
|
82
|
-
}
|
|
59
|
+
"types": "./dist/cookies.d.ts",
|
|
60
|
+
"import": "./dist/cookies.js",
|
|
61
|
+
"require": "./dist/cookies.cjs",
|
|
62
|
+
"default": "./dist/cookies.js"
|
|
83
63
|
},
|
|
84
64
|
"./package.json": "./package.json",
|
|
85
65
|
"./react": {
|
|
86
|
-
"
|
|
87
|
-
"import":
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
},
|
|
91
|
-
"require": {
|
|
92
|
-
"default": "./dist/react.cjs",
|
|
93
|
-
"types": "./dist/react.d.cts"
|
|
94
|
-
}
|
|
66
|
+
"types": "./dist/react.d.ts",
|
|
67
|
+
"import": "./dist/react.js",
|
|
68
|
+
"require": "./dist/react.cjs",
|
|
69
|
+
"default": "./dist/react.js"
|
|
95
70
|
},
|
|
96
71
|
"./utils": {
|
|
97
|
-
"
|
|
98
|
-
"import":
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
"require": {
|
|
103
|
-
"default": "./dist/utils.cjs",
|
|
104
|
-
"types": "./dist/utils.d.cts"
|
|
105
|
-
}
|
|
72
|
+
"types": "./dist/utils.d.ts",
|
|
73
|
+
"import": "./dist/utils.js",
|
|
74
|
+
"require": "./dist/utils.cjs",
|
|
75
|
+
"default": "./dist/utils.js"
|
|
106
76
|
}
|
|
107
77
|
},
|
|
108
78
|
"files": [
|
|
@@ -190,5 +160,5 @@
|
|
|
190
160
|
]
|
|
191
161
|
}
|
|
192
162
|
},
|
|
193
|
-
"version": "2.8.
|
|
194
|
-
}
|
|
163
|
+
"version": "2.8.2"
|
|
164
|
+
}
|