@xylex-group/athena 2.0.0 → 2.1.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 +47 -26
- package/dist/browser.cjs +3319 -0
- package/dist/browser.cjs.map +1 -0
- package/dist/browser.d.cts +25 -0
- package/dist/browser.d.ts +25 -0
- package/dist/browser.js +3276 -0
- package/dist/browser.js.map +1 -0
- package/dist/cli/index.cjs +599 -119
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +3 -2
- package/dist/cli/index.d.ts +3 -2
- package/dist/cli/index.js +600 -120
- package/dist/cli/index.js.map +1 -1
- package/dist/client-BX0NQqOn.d.ts +435 -0
- package/dist/client-dpAp-NZK.d.cts +435 -0
- package/dist/cookies.cjs +890 -0
- package/dist/cookies.cjs.map +1 -0
- package/dist/cookies.d.cts +174 -0
- package/dist/cookies.d.ts +174 -0
- package/dist/cookies.js +869 -0
- package/dist/cookies.js.map +1 -0
- package/dist/index.cjs +1378 -1023
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -408
- package/dist/index.d.ts +8 -408
- package/dist/index.js +1379 -1024
- package/dist/index.js.map +1 -1
- package/dist/{model-form-CVOtC8jq.d.ts → model-form-2hqmoOUX.d.ts} +2 -2
- package/dist/{model-form-hXkvHS_3.d.cts → model-form-Cy-zaO0u.d.cts} +2 -2
- package/dist/pipeline-BOPszLsL.d.ts +8 -0
- package/dist/pipeline-E3FDbs4W.d.cts +8 -0
- package/dist/react.d.cts +4 -4
- package/dist/react.d.ts +4 -4
- package/dist/{types-BnzoaNRC.d.cts → types-BaBzjwXr.d.cts} +1 -1
- package/dist/{types-BnzoaNRC.d.ts → types-BaBzjwXr.d.ts} +1 -1
- package/dist/{pipeline-CQgV-Yfo.d.ts → types-CeBPrnGj.d.ts} +2 -7
- package/dist/{pipeline-C-cN0ACi.d.cts → types-CpqL-pZx.d.cts} +2 -7
- package/package.json +21 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { P as PostgresIntrospectionProviderOptions } from './client-dpAp-NZK.cjs';
|
|
2
|
+
export { A as AthenaClient, a as AthenaClientExperimentalOptions, b as AthenaCreateClientOptions, c as AthenaDbModule, d as AthenaError, e as AthenaErrorCategory, f as AthenaErrorCode, g as AthenaErrorInput, h as AthenaErrorKind, i as AthenaOperationContext, j as AthenaResult, k as AthenaSdkClient, l as AthenaSdkClientWithAuth, D as DEFAULT_POSTGRES_SCHEMAS, I as IntCoercionOptions, N as NormalizedAthenaError, R as RequireAffectedOptions, m as RetryBackoffStrategy, n as RetryConfig, o as RpcOrderOptions, p as RpcQueryBuilder, T as TableQueryBuilder, q as TypedAthenaClient, r as TypedClientOptions, U as UnwrapOneOptions, s as UnwrapOptions, t as assertInt, u as coerceInt, v as createAuthClient, w as createClient, y as createTypedClient, z as defineDatabase, B as defineModel, C as defineRegistry, E as defineSchema, F as identifier, G as isOk, H as normalizeAthenaError, J as normalizeSchemaSelection, K as parseBooleanFlag, L as requireAffected, M as requireSuccess, O as resolvePostgresColumnType, Q as resolveProviderSchemas, S as unwrap, V as unwrapOne, W as unwrapRows, X as withRetry } from './client-dpAp-NZK.cjs';
|
|
3
|
+
import { S as SchemaIntrospectionProvider, I as IntrospectionSnapshot } from './types-BaBzjwXr.cjs';
|
|
4
|
+
export { A as AthenaConditionCastType, a as AthenaGatewayCallOptions, b as AthenaGatewayErrorCode, c as AthenaGatewayErrorDetails, d as AthenaJsonArray, e as AthenaJsonObject, f as AthenaJsonPrimitive, g as AthenaJsonValue, h as AthenaRpcCallOptions, i as AthenaRpcFilter, j as AthenaRpcFilterOperator, k as AthenaRpcOrder, l as AthenaRpcPayload, B as Backend, m as BackendConfig, n as BackendType, D as DatabaseDef, o as InsertOf, p as IntrospectionColumn, q as IntrospectionInspectOptions, r as IntrospectionRelation, s as IntrospectionSchema, t as IntrospectionTable, u as IntrospectionTypeKind, M as ModelAt, v as ModelDef, w as ModelMetadata, x as ModelRelationKind, y as ModelRelationMetadata, R as RegistryDef, z as RowOf, C as SchemaDef, T as TenantContext, E as TenantContextValue, F as TenantKeyMap, U as UpdateOf } from './types-BaBzjwXr.cjs';
|
|
5
|
+
export { A as AthenaAuthAdminUserSessionRevokeBinding, a as AthenaAuthBindings, b as AthenaAuthCallOptions, c as AthenaAuthClientConfig, d as AthenaAuthCredentials, e as AthenaAuthEmailChangeResponse, f as AthenaAuthEndpointPath, g as AthenaAuthErrorCode, h as AthenaAuthErrorDetails, i as AthenaAuthGenericInput, j as AthenaAuthGenericQueryInput, k as AthenaAuthLinkedAccount, l as AthenaAuthMethod, m as AthenaAuthOrganization, n as AthenaAuthOrganizationBindings, o as AthenaAuthOrganizationInvitation, p as AthenaAuthOrganizationMember, q as AthenaAuthQueryPrimitive, r as AthenaAuthQueryValue, s as AthenaAuthRequestInput, t as AthenaAuthResetPasswordBinding, u as AthenaAuthResult, v as AthenaAuthRevokeSessionRequest, w as AthenaAuthSdkClient, x as AthenaAuthSession, y as AthenaAuthSessionResponse, z as AthenaAuthSessionRevokeBinding, B as AthenaAuthSignInResponse, C as AthenaAuthSignOutResponse, D as AthenaAuthSocialRedirectResponse, E as AthenaAuthStatusResponse, F as AthenaAuthUser, G as AthenaChangeEmailRequest, H as AthenaChangePasswordRequest, I as AthenaDeleteUserCallbackRequest, J as AthenaDeleteUserRequest, K as AthenaDeleteUserResponse, L as AthenaEmailSignInRequest, M as AthenaEmailSignUpRequest, N as AthenaForgetPasswordRequest, O as AthenaGatewayError, P as AthenaLinkSocialRequest, Q as AthenaOAuthAccountTokenRequest, R as AthenaOAuthTokenBundle, S as AthenaResetPasswordRequest, T as AthenaSendVerificationEmailRequest, U as AthenaSocialSignInRequest, V as AthenaUnlinkAccountRequest, W as AthenaUpdateUserRequest, X as AthenaUsernameSignInRequest, Y as AthenaVerifyEmailRequest, Z as ModelFormAdapter, _ as ModelFormDefaults, $ as ModelFormNullishMode, a0 as ModelFormValues, a1 as ToModelFormDefaultsOptions, a2 as ToModelPayloadOptions, a3 as createModelFormAdapter, a4 as isAthenaGatewayError, a5 as toModelFormDefaults, a6 as toModelPayload } from './model-form-Cy-zaO0u.cjs';
|
|
6
|
+
import { A as AthenaGeneratorConfig, N as NormalizedAthenaGeneratorConfig, G as GeneratedArtifacts, L as LoadGeneratorConfigOptions, a as LoadedGeneratorConfig, b as GeneratorProviderConfig, c as GeneratorExperimentalFlags, R as RunGeneratorOptions, l as RunGeneratorResult } from './types-CpqL-pZx.cjs';
|
|
7
|
+
export { d as GeneratedArtifact, e as GeneratorArtifactKind, f as GeneratorFeatureFlags, g as GeneratorNamingConfig, h as GeneratorOutputConfig, i as GeneratorOutputTargets, j as GeneratorSchemaSelection, k as NamingStyle } from './types-CpqL-pZx.cjs';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* athena-js browser entry
|
|
11
|
+
*
|
|
12
|
+
* Keeps the root package import browser-safe by avoiding Node-only modules
|
|
13
|
+
* while preserving the existing export surface.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
declare function createPostgresIntrospectionProvider(_options: PostgresIntrospectionProviderOptions): SchemaIntrospectionProvider;
|
|
17
|
+
declare function defineGeneratorConfig<TConfig extends AthenaGeneratorConfig>(config: TConfig): TConfig;
|
|
18
|
+
declare function findGeneratorConfigPath(_cwd?: string): string | undefined;
|
|
19
|
+
declare function loadGeneratorConfig(_options?: LoadGeneratorConfigOptions): Promise<LoadedGeneratorConfig>;
|
|
20
|
+
declare function normalizeGeneratorConfig(_input: AthenaGeneratorConfig): NormalizedAthenaGeneratorConfig;
|
|
21
|
+
declare function generateArtifactsFromSnapshot(_snapshot: IntrospectionSnapshot, _config: AthenaGeneratorConfig | NormalizedAthenaGeneratorConfig): GeneratedArtifacts;
|
|
22
|
+
declare function resolveGeneratorProvider(_providerConfig: GeneratorProviderConfig, _experimentalFlags: GeneratorExperimentalFlags): SchemaIntrospectionProvider;
|
|
23
|
+
declare function runSchemaGenerator(_options?: RunGeneratorOptions): Promise<RunGeneratorResult>;
|
|
24
|
+
|
|
25
|
+
export { AthenaGeneratorConfig, GeneratedArtifacts, GeneratorExperimentalFlags, GeneratorProviderConfig, IntrospectionSnapshot, LoadGeneratorConfigOptions, LoadedGeneratorConfig, NormalizedAthenaGeneratorConfig, PostgresIntrospectionProviderOptions, RunGeneratorOptions, RunGeneratorResult, SchemaIntrospectionProvider, createPostgresIntrospectionProvider, defineGeneratorConfig, findGeneratorConfigPath, generateArtifactsFromSnapshot, loadGeneratorConfig, normalizeGeneratorConfig, resolveGeneratorProvider, runSchemaGenerator };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { P as PostgresIntrospectionProviderOptions } from './client-BX0NQqOn.js';
|
|
2
|
+
export { A as AthenaClient, a as AthenaClientExperimentalOptions, b as AthenaCreateClientOptions, c as AthenaDbModule, d as AthenaError, e as AthenaErrorCategory, f as AthenaErrorCode, g as AthenaErrorInput, h as AthenaErrorKind, i as AthenaOperationContext, j as AthenaResult, k as AthenaSdkClient, l as AthenaSdkClientWithAuth, D as DEFAULT_POSTGRES_SCHEMAS, I as IntCoercionOptions, N as NormalizedAthenaError, R as RequireAffectedOptions, m as RetryBackoffStrategy, n as RetryConfig, o as RpcOrderOptions, p as RpcQueryBuilder, T as TableQueryBuilder, q as TypedAthenaClient, r as TypedClientOptions, U as UnwrapOneOptions, s as UnwrapOptions, t as assertInt, u as coerceInt, v as createAuthClient, w as createClient, y as createTypedClient, z as defineDatabase, B as defineModel, C as defineRegistry, E as defineSchema, F as identifier, G as isOk, H as normalizeAthenaError, J as normalizeSchemaSelection, K as parseBooleanFlag, L as requireAffected, M as requireSuccess, O as resolvePostgresColumnType, Q as resolveProviderSchemas, S as unwrap, V as unwrapOne, W as unwrapRows, X as withRetry } from './client-BX0NQqOn.js';
|
|
3
|
+
import { S as SchemaIntrospectionProvider, I as IntrospectionSnapshot } from './types-BaBzjwXr.js';
|
|
4
|
+
export { A as AthenaConditionCastType, a as AthenaGatewayCallOptions, b as AthenaGatewayErrorCode, c as AthenaGatewayErrorDetails, d as AthenaJsonArray, e as AthenaJsonObject, f as AthenaJsonPrimitive, g as AthenaJsonValue, h as AthenaRpcCallOptions, i as AthenaRpcFilter, j as AthenaRpcFilterOperator, k as AthenaRpcOrder, l as AthenaRpcPayload, B as Backend, m as BackendConfig, n as BackendType, D as DatabaseDef, o as InsertOf, p as IntrospectionColumn, q as IntrospectionInspectOptions, r as IntrospectionRelation, s as IntrospectionSchema, t as IntrospectionTable, u as IntrospectionTypeKind, M as ModelAt, v as ModelDef, w as ModelMetadata, x as ModelRelationKind, y as ModelRelationMetadata, R as RegistryDef, z as RowOf, C as SchemaDef, T as TenantContext, E as TenantContextValue, F as TenantKeyMap, U as UpdateOf } from './types-BaBzjwXr.js';
|
|
5
|
+
export { A as AthenaAuthAdminUserSessionRevokeBinding, a as AthenaAuthBindings, b as AthenaAuthCallOptions, c as AthenaAuthClientConfig, d as AthenaAuthCredentials, e as AthenaAuthEmailChangeResponse, f as AthenaAuthEndpointPath, g as AthenaAuthErrorCode, h as AthenaAuthErrorDetails, i as AthenaAuthGenericInput, j as AthenaAuthGenericQueryInput, k as AthenaAuthLinkedAccount, l as AthenaAuthMethod, m as AthenaAuthOrganization, n as AthenaAuthOrganizationBindings, o as AthenaAuthOrganizationInvitation, p as AthenaAuthOrganizationMember, q as AthenaAuthQueryPrimitive, r as AthenaAuthQueryValue, s as AthenaAuthRequestInput, t as AthenaAuthResetPasswordBinding, u as AthenaAuthResult, v as AthenaAuthRevokeSessionRequest, w as AthenaAuthSdkClient, x as AthenaAuthSession, y as AthenaAuthSessionResponse, z as AthenaAuthSessionRevokeBinding, B as AthenaAuthSignInResponse, C as AthenaAuthSignOutResponse, D as AthenaAuthSocialRedirectResponse, E as AthenaAuthStatusResponse, F as AthenaAuthUser, G as AthenaChangeEmailRequest, H as AthenaChangePasswordRequest, I as AthenaDeleteUserCallbackRequest, J as AthenaDeleteUserRequest, K as AthenaDeleteUserResponse, L as AthenaEmailSignInRequest, M as AthenaEmailSignUpRequest, N as AthenaForgetPasswordRequest, O as AthenaGatewayError, P as AthenaLinkSocialRequest, Q as AthenaOAuthAccountTokenRequest, R as AthenaOAuthTokenBundle, S as AthenaResetPasswordRequest, T as AthenaSendVerificationEmailRequest, U as AthenaSocialSignInRequest, V as AthenaUnlinkAccountRequest, W as AthenaUpdateUserRequest, X as AthenaUsernameSignInRequest, Y as AthenaVerifyEmailRequest, Z as ModelFormAdapter, _ as ModelFormDefaults, $ as ModelFormNullishMode, a0 as ModelFormValues, a1 as ToModelFormDefaultsOptions, a2 as ToModelPayloadOptions, a3 as createModelFormAdapter, a4 as isAthenaGatewayError, a5 as toModelFormDefaults, a6 as toModelPayload } from './model-form-2hqmoOUX.js';
|
|
6
|
+
import { A as AthenaGeneratorConfig, N as NormalizedAthenaGeneratorConfig, G as GeneratedArtifacts, L as LoadGeneratorConfigOptions, a as LoadedGeneratorConfig, b as GeneratorProviderConfig, c as GeneratorExperimentalFlags, R as RunGeneratorOptions, l as RunGeneratorResult } from './types-CeBPrnGj.js';
|
|
7
|
+
export { d as GeneratedArtifact, e as GeneratorArtifactKind, f as GeneratorFeatureFlags, g as GeneratorNamingConfig, h as GeneratorOutputConfig, i as GeneratorOutputTargets, j as GeneratorSchemaSelection, k as NamingStyle } from './types-CeBPrnGj.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* athena-js browser entry
|
|
11
|
+
*
|
|
12
|
+
* Keeps the root package import browser-safe by avoiding Node-only modules
|
|
13
|
+
* while preserving the existing export surface.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
declare function createPostgresIntrospectionProvider(_options: PostgresIntrospectionProviderOptions): SchemaIntrospectionProvider;
|
|
17
|
+
declare function defineGeneratorConfig<TConfig extends AthenaGeneratorConfig>(config: TConfig): TConfig;
|
|
18
|
+
declare function findGeneratorConfigPath(_cwd?: string): string | undefined;
|
|
19
|
+
declare function loadGeneratorConfig(_options?: LoadGeneratorConfigOptions): Promise<LoadedGeneratorConfig>;
|
|
20
|
+
declare function normalizeGeneratorConfig(_input: AthenaGeneratorConfig): NormalizedAthenaGeneratorConfig;
|
|
21
|
+
declare function generateArtifactsFromSnapshot(_snapshot: IntrospectionSnapshot, _config: AthenaGeneratorConfig | NormalizedAthenaGeneratorConfig): GeneratedArtifacts;
|
|
22
|
+
declare function resolveGeneratorProvider(_providerConfig: GeneratorProviderConfig, _experimentalFlags: GeneratorExperimentalFlags): SchemaIntrospectionProvider;
|
|
23
|
+
declare function runSchemaGenerator(_options?: RunGeneratorOptions): Promise<RunGeneratorResult>;
|
|
24
|
+
|
|
25
|
+
export { AthenaGeneratorConfig, GeneratedArtifacts, GeneratorExperimentalFlags, GeneratorProviderConfig, IntrospectionSnapshot, LoadGeneratorConfigOptions, LoadedGeneratorConfig, NormalizedAthenaGeneratorConfig, PostgresIntrospectionProviderOptions, RunGeneratorOptions, RunGeneratorResult, SchemaIntrospectionProvider, createPostgresIntrospectionProvider, defineGeneratorConfig, findGeneratorConfigPath, generateArtifactsFromSnapshot, loadGeneratorConfig, normalizeGeneratorConfig, resolveGeneratorProvider, runSchemaGenerator };
|