@resolveio/server-lib 20.7.102 → 20.7.103

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.
@@ -50,11 +50,30 @@ export declare type MongoManagerUnsetFilter<T> = {
50
50
  export declare type MongoManagerIncFilter<T> = {
51
51
  [P in keyof T]?: number;
52
52
  };
53
+ export declare type MongoManagerRenameFilter<T> = {
54
+ [P in keyof T]?: string;
55
+ };
56
+ export declare type MongoManagerArrayFilter<T> = {
57
+ [P in keyof T]?: any;
58
+ };
59
+ export declare type MongoManagerCurrentDateFilter<T> = {
60
+ [P in keyof T]?: true | {
61
+ $type: 'date' | 'timestamp';
62
+ };
63
+ };
53
64
  export declare type MongoManagerUpdateFilter<T> = {
54
- $inc?: MongoManagerIncFilter<T> | Document;
55
65
  $set?: MongoManagerFilter<T> | Document;
56
- $setOnInsert?: MongoManagerFilter<T> | Document;
57
66
  $unset?: MongoManagerUnsetFilter<T> | Document;
67
+ $inc?: MongoManagerIncFilter<T> | Document;
68
+ $setOnInsert?: MongoManagerFilter<T> | Document;
69
+ $push?: MongoManagerArrayFilter<T> | Document;
70
+ $pull?: MongoManagerArrayFilter<T> | Document;
71
+ $addToSet?: MongoManagerArrayFilter<T> | Document;
72
+ $min?: MongoManagerIncFilter<T> | Document;
73
+ $max?: MongoManagerIncFilter<T> | Document;
74
+ $currentDate?: MongoManagerCurrentDateFilter<T> | Document;
75
+ $mul?: MongoManagerIncFilter<T> | Document;
76
+ $rename?: MongoManagerRenameFilter<T>;
58
77
  };
59
78
  export declare class MongoManager {
60
79
  private _collections;