@ngageoint/mage.service 6.6.1 → 6.6.3

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.
Files changed (139) hide show
  1. package/lib/adapters/base/adapters.base.db.mongoose.d.ts +7 -7
  2. package/lib/adapters/base/adapters.base.db.mongoose.d.ts.map +1 -1
  3. package/lib/adapters/base/adapters.base.db.mongoose.js +5 -3
  4. package/lib/adapters/base/adapters.base.db.mongoose.js.map +1 -1
  5. package/lib/adapters/events/adapters.events.db.mongoose.d.ts +23 -1
  6. package/lib/adapters/events/adapters.events.db.mongoose.d.ts.map +1 -1
  7. package/lib/adapters/events/adapters.events.db.mongoose.js.map +1 -1
  8. package/lib/adapters/feeds/adapters.feeds.db.mongoose.d.ts +48 -6
  9. package/lib/adapters/feeds/adapters.feeds.db.mongoose.d.ts.map +1 -1
  10. package/lib/adapters/feeds/adapters.feeds.db.mongoose.js +3 -3
  11. package/lib/adapters/feeds/adapters.feeds.db.mongoose.js.map +1 -1
  12. package/lib/adapters/icons/adapters.icons.db.mongoose.d.ts +11 -1
  13. package/lib/adapters/icons/adapters.icons.db.mongoose.d.ts.map +1 -1
  14. package/lib/adapters/icons/adapters.icons.db.mongoose.js +1 -1
  15. package/lib/adapters/icons/adapters.icons.db.mongoose.js.map +1 -1
  16. package/lib/adapters/settings/adapters.settings.db.mongoose.d.ts +9 -1
  17. package/lib/adapters/settings/adapters.settings.db.mongoose.d.ts.map +1 -1
  18. package/lib/adapters/systemInfo/adapters.systemInfo.service.js.map +1 -1
  19. package/lib/adapters/users/adapters.users.db.mongoose.d.ts +9 -1
  20. package/lib/adapters/users/adapters.users.db.mongoose.d.ts.map +1 -1
  21. package/lib/api/event.js +1 -1
  22. package/lib/api/event.js.map +1 -1
  23. package/lib/api/icon.d.ts.map +1 -1
  24. package/lib/api/icon.js +3 -5
  25. package/lib/api/icon.js.map +1 -1
  26. package/lib/api/layer.d.ts +30 -17
  27. package/lib/api/layer.d.ts.map +1 -1
  28. package/lib/app.impl/systemInfo/app.impl.systemInfo.d.ts.map +1 -1
  29. package/lib/app.impl/systemInfo/app.impl.systemInfo.js +3 -1
  30. package/lib/app.impl/systemInfo/app.impl.systemInfo.js.map +1 -1
  31. package/lib/dist-package.json +8 -8
  32. package/lib/export/exporter.d.ts.map +1 -1
  33. package/lib/export/exporter.js.map +1 -1
  34. package/lib/export/geopackage.js +2 -1
  35. package/lib/export/geopackage.js.map +1 -1
  36. package/lib/migrations/005-create-osm-layer.js +2 -2
  37. package/lib/migrations/005-create-osm-layer.js.map +1 -1
  38. package/lib/migrations/006-event-teams.d.ts.map +1 -1
  39. package/lib/migrations/006-event-teams.js +1 -3
  40. package/lib/migrations/006-event-teams.js.map +1 -1
  41. package/lib/migrations/007-user-icon.js +1 -1
  42. package/lib/migrations/007-user-icon.js.map +1 -1
  43. package/lib/migrations/009-create-manager-role.js +2 -2
  44. package/lib/migrations/009-create-manager-role.js.map +1 -1
  45. package/lib/migrations/010-add-user-device-manager-role.js +3 -3
  46. package/lib/migrations/010-add-user-device-manager-role.js.map +1 -1
  47. package/lib/migrations/011-multiple-forms.js +12 -12
  48. package/lib/migrations/011-multiple-forms.js.map +1 -1
  49. package/lib/migrations/012-user-role-remove-delete.d.ts.map +1 -1
  50. package/lib/migrations/012-user-role-remove-delete.js +2 -6
  51. package/lib/migrations/012-user-role-remove-delete.js.map +1 -1
  52. package/lib/migrations/013-ensure-event-indexes.js +1 -1
  53. package/lib/migrations/013-ensure-event-indexes.js.map +1 -1
  54. package/lib/migrations/014-add-role-update-permission.d.ts.map +1 -1
  55. package/lib/migrations/014-add-role-update-permission.js +2 -6
  56. package/lib/migrations/014-add-role-update-permission.js.map +1 -1
  57. package/lib/migrations/015-manager-role-add-user-create.d.ts.map +1 -1
  58. package/lib/migrations/015-manager-role-add-user-create.js +2 -6
  59. package/lib/migrations/015-manager-role-add-user-create.js.map +1 -1
  60. package/lib/migrations/016-set-feed-primary-secondary.js +4 -4
  61. package/lib/migrations/016-set-feed-primary-secondary.js.map +1 -1
  62. package/lib/migrations/018-feeds-admin-permissions.d.ts.map +1 -1
  63. package/lib/migrations/018-feeds-admin-permissions.js +2 -2
  64. package/lib/migrations/018-feeds-admin-permissions.js.map +1 -1
  65. package/lib/migrations/022-copy-auth-from-config-to-db.js +1 -1
  66. package/lib/migrations/022-copy-auth-from-config-to-db.js.map +1 -1
  67. package/lib/migrations/029-attachment-form-field.js +7 -7
  68. package/lib/migrations/029-attachment-form-field.js.map +1 -1
  69. package/lib/migrations/030-add-read-system-info-permissions.d.ts.map +1 -1
  70. package/lib/migrations/030-add-read-system-info-permissions.js +2 -6
  71. package/lib/migrations/030-add-read-system-info-permissions.js.map +1 -1
  72. package/lib/migrations/030-map-search-settings.js +4 -4
  73. package/lib/migrations/030-map-search-settings.js.map +1 -1
  74. package/lib/models/authentication.d.ts +259 -51
  75. package/lib/models/authentication.d.ts.map +1 -1
  76. package/lib/models/authentication.js +2 -2
  77. package/lib/models/authentication.js.map +1 -1
  78. package/lib/models/authenticationconfiguration.d.ts +192 -89
  79. package/lib/models/authenticationconfiguration.d.ts.map +1 -1
  80. package/lib/models/authenticationconfiguration.js +1 -1
  81. package/lib/models/cappedLocation.d.ts +70 -13
  82. package/lib/models/cappedLocation.d.ts.map +1 -1
  83. package/lib/models/cappedLocation.js +3 -7
  84. package/lib/models/cappedLocation.js.map +1 -1
  85. package/lib/models/device.d.ts +113 -66
  86. package/lib/models/device.d.ts.map +1 -1
  87. package/lib/models/device.js +2 -2
  88. package/lib/models/device.js.map +1 -1
  89. package/lib/models/event.d.ts.map +1 -1
  90. package/lib/models/event.js +45 -94
  91. package/lib/models/event.js.map +1 -1
  92. package/lib/models/export.d.ts.map +1 -1
  93. package/lib/models/export.js +2 -2
  94. package/lib/models/export.js.map +1 -1
  95. package/lib/models/icon.d.ts.map +1 -1
  96. package/lib/models/icon.js +4 -12
  97. package/lib/models/icon.js.map +1 -1
  98. package/lib/models/layer.d.ts +66 -21
  99. package/lib/models/layer.d.ts.map +1 -1
  100. package/lib/models/layer.js +3 -3
  101. package/lib/models/layer.js.map +1 -1
  102. package/lib/models/location.d.ts.map +1 -1
  103. package/lib/models/location.js +2 -6
  104. package/lib/models/location.js.map +1 -1
  105. package/lib/models/login.d.ts.map +1 -1
  106. package/lib/models/login.js +6 -12
  107. package/lib/models/login.js.map +1 -1
  108. package/lib/models/observation.d.ts.map +1 -1
  109. package/lib/models/observation.js +27 -31
  110. package/lib/models/observation.js.map +1 -1
  111. package/lib/models/role.d.ts.map +1 -1
  112. package/lib/models/role.js +7 -20
  113. package/lib/models/role.js.map +1 -1
  114. package/lib/models/setting.d.ts.map +1 -1
  115. package/lib/models/team.d.ts.map +1 -1
  116. package/lib/models/team.js +27 -43
  117. package/lib/models/team.js.map +1 -1
  118. package/lib/models/token.d.ts.map +1 -1
  119. package/lib/models/token.js +27 -20
  120. package/lib/models/token.js.map +1 -1
  121. package/lib/models/user.d.ts.map +1 -1
  122. package/lib/models/user.js +23 -49
  123. package/lib/models/user.js.map +1 -1
  124. package/lib/routes/exports.d.ts.map +1 -1
  125. package/lib/routes/exports.js +2 -1
  126. package/lib/routes/exports.js.map +1 -1
  127. package/lib/routes/observations.d.ts.map +1 -1
  128. package/lib/routes/observations.js +1 -1
  129. package/lib/routes/observations.js.map +1 -1
  130. package/lib/routes/users.d.ts.map +1 -1
  131. package/lib/routes/users.js +104 -49
  132. package/lib/routes/users.js.map +1 -1
  133. package/lib/tsconfig.tsbuildinfo +1 -1
  134. package/lib/utilities/filterParser.js +2 -2
  135. package/lib/utilities/filterParser.js.map +1 -1
  136. package/lib/utilities/paging.js +1 -1
  137. package/lib/utilities/paging.js.map +1 -1
  138. package/npm-shrinkwrap.json +729 -252
  139. package/package.json +8 -8
