@aeriajs/types 0.0.38 → 0.0.39
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/dist/schema.d.ts +1 -7
- package/package.json +1 -4
package/dist/functions.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export type Filters<TDocument> = StrictFilter<any> & Partial<{
|
|
|
25
25
|
}>;
|
|
26
26
|
export type What<TDocument> = {
|
|
27
27
|
_id: ObjectId | string;
|
|
28
|
-
} & Partial<PackReferences<TDocument>> & RemoveAny<StrictUpdateFilter<TDocument
|
|
28
|
+
} & Partial<Omit<PackReferences<TDocument>, '_id'>> & RemoveAny<StrictUpdateFilter<PackReferences<TDocument>>> | {
|
|
29
29
|
_id?: null;
|
|
30
30
|
} & Omit<PackReferences<TDocument>, '_id'>;
|
|
31
31
|
export type Projection<TDocument> = keyof TDocument | '_id' extends infer DocumentProp ? TDocument extends string ? DocumentProp[] : string[] : never;
|
package/dist/schema.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -24,9 +24,6 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@phosphor-icons/core": "^2.1.1"
|
|
26
26
|
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"mongodb": "^6.5.0"
|
|
29
|
-
},
|
|
30
27
|
"scripts": {
|
|
31
28
|
"test": "echo skipping",
|
|
32
29
|
"lint": "eslint src",
|