@xylex-group/athena 1.6.1 → 1.6.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 +31 -6
- package/bin/athena-js.js +74 -6
- package/dist/cli/index.cjs +158 -24
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +21 -2
- package/dist/cli/index.d.ts +21 -2
- package/dist/cli/index.js +157 -25
- package/dist/cli/index.js.map +1 -1
- package/dist/errors-1b-LSTum.d.ts +31 -0
- package/dist/errors-BYRK5phv.d.cts +31 -0
- package/dist/index.cjs +68 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -338
- package/dist/index.d.ts +6 -338
- package/dist/index.js +68 -10
- package/dist/index.js.map +1 -1
- package/dist/pipeline-BQzpSLD3.d.ts +338 -0
- package/dist/pipeline-CA2aexDl.d.cts +338 -0
- package/dist/react.d.cts +3 -2
- package/dist/react.d.ts +3 -2
- package/dist/{errors-C4GJaFI_.d.cts → types-v6UyGg-x.d.cts} +1 -29
- package/dist/{errors-C4GJaFI_.d.ts → types-v6UyGg-x.d.ts} +1 -29
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { A as AthenaGatewayCallOptions, a as AthenaConditionValue, b as AthenaConditionCastType, c as AthenaConditionArrayValue, d as AthenaConditionOperator, e as AthenaGatewayErrorDetails, f as AthenaRpcCallOptions, B as BackendConfig, g as BackendType } from './
|
|
2
|
-
export {
|
|
1
|
+
import { A as AthenaGatewayCallOptions, a as AthenaConditionValue, b as AthenaConditionCastType, c as AthenaConditionArrayValue, d as AthenaConditionOperator, e as AthenaGatewayErrorDetails, f as AthenaRpcCallOptions, B as BackendConfig, g as BackendType } from './types-v6UyGg-x.cjs';
|
|
2
|
+
export { m as AthenaGatewayErrorCode, i as AthenaRpcFilter, j as AthenaRpcFilterOperator, k as AthenaRpcOrder, l as AthenaRpcPayload, h as Backend } from './types-v6UyGg-x.cjs';
|
|
3
|
+
export { A as AthenaGatewayError, i as isAthenaGatewayError } from './errors-BYRK5phv.cjs';
|
|
4
|
+
import { S as SchemaDef, A as AnyModelDef, D as DatabaseDef, M as ModelMetadata, a as ModelDef, R as RegistryDef, T as TenantKeyMap, b as TenantContext, c as RowOf, d as ModelAt, e as SchemaIntrospectionProvider, f as AthenaGeneratorConfig, L as LoadGeneratorConfigOptions, g as LoadedGeneratorConfig, N as NormalizedAthenaGeneratorConfig, I as IntrospectionSnapshot, G as GeneratedArtifacts, h as IntrospectionColumn, i as GeneratorProviderConfig, j as GeneratorExperimentalFlags } from './pipeline-CA2aexDl.cjs';
|
|
5
|
+
export { u as GeneratedArtifact, v as GeneratorArtifactKind, w as GeneratorFeatureFlags, x as GeneratorNamingConfig, y as GeneratorOutputConfig, z as GeneratorOutputTargets, k as InsertOf, l as IntrospectionInspectOptions, m as IntrospectionRelation, n as IntrospectionSchema, o as IntrospectionTable, p as IntrospectionTypeKind, q as ModelRelationKind, s as ModelRelationMetadata, B as NamingStyle, C as RunGeneratorOptions, E as RunGeneratorResult, t as TenantContextValue, U as UpdateOf, r as runSchemaGenerator } from './pipeline-CA2aexDl.cjs';
|
|
3
6
|
|
|
4
7
|
interface AthenaResult<T> {
|
|
5
8
|
data: T | null;
|
|
@@ -314,185 +317,6 @@ interface SqlIdentifier {
|
|
|
314
317
|
*/
|
|
315
318
|
declare function identifier(...segments: string[]): SqlIdentifier;
|
|
316
319
|
|
|
317
|
-
type ModelKey = string;
|
|
318
|
-
type ColumnKey = string;
|
|
319
|
-
/**
|
|
320
|
-
* Runtime values that can safely be serialized into tenant-scoped headers.
|
|
321
|
-
*/
|
|
322
|
-
type TenantContextValue = string | number | boolean | null | undefined;
|
|
323
|
-
/**
|
|
324
|
-
* Compile-time map of tenant context keys to outbound header names.
|
|
325
|
-
*/
|
|
326
|
-
type TenantKeyMap = Record<string, string>;
|
|
327
|
-
/**
|
|
328
|
-
* Partial tenant context keyed by `TenantKeyMap`.
|
|
329
|
-
*/
|
|
330
|
-
type TenantContext<TMap extends TenantKeyMap> = Partial<Record<keyof TMap, TenantContextValue>>;
|
|
331
|
-
/**
|
|
332
|
-
* Supported relationship cardinalities for model metadata and introspection snapshots.
|
|
333
|
-
*/
|
|
334
|
-
type ModelRelationKind = 'one-to-one' | 'one-to-many' | 'many-to-one' | 'many-to-many';
|
|
335
|
-
/**
|
|
336
|
-
* Base metadata shape shared by typed model definitions and introspection snapshots.
|
|
337
|
-
* This type is intentionally row-agnostic so it can be used for generic registries.
|
|
338
|
-
*/
|
|
339
|
-
interface ModelMetadataBase {
|
|
340
|
-
database?: string;
|
|
341
|
-
schema?: string;
|
|
342
|
-
model?: string;
|
|
343
|
-
tableName?: string;
|
|
344
|
-
primaryKey: string[];
|
|
345
|
-
nullable?: Partial<Record<string, boolean>>;
|
|
346
|
-
relations?: Record<string, ModelRelationMetadata>;
|
|
347
|
-
}
|
|
348
|
-
/**
|
|
349
|
-
* Strongly-typed model metadata linked to a row shape.
|
|
350
|
-
*/
|
|
351
|
-
type ModelMetadata<Row> = Omit<ModelMetadataBase, 'primaryKey' | 'nullable'> & {
|
|
352
|
-
primaryKey: Array<Extract<keyof Row, string>>;
|
|
353
|
-
nullable?: Partial<Record<Extract<keyof Row, string>, boolean>>;
|
|
354
|
-
};
|
|
355
|
-
/**
|
|
356
|
-
* Relation metadata for model contracts and introspection snapshots.
|
|
357
|
-
*/
|
|
358
|
-
interface ModelRelationMetadata {
|
|
359
|
-
kind: ModelRelationKind;
|
|
360
|
-
sourceColumns: ColumnKey[];
|
|
361
|
-
targetSchema: string;
|
|
362
|
-
targetModel: ModelKey;
|
|
363
|
-
targetColumns: ColumnKey[];
|
|
364
|
-
targetDatabase?: string;
|
|
365
|
-
through?: {
|
|
366
|
-
schema: string;
|
|
367
|
-
model: string;
|
|
368
|
-
sourceColumns: ColumnKey[];
|
|
369
|
-
targetColumns: ColumnKey[];
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* Core model definition contract used by typed registries.
|
|
374
|
-
*/
|
|
375
|
-
interface ModelDef<Row, Insert = Partial<Row>, Update = Partial<Insert>, Meta extends ModelMetadataBase = ModelMetadata<Row>> {
|
|
376
|
-
readonly meta: Meta;
|
|
377
|
-
readonly __types?: {
|
|
378
|
-
row: Row;
|
|
379
|
-
insert: Insert;
|
|
380
|
-
update: Update;
|
|
381
|
-
};
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* Row-agnostic model definition used as a generic constraint.
|
|
385
|
-
*/
|
|
386
|
-
type AnyModelDef = ModelDef<unknown, unknown, unknown, ModelMetadataBase>;
|
|
387
|
-
/**
|
|
388
|
-
* Schema-level model registry.
|
|
389
|
-
*/
|
|
390
|
-
interface SchemaDef<Models extends Record<ModelKey, AnyModelDef>> {
|
|
391
|
-
readonly models: Models;
|
|
392
|
-
}
|
|
393
|
-
/**
|
|
394
|
-
* Database-level schema registry.
|
|
395
|
-
*/
|
|
396
|
-
interface DatabaseDef<Schemas extends Record<string, SchemaDef<Record<ModelKey, AnyModelDef>>>> {
|
|
397
|
-
readonly schemas: Schemas;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Top-level registry keyed by logical database names.
|
|
401
|
-
*/
|
|
402
|
-
type RegistryDef<Databases extends Record<string, DatabaseDef<Record<string, SchemaDef<Record<ModelKey, AnyModelDef>>>>>> = Databases;
|
|
403
|
-
/**
|
|
404
|
-
* Extracts row type from a model definition.
|
|
405
|
-
*/
|
|
406
|
-
type RowOf<TModel extends AnyModelDef> = TModel extends ModelDef<infer TRow, unknown, unknown, ModelMetadataBase> ? TRow : never;
|
|
407
|
-
/**
|
|
408
|
-
* Extracts insert type from a model definition.
|
|
409
|
-
*/
|
|
410
|
-
type InsertOf<TModel extends AnyModelDef> = TModel extends ModelDef<unknown, infer TInsert, unknown, ModelMetadataBase> ? TInsert : never;
|
|
411
|
-
/**
|
|
412
|
-
* Extracts update type from a model definition.
|
|
413
|
-
*/
|
|
414
|
-
type UpdateOf<TModel extends AnyModelDef> = TModel extends ModelDef<unknown, unknown, infer TUpdate, ModelMetadataBase> ? TUpdate : never;
|
|
415
|
-
/**
|
|
416
|
-
* Resolves a model definition from a registry path.
|
|
417
|
-
*/
|
|
418
|
-
type ModelAt<TRegistry extends RegistryDef<Record<string, DatabaseDef<Record<string, SchemaDef<Record<ModelKey, AnyModelDef>>>>>>, TDatabase extends keyof TRegistry & string, TSchema extends keyof TRegistry[TDatabase]['schemas'] & string, TModel extends keyof TRegistry[TDatabase]['schemas'][TSchema]['models'] & string> = TRegistry[TDatabase]['schemas'][TSchema]['models'][TModel];
|
|
419
|
-
/**
|
|
420
|
-
* Introspection-level column type families.
|
|
421
|
-
*/
|
|
422
|
-
type IntrospectionTypeKind = 'scalar' | 'enum' | 'domain' | 'range' | 'multirange' | 'composite';
|
|
423
|
-
/**
|
|
424
|
-
* Introspected column metadata.
|
|
425
|
-
*/
|
|
426
|
-
interface IntrospectionColumn {
|
|
427
|
-
name: string;
|
|
428
|
-
dataType: string;
|
|
429
|
-
udtName: string;
|
|
430
|
-
typeKind: IntrospectionTypeKind;
|
|
431
|
-
isNullable: boolean;
|
|
432
|
-
isPrimaryKey: boolean;
|
|
433
|
-
hasDefault: boolean;
|
|
434
|
-
isGenerated: boolean;
|
|
435
|
-
arrayDimensions: number;
|
|
436
|
-
enumValues?: string[];
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
* Introspected relationship metadata.
|
|
440
|
-
*/
|
|
441
|
-
interface IntrospectionRelation {
|
|
442
|
-
name: string;
|
|
443
|
-
kind: ModelRelationKind;
|
|
444
|
-
sourceColumns: string[];
|
|
445
|
-
targetSchema: string;
|
|
446
|
-
targetModel: string;
|
|
447
|
-
targetColumns: string[];
|
|
448
|
-
targetDatabase?: string;
|
|
449
|
-
through?: {
|
|
450
|
-
schema: string;
|
|
451
|
-
model: string;
|
|
452
|
-
sourceColumns: string[];
|
|
453
|
-
targetColumns: string[];
|
|
454
|
-
};
|
|
455
|
-
}
|
|
456
|
-
/**
|
|
457
|
-
* Introspected table metadata.
|
|
458
|
-
*/
|
|
459
|
-
interface IntrospectionTable {
|
|
460
|
-
schema: string;
|
|
461
|
-
name: string;
|
|
462
|
-
columns: Record<string, IntrospectionColumn>;
|
|
463
|
-
primaryKey: string[];
|
|
464
|
-
relations: Record<string, IntrospectionRelation>;
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
* Introspected schema metadata.
|
|
468
|
-
*/
|
|
469
|
-
interface IntrospectionSchema {
|
|
470
|
-
name: string;
|
|
471
|
-
tables: Record<string, IntrospectionTable>;
|
|
472
|
-
}
|
|
473
|
-
/**
|
|
474
|
-
* Normalized output of a schema introspection pass.
|
|
475
|
-
*/
|
|
476
|
-
interface IntrospectionSnapshot {
|
|
477
|
-
backend: BackendType;
|
|
478
|
-
database: string;
|
|
479
|
-
generatedAt: string;
|
|
480
|
-
schemas: Record<string, IntrospectionSchema>;
|
|
481
|
-
}
|
|
482
|
-
/**
|
|
483
|
-
* Options accepted by introspection providers.
|
|
484
|
-
*/
|
|
485
|
-
interface IntrospectionInspectOptions {
|
|
486
|
-
schemas?: string[];
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* Provider contract implemented by backend-specific introspection adapters.
|
|
490
|
-
*/
|
|
491
|
-
interface SchemaIntrospectionProvider {
|
|
492
|
-
readonly backend: BackendType;
|
|
493
|
-
inspect(options?: IntrospectionInspectOptions): Promise<IntrospectionSnapshot>;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
320
|
/**
|
|
497
321
|
* Declares a model contract with explicit metadata and typed row/insert/update shapes.
|
|
498
322
|
*/
|
|
@@ -547,157 +371,6 @@ interface PostgresIntrospectionProviderOptions {
|
|
|
547
371
|
*/
|
|
548
372
|
declare function createPostgresIntrospectionProvider(options: PostgresIntrospectionProviderOptions): SchemaIntrospectionProvider;
|
|
549
373
|
|
|
550
|
-
/**
|
|
551
|
-
* Supported case transformations for generated symbols and path token variants.
|
|
552
|
-
*/
|
|
553
|
-
type NamingStyle = 'preserve' | 'camel' | 'pascal' | 'snake' | 'kebab';
|
|
554
|
-
/**
|
|
555
|
-
* Naming configuration for generated TypeScript identifiers.
|
|
556
|
-
*/
|
|
557
|
-
interface GeneratorNamingConfig {
|
|
558
|
-
modelType: NamingStyle;
|
|
559
|
-
modelConst: NamingStyle;
|
|
560
|
-
schemaConst: NamingStyle;
|
|
561
|
-
databaseConst: NamingStyle;
|
|
562
|
-
registryConst: NamingStyle;
|
|
563
|
-
}
|
|
564
|
-
/**
|
|
565
|
-
* Stable feature flags for generator output behavior.
|
|
566
|
-
*/
|
|
567
|
-
interface GeneratorFeatureFlags {
|
|
568
|
-
emitRelations: boolean;
|
|
569
|
-
emitRegistry: boolean;
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* Experimental toggles for optional/forward-compatible generator behavior.
|
|
573
|
-
*/
|
|
574
|
-
interface GeneratorExperimentalFlags {
|
|
575
|
-
/**
|
|
576
|
-
* Legacy compatibility toggle from the initial scaffold.
|
|
577
|
-
* Gateway introspection is now implemented; this flag is retained for additive config compatibility.
|
|
578
|
-
*/
|
|
579
|
-
postgresGatewayIntrospection: boolean;
|
|
580
|
-
/**
|
|
581
|
-
* Enables contract placeholders for future Scylla provider work.
|
|
582
|
-
*/
|
|
583
|
-
scyllaProviderContracts: boolean;
|
|
584
|
-
}
|
|
585
|
-
/**
|
|
586
|
-
* Path templates for each generated artifact category.
|
|
587
|
-
*/
|
|
588
|
-
interface GeneratorOutputTargets {
|
|
589
|
-
model: string;
|
|
590
|
-
schema: string;
|
|
591
|
-
database: string;
|
|
592
|
-
registry: string;
|
|
593
|
-
}
|
|
594
|
-
/**
|
|
595
|
-
* Output configuration including dynamic placeholder aliases.
|
|
596
|
-
*/
|
|
597
|
-
interface GeneratorOutputConfig {
|
|
598
|
-
targets: GeneratorOutputTargets;
|
|
599
|
-
placeholderMap: Record<string, string>;
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* Direct PostgreSQL introspection mode (implemented).
|
|
603
|
-
*/
|
|
604
|
-
interface PostgresDirectProviderConfig {
|
|
605
|
-
kind: 'postgres';
|
|
606
|
-
mode: 'direct';
|
|
607
|
-
connectionString: string;
|
|
608
|
-
database?: string;
|
|
609
|
-
schemas?: string[];
|
|
610
|
-
}
|
|
611
|
-
/**
|
|
612
|
-
* Athena gateway-backed PostgreSQL introspection mode using `/gateway/query`.
|
|
613
|
-
*/
|
|
614
|
-
interface PostgresGatewayProviderConfig {
|
|
615
|
-
kind: 'postgres';
|
|
616
|
-
mode: 'gateway';
|
|
617
|
-
gatewayUrl: string;
|
|
618
|
-
apiKey: string;
|
|
619
|
-
database: string;
|
|
620
|
-
schemas?: string[];
|
|
621
|
-
backend?: BackendType;
|
|
622
|
-
}
|
|
623
|
-
/**
|
|
624
|
-
* Scylla introspection provider contract placeholder (phase-two scaffold).
|
|
625
|
-
*/
|
|
626
|
-
interface ScyllaDirectProviderConfig {
|
|
627
|
-
kind: 'scylla';
|
|
628
|
-
mode: 'direct';
|
|
629
|
-
contactPoints: string[];
|
|
630
|
-
keyspace: string;
|
|
631
|
-
datacenter?: string;
|
|
632
|
-
}
|
|
633
|
-
type GeneratorProviderConfig = PostgresDirectProviderConfig | PostgresGatewayProviderConfig | ScyllaDirectProviderConfig;
|
|
634
|
-
/**
|
|
635
|
-
* Root config contract loaded from `athena.config.ts`.
|
|
636
|
-
*/
|
|
637
|
-
interface AthenaGeneratorConfig {
|
|
638
|
-
provider: GeneratorProviderConfig;
|
|
639
|
-
output: GeneratorOutputConfig;
|
|
640
|
-
naming?: Partial<GeneratorNamingConfig>;
|
|
641
|
-
features?: Partial<GeneratorFeatureFlags>;
|
|
642
|
-
experimental?: Partial<GeneratorExperimentalFlags>;
|
|
643
|
-
}
|
|
644
|
-
/**
|
|
645
|
-
* Normalized generator config with defaults applied.
|
|
646
|
-
*/
|
|
647
|
-
interface NormalizedAthenaGeneratorConfig {
|
|
648
|
-
provider: GeneratorProviderConfig;
|
|
649
|
-
output: GeneratorOutputConfig;
|
|
650
|
-
naming: GeneratorNamingConfig;
|
|
651
|
-
features: GeneratorFeatureFlags;
|
|
652
|
-
experimental: GeneratorExperimentalFlags;
|
|
653
|
-
}
|
|
654
|
-
/**
|
|
655
|
-
* Config loader options for CLI/programmatic usage.
|
|
656
|
-
*/
|
|
657
|
-
interface LoadGeneratorConfigOptions {
|
|
658
|
-
cwd?: string;
|
|
659
|
-
configPath?: string;
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* Fully loaded config result including resolved file path.
|
|
663
|
-
*/
|
|
664
|
-
interface LoadedGeneratorConfig {
|
|
665
|
-
configPath: string;
|
|
666
|
-
config: NormalizedAthenaGeneratorConfig;
|
|
667
|
-
}
|
|
668
|
-
type GeneratorArtifactKind = 'model' | 'schema' | 'database' | 'registry';
|
|
669
|
-
/**
|
|
670
|
-
* One generated output file.
|
|
671
|
-
*/
|
|
672
|
-
interface GeneratedArtifact {
|
|
673
|
-
kind: GeneratorArtifactKind;
|
|
674
|
-
path: string;
|
|
675
|
-
content: string;
|
|
676
|
-
}
|
|
677
|
-
/**
|
|
678
|
-
* In-memory generator output payload.
|
|
679
|
-
*/
|
|
680
|
-
interface GeneratedArtifacts {
|
|
681
|
-
snapshot: IntrospectionSnapshot;
|
|
682
|
-
files: GeneratedArtifact[];
|
|
683
|
-
}
|
|
684
|
-
/**
|
|
685
|
-
* Runtime options for executing the generator pipeline.
|
|
686
|
-
*/
|
|
687
|
-
interface RunGeneratorOptions {
|
|
688
|
-
cwd?: string;
|
|
689
|
-
configPath?: string;
|
|
690
|
-
dryRun?: boolean;
|
|
691
|
-
provider?: SchemaIntrospectionProvider;
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* Generator execution result including files written to disk.
|
|
695
|
-
*/
|
|
696
|
-
interface RunGeneratorResult extends GeneratedArtifacts {
|
|
697
|
-
configPath: string;
|
|
698
|
-
writtenFiles: string[];
|
|
699
|
-
}
|
|
700
|
-
|
|
701
374
|
declare function normalizeGeneratorConfig(input: AthenaGeneratorConfig): NormalizedAthenaGeneratorConfig;
|
|
702
375
|
/**
|
|
703
376
|
* Typed identity helper for authoring generator configs.
|
|
@@ -724,9 +397,4 @@ declare function resolvePostgresColumnType(column: IntrospectionColumn): string;
|
|
|
724
397
|
*/
|
|
725
398
|
declare function resolveGeneratorProvider(providerConfig: GeneratorProviderConfig, experimentalFlags: GeneratorExperimentalFlags): SchemaIntrospectionProvider;
|
|
726
399
|
|
|
727
|
-
|
|
728
|
-
* End-to-end generator execution: load config, introspect, render, and optionally write files.
|
|
729
|
-
*/
|
|
730
|
-
declare function runSchemaGenerator(options?: RunGeneratorOptions): Promise<RunGeneratorResult>;
|
|
731
|
-
|
|
732
|
-
export { AthenaClient, AthenaConditionCastType, AthenaError, AthenaErrorCategory, AthenaErrorCode, type AthenaErrorInput, AthenaErrorKind, AthenaGatewayCallOptions, AthenaGatewayErrorDetails, type AthenaGeneratorConfig, type AthenaOperationContext, type AthenaResult, AthenaRpcCallOptions, type AthenaSdkClient, BackendConfig, BackendType, type DatabaseDef, type GeneratedArtifact, type GeneratedArtifacts, type GeneratorArtifactKind, type GeneratorExperimentalFlags, type GeneratorFeatureFlags, type GeneratorNamingConfig, type GeneratorOutputConfig, type GeneratorOutputTargets, type GeneratorProviderConfig, type InsertOf, type IntCoercionOptions, type IntrospectionColumn, type IntrospectionInspectOptions, type IntrospectionRelation, type IntrospectionSchema, type IntrospectionSnapshot, type IntrospectionTable, type IntrospectionTypeKind, type LoadGeneratorConfigOptions, type LoadedGeneratorConfig, type ModelAt, type ModelDef, type ModelMetadata, type ModelRelationKind, type ModelRelationMetadata, type NamingStyle, type NormalizedAthenaError, type NormalizedAthenaGeneratorConfig, type PostgresIntrospectionProviderOptions, type RegistryDef, type RequireAffectedOptions, type RetryBackoffStrategy, type RetryConfig, type RowOf, type RpcOrderOptions, type RpcQueryBuilder, type RunGeneratorOptions, type RunGeneratorResult, type SchemaDef, type SchemaIntrospectionProvider, type TableQueryBuilder, type TenantContext, type TenantContextValue, type TenantKeyMap, type TypedAthenaClient, type TypedClientOptions, type UnwrapOneOptions, type UnwrapOptions, type UpdateOf, assertInt, coerceInt, createClient, createPostgresIntrospectionProvider, createTypedClient, defineDatabase, defineGeneratorConfig, defineModel, defineRegistry, defineSchema, findGeneratorConfigPath, generateArtifactsFromSnapshot, identifier, isOk, loadGeneratorConfig, normalizeAthenaError, normalizeGeneratorConfig, requireAffected, requireSuccess, resolveGeneratorProvider, resolvePostgresColumnType, runSchemaGenerator, unwrap, unwrapOne, unwrapRows, withRetry };
|
|
400
|
+
export { AthenaClient, AthenaConditionCastType, AthenaError, AthenaErrorCategory, AthenaErrorCode, type AthenaErrorInput, AthenaErrorKind, AthenaGatewayCallOptions, AthenaGatewayErrorDetails, AthenaGeneratorConfig, type AthenaOperationContext, type AthenaResult, AthenaRpcCallOptions, type AthenaSdkClient, BackendConfig, BackendType, DatabaseDef, GeneratedArtifacts, GeneratorExperimentalFlags, GeneratorProviderConfig, type IntCoercionOptions, IntrospectionColumn, IntrospectionSnapshot, LoadGeneratorConfigOptions, LoadedGeneratorConfig, ModelAt, ModelDef, ModelMetadata, type NormalizedAthenaError, NormalizedAthenaGeneratorConfig, type PostgresIntrospectionProviderOptions, RegistryDef, type RequireAffectedOptions, type RetryBackoffStrategy, type RetryConfig, RowOf, type RpcOrderOptions, type RpcQueryBuilder, SchemaDef, SchemaIntrospectionProvider, type TableQueryBuilder, TenantContext, TenantKeyMap, type TypedAthenaClient, type TypedClientOptions, type UnwrapOneOptions, type UnwrapOptions, assertInt, coerceInt, createClient, createPostgresIntrospectionProvider, createTypedClient, defineDatabase, defineGeneratorConfig, defineModel, defineRegistry, defineSchema, findGeneratorConfigPath, generateArtifactsFromSnapshot, identifier, isOk, loadGeneratorConfig, normalizeAthenaError, normalizeGeneratorConfig, requireAffected, requireSuccess, resolveGeneratorProvider, resolvePostgresColumnType, unwrap, unwrapOne, unwrapRows, withRetry };
|