pqb 0.68.0 → 0.68.1
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/index.d.ts +5 -1
- package/dist/index.js +77 -128
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +77 -128
- package/dist/index.mjs.map +1 -1
- package/dist/internal.d.ts +5 -1
- package/package.json +1 -1
package/dist/internal.d.ts
CHANGED
|
@@ -5039,6 +5039,8 @@ interface Base$1<Value> {
|
|
|
5039
5039
|
__hasSelect: true;
|
|
5040
5040
|
equals: Operator<Value | IsQuery$1 | Expression$1, BooleanQueryColumn>;
|
|
5041
5041
|
not: Operator<Value | IsQuery$1 | Expression$1, BooleanQueryColumn>;
|
|
5042
|
+
isDistinctFrom: Operator<Value | IsQuery$1 | Expression$1, BooleanQueryColumn>;
|
|
5043
|
+
isNotDistinctFrom: Operator<Value | IsQuery$1 | Expression$1, BooleanQueryColumn>;
|
|
5042
5044
|
in: Operator<Value[] | IsQuery$1 | Expression$1, BooleanQueryColumn>;
|
|
5043
5045
|
notIn: Operator<Value[] | IsQuery$1 | Expression$1, BooleanQueryColumn>;
|
|
5044
5046
|
}
|
|
@@ -7250,7 +7252,7 @@ declare namespace Column$1 {
|
|
|
7250
7252
|
unique: Name;
|
|
7251
7253
|
};
|
|
7252
7254
|
};
|
|
7253
|
-
export type Nullable<T extends Column$1.Pick.ForNullable, InputSchema, OutputSchema, QuerySchema> = { [K in keyof T]: K extends '__type' ? T['__type'] | null : K extends '__inputType' ? T['__inputType'] | null : K extends 'inputSchema' ? InputSchema : K extends '__outputType' ? T['__outputType'] | (unknown extends T['__nullType'] ? null : T['__nullType']) : K extends 'outputSchema' ? OutputSchema : K extends '__queryType' ? T['__queryType'] | null : K extends 'querySchema' ? QuerySchema : K extends 'data' ? T['data'] & DataNullable : K extends 'operators' ? { [K in keyof T['operators']]: K extends 'equals' | 'not' ? Operator<T | null> : T['operators'][K] } : T[K] };
|
|
7255
|
+
export type Nullable<T extends Column$1.Pick.ForNullable, InputSchema, OutputSchema, QuerySchema> = { [K in keyof T]: K extends '__type' ? T['__type'] | null : K extends '__inputType' ? T['__inputType'] | null : K extends 'inputSchema' ? InputSchema : K extends '__outputType' ? T['__outputType'] | (unknown extends T['__nullType'] ? null : T['__nullType']) : K extends 'outputSchema' ? OutputSchema : K extends '__queryType' ? T['__queryType'] | null : K extends 'querySchema' ? QuerySchema : K extends 'data' ? T['data'] & DataNullable : K extends 'operators' ? { [K in keyof T['operators']]: K extends 'equals' | 'not' | 'isDistinctFrom' | 'isNotDistinctFrom' ? Operator<T | null> : T['operators'][K] } : T[K] };
|
|
7254
7256
|
export type QueryColumnToNullable<C> = { [K in keyof C]: K extends '__outputType' | '__queryType' ? C[K] | null : C[K] };
|
|
7255
7257
|
export type QueryColumnToOptional<C> = { [K in keyof C]: K extends '__outputType' ? C[K] | undefined : C[K] };
|
|
7256
7258
|
interface DataNullable {
|
|
@@ -7260,6 +7262,8 @@ declare namespace Column$1 {
|
|
|
7260
7262
|
export interface OperatorsNullable<T> {
|
|
7261
7263
|
equals: Operator<T | null>;
|
|
7262
7264
|
not: Operator<T | null>;
|
|
7265
|
+
isDistinctFrom: Operator<T | null>;
|
|
7266
|
+
isNotDistinctFrom: Operator<T | null>;
|
|
7263
7267
|
}
|
|
7264
7268
|
export type Encode<T, InputSchema, Input> = { [K in keyof T]: K extends '__inputType' ? Input : K extends 'inputSchema' ? InputSchema : T[K] };
|
|
7265
7269
|
export type Parse<T extends Pick.ForParse, OutputSchema, Output> = { [K in keyof T]: K extends '__outputType' ? null extends T['__type'] ? (Output extends null ? never : Output) | (unknown extends T['__nullType'] ? null : T['__nullType']) : Output : K extends 'outputSchema' ? null extends T['__type'] ? OutputSchema | T['nullSchema'] : OutputSchema : T[K] };
|