@@ -15,173 +15,275 @@
15
15
  /// <reference types="mongoose/types/populate" />
16
16
  /// <reference types="mongoose/types/query" />
17
17
  /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
18
  /// <reference types="mongoose/types/session" />
20
19
  /// <reference types="mongoose/types/types" />
21
20
  /// <reference types="mongoose/types/utility" />
22
21
  /// <reference types="mongoose/types/validation" />
23
22
  /// <reference types="mongoose/types/virtuals" />
23
+ /// <reference types="mongoose/types/schematypes" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- export function getById(id: any): Promise<(mongoose.Document<unknown, any, {
25
+ /// <reference types="mongoose/types/inferrawdoctype" />
26
+ export function getById(id: any): Promise<(mongoose.Document<unknown, {}, {
27
+ [x: string]: NativeDate;
26
28
  type: string;
27
29
  enabled: boolean;
28
30
  name: string;
29
- title?: string | undefined;
30
- icon?: Buffer | undefined;
31
+ title?: string | null | undefined;
32
+ icon?: Buffer | null | undefined;
31
33
  settings?: any;
32
- textColor?: string | undefined;
33
- buttonColor?: string | undefined;
34
- }> & Omit<{
34
+ textColor?: string | null | undefined;
35
+ buttonColor?: string | null | undefined;
36
+ }, {}, {
37
+ timestamps: {
38
+ updatedAt: string;
39
+ };
40
+ versionKey: false;
41
+ toObject: {
42
+ transform: typeof DbAuthenticationConfigurationToObject;
43
+ };
44
+ }> & {
45
+ [x: string]: NativeDate;
35
46
  type: string;
36
47
  enabled: boolean;
37
48
  name: string;
38
- title?: string | undefined;
39
- icon?: Buffer | undefined;
49
+ title?: string | null | undefined;
50
+ icon?: Buffer | null | undefined;
40
51
  settings?: any;
41
- textColor?: string | undefined;
42
- buttonColor?: string | undefined;
52
+ textColor?: string | null | undefined;
53
+ buttonColor?: string | null | undefined;
43
54
  } & {
44
55
  _id: mongoose.Types.ObjectId;
45
- }, never>) | null>;
46
- export function getConfiguration(type: any, name: any): Promise<(mongoose.Document<unknown, any, {
56
+ }) | null>;
57
+ export function getConfiguration(type: any, name: any): Promise<(mongoose.Document<unknown, {}, {
58
+ [x: string]: NativeDate;
47
59
  type: string;
48
60
  enabled: boolean;
49
61
  name: string;
50
- title?: string | undefined;
51
- icon?: Buffer | undefined;
62
+ title?: string | null | undefined;
63
+ icon?: Buffer | null | undefined;
52
64
  settings?: any;
53
- textColor?: string | undefined;
54
- buttonColor?: string | undefined;
55
- }> & Omit<{
65
+ textColor?: string | null | undefined;
66
+ buttonColor?: string | null | undefined;
67
+ }, {}, {
68
+ timestamps: {
69
+ updatedAt: string;
70
+ };
71
+ versionKey: false;
72
+ toObject: {
73
+ transform: typeof DbAuthenticationConfigurationToObject;
74
+ };
75
+ }> & {
76
+ [x: string]: NativeDate;
56
77
  type: string;
57
78
  enabled: boolean;
58
79
  name: string;
59
- title?: string | undefined;
60
- icon?: Buffer | undefined;
80
+ title?: string | null | undefined;
81
+ icon?: Buffer | null | undefined;
61
82
  settings?: any;
62
- textColor?: string | undefined;
63
- buttonColor?: string | undefined;
83
+ textColor?: string | null | undefined;
84
+ buttonColor?: string | null | undefined;
64
85
  } & {
65
86
  _id: mongoose.Types.ObjectId;
66
- }, never>) | null>;
67
- export function getConfigurationsByType(type: any): Promise<(mongoose.Document<unknown, any, {
87
+ }) | null>;
88
+ export function getConfigurationsByType(type: any): Promise<(mongoose.Document<unknown, {}, {
89
+ [x: string]: NativeDate;
68
90
  type: string;
69
91
  enabled: boolean;
70
92
  name: string;
71
- title?: string | undefined;
72
- icon?: Buffer | undefined;
93
+ title?: string | null | undefined;
94
+ icon?: Buffer | null | undefined;
73
95
  settings?: any;
74
- textColor?: string | undefined;
75
- buttonColor?: string | undefined;
76
- }> & Omit<{
96
+ textColor?: string | null | undefined;
97
+ buttonColor?: string | null | undefined;
98
+ }, {}, {
99
+ timestamps: {
100
+ updatedAt: string;
101
+ };
102
+ versionKey: false;
103
+ toObject: {
104
+ transform: typeof DbAuthenticationConfigurationToObject;
105
+ };
106
+ }> & {
107
+ [x: string]: NativeDate;
77
108
  type: string;
78
109
  enabled: boolean;
79
110
  name: string;
80
- title?: string | undefined;
81
- icon?: Buffer | undefined;
111
+ title?: string | null | undefined;
112
+ icon?: Buffer | null | undefined;
82
113
  settings?: any;
83
- textColor?: string | undefined;
84
- buttonColor?: string | undefined;
114
+ textColor?: string | null | undefined;
115
+ buttonColor?: string | null | undefined;
85
116
  } & {
86
117
  _id: mongoose.Types.ObjectId;
87
- }, never>)[]>;
88
- export function getAllConfigurations(): Promise<(mongoose.Document<unknown, any, {
118
+ })[]>;
119
+ export function getAllConfigurations(): Promise<(mongoose.Document<unknown, {}, {
120
+ [x: string]: NativeDate;
89
121
  type: string;
90
122
  enabled: boolean;
91
123
  name: string;
92
- title?: string | undefined;
93
- icon?: Buffer | undefined;
124
+ title?: string | null | undefined;
125
+ icon?: Buffer | null | undefined;
94
126
  settings?: any;
95
- textColor?: string | undefined;
96
- buttonColor?: string | undefined;
97
- }> & Omit<{
127
+ textColor?: string | null | undefined;
128
+ buttonColor?: string | null | undefined;
129
+ }, {}, {
130
+ timestamps: {
131
+ updatedAt: string;
132
+ };
133
+ versionKey: false;
134
+ toObject: {
135
+ transform: typeof DbAuthenticationConfigurationToObject;
136
+ };
137
+ }> & {
138
+ [x: string]: NativeDate;
98
139
  type: string;
99
140
  enabled: boolean;
100
141
  name: string;
101
- title?: string | undefined;
102
- icon?: Buffer | undefined;
142
+ title?: string | null | undefined;
143
+ icon?: Buffer | null | undefined;
103
144
  settings?: any;
104
- textColor?: string | undefined;
105
- buttonColor?: string | undefined;
145
+ textColor?: string | null | undefined;
146
+ buttonColor?: string | null | undefined;
106
147
  } & {
107
148
  _id: mongoose.Types.ObjectId;
108
- }, never>)[]>;
109
- export function create(config: any): Promise<mongoose.Document<unknown, any, {
149
+ })[]>;
150
+ export function create(config: any): Promise<mongoose.Document<unknown, {}, {
151
+ [x: string]: NativeDate;
110
152
  type: string;
111
153
  enabled: boolean;
112
154
  name: string;
113
- title?: string | undefined;
114
- icon?: Buffer | undefined;
155
+ title?: string | null | undefined;
156
+ icon?: Buffer | null | undefined;
115
157
  settings?: any;
116
- textColor?: string | undefined;
117
- buttonColor?: string | undefined;
118
- }> & Omit<{
158
+ textColor?: string | null | undefined;
159
+ buttonColor?: string | null | undefined;
160
+ }, {}, {
161
+ timestamps: {
162
+ updatedAt: string;
163
+ };
164
+ versionKey: false;
165
+ toObject: {
166
+ transform: typeof DbAuthenticationConfigurationToObject;
167
+ };
168
+ }> & {
169
+ [x: string]: NativeDate;
119
170
  type: string;
120
171
  enabled: boolean;
121
172
  name: string;
122
- title?: string | undefined;
123
- icon?: Buffer | undefined;
173
+ title?: string | null | undefined;
174
+ icon?: Buffer | null | undefined;
124
175
  settings?: any;
125
- textColor?: string | undefined;
126
- buttonColor?: string | undefined;
176
+ textColor?: string | null | undefined;
177
+ buttonColor?: string | null | undefined;
127
178
  } & {
128
179
  _id: mongoose.Types.ObjectId;
129
- }, never>>;
130
- export function update(id: any, config: any): Promise<(mongoose.Document<unknown, any, {
180
+ }>;
181
+ export function update(id: any, config: any): Promise<(mongoose.Document<unknown, {}, {
182
+ [x: string]: NativeDate;
131
183
  type: string;
132
184
  enabled: boolean;
133
185
  name: string;
134
- title?: string | undefined;
135
- icon?: Buffer | undefined;
186
+ title?: string | null | undefined;
187
+ icon?: Buffer | null | undefined;
136
188
  settings?: any;
137
- textColor?: string | undefined;
138
- buttonColor?: string | undefined;
139
- }> & Omit<{
189
+ textColor?: string | null | undefined;
190
+ buttonColor?: string | null | undefined;
191
+ }, {}, {
192
+ timestamps: {
193
+ updatedAt: string;
194
+ };
195
+ versionKey: false;
196
+ toObject: {
197
+ transform: typeof DbAuthenticationConfigurationToObject;
198
+ };
199
+ }> & {
200
+ [x: string]: NativeDate;
140
201
  type: string;
141
202
  enabled: boolean;
142
203
  name: string;
143
- title?: string | undefined;
144
- icon?: Buffer | undefined;
204
+ title?: string | null | undefined;
205
+ icon?: Buffer | null | undefined;
145
206
  settings?: any;
146
- textColor?: string | undefined;
147
- buttonColor?: string | undefined;
207
+ textColor?: string | null | undefined;
208
+ buttonColor?: string | null | undefined;
148
209
  } & {
149
210
  _id: mongoose.Types.ObjectId;
150
- }, never>) | null>;
151
- export function remove(id: any): Promise<(mongoose.Document<unknown, any, {
211
+ }) | null>;
212
+ export function remove(id: any): Promise<(mongoose.Document<unknown, {}, {
213
+ [x: string]: NativeDate;
152
214
  type: string;
153
215
  enabled: boolean;
154
216
  name: string;
155
- title?: string | undefined;
156
- icon?: Buffer | undefined;
217
+ title?: string | null | undefined;
218
+ icon?: Buffer | null | undefined;
157
219
  settings?: any;
158
- textColor?: string | undefined;
159
- buttonColor?: string | undefined;
160
- }> & Omit<{
220
+ textColor?: string | null | undefined;
221
+ buttonColor?: string | null | undefined;
222
+ }, {}, {
223
+ timestamps: {
224
+ updatedAt: string;
225
+ };
226
+ versionKey: false;
227
+ toObject: {
228
+ transform: typeof DbAuthenticationConfigurationToObject;
229
+ };
230
+ }> & {
231
+ [x: string]: NativeDate;
161
232
  type: string;
162
233
  enabled: boolean;
163
234
  name: string;
164
- title?: string | undefined;
165
- icon?: Buffer | undefined;
235
+ title?: string | null | undefined;
236
+ icon?: Buffer | null | undefined;
166
237
  settings?: any;
167
- textColor?: string | undefined;
168
- buttonColor?: string | undefined;
238
+ textColor?: string | null | undefined;
239
+ buttonColor?: string | null | undefined;
169
240
  } & {
170
241
  _id: mongoose.Types.ObjectId;
171
- }, never>) | null>;
242
+ }) | null>;
172
243
  declare function DbAuthenticationConfigurationToObject(config: any, ret: any, options: any): void;
