qubu 0.0.0 → 0.3.4
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/dist/canonical-BbnqavJm.mjs +972 -0
- package/dist/codegen.d.mts +107 -0
- package/dist/codegen.mjs +1199 -0
- package/dist/column-CXMxx8Hq.mjs +118 -0
- package/dist/complete-D5Djh-zo.mjs +1788 -0
- package/dist/complete-types-BdFqUfbb.d.mts +371 -0
- package/dist/core.d.mts +33 -0
- package/dist/core.mjs +36 -0
- package/dist/ddl.d.mts +118 -0
- package/dist/ddl.mjs +1120 -0
- package/dist/dialect-b2-Z6uBF.mjs +13 -0
- package/dist/diff.d.mts +2 -0
- package/dist/diff.mjs +883 -0
- package/dist/drizzle-mysql.d.mts +24 -0
- package/dist/drizzle-mysql.mjs +72 -0
- package/dist/drizzle-postgres.d.mts +24 -0
- package/dist/drizzle-postgres.mjs +73 -0
- package/dist/drizzle-sqlite.d.mts +24 -0
- package/dist/drizzle-sqlite.mjs +82 -0
- package/dist/drizzle.d.mts +13 -0
- package/dist/drizzle.mjs +2 -0
- package/dist/errors-BGCoLe_r.mjs +14 -0
- package/dist/errors-Dxv73YJu.mjs +26 -0
- package/dist/explain-CkIK13L_.mjs +98 -0
- package/dist/index-Ds7-mhJi.d.mts +146 -0
- package/dist/index-Dug5HnLB.d.mts +204 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +1276 -0
- package/dist/introspection.d.mts +117 -0
- package/dist/introspection.mjs +4341 -0
- package/dist/json-CUZlv4HT.mjs +169 -0
- package/dist/migration.d.mts +215 -0
- package/dist/migration.mjs +1161 -0
- package/dist/mysql-DqkqXB6A.mjs +355 -0
- package/dist/mysql.d.mts +5 -0
- package/dist/mysql.mjs +50 -0
- package/dist/naming-QVCOnSj2.mjs +20 -0
- package/dist/omit-OxV58AwX.mjs +5 -0
- package/dist/on-conflict-BxnxubMb.mjs +143 -0
- package/dist/postgres-DEBBeh52.mjs +235 -0
- package/dist/postgres.d.mts +123 -0
- package/dist/postgres.mjs +52 -0
- package/dist/registry-BufIskVN.mjs +569 -0
- package/dist/relational-DCZrrNia.mjs +77 -0
- package/dist/runtime-BTr-MTlo.mjs +193 -0
- package/dist/schema.d.mts +2 -0
- package/dist/schema.mjs +5 -0
- package/dist/serialize-PF1cfH2P.mjs +556 -0
- package/dist/snapshot-CWPgzxNx.mjs +392 -0
- package/dist/snapshot.d.mts +4 -0
- package/dist/snapshot.mjs +8 -0
- package/dist/source-DUoJVXmL.mjs +68 -0
- package/dist/sqlite-BU6DBxef.mjs +320 -0
- package/dist/sqlite.d.mts +5 -0
- package/dist/sqlite.mjs +48 -0
- package/dist/standard-BTVYKh_F.mjs +12 -0
- package/dist/table-llv9tsZ8.mjs +384 -0
- package/dist/types-4Q076HKo.d.mts +3636 -0
- package/dist/types-BX0mckiU.d.mts +644 -0
- package/dist/types-Cec0xzo4.mjs +116 -0
- package/dist/types-H4vyCw8_.d.mts +45 -0
- package/dist/value-BvilP0oz.mjs +29 -0
- package/dist/vite/ambient.d.ts +449 -0
- package/dist/vite.d.mts +35 -0
- package/dist/vite.mjs +498 -0
- package/docs/config.json +21 -0
- package/docs/dialects-and-execution.md +427 -0
- package/docs/getting-started.md +96 -0
- package/docs/guides/compose-queries.md +225 -0
- package/docs/guides/drizzle.md +130 -0
- package/docs/guides/extensions/dialects.md +40 -0
- package/docs/guides/extensions/overview.md +36 -0
- package/docs/guides/extensions/sources-and-clauses.md +82 -0
- package/docs/guides/extensions/typed-expressions.md +94 -0
- package/docs/guides/extensions/unsafe-syntax.md +27 -0
- package/docs/guides/json.md +65 -0
- package/docs/guides/mutations.md +138 -0
- package/docs/guides/select/conditions.md +110 -0
- package/docs/guides/select/grouping-and-windows.md +82 -0
- package/docs/guides/select/ordering-and-pagination.md +78 -0
- package/docs/guides/select/overview.md +139 -0
- package/docs/guides/sql-templates.md +157 -0
- package/docs/guides/vite-plugin.md +92 -0
- package/docs/index.md +111 -0
- package/docs/query-model/fragments.md +109 -0
- package/docs/query-model/result-shapes.md +125 -0
- package/docs/query-model/source-scope.md +182 -0
- package/docs/reference/introspection-support.md +196 -0
- package/docs/reference/mysql-snapshot.md +55 -0
- package/docs/reference/postgres-snapshot.md +61 -0
- package/docs/reference/sqlite-snapshot.md +53 -0
- package/docs/reference/supported-surface.md +104 -0
- package/docs/schema/catalog-model.md +58 -0
- package/docs/schema/code-generation.md +139 -0
- package/docs/schema/columns-and-writes.md +130 -0
- package/docs/schema/constraints-and-indexes.md +180 -0
- package/docs/schema/ddl-emission.md +75 -0
- package/docs/schema/diff.md +75 -0
- package/docs/schema/introspection.md +214 -0
- package/docs/schema/migration-plans.md +76 -0
- package/docs/schema/snapshots.md +93 -0
- package/docs/schema/storage-and-schema-sql.md +104 -0
- package/docs/schema/tables-and-names.md +106 -0
- package/docs/sql-semantic-types.md +141 -0
- package/docs/troubleshooting.md +151 -0
- package/package.json +132 -10
- package/skills/qubu/SKILL.md +42 -0
- package/skills/qubu/agents/openai.yaml +6 -0
- package/readme.md +0 -1
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { T as SnapshotJsonValue, m as SnapshotDialect, n as SchemaSnapshot } from "./types-4Q076HKo.mjs";
|
|
2
|
+
import { S as CompleteSnapshotObjectKind, t as CompleteSchemaSnapshot } from "./complete-types-BdFqUfbb.mjs";
|
|
3
|
+
//#region src/diff/types.d.ts
|
|
4
|
+
/** Object families understood by the snapshot diff engine. */
|
|
5
|
+
type SnapshotDiffObjectKind = CompleteSnapshotObjectKind;
|
|
6
|
+
/** A path into a canonical snapshot or one of its object records. */
|
|
7
|
+
type SnapshotDiffPath = readonly (string | number)[];
|
|
8
|
+
/** A stable reference to an object in a rename hint. */
|
|
9
|
+
interface SnapshotRenameTarget {
|
|
10
|
+
/** Stable logical ID, when the source or target snapshot has one. */
|
|
11
|
+
readonly id?: string;
|
|
12
|
+
/** Physical name evidence used when logical IDs changed. */
|
|
13
|
+
readonly physicalName?: string;
|
|
14
|
+
/** Optional exact object path for a repeated ID in a nested scope. */
|
|
15
|
+
readonly path?: SnapshotDiffPath;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* An explicit, serializable physical-rename mapping.
|
|
19
|
+
*
|
|
20
|
+
* `namespace` and `kind` are part of the key. A hint never crosses either
|
|
21
|
+
* boundary, and a hint is only authoritative after both targets resolve to
|
|
22
|
+
* exactly one object.
|
|
23
|
+
*/
|
|
24
|
+
interface SnapshotRenameHint {
|
|
25
|
+
readonly namespace?: string;
|
|
26
|
+
readonly kind: SnapshotDiffObjectKind;
|
|
27
|
+
readonly from: string | SnapshotRenameTarget;
|
|
28
|
+
readonly to: string | SnapshotRenameTarget;
|
|
29
|
+
}
|
|
30
|
+
/** Input accepted by the diff and hint helpers. */
|
|
31
|
+
type SnapshotDiffInput = SchemaSnapshot | CompleteSchemaSnapshot | string | Readonly<Record<string, unknown>>;
|
|
32
|
+
/** Evidence attached to an object, match, operation, or diagnostic. */
|
|
33
|
+
interface SnapshotDiffEvidence {
|
|
34
|
+
readonly kind: 'logical-id' | 'physical-name' | 'physical-reference' | 'provenance' | 'dialect' | 'canonical' | 'explicit-hint' | 'structural' | 'ambiguity';
|
|
35
|
+
readonly path?: SnapshotDiffPath;
|
|
36
|
+
readonly value?: SnapshotJsonValue;
|
|
37
|
+
readonly message?: string;
|
|
38
|
+
readonly confidence?: number;
|
|
39
|
+
}
|
|
40
|
+
/** An immutable object view retained by a diff result. */
|
|
41
|
+
interface SnapshotDiffObject {
|
|
42
|
+
readonly kind: SnapshotDiffObjectKind;
|
|
43
|
+
/** The deferred or opaque kind observed by an adapter, if any. */
|
|
44
|
+
readonly observedKind?: string;
|
|
45
|
+
readonly namespace?: string;
|
|
46
|
+
readonly path: SnapshotDiffPath;
|
|
47
|
+
readonly parent?: SnapshotDiffObjectReference;
|
|
48
|
+
readonly id: string;
|
|
49
|
+
readonly physicalName?: string;
|
|
50
|
+
readonly physicalReference?: SnapshotJsonValue;
|
|
51
|
+
readonly dialect: SnapshotDialect;
|
|
52
|
+
readonly provenance?: SnapshotJsonValue;
|
|
53
|
+
/** The original validated object record, retained as immutable data. */
|
|
54
|
+
readonly value: Readonly<Record<string, SnapshotJsonValue>>;
|
|
55
|
+
readonly evidence: readonly SnapshotDiffEvidence[];
|
|
56
|
+
}
|
|
57
|
+
/** A logical object reference used in parent and related-object evidence. */
|
|
58
|
+
interface SnapshotDiffObjectReference {
|
|
59
|
+
readonly kind: SnapshotDiffObjectKind;
|
|
60
|
+
readonly id: string;
|
|
61
|
+
readonly namespace?: string;
|
|
62
|
+
}
|
|
63
|
+
/** One changed property in a matched object pair. */
|
|
64
|
+
interface SnapshotDiffPropertyChange {
|
|
65
|
+
readonly path: SnapshotDiffPath;
|
|
66
|
+
readonly before?: SnapshotJsonValue;
|
|
67
|
+
readonly after?: SnapshotJsonValue;
|
|
68
|
+
}
|
|
69
|
+
/** Categories of emitted diff operations. */
|
|
70
|
+
type SnapshotDiffOperationType = 'add' | 'remove' | 'property-change' | 'physical-rename';
|
|
71
|
+
/** A diff operation. All variants retain both object identity and evidence. */
|
|
72
|
+
interface SnapshotDiffOperation {
|
|
73
|
+
readonly type: SnapshotDiffOperationType;
|
|
74
|
+
/** Alias for callers that use operation terminology. */
|
|
75
|
+
readonly operation: SnapshotDiffOperationType;
|
|
76
|
+
readonly classification: SnapshotDiffOperationType;
|
|
77
|
+
readonly changeKind: SnapshotDiffOperationType;
|
|
78
|
+
readonly kind: SnapshotDiffObjectKind;
|
|
79
|
+
readonly objectKind: SnapshotDiffObjectKind;
|
|
80
|
+
readonly namespace?: string;
|
|
81
|
+
readonly path: SnapshotDiffPath;
|
|
82
|
+
readonly dialect: SnapshotDialect;
|
|
83
|
+
readonly physicalReference?: SnapshotJsonValue;
|
|
84
|
+
readonly provenance?: SnapshotJsonValue;
|
|
85
|
+
readonly before?: SnapshotDiffObject;
|
|
86
|
+
readonly after?: SnapshotDiffObject;
|
|
87
|
+
readonly object?: SnapshotDiffObject;
|
|
88
|
+
readonly logicalId?: string;
|
|
89
|
+
readonly physicalName?: string;
|
|
90
|
+
readonly changedProperties?: readonly SnapshotDiffPropertyChange[];
|
|
91
|
+
readonly evidence: readonly SnapshotDiffEvidence[];
|
|
92
|
+
readonly source: 'stable-id' | 'explicit-hint';
|
|
93
|
+
readonly destructive: boolean;
|
|
94
|
+
}
|
|
95
|
+
/** A conservative structural match suggestion. It is never an operation. */
|
|
96
|
+
interface SnapshotRenameSuggestion {
|
|
97
|
+
readonly type: 'rename-suggestion';
|
|
98
|
+
readonly operation: 'rename-suggestion';
|
|
99
|
+
readonly kind: SnapshotDiffObjectKind;
|
|
100
|
+
readonly objectKind: SnapshotDiffObjectKind;
|
|
101
|
+
readonly namespace?: string;
|
|
102
|
+
readonly before: SnapshotDiffObject;
|
|
103
|
+
readonly after: SnapshotDiffObject;
|
|
104
|
+
readonly confidence: number;
|
|
105
|
+
readonly evidence: readonly SnapshotDiffEvidence[];
|
|
106
|
+
}
|
|
107
|
+
/** Diagnostic categories emitted by snapshot comparison and hint validation. */
|
|
108
|
+
type SnapshotDiffDiagnosticCode = 'ambiguous' | 'destructive' | 'unsupported' | 'unknown' | 'lossy' | 'invalid-snapshot' | 'invalid-rename-hint' | 'rename-conflict' | 'dialect-mismatch';
|
|
109
|
+
/** A path-addressed diff diagnostic with object and dialect context. */
|
|
110
|
+
interface SnapshotDiffDiagnostic {
|
|
111
|
+
readonly code: SnapshotDiffDiagnosticCode;
|
|
112
|
+
readonly category: SnapshotDiffDiagnosticCode;
|
|
113
|
+
readonly severity: 'error' | 'warning';
|
|
114
|
+
readonly message: string;
|
|
115
|
+
readonly path: SnapshotDiffPath;
|
|
116
|
+
readonly relatedPaths?: readonly SnapshotDiffPath[];
|
|
117
|
+
readonly kind?: SnapshotDiffObjectKind;
|
|
118
|
+
readonly objectKind?: SnapshotDiffObjectKind;
|
|
119
|
+
readonly namespace?: string;
|
|
120
|
+
readonly logicalId?: string;
|
|
121
|
+
readonly physicalName?: string;
|
|
122
|
+
readonly dialect?: SnapshotDialect;
|
|
123
|
+
readonly evidence?: readonly SnapshotDiffEvidence[];
|
|
124
|
+
}
|
|
125
|
+
/** Options controlling explicit hints and conservative suggestions. */
|
|
126
|
+
interface SnapshotDiffOptions {
|
|
127
|
+
/** Authoritative mappings. `renames` is accepted as an ergonomic alias. */
|
|
128
|
+
readonly renameHints?: readonly SnapshotRenameHint[];
|
|
129
|
+
readonly renames?: readonly SnapshotRenameHint[];
|
|
130
|
+
/** Disable structural suggestions while retaining stable and explicit matches. */
|
|
131
|
+
readonly suggestions?: boolean;
|
|
132
|
+
/** Minimum score for a unique heuristic suggestion. Defaults to 0.75. */
|
|
133
|
+
readonly suggestionThreshold?: number;
|
|
134
|
+
}
|
|
135
|
+
/** The complete immutable output of `diffSnapshots`. */
|
|
136
|
+
interface SnapshotDiff {
|
|
137
|
+
readonly equal: boolean;
|
|
138
|
+
readonly beforeVersion?: 1 | 2;
|
|
139
|
+
readonly afterVersion?: 1 | 2;
|
|
140
|
+
readonly beforeDialect?: SnapshotDialect;
|
|
141
|
+
readonly afterDialect?: SnapshotDialect;
|
|
142
|
+
readonly beforeDigest?: string;
|
|
143
|
+
readonly afterDigest?: string;
|
|
144
|
+
readonly operations: readonly SnapshotDiffOperation[];
|
|
145
|
+
readonly changes: readonly SnapshotDiffOperation[];
|
|
146
|
+
readonly additions: readonly SnapshotDiffOperation[];
|
|
147
|
+
readonly removals: readonly SnapshotDiffOperation[];
|
|
148
|
+
readonly propertyChanges: readonly SnapshotDiffOperation[];
|
|
149
|
+
readonly renames: readonly SnapshotDiffOperation[];
|
|
150
|
+
readonly added: readonly SnapshotDiffOperation[];
|
|
151
|
+
readonly removed: readonly SnapshotDiffOperation[];
|
|
152
|
+
readonly changed: readonly SnapshotDiffOperation[];
|
|
153
|
+
readonly physicalRenames: readonly SnapshotDiffOperation[];
|
|
154
|
+
readonly suggestions: readonly SnapshotRenameSuggestion[];
|
|
155
|
+
readonly diagnostics: readonly SnapshotDiffDiagnostic[];
|
|
156
|
+
readonly issues: readonly SnapshotDiffDiagnostic[];
|
|
157
|
+
readonly renameHints: readonly SnapshotRenameHint[];
|
|
158
|
+
readonly hints: readonly SnapshotRenameHint[];
|
|
159
|
+
}
|
|
160
|
+
/** Result returned by serializable rename-hint validation/decoding helpers. */
|
|
161
|
+
type SnapshotRenameHintResult = {
|
|
162
|
+
readonly ok: true;
|
|
163
|
+
readonly value: readonly SnapshotRenameHint[];
|
|
164
|
+
readonly diagnostics: readonly SnapshotDiffDiagnostic[];
|
|
165
|
+
} | {
|
|
166
|
+
readonly ok: false;
|
|
167
|
+
readonly value: readonly SnapshotRenameHint[];
|
|
168
|
+
readonly diagnostics: readonly SnapshotDiffDiagnostic[];
|
|
169
|
+
};
|
|
170
|
+
/** Decode diagnostics without throwing, suitable for editor and CLI callers. */
|
|
171
|
+
type SnapshotDiffDecodeResult = {
|
|
172
|
+
readonly ok: true;
|
|
173
|
+
readonly version: 1 | 2;
|
|
174
|
+
readonly value: SchemaSnapshot | CompleteSchemaSnapshot;
|
|
175
|
+
} | {
|
|
176
|
+
readonly ok: false;
|
|
177
|
+
readonly diagnostics: readonly SnapshotDiffDiagnostic[];
|
|
178
|
+
};
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region src/diff/diff.d.ts
|
|
181
|
+
/**
|
|
182
|
+
* Compare Snapshot v1 or v2 values and return immutable, reviewable data.
|
|
183
|
+
*
|
|
184
|
+
* The function never opens a connection, renders SQL, or turns a heuristic
|
|
185
|
+
* match into a rename. Invalid input and malformed hints are represented by
|
|
186
|
+
* diagnostics in the returned value.
|
|
187
|
+
*/
|
|
188
|
+
declare function diffSnapshots(beforeInput: SnapshotDiffInput, afterInput: SnapshotDiffInput, options?: SnapshotDiffOptions): SnapshotDiff;
|
|
189
|
+
/** Alias that reads naturally in comparison-oriented callers. */
|
|
190
|
+
declare const compareSnapshots: typeof diffSnapshots;
|
|
191
|
+
/** Decode and normalize a Snapshot v1 or v2 value without throwing. */
|
|
192
|
+
declare function decodeSnapshotForDiff(input: SnapshotDiffInput): SnapshotDiffDecodeResult;
|
|
193
|
+
/** Validate rename hints and return a frozen, serializable list. */
|
|
194
|
+
declare function validateSnapshotRenameHints(hints: readonly SnapshotRenameHint[] | unknown): SnapshotRenameHintResult;
|
|
195
|
+
/** Serialize validated rename hints as deterministic JSON. */
|
|
196
|
+
declare function encodeSnapshotRenameHints(hints: readonly SnapshotRenameHint[]): string;
|
|
197
|
+
/** Decode deterministic rename-hint JSON without throwing. */
|
|
198
|
+
declare function decodeSnapshotRenameHints(input: string | unknown): SnapshotRenameHintResult;
|
|
199
|
+
/** Short aliases for callers that keep rename helpers beside `diffSnapshots`. */
|
|
200
|
+
declare const validateRenameHints: typeof validateSnapshotRenameHints;
|
|
201
|
+
declare const encodeRenameHints: typeof encodeSnapshotRenameHints;
|
|
202
|
+
declare const decodeRenameHints: typeof decodeSnapshotRenameHints;
|
|
203
|
+
//#endregion
|
|
204
|
+
export { SnapshotDiffPropertyChange as C, SnapshotRenameTarget as D, SnapshotRenameSuggestion as E, SnapshotDiffPath as S, SnapshotRenameHintResult as T, SnapshotDiffObjectKind as _, diffSnapshots as a, SnapshotDiffOperationType as b, validateRenameHints as c, SnapshotDiffDecodeResult as d, SnapshotDiffDiagnostic as f, SnapshotDiffObject as g, SnapshotDiffInput as h, decodeSnapshotRenameHints as i, validateSnapshotRenameHints as l, SnapshotDiffEvidence as m, decodeRenameHints as n, encodeRenameHints as o, SnapshotDiffDiagnosticCode as p, decodeSnapshotForDiff as r, encodeSnapshotRenameHints as s, compareSnapshots as t, SnapshotDiff as u, SnapshotDiffObjectReference as v, SnapshotRenameHint as w, SnapshotDiffOptions as x, SnapshotDiffOperation as y };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as PaginationKind, $a as ExplainReadOptions, $c as ColumnReference, $i as lower, $l as SubqueryMeta, $n as RequiredOuterScope, $o as SourceConstraint, $r as SchemaOptions, $s as boolean, $t as SqliteIndexExtension, Aa as between, Ac as ResolvedColumnBehavior, Ai as offset, Al as HasSubquery, An as UpdateAssignments, Ao as QueryValidationError, Ar as SelectionSqlTypes, As as ColumnStorageDeclarationOf, B as CastTarget, Ba as asValue, Bc as SchemaDialectName, Bi as subtract, Bl as ProvidesOuterSourceMeta, Bn as MutationSqlTypes, Bo as ConstraintTiming, Br as SchemaRenderContext, Ca as isDistinctFrom, Cc as GeneratedColumnMode, Ci as omit, Cl as ExpressionMeta, Co as qubu, Cr as leftJoin, Cs as ColumnIsGenerated, Ct as SourceIdentity, Cu as SqlTypeSatisfies, Da as lte, Dc as IdentityGeneration, Di as rowLock, Dl as GroupingKeysOf, Do as RenderedQuery, Dr as Selection, Ds as ColumnOutput, Dt as SourceSqlTypeMap, Ea as lt, Ec as IdentityDialectExtension, Ei as RowLockOptions, El as GroupingDependenciesOf, Eo as RenderOptions, Er as groupBy, Es as ColumnOptions, Et as SourceRow, Fa as isTrue, Fc as externalGeneratedColumn, Fi as SelectClause, Fl as NullabilityOf, Fn as MutationQuery, Fo as CatalogCheckSql, Fr as RenderedSchemaExpression, Ft as Table, G as DialectJson, Ga as DriverValueEncoder, Gi as jsonPath, Gl as RequiresCapabilityMeta, Gn as returning, Go as ForeignKeyOptions, Gt as table, H as DialectCapability, Ha as value, Hi as jsonBoolean, Hl as QueryCardinality, Hn as ReturningClause, Ho as FieldLikeOptions, Hr as UnsafeSchemaSqlExpression, Hs as PortableColumnStorage, Ht as TableRow, Ic as generatedColumn, Ii as add, Il as NullableSourceMeta, In as MutationReturning, Io as CheckConstraint, Is as ColumnStorageTypeOf, It as TableColumns, J as DialectRowLocking, Ja as ExecutionResult, Ji as over, Jl as RequiresOuterOf, Jn as AvailableOuterScope, Jo as KeyConstraint, Jt as IndexTerm, K as DialectOptions, Ka as ExecutionOptions, Ki as jsonText, Kl as RequiresOf, Kn as correlate, Ko as ForeignKeyTarget, Kt as IndexDialectExtension, Lc as identityColumn, Li as divide, Ll as NullableSourcesOf, Ln as MutationReturningClause, Lo as CheckConstraintOptions, Lr as SchemaExpressionErrorCode, Ls as ColumnUpdateInput, Lt as TableDefinitions, Ma as notIn, Mc as SqliteIdentityExtension, Mi as distinct, Ml as InheritedMetadata, Mn as AllowAllClause, Mo as QueryValidationIssue, Mr as SchemaDialect, Ms as ColumnStorageDialectOf, Na as isNotNull, Ni as AnySelectClause, Nl as InheritedMetadataOf, Nn as MutationClause, No as AnyKeyColumn, Nr as SchemaDialectHooks, Ns as ColumnStorageKindOf, Oa as ne, Oc as LiteralDefaultDescriptor, Oi as fetchFirst, Ol as GroupingMeta, Oo as render, Or as SelectionObject, Os as ColumnSqlType, Pa as isNull, Pc as externalDefault, Pi as ClausePlacement, Pl as MetadataOf, Pn as MutationKind, Po as CatalogCheckExpression, Ps as ColumnStorageOf, Pt as AnyTable, Q as NamedCastTarget, Qa as ExplainPlanRow, Qc as ColumnDependency, Qi as concat, Ql as SqlTypeOf, Qn as MissingScope, Qo as ReferentialAction, Qr as SchemaNamingPolicy, Qs as binary, Qt as SourceIndexesRecord, Ri as modulo, Rl as OutputOf, Rn as MutationRow, Ro as ConstraintDialectExtension, Rr as SchemaExpressionInput, Rt as TableIdentity, Sa as gte, Sc as GeneratedColumnDescriptor, Si as SelectPart, Sl as DependenciesOf, So as explain, Sr as innerJoin, Ss as ColumnInsertInput, St as SourceConstraints, Su as SqlTimestamp, Ta as like, Tc as IdentityDescriptor, Ti as RowLockClause, Tl as FragmentMeta, Tr as rightJoin, Ts as ColumnOnUpdateOf, Tt as SourceProvision, Tu as SqlUuid, U as DialectCastTypes, Ua as cast, Uc as SchemaObjectIdentity, Ui as jsonExists, Ul as RenderContext, Un as ReturningRow, Uo as ForeignKeyConstraint, Ut as TableSqlTypes, V as Dialect, Vc as SchemaMetadataDiagnostic, Vi as JsonPath, Vl as ProvidesSourceMeta, Vn as allowAll, Vo as FieldLike, Vr as SchemaRenderOptions, W as DialectExplain, Wc as SchemaObjectNameOptions, Wi as jsonNumber, Wl as RenderFunction, Wn as ReturningSqlTypes, Wo as ForeignKeyMatch, Wt as TableUpdateInput, X as ExplainRenderOptions, Xa as ExplainOptions, Xi as rowNumber, Xl as RequiresSourceMeta, Xn as ClauseScope, Xo as MysqlConstraintExtension, Xr as Schema, Xt as PostgresIndexExtension, Y as ExplainFormat, Ya as ExplainMutationOptions, Yi as rank, Yl as RequiresOuterSourceMeta, Yn as AvailableScope, Yo as KeyConstraintOptions, Yr as unsafeSchemaSql, Yt as MysqlIndexExtension, Z as JsonScalarKind, Za as ExplainOptionsFor, Zi as coalesce, Zl as ResultMeta, Zn as GroupingValidation, Zo as PostgresConstraintExtension, Zr as SchemaDiagnostic, Zs as bigint, Zt as SourceIndex, _a as notExists, _c as DefaultDescriptor, _i as and, _l as AnyFragment, _n as insertSelect, _o as StreamingTransactionalQueryAdapter, _r as FromScope, _s as ColumnDefinition, _u as SqlOrderCompatible, aa as count, ac as nativeStorage, al as ExpressionNullability, an as desc, ao as QubuExplainableStreamingTransactionalClient, ar as RecursiveCteSource, as as UniqueConstraintOptions, at as SchemaLiteralRenderer, ba as eq, bc as ExternalDefaultDescriptor, bi as Omit, bl as CardinalityMeta, bo as execute, br as crossJoin, bs as ColumnHasDefault, bt as Source, bu as SqlText, ca as min, cc as portableStorage, cl as ExpressionSqlType, cn as order, co as QubuStreamingExplainableClient, cr as recursiveCte, cs as catalogForeignKey, cu as SqlBinary, da as SqlTag, dc as uuid, di as LateralIdentity, dn as DefaultValuesSource, do as QubuTransaction, dr as SetQuery, ds as primaryKey, dt as QueryKind, du as SqlDecimal, ea as upper, ec as column, ei as SchemaTableEntry, en as TableIndex, eo as ExplainRequest, er as RequiredScope, es as SourceConstraintsRecord, et as PaginationPart, eu as VisibleDependenciesOf, fa as TypedSqlTag, fc as CanonicalLiteral, fi as LateralSource, fn as InsertSelectSource, fo as QubuTransactionalClient, fr as except, fs as references, ft as QueryRow, fu as SqlEqualityComparable, ga as inQuery, gc as ColumnDefaultInput, gi as lateral, gl as AggregateMeta, gn as insertInto, go as StreamingQueryAdapter, gr as FromClause, gs as ColumnDefaultOf, gu as SqlNumericLike, ha as exists, hc as ColumnDefault, hi as alias, hl as AggregateDependenciesOf, hn as defaultValues, ho as StreamableQuery, hr as unionAll, ht as AnySource, hu as SqlJson, ia as avg, ic as nativeColumn, il as ExpressionKind, in as asc, io as QubuExplainableClient, ir as CteSource, is as UniqueConstraint, it as RowLockWaitPolicy, ja as inList, jc as SchemaLiteralValue, ji as having, jl as HasWindow, jn as update, jo as QueryValidationErrorCode, jr as all, ka as notLike, kc as MysqlIdentityExtension, ki as fetchNext, kl as HasAggregate, kn as UpdateAssignmentValue, ko as QueryTypeValidation, kr as SelectionOutput, ks as ColumnStorage, la as sum, lc as text, li as AliasIdentity, ll as ExpressionWithOutput, ln as orderBy, lo as QubuStreamingTransaction, lr as withCte, ls as check, lt as AnyQuery, lu as SqlBoolean, ma as caseWhen, mc as ColumnBehaviorErrorCode, mi as QuerySource, mn as ValuesSource, mo as QueryExecutor, mr as union, ms as uniqueConstraint, mt as Row, mu as SqlInteger, na as schemaCall, nc as integer, ni as SchemaTableRecord, nl as AnySchemaExpression, no as ExplainableQueryAdapter, nr as SelectCardinality, ns as SqliteConstraintExtension, nt as PortableCastType, oa as countDistinct, oc as nullable, ol as ExpressionOutput, on as nullsFirst, oo as QubuExplainableTransactionalClient, or as WithClause, os as UniqueNullSemantics, ou as AnySqlType, pa as sql, pc as ColumnBehaviorError, pi as QueryAliasIdentity, pn as InsertSource, po as QueryAdapter, pr as intersect, ps as unique, pt as QuerySqlTypeMap, pu as SqlEqualityCompatible, q as DialectPagination, qa as ExecutionRequest, qi as denseRank, ql as RequiresOuterMetadataOf, qn as select, qo as ForeignKeyTargetInput, qt as IndexOptions, rc as json, ri as SchemaTableRegistry, rl as Expression, rn as OrderTerm, ro as QubuClient, rr as SelectQuery, rs as TableLike, rt as RowLockMode, sa as max, sc as numeric, si as schema, sl as ExpressionRequires, sn as nullsLast, so as QubuStreamingClient, sr as cte, ss as catalogCheck, su as SqlBigInt, ta as call, tc as date, ti as SchemaTableNames, tl as AnyExpression, tn as index, to as ExplainResult, tr as ScopeValidation, ts as SourceLike, tt as PortableCastTarget, tu as WindowMeta, ua as SqlFragment, uc as timestamp, ui as AliasedSource, ul as SchemaExpression, un as deleteFrom, uo as QubuStreamingTransactionalClient, ur as SetOperator, us as foreignKey, ut as Query, uu as SqlDate, va as scalar, vc as ExpressionDefaultDescriptor, vi as not, vl as CapabilitiesOf, vn as values, vo as TransactionOptions, vr as FromSource, vt as ProvidedSourceIdentity, vu as SqlOrderable, wa as isNotDistinctFrom, wc as GeneratedDescriptor, wi as where, wl as Fragment, wo as stream, wr as naturalJoin, wt as SourceKind, wu as SqlUnknown, xa as gt, xc as ExternalGeneratedColumnDescriptor, xi as OmittableSelectClause, xl as CardinalityOf, xo as executeRows, xr as fullJoin, xs as ColumnIdentityOf, xt as SourceColumns, xu as SqlTextLike, yc as ExpressionGeneratedColumnDescriptor, yi as or, yl as CapabilityMetadataOf, yo as TransactionalQueryAdapter, yr as from, ys as ColumnGeneratedOf, yt as ProvidedSourceRow, yu as SqlSemanticType, zc as SchemaDialectExtension, zi as multiply, zl as ProvidesOuterOf, zn as MutationScopeValidation, zo as ConstraintOptions, zr as SchemaExpressionMode, zs as NativeColumnStorage, zt as TableInsertInput } from "./types-4Q076HKo.mjs";
|
|
2
|
+
export { type AggregateDependenciesOf, type AggregateMeta, type AliasIdentity, type AliasedSource, type AllowAllClause, type AnyExpression, type AnyFragment, type AnyKeyColumn, type AnyQuery, type AnySchemaExpression, type AnySelectClause, type AnySource, type AnySqlType, type AnyTable, type AvailableOuterScope, type AvailableScope, type CanonicalLiteral, type CapabilitiesOf, type CapabilityMetadataOf, type CardinalityMeta, type CardinalityOf, type CastTarget, type CatalogCheckExpression, type CatalogCheckSql, type CheckConstraint, type CheckConstraintOptions, type ClausePlacement, type ClauseScope, type ColumnBehaviorError, type ColumnBehaviorErrorCode, type ColumnDefault, type ColumnDefaultInput, type ColumnDefaultOf, type ColumnDefinition, type ColumnDependency, type ColumnGeneratedOf, type ColumnHasDefault, type ColumnIdentityOf, type ColumnInsertInput, type ColumnIsGenerated, type ColumnOnUpdateOf, type ColumnOptions, type ColumnOutput, type ColumnReference, type ColumnSqlType, type ColumnStorage, type ColumnStorageDeclarationOf, type ColumnStorageDialectOf, type ColumnStorageKindOf, type ColumnStorageOf, type ColumnStorageTypeOf, type ColumnUpdateInput, type ConstraintDialectExtension, type ConstraintOptions, type ConstraintTiming, type CteSource, type DefaultDescriptor, type DefaultValuesSource, type DependenciesOf, type Dialect, type DialectCapability, type DialectCastTypes, type DialectExplain, type DialectJson, type DialectOptions, type DialectPagination, type DialectRowLocking, type DriverValueEncoder, type ExecutionOptions, type ExecutionRequest, type ExecutionResult, type ExplainFormat, type ExplainMutationOptions, type ExplainOptions, type ExplainOptionsFor, type ExplainPlanRow, type ExplainReadOptions, type ExplainRenderOptions, type ExplainRequest, type ExplainResult, type ExplainableQueryAdapter, type Expression, type ExpressionDefaultDescriptor, type ExpressionGeneratedColumnDescriptor, type ExpressionKind, type ExpressionMeta, type ExpressionNullability, type ExpressionOutput, type ExpressionRequires, type ExpressionSqlType, type ExpressionWithOutput, type ExternalDefaultDescriptor, type ExternalGeneratedColumnDescriptor, type FieldLike, type FieldLikeOptions, type ForeignKeyConstraint, type ForeignKeyMatch, type ForeignKeyOptions, type ForeignKeyTarget, type ForeignKeyTargetInput, type Fragment, type FragmentMeta, type FromClause, type FromScope, type FromSource, type GeneratedColumnDescriptor, type GeneratedColumnMode, type GeneratedDescriptor, type GroupingDependenciesOf, type GroupingKeysOf, type GroupingMeta, type GroupingValidation, type HasAggregate, type HasSubquery, type HasWindow, type IdentityDescriptor, type IdentityDialectExtension, type IdentityGeneration, type IndexDialectExtension, type IndexOptions, type IndexTerm, type InheritedMetadata, type InheritedMetadataOf, type InsertSelectSource, type InsertSource, type JsonPath, type JsonScalarKind, type KeyConstraint, type KeyConstraintOptions, type LateralIdentity, type LateralSource, type LiteralDefaultDescriptor, type MetadataOf, type MissingScope, type MutationClause, type MutationKind, type MutationQuery, type MutationReturning, type MutationReturningClause, type MutationRow, type MutationScopeValidation, type MutationSqlTypes, type MysqlConstraintExtension, type MysqlIdentityExtension, type MysqlIndexExtension, type NamedCastTarget, type NativeColumnStorage, type NullabilityOf, type NullableSourceMeta, type NullableSourcesOf, type Omit, type OmittableSelectClause, type OrderTerm, type OutputOf, type PaginationKind, type PaginationPart, type PortableCastTarget, type PortableCastType, type PortableColumnStorage, type PostgresConstraintExtension, type PostgresIndexExtension, type ProvidedSourceIdentity, type ProvidedSourceRow, type ProvidesOuterOf, type ProvidesOuterSourceMeta, type ProvidesSourceMeta, type QubuClient, type QubuExplainableClient, type QubuExplainableStreamingTransactionalClient, type QubuExplainableTransactionalClient, type QubuStreamingClient, type QubuStreamingExplainableClient, type QubuStreamingTransaction, type QubuStreamingTransactionalClient, type QubuTransaction, type QubuTransactionalClient, type Query, type QueryAdapter, type QueryAliasIdentity, type QueryCardinality, type QueryExecutor, type QueryKind, type QueryRow, type QuerySource, type QuerySqlTypeMap, type QueryTypeValidation, QueryValidationError, type QueryValidationErrorCode, type QueryValidationIssue, type RecursiveCteSource, type ReferentialAction, type RenderContext, type RenderFunction, type RenderOptions, type RenderedQuery, type RenderedSchemaExpression, type RequiredOuterScope, type RequiredScope, type RequiresCapabilityMeta, type RequiresOf, type RequiresOuterMetadataOf, type RequiresOuterOf, type RequiresOuterSourceMeta, type RequiresSourceMeta, type ResolvedColumnBehavior, type ResultMeta, type ReturningClause, type ReturningRow, type ReturningSqlTypes, type Row, type RowLockClause, type RowLockMode, type RowLockOptions, type RowLockWaitPolicy, type Schema, type SchemaDiagnostic, type SchemaDialect, type SchemaDialectExtension, type SchemaDialectHooks, type SchemaDialectName, type SchemaExpression, type SchemaExpressionErrorCode, type SchemaExpressionInput, type SchemaExpressionMode, type SchemaLiteralRenderer, type SchemaLiteralValue, type SchemaMetadataDiagnostic, type SchemaNamingPolicy, type SchemaObjectIdentity, type SchemaObjectNameOptions, type SchemaOptions, type SchemaRenderContext, type SchemaRenderOptions, type SchemaTableEntry, type SchemaTableNames, type SchemaTableRecord, type SchemaTableRegistry, type ScopeValidation, type SelectCardinality, type SelectClause, type SelectPart, type SelectQuery, type Selection, type SelectionObject, type SelectionOutput, type SelectionSqlTypes, type SetOperator, type SetQuery, type Source, type SourceColumns, type SourceConstraint, type SourceConstraints, type SourceConstraintsRecord, type SourceIdentity, type SourceIndex, type SourceIndexesRecord, type SourceKind, type SourceLike, type SourceProvision, type SourceRow, type SourceSqlTypeMap, type SqlBigInt, type SqlBinary, type SqlBoolean, type SqlDate, type SqlDecimal, type SqlEqualityComparable, type SqlEqualityCompatible, type SqlFragment, type SqlInteger, type SqlJson, type SqlNumericLike, type SqlOrderCompatible, type SqlOrderable, type SqlSemanticType, type SqlTag, type SqlText, type SqlTextLike, type SqlTimestamp, type SqlTypeOf, type SqlTypeSatisfies, type SqlUnknown, type SqlUuid, type SqliteConstraintExtension, type SqliteIdentityExtension, type SqliteIndexExtension, type StreamableQuery, type StreamingQueryAdapter, type StreamingTransactionalQueryAdapter, type SubqueryMeta, type Table, type TableColumns, type TableDefinitions, type TableIdentity, type TableIndex, type TableInsertInput, type TableLike, type TableRow, type TableSqlTypes, type TableUpdateInput, type TransactionOptions, type TransactionalQueryAdapter, type TypedSqlTag, type UniqueConstraint, type UniqueConstraintOptions, type UniqueNullSemantics, type UnsafeSchemaSqlExpression, type UpdateAssignmentValue, type UpdateAssignments, type ValuesSource, type VisibleDependenciesOf, type WindowMeta, type WithClause, add, alias, all, allowAll, and, asValue, asc, avg, between, bigint, binary, boolean, call, caseWhen, cast, catalogCheck, catalogForeignKey, check, coalesce, column, concat, correlate, count, countDistinct, crossJoin, cte, date, defaultValues, deleteFrom, denseRank, desc, distinct, divide, eq, except, execute, executeRows, exists, explain, externalDefault, externalGeneratedColumn, fetchFirst, fetchNext, foreignKey, from, fullJoin, generatedColumn, groupBy, gt, gte, having, identityColumn, inList, inQuery, index, innerJoin, insertInto, insertSelect, integer, intersect, isDistinctFrom, isNotDistinctFrom, isNotNull, isNull, isTrue, json, jsonBoolean, jsonExists, jsonNumber, jsonPath, jsonText, lateral, leftJoin, like, lower, lt, lte, max, min, modulo, multiply, nativeColumn, nativeStorage, naturalJoin, ne, not, notExists, notIn, notLike, nullable, nullsFirst, nullsLast, numeric, offset, omit, or, order, orderBy, over, portableStorage, primaryKey, qubu, rank, recursiveCte, references, render, returning, rightJoin, rowLock, rowNumber, scalar, schema, schemaCall, select, sql, stream, subtract, sum, table, text, timestamp, union, unionAll, unique, uniqueConstraint, unsafeSchemaSql, update, upper, uuid, value, values, where, withCte };
|