We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 351a1fc commit 050ea2aCopy full SHA for 050ea2a
crates/bindings-typescript/src/server/type_builders.test-d.ts
@@ -5,6 +5,7 @@ import type {
5
InferTypeOfRow,
6
InferTypeOfTypeBuilder,
7
TypeBuilder,
8
+ U8ColumnBuilder,
9
} from './type_builders';
10
11
type MustBeNever<T> = [T] extends [never]
@@ -93,6 +94,9 @@ const _row3: {
93
94
// eslint-disable-next-line @typescript-eslint/no-unused-vars
95
const _row4: {
96
foo: TypeBuilder<string, AlgebraicTypeVariants.String>;
97
+ baz: U8ColumnBuilder<{
98
+ isAutoIncrement: true;
99
+ }>;
100
bar: I32ColumnBuilder<{
101
isPrimaryKey: true;
102
}>;
@@ -102,6 +106,7 @@ const _row4: {
106
103
107
} = {
104
108
foo: t.string(),
109
+ baz: t.u8().autoInc(),
105
110
bar: t.i32().primaryKey(),
111
idx: t.i64().unique().index('btree'),
112
};
0 commit comments