173
244
  export const secureMask: "*****";
174
245
  export const blacklist: string[];
175
246
  declare const AuthenticationConfiguration: mongoose.Model<{
247
+ [x: string]: NativeDate;
176
248
  type: string;
177
249
  enabled: boolean;
178
250
  name: string;
179
- title?: string | undefined;
180
- icon?: Buffer | undefined;
251
+ title?: string | null | undefined;
252
+ icon?: Buffer | null | undefined;
181
253
  settings?: any;
182
- textColor?: string | undefined;
183
- buttonColor?: string | undefined;
184
- }, {}, {}, {}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
254
+ textColor?: string | null | undefined;
255
+ buttonColor?: string | null | undefined;
256
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
257
+ [x: string]: NativeDate;
258
+ type: string;
259
+ enabled: boolean;
260
+ name: string;
261
+ title?: string | null | undefined;
262
+ icon?: Buffer | null | undefined;
263
+ settings?: any;
264
+ textColor?: string | null | undefined;
265
+ buttonColor?: string | null | undefined;
266
+ }, {}, {
267
+ timestamps: {
268
+ updatedAt: string;
269
+ };
270
+ versionKey: false;
271
+ toObject: {
272
+ transform: typeof DbAuthenticationConfigurationToObject;
273
+ };
274
+ }> & {
275
+ [x: string]: NativeDate;
276
+ type: string;
277
+ enabled: boolean;
278
+ name: string;
279
+ title?: string | null | undefined;
280
+ icon?: Buffer | null | undefined;
281
+ settings?: any;
282
+ textColor?: string | null | undefined;
283
+ buttonColor?: string | null | undefined;
284
+ } & {
285
+ _id: mongoose.Types.ObjectId;
286
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
185
287
  timestamps: {
186
288
  updatedAt: string;
187
289
  };
@@ -189,16 +291,17 @@ declare const AuthenticationConfiguration: mongoose.Model<{
189
291
  toObject: {
190
292
  transform: typeof DbAuthenticationConfigurationToObject;
191
293
  };
192
- }>, {
294
+ }, {
295
+ [x: string]: NativeDate;
193
296
  type: string;
194
297
  enabled: boolean;
195
298
  name: string;
196
- title?: string | undefined;
197
- icon?: Buffer | undefined;
299
+ title?: string | null | undefined;
300
+ icon?: Buffer | null | undefined;
198
301
  settings?: any;
199
- textColor?: string | undefined;
200
- buttonColor?: string | undefined;
201
- }>>;
302
+ textColor?: string | null | undefined;
303
+ buttonColor?: string | null | undefined;
304
+ }, any>>;
202
305
  import mongoose = require("mongoose");
