@xylex-group/athena 2.8.2 → 2.9.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 +154 -64
- package/dist/browser.cjs +636 -21
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +8 -7
- package/dist/browser.d.ts +8 -7
- package/dist/browser.js +630 -22
- package/dist/browser.js.map +1 -1
- package/dist/cli/index.cjs +591 -29
- 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 +591 -29
- package/dist/cli/index.js.map +1 -1
- package/dist/{model-form-Cx3wtvi8.d.ts → client-CfAE_QOj.d.cts} +101 -97
- package/dist/{model-form-_ugfOXao.d.cts → client-D6EIJdQS.d.ts} +101 -97
- package/dist/index.cjs +714 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +708 -42
- package/dist/index.js.map +1 -1
- package/dist/model-form-ByvyyvxB.d.ts +96 -0
- package/dist/model-form-DACdBLYG.d.cts +96 -0
- package/dist/next/client.cjs +7875 -0
- package/dist/next/client.cjs.map +1 -0
- package/dist/next/client.d.cts +25 -0
- package/dist/next/client.d.ts +25 -0
- package/dist/next/client.js +7873 -0
- package/dist/next/client.js.map +1 -0
- package/dist/next/server.cjs +7993 -0
- package/dist/next/server.cjs.map +1 -0
- package/dist/next/server.d.cts +52 -0
- package/dist/next/server.d.ts +52 -0
- package/dist/next/server.js +7990 -0
- package/dist/next/server.js.map +1 -0
- package/dist/{pipeline-BtD-Uo5X.d.cts → pipeline-CmUZsXsi.d.cts} +1 -1
- package/dist/{pipeline-yCIZNJHE.d.ts → pipeline-DZMsPxUg.d.ts} +1 -1
- package/dist/{react-email-CiiSVa9F.d.cts → react-email-BvJ3fj_F.d.cts} +35 -5
- package/dist/{react-email-WN8UU3AL.d.ts → react-email-PLAJuZuO.d.ts} +35 -5
- package/dist/react.cjs +30 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +39 -10
- package/dist/react.d.ts +39 -10
- package/dist/react.js +30 -2
- package/dist/react.js.map +1 -1
- package/dist/shared-BW6hoLBY.d.cts +33 -0
- package/dist/shared-BiJvoURI.d.ts +33 -0
- package/dist/{types-g8G6J0xE.d.cts → types-BeZIHduP.d.cts} +2 -1
- package/dist/{types-g8G6J0xE.d.ts → types-BeZIHduP.d.ts} +2 -1
- package/dist/{types-C2kiTt6-.d.ts → types-C-YvfgYh.d.cts} +26 -2
- package/dist/{types-89EfjLjV.d.cts → types-CRjDwmtJ.d.ts} +26 -2
- package/package.json +32 -14
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { aA as AthenaCreateClientAuthOptions, as as AthenaClientExperimentalOptions, b0 as AthenaHeaderBag } from './client-CfAE_QOj.cjs';
|
|
2
|
+
import { p as BackendConfig, q as BackendType } from './types-BeZIHduP.cjs';
|
|
3
|
+
|
|
4
|
+
interface AthenaRequestCookiesBag {
|
|
5
|
+
getAll(): Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
type AthenaRequestHeadersInput = AthenaHeaderBag | Record<string, string | null | undefined>;
|
|
11
|
+
type AthenaRequestCookiesInput = AthenaRequestCookiesBag | string | null | undefined;
|
|
12
|
+
type AthenaAdapterExperimentalOptions = Omit<AthenaClientExperimentalOptions, 'athenaStorageBackend'>;
|
|
13
|
+
interface AthenaAdapterBaseOptions {
|
|
14
|
+
env?: Record<string, string | undefined>;
|
|
15
|
+
url?: string | null | undefined;
|
|
16
|
+
gatewayUrl?: string | null | undefined;
|
|
17
|
+
authUrl?: string | null | undefined;
|
|
18
|
+
storageUrl?: string | null | undefined;
|
|
19
|
+
key?: string | null | undefined;
|
|
20
|
+
client?: string | null | undefined;
|
|
21
|
+
backend?: BackendConfig | BackendType;
|
|
22
|
+
headers?: Record<string, string>;
|
|
23
|
+
auth?: AthenaCreateClientAuthOptions;
|
|
24
|
+
forceNoCache?: boolean;
|
|
25
|
+
storage?: boolean;
|
|
26
|
+
experimental?: AthenaAdapterExperimentalOptions;
|
|
27
|
+
}
|
|
28
|
+
interface AthenaServerRequestOptions {
|
|
29
|
+
requestHeaders?: AthenaRequestHeadersInput;
|
|
30
|
+
requestCookies?: AthenaRequestCookiesInput;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type { AthenaAdapterBaseOptions as A, AthenaAdapterExperimentalOptions as a, AthenaServerRequestOptions as b };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { aA as AthenaCreateClientAuthOptions, as as AthenaClientExperimentalOptions, b0 as AthenaHeaderBag } from './client-D6EIJdQS.js';
|
|
2
|
+
import { p as BackendConfig, q as BackendType } from './types-BeZIHduP.js';
|
|
3
|
+
|
|
4
|
+
interface AthenaRequestCookiesBag {
|
|
5
|
+
getAll(): Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
type AthenaRequestHeadersInput = AthenaHeaderBag | Record<string, string | null | undefined>;
|
|
11
|
+
type AthenaRequestCookiesInput = AthenaRequestCookiesBag | string | null | undefined;
|
|
12
|
+
type AthenaAdapterExperimentalOptions = Omit<AthenaClientExperimentalOptions, 'athenaStorageBackend'>;
|
|
13
|
+
interface AthenaAdapterBaseOptions {
|
|
14
|
+
env?: Record<string, string | undefined>;
|
|
15
|
+
url?: string | null | undefined;
|
|
16
|
+
gatewayUrl?: string | null | undefined;
|
|
17
|
+
authUrl?: string | null | undefined;
|
|
18
|
+
storageUrl?: string | null | undefined;
|
|
19
|
+
key?: string | null | undefined;
|
|
20
|
+
client?: string | null | undefined;
|
|
21
|
+
backend?: BackendConfig | BackendType;
|
|
22
|
+
headers?: Record<string, string>;
|
|
23
|
+
auth?: AthenaCreateClientAuthOptions;
|
|
24
|
+
forceNoCache?: boolean;
|
|
25
|
+
storage?: boolean;
|
|
26
|
+
experimental?: AthenaAdapterExperimentalOptions;
|
|
27
|
+
}
|
|
28
|
+
interface AthenaServerRequestOptions {
|
|
29
|
+
requestHeaders?: AthenaRequestHeadersInput;
|
|
30
|
+
requestCookies?: AthenaRequestCookiesInput;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type { AthenaAdapterBaseOptions as A, AthenaAdapterExperimentalOptions as a, AthenaServerRequestOptions as b };
|
|
@@ -145,6 +145,7 @@ interface AthenaGatewayBaseOptions {
|
|
|
145
145
|
client?: string;
|
|
146
146
|
backend?: BackendOption;
|
|
147
147
|
publishEvent?: string;
|
|
148
|
+
forceNoCache?: boolean;
|
|
148
149
|
headers?: Record<string, string>;
|
|
149
150
|
userId?: string | null;
|
|
150
151
|
organizationId?: string | null;
|
|
@@ -424,4 +425,4 @@ interface SchemaIntrospectionProvider {
|
|
|
424
425
|
inspect(options?: IntrospectionInspectOptions): Promise<IntrospectionSnapshot>;
|
|
425
426
|
}
|
|
426
427
|
|
|
427
|
-
export { type
|
|
428
|
+
export { type AthenaQueryPayload 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 AthenaGatewayEndpointPath as Z, type AthenaGatewayMethod 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 };
|
|
@@ -145,6 +145,7 @@ interface AthenaGatewayBaseOptions {
|
|
|
145
145
|
client?: string;
|
|
146
146
|
backend?: BackendOption;
|
|
147
147
|
publishEvent?: string;
|
|
148
|
+
forceNoCache?: boolean;
|
|
148
149
|
headers?: Record<string, string>;
|
|
149
150
|
userId?: string | null;
|
|
150
151
|
organizationId?: string | null;
|
|
@@ -424,4 +425,4 @@ interface SchemaIntrospectionProvider {
|
|
|
424
425
|
inspect(options?: IntrospectionInspectOptions): Promise<IntrospectionSnapshot>;
|
|
425
426
|
}
|
|
426
427
|
|
|
427
|
-
export { type
|
|
428
|
+
export { type AthenaQueryPayload 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 AthenaGatewayEndpointPath as Z, type AthenaGatewayMethod 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 };
|
|
@@ -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-BeZIHduP.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Supported case transformations for generated symbols and path token variants.
|
|
@@ -51,12 +51,14 @@ interface GeneratorOutputTargets {
|
|
|
51
51
|
database: string;
|
|
52
52
|
registry: string;
|
|
53
53
|
}
|
|
54
|
+
type GeneratorOutputPreset = 'legacy' | 'athena-direct';
|
|
54
55
|
type GeneratorOutputFormat = 'define-model' | 'table-builder';
|
|
55
56
|
/**
|
|
56
57
|
* Output configuration including dynamic placeholder aliases.
|
|
57
58
|
*/
|
|
58
59
|
interface GeneratorOutputConfig {
|
|
59
60
|
format?: GeneratorOutputFormat;
|
|
61
|
+
preset?: GeneratorOutputPreset;
|
|
60
62
|
targets?: Partial<GeneratorOutputTargets>;
|
|
61
63
|
placeholderMap?: Record<string, string>;
|
|
62
64
|
}
|
|
@@ -65,6 +67,7 @@ interface GeneratorOutputConfig {
|
|
|
65
67
|
*/
|
|
66
68
|
interface NormalizedGeneratorOutputConfig {
|
|
67
69
|
format: GeneratorOutputFormat;
|
|
70
|
+
preset: GeneratorOutputPreset;
|
|
68
71
|
targets: GeneratorOutputTargets;
|
|
69
72
|
placeholderMap: Record<string, string>;
|
|
70
73
|
}
|
|
@@ -73,6 +76,18 @@ interface NormalizedGeneratorOutputConfig {
|
|
|
73
76
|
* to support env-driven configs such as `process.env.GENERATOR_SCHEMAS`.
|
|
74
77
|
*/
|
|
75
78
|
type GeneratorSchemaSelection = string | readonly string[];
|
|
79
|
+
type GeneratorTableSelection = string | readonly string[];
|
|
80
|
+
/**
|
|
81
|
+
* Optional generator-side table filters used to keep the emitted surface small.
|
|
82
|
+
*/
|
|
83
|
+
interface GeneratorFilterConfig {
|
|
84
|
+
includeTables?: GeneratorTableSelection;
|
|
85
|
+
excludeTables?: GeneratorTableSelection;
|
|
86
|
+
}
|
|
87
|
+
interface NormalizedGeneratorFilterConfig {
|
|
88
|
+
includeTables: string[];
|
|
89
|
+
excludeTables: string[];
|
|
90
|
+
}
|
|
76
91
|
/**
|
|
77
92
|
* Direct PostgreSQL introspection mode (implemented).
|
|
78
93
|
*/
|
|
@@ -137,6 +152,7 @@ interface AthenaGeneratorConfig {
|
|
|
137
152
|
provider: GeneratorProviderInputConfig;
|
|
138
153
|
output?: GeneratorOutputConfig;
|
|
139
154
|
naming?: Partial<GeneratorNamingConfig>;
|
|
155
|
+
filter?: GeneratorFilterConfig;
|
|
140
156
|
features?: Partial<GeneratorFeatureFlags>;
|
|
141
157
|
experimental?: Partial<GeneratorExperimentalFlags>;
|
|
142
158
|
}
|
|
@@ -147,6 +163,7 @@ interface NormalizedAthenaGeneratorConfig {
|
|
|
147
163
|
provider: GeneratorProviderConfig;
|
|
148
164
|
output: NormalizedGeneratorOutputConfig;
|
|
149
165
|
naming: GeneratorNamingConfig;
|
|
166
|
+
filter: NormalizedGeneratorFilterConfig;
|
|
150
167
|
features: GeneratorFeatureFlags;
|
|
151
168
|
experimental: GeneratorExperimentalFlags;
|
|
152
169
|
internal: GeneratorInternalConfig;
|
|
@@ -197,6 +214,13 @@ interface RunGeneratorResult extends GeneratedArtifacts {
|
|
|
197
214
|
configPath: string;
|
|
198
215
|
config: NormalizedAthenaGeneratorConfig;
|
|
199
216
|
writtenFiles: string[];
|
|
217
|
+
skippedFiles: SkippedGeneratedArtifact[];
|
|
218
|
+
}
|
|
219
|
+
type SkippedGeneratedArtifactReason = 'protected-existing-file';
|
|
220
|
+
interface SkippedGeneratedArtifact {
|
|
221
|
+
kind: GeneratorArtifactKind;
|
|
222
|
+
path: string;
|
|
223
|
+
reason: SkippedGeneratedArtifactReason;
|
|
200
224
|
}
|
|
201
225
|
|
|
202
|
-
export type { AthenaGeneratorConfig as A, GeneratedArtifacts as G, LoadGeneratorConfigOptions as L, NormalizedAthenaGeneratorConfig as N, RunGeneratorOptions as R, LoadedGeneratorConfig as a, GeneratorProviderConfig as b, GeneratorExperimentalFlags as c, GeneratedArtifact as d, GeneratorArtifactKind as e, GeneratorFeatureFlags as f,
|
|
226
|
+
export type { AthenaGeneratorConfig as A, GeneratedArtifacts as G, LoadGeneratorConfigOptions as L, NormalizedAthenaGeneratorConfig as N, RunGeneratorOptions as R, SkippedGeneratedArtifact as S, LoadedGeneratorConfig as a, GeneratorProviderConfig as b, GeneratorExperimentalFlags as c, GeneratedArtifact as d, GeneratorArtifactKind as e, GeneratorFeatureFlags as f, GeneratorFilterConfig as g, GeneratorInternalConfig as h, GeneratorNamingConfig as i, GeneratorOutputConfig as j, GeneratorOutputFormat as k, GeneratorOutputPreset as l, GeneratorOutputTargets as m, GeneratorSchemaSelection as n, GeneratorTableSelection as o, NamingStyle as p, NormalizedGeneratorFilterConfig as q, NormalizedGeneratorOutputConfig as r, RunGeneratorResult as s, SkippedGeneratedArtifactReason as t };
|
|
@@ -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-BeZIHduP.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Supported case transformations for generated symbols and path token variants.
|
|
@@ -51,12 +51,14 @@ interface GeneratorOutputTargets {
|
|
|
51
51
|
database: string;
|
|
52
52
|
registry: string;
|
|
53
53
|
}
|
|
54
|
+
type GeneratorOutputPreset = 'legacy' | 'athena-direct';
|
|
54
55
|
type GeneratorOutputFormat = 'define-model' | 'table-builder';
|
|
55
56
|
/**
|
|
56
57
|
* Output configuration including dynamic placeholder aliases.
|
|
57
58
|
*/
|
|
58
59
|
interface GeneratorOutputConfig {
|
|
59
60
|
format?: GeneratorOutputFormat;
|
|
61
|
+
preset?: GeneratorOutputPreset;
|
|
60
62
|
targets?: Partial<GeneratorOutputTargets>;
|
|
61
63
|
placeholderMap?: Record<string, string>;
|
|
62
64
|
}
|
|
@@ -65,6 +67,7 @@ interface GeneratorOutputConfig {
|
|
|
65
67
|
*/
|
|
66
68
|
interface NormalizedGeneratorOutputConfig {
|
|
67
69
|
format: GeneratorOutputFormat;
|
|
70
|
+
preset: GeneratorOutputPreset;
|
|
68
71
|
targets: GeneratorOutputTargets;
|
|
69
72
|
placeholderMap: Record<string, string>;
|
|
70
73
|
}
|
|
@@ -73,6 +76,18 @@ interface NormalizedGeneratorOutputConfig {
|
|
|
73
76
|
* to support env-driven configs such as `process.env.GENERATOR_SCHEMAS`.
|
|
74
77
|
*/
|
|
75
78
|
type GeneratorSchemaSelection = string | readonly string[];
|
|
79
|
+
type GeneratorTableSelection = string | readonly string[];
|
|
80
|
+
/**
|
|
81
|
+
* Optional generator-side table filters used to keep the emitted surface small.
|
|
82
|
+
*/
|
|
83
|
+
interface GeneratorFilterConfig {
|
|
84
|
+
includeTables?: GeneratorTableSelection;
|
|
85
|
+
excludeTables?: GeneratorTableSelection;
|
|
86
|
+
}
|
|
87
|
+
interface NormalizedGeneratorFilterConfig {
|
|
88
|
+
includeTables: string[];
|
|
89
|
+
excludeTables: string[];
|
|
90
|
+
}
|
|
76
91
|
/**
|
|
77
92
|
* Direct PostgreSQL introspection mode (implemented).
|
|
78
93
|
*/
|
|
@@ -137,6 +152,7 @@ interface AthenaGeneratorConfig {
|
|
|
137
152
|
provider: GeneratorProviderInputConfig;
|
|
138
153
|
output?: GeneratorOutputConfig;
|
|
139
154
|
naming?: Partial<GeneratorNamingConfig>;
|
|
155
|
+
filter?: GeneratorFilterConfig;
|
|
140
156
|
features?: Partial<GeneratorFeatureFlags>;
|
|
141
157
|
experimental?: Partial<GeneratorExperimentalFlags>;
|
|
142
158
|
}
|
|
@@ -147,6 +163,7 @@ interface NormalizedAthenaGeneratorConfig {
|
|
|
147
163
|
provider: GeneratorProviderConfig;
|
|
148
164
|
output: NormalizedGeneratorOutputConfig;
|
|
149
165
|
naming: GeneratorNamingConfig;
|
|
166
|
+
filter: NormalizedGeneratorFilterConfig;
|
|
150
167
|
features: GeneratorFeatureFlags;
|
|
151
168
|
experimental: GeneratorExperimentalFlags;
|
|
152
169
|
internal: GeneratorInternalConfig;
|
|
@@ -197,6 +214,13 @@ interface RunGeneratorResult extends GeneratedArtifacts {
|
|
|
197
214
|
configPath: string;
|
|
198
215
|
config: NormalizedAthenaGeneratorConfig;
|
|
199
216
|
writtenFiles: string[];
|
|
217
|
+
skippedFiles: SkippedGeneratedArtifact[];
|
|
218
|
+
}
|
|
219
|
+
type SkippedGeneratedArtifactReason = 'protected-existing-file';
|
|
220
|
+
interface SkippedGeneratedArtifact {
|
|
221
|
+
kind: GeneratorArtifactKind;
|
|
222
|
+
path: string;
|
|
223
|
+
reason: SkippedGeneratedArtifactReason;
|
|
200
224
|
}
|
|
201
225
|
|
|
202
|
-
export type { AthenaGeneratorConfig as A, GeneratedArtifacts as G, LoadGeneratorConfigOptions as L, NormalizedAthenaGeneratorConfig as N, RunGeneratorOptions as R, LoadedGeneratorConfig as a, GeneratorProviderConfig as b, GeneratorExperimentalFlags as c, GeneratedArtifact as d, GeneratorArtifactKind as e, GeneratorFeatureFlags as f,
|
|
226
|
+
export type { AthenaGeneratorConfig as A, GeneratedArtifacts as G, LoadGeneratorConfigOptions as L, NormalizedAthenaGeneratorConfig as N, RunGeneratorOptions as R, SkippedGeneratedArtifact as S, LoadedGeneratorConfig as a, GeneratorProviderConfig as b, GeneratorExperimentalFlags as c, GeneratedArtifact as d, GeneratorArtifactKind as e, GeneratorFeatureFlags as f, GeneratorFilterConfig as g, GeneratorInternalConfig as h, GeneratorNamingConfig as i, GeneratorOutputConfig as j, GeneratorOutputFormat as k, GeneratorOutputPreset as l, GeneratorOutputTargets as m, GeneratorSchemaSelection as n, GeneratorTableSelection as o, NamingStyle as p, NormalizedGeneratorFilterConfig as q, NormalizedGeneratorOutputConfig as r, RunGeneratorResult as s, SkippedGeneratedArtifactReason as t };
|
package/package.json
CHANGED
|
@@ -38,41 +38,53 @@
|
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|
|
40
40
|
".": {
|
|
41
|
-
"types": "./dist/index.d.ts",
|
|
42
41
|
"browser": {
|
|
43
|
-
"
|
|
42
|
+
"default": "./dist/browser.js",
|
|
44
43
|
"import": "./dist/browser.js",
|
|
45
44
|
"require": "./dist/browser.cjs",
|
|
46
|
-
"
|
|
45
|
+
"types": "./dist/browser.d.ts"
|
|
47
46
|
},
|
|
47
|
+
"default": "./dist/index.js",
|
|
48
48
|
"import": "./dist/index.js",
|
|
49
49
|
"require": "./dist/index.cjs",
|
|
50
|
-
"
|
|
50
|
+
"types": "./dist/index.d.ts"
|
|
51
51
|
},
|
|
52
52
|
"./browser": {
|
|
53
|
-
"
|
|
53
|
+
"default": "./dist/browser.js",
|
|
54
54
|
"import": "./dist/browser.js",
|
|
55
55
|
"require": "./dist/browser.cjs",
|
|
56
|
-
"
|
|
56
|
+
"types": "./dist/browser.d.ts"
|
|
57
57
|
},
|
|
58
58
|
"./cookies": {
|
|
59
|
-
"
|
|
59
|
+
"default": "./dist/cookies.js",
|
|
60
60
|
"import": "./dist/cookies.js",
|
|
61
61
|
"require": "./dist/cookies.cjs",
|
|
62
|
-
"
|
|
62
|
+
"types": "./dist/cookies.d.ts"
|
|
63
|
+
},
|
|
64
|
+
"./next/client": {
|
|
65
|
+
"default": "./dist/next/client.js",
|
|
66
|
+
"import": "./dist/next/client.js",
|
|
67
|
+
"require": "./dist/next/client.cjs",
|
|
68
|
+
"types": "./dist/next/client.d.ts"
|
|
69
|
+
},
|
|
70
|
+
"./next/server": {
|
|
71
|
+
"default": "./dist/next/server.js",
|
|
72
|
+
"import": "./dist/next/server.js",
|
|
73
|
+
"require": "./dist/next/server.cjs",
|
|
74
|
+
"types": "./dist/next/server.d.ts"
|
|
63
75
|
},
|
|
64
76
|
"./package.json": "./package.json",
|
|
65
77
|
"./react": {
|
|
66
|
-
"
|
|
78
|
+
"default": "./dist/react.js",
|
|
67
79
|
"import": "./dist/react.js",
|
|
68
80
|
"require": "./dist/react.cjs",
|
|
69
|
-
"
|
|
81
|
+
"types": "./dist/react.d.ts"
|
|
70
82
|
},
|
|
71
83
|
"./utils": {
|
|
72
|
-
"
|
|
84
|
+
"default": "./dist/utils.js",
|
|
73
85
|
"import": "./dist/utils.js",
|
|
74
86
|
"require": "./dist/utils.cjs",
|
|
75
|
-
"
|
|
87
|
+
"types": "./dist/utils.d.ts"
|
|
76
88
|
}
|
|
77
89
|
},
|
|
78
90
|
"files": [
|
|
@@ -152,6 +164,12 @@
|
|
|
152
164
|
"cookies": [
|
|
153
165
|
"dist/cookies.d.ts"
|
|
154
166
|
],
|
|
167
|
+
"next/client": [
|
|
168
|
+
"dist/next/client.d.ts"
|
|
169
|
+
],
|
|
170
|
+
"next/server": [
|
|
171
|
+
"dist/next/server.d.ts"
|
|
172
|
+
],
|
|
155
173
|
"react": [
|
|
156
174
|
"dist/react.d.ts"
|
|
157
175
|
],
|
|
@@ -160,5 +178,5 @@
|
|
|
160
178
|
]
|
|
161
179
|
}
|
|
162
180
|
},
|
|
163
|
-
"version": "2.
|
|
164
|
-
}
|
|
181
|
+
"version": "2.9.0"
|
|
182
|
+
}
|