@aeriajs/types 0.0.7 → 0.0.8
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/functions.d.ts +1 -1
- package/package.json +1 -1
package/dist/functions.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type StrictFilterOperators<TDocument> = FilterOperators<TDocument> extend
|
|
|
14
14
|
[P in keyof InferredFilters as 0 extends (InferredFilters[P] & 1) ? never : P]: InferredFilters[P];
|
|
15
15
|
} : never;
|
|
16
16
|
export type Filters<TDocument> = Partial<{
|
|
17
|
-
[P in keyof TDocument]: TDocument[P] | StrictFilterOperators<TDocument[P]>;
|
|
17
|
+
[P in keyof TDocument]: PackReferences<TDocument>[P] | StrictFilterOperators<PackReferences<TDocument>[P]>;
|
|
18
18
|
}>;
|
|
19
19
|
export type What<TDocument> = StrictUpdateFilter<TDocument> & {
|
|
20
20
|
[P in keyof TDocument]?: '_id' extends keyof TDocument[P] ? TDocument[P] | string : TDocument[P];
|