203
306
  export { DbAuthenticationConfigurationToObject as transform, AuthenticationConfiguration as Model };
204
307
  //# sourceMappingURL=authenticationconfiguration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authenticationconfiguration.d.ts","sourceRoot":"","sources":["../../src/models/authenticationconfiguration.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAoEkB;;;;;;;;;;;;;;;;;;;;mBAEjB;AAE0B;;;;;;;;;;;;;;;;;;;;mBAE1B;AAEiC;;;;;;;;;;;;;;;;;;;;cAEjC;AAE8B;;;;;;;;;;;;;;;;;;;;cAE9B;AA4BgB;;;;;;;;;;;;;;;;;;;;WAKhB;AAEgB;;;;;;;;;;;;;;;;;;;;mBAKhB;AAEgB;;;;;;;;;;;;;;;;;;;;mBAEhB;AA3FD,kGAwBC;AA1BD,iCAA2B;AAD3B,iCAAsF;AAiCtF;;;;;;;;;;;;;;;;;;;;;;;;;;IAAqH"}
1
+ {"version":3,"file":"authenticationconfiguration.d.ts","sourceRoot":"","sources":["../../src/models/authenticationconfiguration.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAoEkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAEjB;AAE0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAE1B;AAEiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEjC;AAE8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAE9B;AA4BgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKhB;AAEgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAKhB;AAEgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAEhB;AA3FD,kGAwBC;AA1BD,iCAA2B;AAD3B,iCAAsF;AAiCtF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAqH"}
@@ -97,6 +97,6 @@ exports.update = function (id, config) {
97
97
  return AuthenticationConfiguration.findByIdAndUpdate(id, config, { new: true }).exec();
98
98
  };
99
99
  exports.remove = function (id) {
100
- return AuthenticationConfiguration.findByIdAndRemove(id).exec();
100
+ return AuthenticationConfiguration.findByIdAndDelete(id).exec();
101
101
  };
102
102
  //# sourceMappingURL=authenticationconfiguration.js.map
@@ -15,31 +15,88 @@
15
15
  /// <reference types="mongoose/types/populate.js" />
16
16
  /// <reference types="mongoose/types/query.js" />
17
17
  /// <reference types="mongoose/types/schemaoptions.js" />
18
- /// <reference types="mongoose/types/schematypes.js" />
19
18
  /// <reference types="mongoose/types/session.js" />
20
19
  /// <reference types="mongoose/types/types.js" />
21
20
  /// <reference types="mongoose/types/utility.js" />
22
21
  /// <reference types="mongoose/types/validation.js" />
23
22
  /// <reference types="mongoose/types/virtuals.js" />
23
+ /// <reference types="mongoose/types/schematypes.js" />
24
24
  /// <reference types="mongoose/types/inferschematype.js" />
25
+ /// <reference types="mongoose/types/inferrawdoctype.js" />
25
26
  export { CappedLocation as Model };
26
27
  export function addLocations(user: any, event: any, locations: any, callback: any): void;
27
28
  export function getLocations(options: any, callback: any): void;
28
29
  export function removeLocationsForUser(user: any, callback: any): void;
29
30
  declare const CappedLocation: mongoose.Model<{
30
- locations: mongoose.Types.DocumentArray<any> | any[] | {
31
- [x: string]: any;
32
- }[] | any[];
33
- userId?: mongoose.Types.ObjectId | undefined;
34
- eventId?: number | undefined;
35
- }, {}, {}, {}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
31
+ locations: mongoose.Types.DocumentArray<any, any> | unknown[] | mongoose.Types.DocumentArray<{
32
+ [x: string]: unknown;
33
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
34
+ [x: string]: unknown;
35
+ }> & {
36
+ [x: string]: unknown;
37
+ }> | unknown[];
38
+ userId?: mongoose.Types.ObjectId | null | undefined;
39
+ eventId?: number | null | undefined;
40
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
41
+ locations: mongoose.Types.DocumentArray<any, any> | unknown[] | mongoose.Types.DocumentArray<{
42
+ [x: string]: unknown;
43
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
44
+ [x: string]: unknown;
45
+ }> & {
46
+ [x: string]: unknown;
47
+ }> | unknown[];
48
+ userId?: mongoose.Types.ObjectId | null | undefined;
49
+ eventId?: number | null | undefined;
50
+ }, {}, {
51
+ versionKey: false;
52
+ }> & {
53
+ locations: mongoose.Types.DocumentArray<any, any> | unknown[] | mongoose.Types.DocumentArray<{
54
+ [x: string]: unknown;
55
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
56
+ [x: string]: unknown;
57
+ }> & {
58
+ [x: string]: unknown;
59
+ }> | unknown[];
60
+ userId?: mongoose.Types.ObjectId | null | undefined;
61
+ eventId?: number | null | undefined;
62
+ } & {
63
+ _id: mongoose.Types.ObjectId;
64
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
65
+ versionKey: false;
66
+ }, {
67
+ locations: mongoose.Types.DocumentArray<any, any> | unknown[] | mongoose.Types.DocumentArray<{
68
+ [x: string]: unknown;
69
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
70
+ [x: string]: unknown;
71
+ }> & {
72
+ [x: string]: unknown;
73
+ }> | unknown[];
74
+ userId?: mongoose.Types.ObjectId | null | undefined;
75
+ eventId?: number | null | undefined;
76
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
77
+ locations: mongoose.Types.DocumentArray<any, any> | unknown[] | mongoose.Types.DocumentArray<{
78
+ [x: string]: unknown;
79
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
80
+ [x: string]: unknown;
81
+ }> & {
82
+ [x: string]: unknown;
83
+ }> | unknown[];
84
+ userId?: mongoose.Types.ObjectId | null | undefined;
85
+ eventId?: number | null | undefined;
86
+ }>, {}, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
36
87
  versionKey: false;
