@ngageoint/mage.service 6.6.3 → 6.6.4
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/lib/adapters/base/adapters.base.db.mongoose.d.ts +7 -7
- package/lib/adapters/base/adapters.base.db.mongoose.d.ts.map +1 -1
- package/lib/adapters/base/adapters.base.db.mongoose.js +3 -5
- package/lib/adapters/base/adapters.base.db.mongoose.js.map +1 -1
- package/lib/adapters/events/adapters.events.db.mongoose.d.ts +1 -23
- package/lib/adapters/events/adapters.events.db.mongoose.d.ts.map +1 -1
- package/lib/adapters/events/adapters.events.db.mongoose.js.map +1 -1
- package/lib/adapters/feeds/adapters.feeds.db.mongoose.d.ts +6 -48
- package/lib/adapters/feeds/adapters.feeds.db.mongoose.d.ts.map +1 -1
- package/lib/adapters/feeds/adapters.feeds.db.mongoose.js +3 -3
- package/lib/adapters/feeds/adapters.feeds.db.mongoose.js.map +1 -1
- package/lib/adapters/icons/adapters.icons.db.mongoose.d.ts +1 -11
- package/lib/adapters/icons/adapters.icons.db.mongoose.d.ts.map +1 -1
- package/lib/adapters/icons/adapters.icons.db.mongoose.js +1 -1
- package/lib/adapters/icons/adapters.icons.db.mongoose.js.map +1 -1
- package/lib/adapters/settings/adapters.settings.db.mongoose.d.ts +1 -9
- package/lib/adapters/settings/adapters.settings.db.mongoose.d.ts.map +1 -1
- package/lib/adapters/systemInfo/adapters.systemInfo.service.js.map +1 -1
- package/lib/adapters/users/adapters.users.db.mongoose.d.ts +1 -9
- package/lib/adapters/users/adapters.users.db.mongoose.d.ts.map +1 -1
- package/lib/api/event.js +1 -1
- package/lib/api/event.js.map +1 -1
- package/lib/api/icon.d.ts.map +1 -1
- package/lib/api/icon.js +5 -3
- package/lib/api/icon.js.map +1 -1
- package/lib/api/layer.d.ts +17 -30
- package/lib/api/layer.d.ts.map +1 -1
- package/lib/app.impl/systemInfo/app.impl.systemInfo.d.ts.map +1 -1
- package/lib/app.impl/systemInfo/app.impl.systemInfo.js +1 -3
- package/lib/app.impl/systemInfo/app.impl.systemInfo.js.map +1 -1
- package/lib/dist-package.json +2 -2
- package/lib/export/exporter.d.ts.map +1 -1
- package/lib/export/exporter.js.map +1 -1
- package/lib/export/geopackage.js +1 -2
- package/lib/export/geopackage.js.map +1 -1
- package/lib/migrations/005-create-osm-layer.js +2 -2
- package/lib/migrations/005-create-osm-layer.js.map +1 -1
- package/lib/migrations/006-event-teams.d.ts.map +1 -1
- package/lib/migrations/006-event-teams.js +3 -1
- package/lib/migrations/006-event-teams.js.map +1 -1
- package/lib/migrations/007-user-icon.js +1 -1
- package/lib/migrations/007-user-icon.js.map +1 -1
- package/lib/migrations/009-create-manager-role.js +2 -2
- package/lib/migrations/009-create-manager-role.js.map +1 -1
- package/lib/migrations/010-add-user-device-manager-role.js +3 -3
- package/lib/migrations/010-add-user-device-manager-role.js.map +1 -1
- package/lib/migrations/011-multiple-forms.js +12 -12
- package/lib/migrations/011-multiple-forms.js.map +1 -1
- package/lib/migrations/012-user-role-remove-delete.d.ts.map +1 -1
- package/lib/migrations/012-user-role-remove-delete.js +6 -2
- package/lib/migrations/012-user-role-remove-delete.js.map +1 -1
- package/lib/migrations/013-ensure-event-indexes.js +1 -1
- package/lib/migrations/013-ensure-event-indexes.js.map +1 -1
- package/lib/migrations/014-add-role-update-permission.d.ts.map +1 -1
- package/lib/migrations/014-add-role-update-permission.js +6 -2
- package/lib/migrations/014-add-role-update-permission.js.map +1 -1
- package/lib/migrations/015-manager-role-add-user-create.d.ts.map +1 -1
- package/lib/migrations/015-manager-role-add-user-create.js +6 -2
- package/lib/migrations/015-manager-role-add-user-create.js.map +1 -1
- package/lib/migrations/016-set-feed-primary-secondary.js +4 -4
- package/lib/migrations/016-set-feed-primary-secondary.js.map +1 -1
- package/lib/migrations/018-feeds-admin-permissions.d.ts.map +1 -1
- package/lib/migrations/018-feeds-admin-permissions.js +2 -2
- package/lib/migrations/018-feeds-admin-permissions.js.map +1 -1
- package/lib/migrations/022-copy-auth-from-config-to-db.js +1 -1
- package/lib/migrations/022-copy-auth-from-config-to-db.js.map +1 -1
- package/lib/migrations/029-attachment-form-field.js +7 -7
- package/lib/migrations/029-attachment-form-field.js.map +1 -1
- package/lib/migrations/030-add-read-system-info-permissions.d.ts.map +1 -1
- package/lib/migrations/030-add-read-system-info-permissions.js +6 -2
- package/lib/migrations/030-add-read-system-info-permissions.js.map +1 -1
- package/lib/migrations/030-map-search-settings.js +4 -4
- package/lib/migrations/030-map-search-settings.js.map +1 -1
- package/lib/models/authentication.d.ts +51 -259
- package/lib/models/authentication.d.ts.map +1 -1
- package/lib/models/authentication.js +2 -2
- package/lib/models/authentication.js.map +1 -1
- package/lib/models/authenticationconfiguration.d.ts +89 -192
- package/lib/models/authenticationconfiguration.d.ts.map +1 -1
- package/lib/models/authenticationconfiguration.js +1 -1
- package/lib/models/cappedLocation.d.ts +13 -70
- package/lib/models/cappedLocation.d.ts.map +1 -1
- package/lib/models/cappedLocation.js +7 -3
- package/lib/models/cappedLocation.js.map +1 -1
- package/lib/models/device.d.ts +66 -113
- package/lib/models/device.d.ts.map +1 -1
- package/lib/models/device.js +2 -2
- package/lib/models/device.js.map +1 -1
- package/lib/models/event.d.ts.map +1 -1
- package/lib/models/event.js +94 -45
- package/lib/models/event.js.map +1 -1
- package/lib/models/export.d.ts.map +1 -1
- package/lib/models/export.js +2 -2
- package/lib/models/export.js.map +1 -1
- package/lib/models/icon.d.ts.map +1 -1
- package/lib/models/icon.js +12 -4
- package/lib/models/icon.js.map +1 -1
- package/lib/models/layer.d.ts +21 -66
- package/lib/models/layer.d.ts.map +1 -1
- package/lib/models/layer.js +3 -3
- package/lib/models/layer.js.map +1 -1
- package/lib/models/location.d.ts.map +1 -1
- package/lib/models/location.js +6 -2
- package/lib/models/location.js.map +1 -1
- package/lib/models/login.d.ts.map +1 -1
- package/lib/models/login.js +12 -6
- package/lib/models/login.js.map +1 -1
- package/lib/models/observation.d.ts.map +1 -1
- package/lib/models/observation.js +31 -27
- package/lib/models/observation.js.map +1 -1
- package/lib/models/role.d.ts.map +1 -1
- package/lib/models/role.js +20 -7
- package/lib/models/role.js.map +1 -1
- package/lib/models/setting.d.ts.map +1 -1
- package/lib/models/team.d.ts.map +1 -1
- package/lib/models/team.js +43 -27
- package/lib/models/team.js.map +1 -1
- package/lib/models/token.d.ts.map +1 -1
- package/lib/models/token.js +20 -27
- package/lib/models/token.js.map +1 -1
- package/lib/models/user.d.ts.map +1 -1
- package/lib/models/user.js +49 -23
- package/lib/models/user.js.map +1 -1
- package/lib/routes/exports.d.ts.map +1 -1
- package/lib/routes/exports.js +1 -2
- package/lib/routes/exports.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utilities/filterParser.js +2 -2
- package/lib/utilities/filterParser.js.map +1 -1
- package/lib/utilities/paging.js +1 -1
- package/lib/utilities/paging.js.map +1 -1
- package/npm-shrinkwrap.json +29 -129
- package/package.json +2 -2
|
@@ -15,275 +15,173 @@
|
|
|
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" />
|
|
18
19
|
/// <reference types="mongoose/types/session" />
|
|
19
20
|
/// <reference types="mongoose/types/types" />
|
|
20
21
|
/// <reference types="mongoose/types/utility" />
|
|
21
22
|
/// <reference types="mongoose/types/validation" />
|
|
22
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
23
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
|
|
26
|
-
export function getById(id: any): Promise<(mongoose.Document<unknown, {}, {
|
|
27
|
-
[x: string]: NativeDate;
|
|
25
|
+
export function getById(id: any): Promise<(mongoose.Document<unknown, any, {
|
|
28
26
|
type: string;
|
|
29
27
|
enabled: boolean;
|
|
30
28
|
name: string;
|
|
31
|
-
title?: string |
|
|
32
|
-
icon?: Buffer |
|
|
29
|
+
title?: string | undefined;
|
|
30
|
+
icon?: Buffer | undefined;
|
|
33
31
|
settings?: any;
|
|
34
|
-
textColor?: string |
|
|
35
|
-
buttonColor?: string |
|
|
36
|
-
}
|
|
37
|
-
timestamps: {
|
|
38
|
-
updatedAt: string;
|
|
39
|
-
};
|
|
40
|
-
versionKey: false;
|
|
41
|
-
toObject: {
|
|
42
|
-
transform: typeof DbAuthenticationConfigurationToObject;
|
|
43
|
-
};
|
|
44
|
-
}> & {
|
|
45
|
-
[x: string]: NativeDate;
|
|
32
|
+
textColor?: string | undefined;
|
|
33
|
+
buttonColor?: string | undefined;
|
|
34
|
+
}> & Omit<{
|
|
46
35
|
type: string;
|
|
47
36
|
enabled: boolean;
|
|
48
37
|
name: string;
|
|
49
|
-
title?: string |
|
|
50
|
-
icon?: Buffer |
|
|
38
|
+
title?: string | undefined;
|
|
39
|
+
icon?: Buffer | undefined;
|
|
51
40
|
settings?: any;
|
|
52
|
-
textColor?: string |
|
|
53
|
-
buttonColor?: string |
|
|
41
|
+
textColor?: string | undefined;
|
|
42
|
+
buttonColor?: string | undefined;
|
|
54
43
|
} & {
|
|
55
44
|
_id: mongoose.Types.ObjectId;
|
|
56
|
-
}) | null>;
|
|
57
|
-
export function getConfiguration(type: any, name: any): Promise<(mongoose.Document<unknown,
|
|
58
|
-
[x: string]: NativeDate;
|
|
45
|
+
}, never>) | null>;
|
|
46
|
+
export function getConfiguration(type: any, name: any): Promise<(mongoose.Document<unknown, any, {
|
|
59
47
|
type: string;
|
|
60
48
|
enabled: boolean;
|
|
61
49
|
name: string;
|
|
62
|
-
title?: string |
|
|
63
|
-
icon?: Buffer |
|
|
50
|
+
title?: string | undefined;
|
|
51
|
+
icon?: Buffer | undefined;
|
|
64
52
|
settings?: any;
|
|
65
|
-
textColor?: string |
|
|
66
|
-
buttonColor?: string |
|
|
67
|
-
}
|
|
68
|
-
timestamps: {
|
|
69
|
-
updatedAt: string;
|
|
70
|
-
};
|
|
71
|
-
versionKey: false;
|
|
72
|
-
toObject: {
|
|
73
|
-
transform: typeof DbAuthenticationConfigurationToObject;
|
|
74
|
-
};
|
|
75
|
-
}> & {
|
|
76
|
-
[x: string]: NativeDate;
|
|
53
|
+
textColor?: string | undefined;
|
|
54
|
+
buttonColor?: string | undefined;
|
|
55
|
+
}> & Omit<{
|
|
77
56
|
type: string;
|
|
78
57
|
enabled: boolean;
|
|
79
58
|
name: string;
|
|
80
|
-
title?: string |
|
|
81
|
-
icon?: Buffer |
|
|
59
|
+
title?: string | undefined;
|
|
60
|
+
icon?: Buffer | undefined;
|
|
82
61
|
settings?: any;
|
|
83
|
-
textColor?: string |
|
|
84
|
-
buttonColor?: string |
|
|
62
|
+
textColor?: string | undefined;
|
|
63
|
+
buttonColor?: string | undefined;
|
|
85
64
|
} & {
|
|
86
65
|
_id: mongoose.Types.ObjectId;
|
|
87
|
-
}) | null>;
|
|
88
|
-
export function getConfigurationsByType(type: any): Promise<(mongoose.Document<unknown,
|
|
89
|
-
[x: string]: NativeDate;
|
|
66
|
+
}, never>) | null>;
|
|
67
|
+
export function getConfigurationsByType(type: any): Promise<(mongoose.Document<unknown, any, {
|
|
90
68
|
type: string;
|
|
91
69
|
enabled: boolean;
|
|
92
70
|
name: string;
|
|
93
|
-
title?: string |
|
|
94
|
-
icon?: Buffer |
|
|
71
|
+
title?: string | undefined;
|
|
72
|
+
icon?: Buffer | undefined;
|
|
95
73
|
settings?: any;
|
|
96
|
-
textColor?: string |
|
|
97
|
-
buttonColor?: string |
|
|
98
|
-
}
|
|
99
|
-
timestamps: {
|
|
100
|
-
updatedAt: string;
|
|
101
|
-
};
|
|
102
|
-
versionKey: false;
|
|
103
|
-
toObject: {
|
|
104
|
-
transform: typeof DbAuthenticationConfigurationToObject;
|
|
105
|
-
};
|
|
106
|
-
}> & {
|
|
107
|
-
[x: string]: NativeDate;
|
|
74
|
+
textColor?: string | undefined;
|
|
75
|
+
buttonColor?: string | undefined;
|
|
76
|
+
}> & Omit<{
|
|
108
77
|
type: string;
|
|
109
78
|
enabled: boolean;
|
|
110
79
|
name: string;
|
|
111
|
-
title?: string |
|
|
112
|
-
icon?: Buffer |
|
|
80
|
+
title?: string | undefined;
|
|
81
|
+
icon?: Buffer | undefined;
|
|
113
82
|
settings?: any;
|
|
114
|
-
textColor?: string |
|
|
115
|
-
buttonColor?: string |
|
|
83
|
+
textColor?: string | undefined;
|
|
84
|
+
buttonColor?: string | undefined;
|
|
116
85
|
} & {
|
|
117
86
|
_id: mongoose.Types.ObjectId;
|
|
118
|
-
})[]>;
|
|
119
|
-
export function getAllConfigurations(): Promise<(mongoose.Document<unknown,
|
|
120
|
-
[x: string]: NativeDate;
|
|
87
|
+
}, never>)[]>;
|
|
88
|
+
export function getAllConfigurations(): Promise<(mongoose.Document<unknown, any, {
|
|
121
89
|
type: string;
|
|
122
90
|
enabled: boolean;
|
|
123
91
|
name: string;
|
|
124
|
-
title?: string |
|
|
125
|
-
icon?: Buffer |
|
|
92
|
+
title?: string | undefined;
|
|
93
|
+
icon?: Buffer | undefined;
|
|
126
94
|
settings?: any;
|
|
127
|
-
textColor?: string |
|
|
128
|
-
buttonColor?: string |
|
|
129
|
-
}
|
|
130
|
-
timestamps: {
|
|
131
|
-
updatedAt: string;
|
|
132
|
-
};
|
|
133
|
-
versionKey: false;
|
|
134
|
-
toObject: {
|
|
135
|
-
transform: typeof DbAuthenticationConfigurationToObject;
|
|
136
|
-
};
|
|
137
|
-
}> & {
|
|
138
|
-
[x: string]: NativeDate;
|
|
95
|
+
textColor?: string | undefined;
|
|
96
|
+
buttonColor?: string | undefined;
|
|
97
|
+
}> & Omit<{
|
|
139
98
|
type: string;
|
|
140
99
|
enabled: boolean;
|
|
141
100
|
name: string;
|
|
142
|
-
title?: string |
|
|
143
|
-
icon?: Buffer |
|
|
101
|
+
title?: string | undefined;
|
|
102
|
+
icon?: Buffer | undefined;
|
|
144
103
|
settings?: any;
|
|
145
|
-
textColor?: string |
|
|
146
|
-
buttonColor?: string |
|
|
104
|
+
textColor?: string | undefined;
|
|
105
|
+
buttonColor?: string | undefined;
|
|
147
106
|
} & {
|
|
148
107
|
_id: mongoose.Types.ObjectId;
|
|
149
|
-
})[]>;
|
|
150
|
-
export function create(config: any): Promise<mongoose.Document<unknown,
|
|
151
|
-
[x: string]: NativeDate;
|
|
108
|
+
}, never>)[]>;
|
|
109
|
+
export function create(config: any): Promise<mongoose.Document<unknown, any, {
|
|
152
110
|
type: string;
|
|
153
111
|
enabled: boolean;
|
|
154
112
|
name: string;
|
|
155
|
-
title?: string |
|
|
156
|
-
icon?: Buffer |
|
|
113
|
+
title?: string | undefined;
|
|
114
|
+
icon?: Buffer | undefined;
|
|
157
115
|
settings?: any;
|
|
158
|
-
textColor?: string |
|
|
159
|
-
buttonColor?: string |
|
|
160
|
-
}
|
|
161
|
-
timestamps: {
|
|
162
|
-
updatedAt: string;
|
|
163
|
-
};
|
|
164
|
-
versionKey: false;
|
|
165
|
-
toObject: {
|
|
166
|
-
transform: typeof DbAuthenticationConfigurationToObject;
|
|
167
|
-
};
|
|
168
|
-
}> & {
|
|
169
|
-
[x: string]: NativeDate;
|
|
116
|
+
textColor?: string | undefined;
|
|
117
|
+
buttonColor?: string | undefined;
|
|
118
|
+
}> & Omit<{
|
|
170
119
|
type: string;
|
|
171
120
|
enabled: boolean;
|
|
172
121
|
name: string;
|
|
173
|
-
title?: string |
|
|
174
|
-
icon?: Buffer |
|
|
122
|
+
title?: string | undefined;
|
|
123
|
+
icon?: Buffer | undefined;
|
|
175
124
|
settings?: any;
|
|
176
|
-
textColor?: string |
|
|
177
|
-
buttonColor?: string |
|
|
125
|
+
textColor?: string | undefined;
|
|
126
|
+
buttonColor?: string | undefined;
|
|
178
127
|
} & {
|
|
179
128
|
_id: mongoose.Types.ObjectId;
|
|
180
|
-
}
|
|
181
|
-
export function update(id: any, config: any): Promise<(mongoose.Document<unknown,
|
|
182
|
-
[x: string]: NativeDate;
|
|
129
|
+
}, never>>;
|
|
130
|
+
export function update(id: any, config: any): Promise<(mongoose.Document<unknown, any, {
|
|
183
131
|
type: string;
|
|
184
132
|
enabled: boolean;
|
|
185
133
|
name: string;
|
|
186
|
-
title?: string |
|
|
187
|
-
icon?: Buffer |
|
|
134
|
+
title?: string | undefined;
|
|
135
|
+
icon?: Buffer | undefined;
|
|
188
136
|
settings?: any;
|
|
189
|
-
textColor?: string |
|
|
190
|
-
buttonColor?: string |
|
|
191
|
-
}
|
|
192
|
-
timestamps: {
|
|
193
|
-
updatedAt: string;
|
|
194
|
-
};
|
|
195
|
-
versionKey: false;
|
|
196
|
-
toObject: {
|
|
197
|
-
transform: typeof DbAuthenticationConfigurationToObject;
|
|
198
|
-
};
|
|
199
|
-
}> & {
|
|
200
|
-
[x: string]: NativeDate;
|
|
137
|
+
textColor?: string | undefined;
|
|
138
|
+
buttonColor?: string | undefined;
|
|
139
|
+
}> & Omit<{
|
|
201
140
|
type: string;
|
|
202
141
|
enabled: boolean;
|
|
203
142
|
name: string;
|
|
204
|
-
title?: string |
|
|
205
|
-
icon?: Buffer |
|
|
143
|
+
title?: string | undefined;
|
|
144
|
+
icon?: Buffer | undefined;
|
|
206
145
|
settings?: any;
|
|
207
|
-
textColor?: string |
|
|
208
|
-
buttonColor?: string |
|
|
146
|
+
textColor?: string | undefined;
|
|
147
|
+
buttonColor?: string | undefined;
|
|
209
148
|
} & {
|
|
210
149
|
_id: mongoose.Types.ObjectId;
|
|
211
|
-
}) | null>;
|
|
212
|
-
export function remove(id: any): Promise<(mongoose.Document<unknown,
|
|
213
|
-
[x: string]: NativeDate;
|
|
150
|
+
}, never>) | null>;
|
|
151
|
+
export function remove(id: any): Promise<(mongoose.Document<unknown, any, {
|
|
214
152
|
type: string;
|
|
215
153
|
enabled: boolean;
|
|
216
154
|
name: string;
|
|
217
|
-
title?: string |
|
|
218
|
-
icon?: Buffer |
|
|
155
|
+
title?: string | undefined;
|
|
156
|
+
icon?: Buffer | undefined;
|
|
219
157
|
settings?: any;
|
|
220
|
-
textColor?: string |
|
|
221
|
-
buttonColor?: string |
|
|
222
|
-
}
|
|
223
|
-
timestamps: {
|
|
224
|
-
updatedAt: string;
|
|
225
|
-
};
|
|
226
|
-
versionKey: false;
|
|
227
|
-
toObject: {
|
|
228
|
-
transform: typeof DbAuthenticationConfigurationToObject;
|
|
229
|
-
};
|
|
230
|
-
}> & {
|
|
231
|
-
[x: string]: NativeDate;
|
|
158
|
+
textColor?: string | undefined;
|
|
159
|
+
buttonColor?: string | undefined;
|
|
160
|
+
}> & Omit<{
|
|
232
161
|
type: string;
|
|
233
162
|
enabled: boolean;
|
|
234
163
|
name: string;
|
|
235
|
-
title?: string |
|
|
236
|
-
icon?: Buffer |
|
|
164
|
+
title?: string | undefined;
|
|
165
|
+
icon?: Buffer | undefined;
|
|
237
166
|
settings?: any;
|
|
238
|
-
textColor?: string |
|
|
239
|
-
buttonColor?: string |
|
|
167
|
+
textColor?: string | undefined;
|
|
168
|
+
buttonColor?: string | undefined;
|
|
240
169
|
} & {
|
|
241
170
|
_id: mongoose.Types.ObjectId;
|
|
242
|
-
}) | null>;
|
|
171
|
+
}, never>) | null>;
|
|
243
172
|
declare function DbAuthenticationConfigurationToObject(config: any, ret: any, options: any): void;
|
|
244
173
|
export const secureMask: "*****";
|
|
245
174
|
export const blacklist: string[];
|
|
246
175
|
declare const AuthenticationConfiguration: mongoose.Model<{
|
|
247
|
-
[x: string]: NativeDate;
|
|
248
176
|
type: string;
|
|
249
177
|
enabled: boolean;
|
|
250
178
|
name: string;
|
|
251
|
-
title?: string |
|
|
252
|
-
icon?: Buffer |
|
|
179
|
+
title?: string | undefined;
|
|
180
|
+
icon?: Buffer | undefined;
|
|
253
181
|
settings?: any;
|
|
254
|
-
textColor?: string |
|
|
255
|
-
buttonColor?: string |
|
|
256
|
-
}, {}, {}, {}, mongoose.
|
|
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>, {}, {}, {}, {}, {
|
|
182
|
+
textColor?: string | undefined;
|
|
183
|
+
buttonColor?: string | undefined;
|
|
184
|
+
}, {}, {}, {}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any>, {}, {}, {}, {}, mongoose.ResolveSchemaOptions<{
|
|
287
185
|
timestamps: {
|
|
288
186
|
updatedAt: string;
|
|
289
187
|
};
|
|
@@ -291,17 +189,16 @@ declare const AuthenticationConfiguration: mongoose.Model<{
|
|
|
291
189
|
toObject: {
|
|
292
190
|
transform: typeof DbAuthenticationConfigurationToObject;
|
|
293
191
|
};
|
|
294
|
-
}
|
|
295
|
-
[x: string]: NativeDate;
|
|
192
|
+
}>, {
|
|
296
193
|
type: string;
|
|
297
194
|
enabled: boolean;
|
|
298
195
|
name: string;
|
|
299
|
-
title?: string |
|
|
300
|
-
icon?: Buffer |
|
|
196
|
+
title?: string | undefined;
|
|
197
|
+
icon?: Buffer | undefined;
|
|
301
198
|
settings?: any;
|
|
302
|
-
textColor?: string |
|
|
303
|
-
buttonColor?: string |
|
|
304
|
-
}
|
|
199
|
+
textColor?: string | undefined;
|
|
200
|
+
buttonColor?: string | undefined;
|
|
201
|
+
}>>;
|
|
305
202
|
import mongoose = require("mongoose");
|
|
306
203
|
export { DbAuthenticationConfigurationToObject as transform, AuthenticationConfiguration as Model };
|
|
307
204
|
//# sourceMappingURL=authenticationconfiguration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticationconfiguration.d.ts","sourceRoot":"","sources":["../../src/models/authenticationconfiguration.js"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -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.
|
|
100
|
+
return AuthenticationConfiguration.findByIdAndRemove(id).exec();
|
|
101
101
|
};
|
|
102
102
|
//# sourceMappingURL=authenticationconfiguration.js.map
|
|
@@ -15,88 +15,31 @@
|
|
|
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" />
|
|
18
19
|
/// <reference types="mongoose/types/session.js" />
|
|
19
20
|
/// <reference types="mongoose/types/types.js" />
|
|
20
21
|
/// <reference types="mongoose/types/utility.js" />
|
|
21
22
|
/// <reference types="mongoose/types/validation.js" />
|
|
22
23
|
/// <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" />
|
|
26
25
|
export { CappedLocation as Model };
|
|
27
26
|
export function addLocations(user: any, event: any, locations: any, callback: any): void;
|
|
28
27
|
export function getLocations(options: any, callback: any): void;
|
|
29
28
|
export function removeLocationsForUser(user: any, callback: any): void;
|
|
30
29
|
declare const CappedLocation: mongoose.Model<{
|
|
31
|
-
locations: mongoose.Types.DocumentArray<any
|
|
32
|
-
[x: string]:
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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, {
|
|
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<{
|
|
87
36
|
versionKey: false;
|
|
88
|
-
}
|
|
89
|
-
locations: mongoose.Types.DocumentArray<any
|
|
90
|
-
[x: string]:
|
|
91
|
-
}
|
|
92
|
-
|
|
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;
|
|
37
|
+
}>, {
|
|
38
|
+
locations: mongoose.Types.DocumentArray<any> | any[] | {
|
|
39
|
+
[x: string]: any;
|
|
40
|
+
}[] | any[];
|
|
41
|
+
userId?: mongoose.Types.ObjectId | undefined;
|
|
42
|
+
eventId?: number | undefined;
|
|
100
43
|
}>>;
|
|
101
44
|
import mongoose = require("mongoose");
|
|
102
45
|
//# sourceMappingURL=cappedLocation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cappedLocation.d.ts","sourceRoot":"","sources":["../../src/models/cappedLocation.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cappedLocation.d.ts","sourceRoot":"","sources":["../../src/models/cappedLocation.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA8CuB,yFAUtB;AAEsB,gEA4BtB;AAEgC,uEAKhC;AAlDD;;;;;;;;;;;;;;IAA8E"}
|
|
@@ -40,7 +40,9 @@ 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 }
|
|
43
|
+
CappedLocation.findOneAndUpdate({ userId: user._id, eventId: event._id }, update, { upsert: true, new: true }, function (err, user) {
|
|
44
|
+
callback(err, user);
|
|
45
|
+
});
|
|
44
46
|
};
|
|
45
47
|
exports.getLocations = function (options, callback) {
|
|
46
48
|
let limit = options.limit;
|
|
@@ -63,10 +65,12 @@ exports.getLocations = function (options, callback) {
|
|
|
63
65
|
select: 'icon displayName email phones'
|
|
64
66
|
});
|
|
65
67
|
}
|
|
66
|
-
query.exec(
|
|
68
|
+
query.exec(callback);
|
|
67
69
|
};
|
|
68
70
|
exports.removeLocationsForUser = function (user, callback) {
|
|
69
71
|
const conditions = { "userId": user._id };
|
|
70
|
-
CappedLocation.
|
|
72
|
+
CappedLocation.remove(conditions, function (err) {
|
|
73
|
+
callback(err);
|
|
74
|
+
});
|
|
71
75
|
};
|
|
72
76
|
//# 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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