@xylex-group/athena 2.0.0 → 2.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/README.md +287 -95
- package/dist/browser.cjs +4791 -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 +4745 -0
- package/dist/browser.js.map +1 -0
- package/dist/cli/index.cjs +2087 -220
- 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 +2089 -222
- package/dist/cli/index.js.map +1 -1
- 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 +3046 -1200
- 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 +3045 -1202
- package/dist/index.js.map +1 -1
- package/dist/{model-form-CVOtC8jq.d.ts → model-form-BpDXlbxb.d.ts} +97 -2
- package/dist/{model-form-hXkvHS_3.d.cts → model-form-hoE2jHIi.d.cts} +97 -2
- package/dist/pipeline-BNIw8pDQ.d.ts +8 -0
- package/dist/pipeline-DNIpEsN8.d.cts +8 -0
- package/dist/react-email-BvyCZnfW.d.cts +610 -0
- package/dist/react-email-qPA1wjFV.d.ts +610 -0
- package/dist/react.cjs +30 -9
- 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 +30 -9
- package/dist/react.js.map +1 -1
- package/dist/{types-BnzoaNRC.d.cts → types-A5e97acl.d.cts} +2 -1
- package/dist/{types-BnzoaNRC.d.ts → types-A5e97acl.d.ts} +2 -1
- package/dist/{pipeline-CQgV-Yfo.d.ts → types-BnD22-vb.d.ts} +2 -7
- package/dist/{pipeline-C-cN0ACi.d.cts → types-bDlr4u7p.d.cts} +2 -7
- package/dist/utils.cjs +153 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.d.cts +23 -0
- package/dist/utils.d.ts +23 -0
- package/dist/utils.js +146 -0
- package/dist/utils.js.map +1 -0
- package/package.json +87 -9
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { P as PostgresIntrospectionProviderOptions } from './react-email-BvyCZnfW.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, k as AthenaOperationContext, q as AthenaResult, s as AthenaSdkClient, t as AthenaSdkClientWithAuth, D as DEFAULT_POSTGRES_SCHEMAS, I as IntCoercionOptions, N as NormalizedAthenaError, R as RequireAffectedOptions, y as RetryBackoffStrategy, z as RetryConfig, B as RpcOrderOptions, C as RpcQueryBuilder, T as TableQueryBuilder, E as TypedAthenaClient, F as TypedClientOptions, U as UnwrapOneOptions, G as UnwrapOptions, H as assertInt, J as coerceInt, K as createAuthClient, L as createAuthReactEmailInput, M as createClient, Q as createTypedClient, S as defineAuthEmailTemplate, V as defineDatabase, W as defineModel, X as defineRegistry, Y as defineSchema, Z as identifier, _ as isOk, $ as normalizeAthenaError, a0 as normalizeSchemaSelection, a1 as parseBooleanFlag, a2 as renderAthenaReactEmail, a3 as requireAffected, a4 as requireSuccess, a5 as resolvePostgresColumnType, a6 as resolveProviderSchemas, a7 as unwrap, a8 as unwrapOne, a9 as unwrapRows, aa as withRetry } from './react-email-BvyCZnfW.cjs';
|
|
3
|
+
import { S as SchemaIntrospectionProvider, I as IntrospectionSnapshot } from './types-A5e97acl.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-A5e97acl.cjs';
|
|
5
|
+
export { A as AthenaAuthAdminUserSessionRevokeBinding, a as AthenaAuthBindings, b as AthenaAuthCallOptions, c as AthenaAuthClientConfig, d as AthenaAuthCredentials, e as AthenaAuthEmailChangeResponse, f as AthenaAuthEmailTemplateBuilder, g as AthenaAuthEmailTemplateCreateFromDefinitionInput, h as AthenaAuthEmailTemplateDefinition, i as AthenaAuthEmailTemplateReactOverrides, j as AthenaAuthEmailTemplateUpdateFromDefinitionInput, k as AthenaAuthEndpointPath, l as AthenaAuthErrorCode, m as AthenaAuthErrorDetails, n as AthenaAuthGenericInput, o as AthenaAuthGenericQueryInput, p as AthenaAuthLinkedAccount, q as AthenaAuthMethod, r as AthenaAuthOrganization, s as AthenaAuthOrganizationBindings, t as AthenaAuthOrganizationInvitation, u as AthenaAuthOrganizationMember, v as AthenaAuthQueryPrimitive, w as AthenaAuthQueryValue, x as AthenaAuthReactEmailComponent, y as AthenaAuthReactEmailConfig, z as AthenaAuthReactEmailEventPhase, B as AthenaAuthReactEmailProps, C as AthenaAuthReactEmailRenderEvent, D as AthenaAuthReactEmailRenderInput, E as AthenaAuthReactEmailRenderOptions, F as AthenaAuthRequestInput, G as AthenaAuthResetPasswordBinding, H as AthenaAuthResult, I as AthenaAuthRevokeSessionRequest, J as AthenaAuthSdkClient, K as AthenaAuthSession, L as AthenaAuthSessionResponse, M as AthenaAuthSessionRevokeBinding, N as AthenaAuthSignInResponse, O as AthenaAuthSignOutResponse, P as AthenaAuthSocialRedirectResponse, Q as AthenaAuthStatusResponse, R as AthenaAuthUser, S as AthenaChangeEmailRequest, T as AthenaChangePasswordRequest, U as AthenaDeleteUserCallbackRequest, V as AthenaDeleteUserRequest, W as AthenaDeleteUserResponse, X as AthenaEmailSignInRequest, Y as AthenaEmailSignUpRequest, Z as AthenaForgetPasswordRequest, _ as AthenaGatewayError, $ as AthenaLinkSocialRequest, a0 as AthenaOAuthAccountTokenRequest, a1 as AthenaOAuthTokenBundle, a2 as AthenaResetPasswordRequest, a3 as AthenaSendVerificationEmailRequest, a4 as AthenaSocialSignInRequest, a5 as AthenaUnlinkAccountRequest, a6 as AthenaUpdateUserRequest, a7 as AthenaUsernameSignInRequest, a8 as AthenaVerifyEmailRequest, a9 as ModelFormAdapter, aa as ModelFormDefaults, ab as ModelFormNullishMode, ac as ModelFormValues, ad as ToModelFormDefaultsOptions, ae as ToModelPayloadOptions, af as createModelFormAdapter, ag as isAthenaGatewayError, ah as toModelFormDefaults, ai as toModelPayload } from './model-form-hoE2jHIi.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-bDlr4u7p.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-bDlr4u7p.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 './react-email-qPA1wjFV.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, k as AthenaOperationContext, q as AthenaResult, s as AthenaSdkClient, t as AthenaSdkClientWithAuth, D as DEFAULT_POSTGRES_SCHEMAS, I as IntCoercionOptions, N as NormalizedAthenaError, R as RequireAffectedOptions, y as RetryBackoffStrategy, z as RetryConfig, B as RpcOrderOptions, C as RpcQueryBuilder, T as TableQueryBuilder, E as TypedAthenaClient, F as TypedClientOptions, U as UnwrapOneOptions, G as UnwrapOptions, H as assertInt, J as coerceInt, K as createAuthClient, L as createAuthReactEmailInput, M as createClient, Q as createTypedClient, S as defineAuthEmailTemplate, V as defineDatabase, W as defineModel, X as defineRegistry, Y as defineSchema, Z as identifier, _ as isOk, $ as normalizeAthenaError, a0 as normalizeSchemaSelection, a1 as parseBooleanFlag, a2 as renderAthenaReactEmail, a3 as requireAffected, a4 as requireSuccess, a5 as resolvePostgresColumnType, a6 as resolveProviderSchemas, a7 as unwrap, a8 as unwrapOne, a9 as unwrapRows, aa as withRetry } from './react-email-qPA1wjFV.js';
|
|
3
|
+
import { S as SchemaIntrospectionProvider, I as IntrospectionSnapshot } from './types-A5e97acl.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-A5e97acl.js';
|
|
5
|
+
export { A as AthenaAuthAdminUserSessionRevokeBinding, a as AthenaAuthBindings, b as AthenaAuthCallOptions, c as AthenaAuthClientConfig, d as AthenaAuthCredentials, e as AthenaAuthEmailChangeResponse, f as AthenaAuthEmailTemplateBuilder, g as AthenaAuthEmailTemplateCreateFromDefinitionInput, h as AthenaAuthEmailTemplateDefinition, i as AthenaAuthEmailTemplateReactOverrides, j as AthenaAuthEmailTemplateUpdateFromDefinitionInput, k as AthenaAuthEndpointPath, l as AthenaAuthErrorCode, m as AthenaAuthErrorDetails, n as AthenaAuthGenericInput, o as AthenaAuthGenericQueryInput, p as AthenaAuthLinkedAccount, q as AthenaAuthMethod, r as AthenaAuthOrganization, s as AthenaAuthOrganizationBindings, t as AthenaAuthOrganizationInvitation, u as AthenaAuthOrganizationMember, v as AthenaAuthQueryPrimitive, w as AthenaAuthQueryValue, x as AthenaAuthReactEmailComponent, y as AthenaAuthReactEmailConfig, z as AthenaAuthReactEmailEventPhase, B as AthenaAuthReactEmailProps, C as AthenaAuthReactEmailRenderEvent, D as AthenaAuthReactEmailRenderInput, E as AthenaAuthReactEmailRenderOptions, F as AthenaAuthRequestInput, G as AthenaAuthResetPasswordBinding, H as AthenaAuthResult, I as AthenaAuthRevokeSessionRequest, J as AthenaAuthSdkClient, K as AthenaAuthSession, L as AthenaAuthSessionResponse, M as AthenaAuthSessionRevokeBinding, N as AthenaAuthSignInResponse, O as AthenaAuthSignOutResponse, P as AthenaAuthSocialRedirectResponse, Q as AthenaAuthStatusResponse, R as AthenaAuthUser, S as AthenaChangeEmailRequest, T as AthenaChangePasswordRequest, U as AthenaDeleteUserCallbackRequest, V as AthenaDeleteUserRequest, W as AthenaDeleteUserResponse, X as AthenaEmailSignInRequest, Y as AthenaEmailSignUpRequest, Z as AthenaForgetPasswordRequest, _ as AthenaGatewayError, $ as AthenaLinkSocialRequest, a0 as AthenaOAuthAccountTokenRequest, a1 as AthenaOAuthTokenBundle, a2 as AthenaResetPasswordRequest, a3 as AthenaSendVerificationEmailRequest, a4 as AthenaSocialSignInRequest, a5 as AthenaUnlinkAccountRequest, a6 as AthenaUpdateUserRequest, a7 as AthenaUsernameSignInRequest, a8 as AthenaVerifyEmailRequest, a9 as ModelFormAdapter, aa as ModelFormDefaults, ab as ModelFormNullishMode, ac as ModelFormValues, ad as ToModelFormDefaultsOptions, ae as ToModelPayloadOptions, af as createModelFormAdapter, ag as isAthenaGatewayError, ah as toModelFormDefaults, ai as toModelPayload } from './model-form-BpDXlbxb.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-BnD22-vb.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-BnD22-vb.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 };
|