37
- }>, {
38
- locations: mongoose.Types.DocumentArray<any> | any[] | {
39
- [x: string]: any;
40
- }[] | any[];
41
- userId?: mongoose.Types.ObjectId | undefined;
42
- eventId?: number | undefined;
88
+ }>> & mongoose.FlatRecord<{
89
+ locations: mongoose.Types.DocumentArray<any, any> | unknown[] | mongoose.Types.DocumentArray<{
90
+ [x: string]: unknown;
91
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
92
+ [x: string]: unknown;
93
+ }> & {
94
+ [x: string]: unknown;
95
+ }> | unknown[];
96
+ userId?: mongoose.Types.ObjectId | null | undefined;
97
+ eventId?: number | null | undefined;
98
+ }> & {
99
+ _id: mongoose.Types.ObjectId;
43
100
  }>>;
44
101
  import mongoose = require("mongoose");
45
102
  //# sourceMappingURL=cappedLocation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cappedLocation.d.ts","sourceRoot":"","sources":["../../src/models/cappedLocation.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA8CuB,yFAUtB;AAEsB,gEA4BtB;AAEgC,uEAKhC;AAlDD;;;;;;;;;;;;;;IAA8E"}
1
+ {"version":3,"file":"cappedLocation.d.ts","sourceRoot":"","sources":["../../src/models/cappedLocation.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA8CuB,yFAWtB;AAEsB,gEA4BtB;AAEgC,uEAMhC;AApDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA8E"}
@@ -40,9 +40,7 @@ exports.addLocations = function (user, event, locations, callback) {
40
40
  locations: { $each: locations, $sort: { "properties.timestamp": 1 }, $slice: -1 * locationLimit }
41
41
  }
42
42
  };
