@tmlmobilidade/interfaces 20250827.1644.13 → 20250827.1706.15
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.
|
@@ -3,7 +3,7 @@ interface MatchStage<T> {
|
|
|
3
3
|
$match: Filter<T>;
|
|
4
4
|
}
|
|
5
5
|
interface ProjectStage<T> {
|
|
6
|
-
$project: Partial<Record<keyof T, 0 | 1>>;
|
|
6
|
+
$project: Partial<Record<keyof T, 0 | 1> | Record<string, 0 | 1>>;
|
|
7
7
|
}
|
|
8
8
|
interface GroupStage {
|
|
9
9
|
$group: {
|
|
@@ -12,7 +12,7 @@ interface GroupStage {
|
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
interface SortStage<T> {
|
|
15
|
-
$sort: Partial<Record<keyof T, -1 | 1>>;
|
|
15
|
+
$sort: Partial<Record<keyof T, -1 | 1> | Record<string, -1 | 1>>;
|
|
16
16
|
}
|
|
17
17
|
interface LimitStage {
|
|
18
18
|
$limit: number;
|
package/package.json
CHANGED