@xylex-group/athena 1.9.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.
Files changed (45) hide show
  1. package/README.md +86 -68
  2. package/bin/athena-js.js +0 -0
  3. package/dist/browser.cjs +3319 -0
  4. package/dist/browser.cjs.map +1 -0
  5. package/dist/browser.d.cts +25 -0
  6. package/dist/browser.d.ts +25 -0
  7. package/dist/browser.js +3276 -0
  8. package/dist/browser.js.map +1 -0
  9. package/dist/cli/index.cjs +1839 -275
  10. package/dist/cli/index.cjs.map +1 -1
  11. package/dist/cli/index.d.cts +3 -2
  12. package/dist/cli/index.d.ts +3 -2
  13. package/dist/cli/index.js +1840 -276
  14. package/dist/cli/index.js.map +1 -1
  15. package/dist/client-BX0NQqOn.d.ts +435 -0
  16. package/dist/client-dpAp-NZK.d.cts +435 -0
  17. package/dist/cookies.cjs +890 -0
  18. package/dist/cookies.cjs.map +1 -0
  19. package/dist/cookies.d.cts +174 -0
  20. package/dist/cookies.d.ts +174 -0
  21. package/dist/cookies.js +869 -0
  22. package/dist/cookies.js.map +1 -0
  23. package/dist/index.cjs +2724 -1777
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +8 -641
  26. package/dist/index.d.ts +8 -641
  27. package/dist/index.js +2725 -1779
  28. package/dist/index.js.map +1 -1
  29. package/dist/model-form-2hqmoOUX.d.ts +1284 -0
  30. package/dist/model-form-Cy-zaO0u.d.cts +1284 -0
  31. package/dist/pipeline-BOPszLsL.d.ts +8 -0
  32. package/dist/pipeline-E3FDbs4W.d.cts +8 -0
  33. package/dist/react.cjs +93 -0
  34. package/dist/react.cjs.map +1 -1
  35. package/dist/react.d.cts +38 -4
  36. package/dist/react.d.ts +38 -4
  37. package/dist/react.js +93 -1
  38. package/dist/react.js.map +1 -1
  39. package/dist/{types-BnzoaNRC.d.cts → types-BaBzjwXr.d.cts} +1 -1
  40. package/dist/{types-BnzoaNRC.d.ts → types-BaBzjwXr.d.ts} +1 -1
  41. package/dist/{pipeline-CQgV-Yfo.d.ts → types-CeBPrnGj.d.ts} +2 -7
  42. package/dist/{pipeline-C-cN0ACi.d.cts → types-CpqL-pZx.d.cts} +2 -7
  43. package/package.json +36 -17
  44. package/dist/model-form-Bm_kqCn2.d.ts +0 -92
  45. package/dist/model-form-DkS48fsh.d.cts +0 -92
@@ -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 };