43
- CappedLocation.findOneAndUpdate({ userId: user._id, eventId: event._id }, update, { upsert: true, new: true }, function (err, user) {
44
- callback(err, user);
45
- });
43
+ CappedLocation.findOneAndUpdate({ userId: user._id, eventId: event._id }, update, { upsert: true, new: true }).then(user => callback(null, user), err => callback(err));
46
44
  };
47
45
  exports.getLocations = function (options, callback) {
48
46
  let limit = options.limit;
@@ -65,12 +63,10 @@ exports.getLocations = function (options, callback) {
65
63
  select: 'icon displayName email phones'
66
64
  });
67
65
  }
68
- query.exec(callback);
66
+ query.exec().then(r => callback(null, r), e => callback(e));
69
67
  };
70
68
  exports.removeLocationsForUser = function (user, callback) {
71
69
  const conditions = { "userId": user._id };
72
- CappedLocation.remove(conditions, function (err) {
73
- callback(err);
74
- });
70
+ CappedLocation.deleteMany(conditions).then(() => callback(null), err => callback(err));
75
71
  };
76
72
  //# sourceMappingURL=cappedLocation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cappedLocation.js","sourceRoot":"","sources":["../../src/models/cappedLocation.js"],"names":[],"mappings":";AAAA,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,EAChC,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,EAChC,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAErC,uCAAuC;AACvC,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;AAC/B,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,2BAA2B,CAAC;AAEjF,uCAAuC;AACvC,MAAM,oBAAoB,GAAG,IAAI,MAAM,CAAC;IACtC,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE;IACnF,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE;IACtE,SAAS,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;CACnC,EAAE;IACD,UAAU,EAAE,KAAK;CAClB,CAAC,CAAC;AAEH,qHAAqH;AACrH,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;AAC7C,qKAAqK;AACrK,oBAAoB,CAAC,KAAK,CAAC,EAAE,gCAAgC,EAAE,CAAC,EAAE,CAAC,CAAC;AACpE,oBAAoB,CAAC,KAAK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