@resolveio/server-lib 1.0.0-rc18 → 1.0.0-rc2
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/collections/active-subscription.collection.js +1 -68
- package/collections/app-status.collection.js +1 -43
- package/collections/app-version.collection.js +1 -56
- package/collections/counter.collection.js +1 -73
- package/collections/cron-job-history.collection.js +1 -86
- package/collections/cron-job.collection.js +1 -89
- package/collections/file.collection.js +1 -73
- package/collections/flag.collection.js +1 -47
- package/collections/log.collection.js +1 -64
- package/collections/logged-in-users.collection.js +1 -70
- package/collections/method-call.collection.js +1 -44
- package/collections/method-response.collection.js +1 -48
- package/collections/queue-flag.collection.js +1 -41
- package/collections/queue-method.collection.js +1 -116
- package/collections/queue-response.collection.js +1 -78
- package/collections/support-ticket.collection.js +1 -146
- package/collections/user.collection.js +1 -108
- package/cron/cron.js +1 -160
- package/fixtures/cron-jobs.js +1 -72
- package/fixtures/init.js +1 -73
- package/http/auth.js +1 -472
- package/http/health.js +1 -8
- package/index.js +1 -123
- package/managers/cron.manager.js +1 -193
- package/managers/method.manager.js +1 -513
- package/managers/queue-method.manager.js +1 -239
- package/managers/subscription.manager.js +1 -700
- package/managers/support.manager.js +1 -208
- package/methods/accounts.js +1 -253
- package/methods/aws.js +1 -323
- package/methods/cloudconvert.js +1 -37
- package/methods/collections.js +1 -738
- package/methods/counters.js +1 -404
- package/methods/cron-jobs.js +1 -63
- package/methods/flags.js +1 -6
- package/methods/logs.js +1 -29
- package/methods/pdf.js +1 -303
- package/models/active-subscription.model.js +1 -2
- package/models/app-status.model.js +1 -2
- package/models/app-version.model.js +1 -2
- package/models/collection-document.model.js +1 -2
- package/models/counter.model.js +1 -2
- package/models/cron-job-history.model.js +1 -2
- package/models/cron-job.model.js +1 -2
- package/models/dialog.model.js +1 -2
- package/models/file.model.js +1 -2
- package/models/flag.model.js +1 -2
- package/models/log.model.js +1 -2
- package/models/logged-in-users.model.js +1 -2
- package/models/method-call.model.js +1 -2
- package/models/method-response.model.js +1 -2
- package/models/method.model.js +1 -2
- package/models/pagination.model.js +1 -20
- package/models/permission.model.js +1 -2
- package/models/queue-method.model.js +1 -2
- package/models/queue-response.model.js +1 -2
- package/models/select-data-label.model.js +1 -2
- package/models/server-response.model.js +1 -2
- package/models/subscription.model.js +1 -2
- package/models/support-method.model.js +1 -2
- package/models/support-ticket.model.js +1 -2
- package/models/user.model.js +1 -2
- package/package.json +2 -5
- package/publications/app-status.js +1 -14
- package/publications/app-version.js +1 -14
- package/publications/cron-jobs.js +1 -14
- package/publications/files.js +1 -71
- package/publications/flags.js +1 -23
- package/publications/logs.js +1 -26
- package/publications/method-calls.js +1 -14
- package/publications/method-responses.js +1 -14
- package/publications/super-admin.js +1 -21
- package/publications/support-tickets.js +1 -118
- package/server-app.js +1 -640
- package/support-methods/aws.js +1 -276
- package/support-methods/collections.js +1 -471
- package/support-methods/counters.js +1 -189
- package/support-methods/support.js +1 -19
- package/util/common.js +1 -334
- package/collections/active-subscription.collection.d.ts +0 -8
- package/collections/app-status.collection.d.ts +0 -8
- package/collections/app-version.collection.d.ts +0 -8
- package/collections/counter.collection.d.ts +0 -10
- package/collections/cron-job-history.collection.d.ts +0 -8
- package/collections/cron-job.collection.d.ts +0 -8
- package/collections/file.collection.d.ts +0 -10
- package/collections/flag.collection.d.ts +0 -8
- package/collections/log.collection.d.ts +0 -8
- package/collections/logged-in-users.collection.d.ts +0 -8
- package/collections/method-call.collection.d.ts +0 -7
- package/collections/method-response.collection.d.ts +0 -7
- package/collections/queue-flag.collection.d.ts +0 -8
- package/collections/queue-method.collection.d.ts +0 -8
- package/collections/queue-response.collection.d.ts +0 -8
- package/collections/support-ticket.collection.d.ts +0 -8
- package/collections/user.collection.d.ts +0 -9
- package/cron/cron.d.ts +0 -6
- package/fixtures/cron-jobs.d.ts +0 -2
- package/fixtures/init.d.ts +0 -2
- package/http/auth.d.ts +0 -3
- package/http/health.d.ts +0 -2
- package/index.d.ts +0 -469
- package/managers/cron.manager.d.ts +0 -17
- package/managers/method.manager.d.ts +0 -27
- package/managers/queue-method.manager.d.ts +0 -14
- package/managers/subscription.manager.d.ts +0 -27
- package/managers/support.manager.d.ts +0 -18
- package/methods/accounts.d.ts +0 -3
- package/methods/aws.d.ts +0 -3
- package/methods/cloudconvert.d.ts +0 -3
- package/methods/collections.d.ts +0 -3
- package/methods/counters.d.ts +0 -3
- package/methods/cron-jobs.d.ts +0 -3
- package/methods/flags.d.ts +0 -3
- package/methods/logs.d.ts +0 -3
- package/methods/pdf.d.ts +0 -3
- package/models/active-subscription.model.d.ts +0 -14
- package/models/app-status.model.d.ts +0 -5
- package/models/app-version.model.d.ts +0 -5
- package/models/collection-document.model.d.ts +0 -7
- package/models/counter.model.d.ts +0 -6
- package/models/cron-job-history.model.d.ts +0 -13
- package/models/cron-job.model.d.ts +0 -14
- package/models/dialog.model.d.ts +0 -24
- package/models/file.model.d.ts +0 -10
- package/models/flag.model.d.ts +0 -6
- package/models/log.model.d.ts +0 -12
- package/models/logged-in-users.model.d.ts +0 -10
- package/models/method-call.model.d.ts +0 -8
- package/models/method-response.model.d.ts +0 -9
- package/models/method.model.d.ts +0 -11
- package/models/pagination.model.d.ts +0 -12
- package/models/permission.model.d.ts +0 -13
- package/models/queue-method.model.d.ts +0 -10
- package/models/queue-response.model.d.ts +0 -11
- package/models/select-data-label.model.d.ts +0 -10
- package/models/server-response.model.d.ts +0 -6
- package/models/subscription.model.d.ts +0 -31
- package/models/support-method.model.d.ts +0 -10
- package/models/support-ticket.model.d.ts +0 -40
- package/models/user.model.d.ts +0 -15
- package/publications/app-status.d.ts +0 -3
- package/publications/app-version.d.ts +0 -3
- package/publications/cron-jobs.d.ts +0 -3
- package/publications/files.d.ts +0 -3
- package/publications/flags.d.ts +0 -3
- package/publications/logs.d.ts +0 -3
- package/publications/method-calls.d.ts +0 -3
- package/publications/method-responses.d.ts +0 -3
- package/publications/super-admin.d.ts +0 -3
- package/publications/support-tickets.d.ts +0 -2
- package/server-app.d.ts +0 -33
- package/support-methods/aws.d.ts +0 -3
- package/support-methods/collections.d.ts +0 -3
- package/support-methods/counters.d.ts +0 -3
- package/support-methods/support.d.ts +0 -3
- package/util/common.d.ts +0 -15
package/methods/counters.d.ts
DELETED
package/methods/cron-jobs.d.ts
DELETED
package/methods/flags.d.ts
DELETED
package/methods/logs.d.ts
DELETED
package/methods/pdf.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface ActiveSubscriptionModel extends CollectionDocument {
|
|
3
|
-
date: Date;
|
|
4
|
-
publication: string;
|
|
5
|
-
subData: string | Object;
|
|
6
|
-
collections: string[];
|
|
7
|
-
clients: ActiveSubscriptionClientModel[];
|
|
8
|
-
}
|
|
9
|
-
export interface ActiveSubscriptionClientModel {
|
|
10
|
-
id_user: string;
|
|
11
|
-
messageId: number;
|
|
12
|
-
id_socket: string;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=active-subscription.model.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface CronJobHistoryModel extends CollectionDocument {
|
|
3
|
-
name: string;
|
|
4
|
-
reoccuring: boolean;
|
|
5
|
-
time_to_run: string;
|
|
6
|
-
method_name: string;
|
|
7
|
-
server_restart: boolean;
|
|
8
|
-
passed: boolean;
|
|
9
|
-
error: Object;
|
|
10
|
-
start_time: Date;
|
|
11
|
-
end_time: Date;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=cron-job-history.model.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface CronJobModel extends CollectionDocument {
|
|
3
|
-
name: string;
|
|
4
|
-
repeat: boolean;
|
|
5
|
-
time_to_run: string;
|
|
6
|
-
method_run: string;
|
|
7
|
-
method_run_data?: Object;
|
|
8
|
-
method_complete?: string;
|
|
9
|
-
method_complete_data?: Object;
|
|
10
|
-
running: boolean;
|
|
11
|
-
timezone?: string;
|
|
12
|
-
next_run?: Date;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=cron-job.model.d.ts.map
|
package/models/dialog.model.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface DialogInputFieldModel {
|
|
2
|
-
label: string;
|
|
3
|
-
form: string;
|
|
4
|
-
data: string | number | boolean;
|
|
5
|
-
validators: any[];
|
|
6
|
-
validatorErrors: string[];
|
|
7
|
-
validatorMsg: string[];
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
required?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
type?: DialogInputFieldTypes;
|
|
12
|
-
options?: DialogInputFieldSelectOptions[];
|
|
13
|
-
}
|
|
14
|
-
export interface DialogInputFieldSelectOptions {
|
|
15
|
-
value: string | number;
|
|
16
|
-
text: string;
|
|
17
|
-
}
|
|
18
|
-
declare type DialogInputFieldTypes = 'text' | 'number' | 'select' | 'state' | 'textarea' | 'email' | 'password' | 'boolean';
|
|
19
|
-
export interface DialogSelectWithButtonsOptionModel {
|
|
20
|
-
value: string | number;
|
|
21
|
-
text: string;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=dialog.model.d.ts.map
|
package/models/file.model.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface FileModel extends CollectionDocument {
|
|
3
|
-
name: string;
|
|
4
|
-
size: number;
|
|
5
|
-
key: string;
|
|
6
|
-
type: string;
|
|
7
|
-
order: number;
|
|
8
|
-
status?: string;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=file.model.d.ts.map
|
package/models/flag.model.d.ts
DELETED
package/models/log.model.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface LogModel extends CollectionDocument {
|
|
3
|
-
date: Date;
|
|
4
|
-
type: string;
|
|
5
|
-
title: string;
|
|
6
|
-
message: string;
|
|
7
|
-
payload: any;
|
|
8
|
-
method: string;
|
|
9
|
-
user: string;
|
|
10
|
-
messageId: string;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=log.model.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface LoggedInUserModel extends CollectionDocument {
|
|
3
|
-
date: Date;
|
|
4
|
-
id_user: string;
|
|
5
|
-
user: string;
|
|
6
|
-
id_ws: string;
|
|
7
|
-
app_version?: number;
|
|
8
|
-
latency?: number;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=logged-in-users.model.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface MethodResponseModel extends CollectionDocument {
|
|
3
|
-
id_user: string;
|
|
4
|
-
message_id: string;
|
|
5
|
-
method: string;
|
|
6
|
-
data: string;
|
|
7
|
-
response: any;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=method-response.model.d.ts.map
|
package/models/method.model.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import SimpleSchema from 'simpl-schema';
|
|
2
|
-
export interface MethodModel {
|
|
3
|
-
[key: string]: MethodAllModel;
|
|
4
|
-
}
|
|
5
|
-
export interface MethodAllModel {
|
|
6
|
-
check?: SimpleSchema;
|
|
7
|
-
function: (...parameters: any[]) => Promise<any | any[]>;
|
|
8
|
-
skipValidation?: boolean;
|
|
9
|
-
skipQueue?: boolean;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=method.model.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface PaginationOptions {
|
|
2
|
-
limit: number;
|
|
3
|
-
skip: number;
|
|
4
|
-
sort: {
|
|
5
|
-
[key: string]: number;
|
|
6
|
-
};
|
|
7
|
-
fields: {
|
|
8
|
-
[key: string]: number;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare const PaginationOptionsSchema: any;
|
|
12
|
-
//# sourceMappingURL=pagination.model.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface ModulePermissionModel {
|
|
2
|
-
name: string;
|
|
3
|
-
views: ModulePermissionViewModel[];
|
|
4
|
-
approval?: ModulePermissionApprovalModel;
|
|
5
|
-
}
|
|
6
|
-
export interface ModulePermissionViewModel {
|
|
7
|
-
link: string;
|
|
8
|
-
label: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ModulePermissionApprovalModel {
|
|
11
|
-
type: string;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=permission.model.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface QueueMethodModel extends CollectionDocument {
|
|
3
|
-
method: string;
|
|
4
|
-
method_data: any[];
|
|
5
|
-
id_ws: string;
|
|
6
|
-
messageId: number;
|
|
7
|
-
id_user: string;
|
|
8
|
-
user: string;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=queue-method.model.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface QueueResponseModel extends CollectionDocument {
|
|
3
|
-
method: string;
|
|
4
|
-
method_data: any[];
|
|
5
|
-
id_ws: string;
|
|
6
|
-
messageId: number;
|
|
7
|
-
id_user: string;
|
|
8
|
-
user: string;
|
|
9
|
-
response: any;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=queue-response.model.d.ts.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import SimpleSchema from 'simpl-schema';
|
|
2
|
-
export interface SubscriptionModel {
|
|
3
|
-
[key: string]: SubscriptionPubModel;
|
|
4
|
-
}
|
|
5
|
-
export interface SubscriptionPubModel {
|
|
6
|
-
check?: SimpleSchema;
|
|
7
|
-
preFunction?: (...parameters: any[]) => Promise<Object>;
|
|
8
|
-
function: (...parameters: any[]) => Promise<any | any[]>;
|
|
9
|
-
collections: string[];
|
|
10
|
-
fetchFunction?: (document: Object, ...parameters: any[]) => boolean;
|
|
11
|
-
ws_specific?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface ActiveSubscriptionModel {
|
|
14
|
-
publication: string;
|
|
15
|
-
preSubscriptionData?: Object;
|
|
16
|
-
subscriptionData: any[];
|
|
17
|
-
collections: string[];
|
|
18
|
-
clients: ActiveSubscriptionClientModel[];
|
|
19
|
-
}
|
|
20
|
-
export interface ActiveSubscriptionClientModel {
|
|
21
|
-
id_user: string;
|
|
22
|
-
messageId: number;
|
|
23
|
-
id_socket: string;
|
|
24
|
-
}
|
|
25
|
-
export interface ActiveClientSubscriptionModel {
|
|
26
|
-
messageId: number;
|
|
27
|
-
subscription: string;
|
|
28
|
-
parameters: any[];
|
|
29
|
-
subject: any;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=subscription.model.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import SimpleSchema from 'simpl-schema';
|
|
2
|
-
export interface SupportMethodModel {
|
|
3
|
-
[key: string]: SupportMethodAllModel;
|
|
4
|
-
}
|
|
5
|
-
export interface SupportMethodAllModel {
|
|
6
|
-
check?: SimpleSchema;
|
|
7
|
-
function: (...parameters: any[]) => Promise<any | any[]>;
|
|
8
|
-
skipValidation?: boolean;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=support-method.model.d.ts.map
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface SupportTicketModel extends CollectionDocument {
|
|
3
|
-
type: string;
|
|
4
|
-
priority: string;
|
|
5
|
-
issue: string;
|
|
6
|
-
support_ticket_number: number;
|
|
7
|
-
support_ticket_number_string: string;
|
|
8
|
-
status: SupportTicketStatus;
|
|
9
|
-
client: string;
|
|
10
|
-
id_client: string;
|
|
11
|
-
messages: SupportTicketMessageModel[];
|
|
12
|
-
date_created: Date;
|
|
13
|
-
date_created_string: string;
|
|
14
|
-
id_user_created: string;
|
|
15
|
-
user_created: string;
|
|
16
|
-
billable: boolean;
|
|
17
|
-
work_logs: SupportTicketWorkLogModel[];
|
|
18
|
-
date_investigation: Date;
|
|
19
|
-
date_closed: Date;
|
|
20
|
-
}
|
|
21
|
-
declare type SupportTicketStatus = 'Opened' | 'Investigating' | 'Awaiting Customer Interaction' | 'Resolved';
|
|
22
|
-
export interface SupportTicketMessageModel {
|
|
23
|
-
message: string;
|
|
24
|
-
id_user: string;
|
|
25
|
-
user: string;
|
|
26
|
-
date: Date;
|
|
27
|
-
type: SupportTicketMessageType;
|
|
28
|
-
}
|
|
29
|
-
declare type SupportTicketMessageType = 'ResolveIO' | 'Client';
|
|
30
|
-
export interface SupportTicketWorkLogModel {
|
|
31
|
-
note: string;
|
|
32
|
-
id_user: string;
|
|
33
|
-
user: string;
|
|
34
|
-
date_start: Date;
|
|
35
|
-
date_end?: Date;
|
|
36
|
-
time_spent?: number;
|
|
37
|
-
time_spent_string?: string;
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
40
|
-
//# sourceMappingURL=support-ticket.model.d.ts.map
|
package/models/user.model.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CollectionDocument } from './collection-document.model';
|
|
2
|
-
export interface UserModel extends CollectionDocument {
|
|
3
|
-
attempts: number;
|
|
4
|
-
last: Date;
|
|
5
|
-
services?: any;
|
|
6
|
-
fullname: string;
|
|
7
|
-
username?: string;
|
|
8
|
-
email?: string;
|
|
9
|
-
roles?: string[];
|
|
10
|
-
active?: boolean;
|
|
11
|
-
readonly?: boolean;
|
|
12
|
-
phonenumber?: string;
|
|
13
|
-
other?: object;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=user.model.d.ts.map
|
package/publications/files.d.ts
DELETED
package/publications/flags.d.ts
DELETED
package/publications/logs.d.ts
DELETED
package/server-app.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as WebSocket from 'ws';
|
|
2
|
-
import { CronManager } from './managers/cron.manager';
|
|
3
|
-
import { MethodManager } from './managers/method.manager';
|
|
4
|
-
import { SubscriptionManager } from './managers/subscription.manager';
|
|
5
|
-
import { SupportManager } from './managers/support.manager';
|
|
6
|
-
import { QueueMethodManager } from './managers/queue-method.manager';
|
|
7
|
-
export default class ResolveIOMainServer {
|
|
8
|
-
private _app;
|
|
9
|
-
private _server;
|
|
10
|
-
private _port;
|
|
11
|
-
private _wss;
|
|
12
|
-
private _serverConfig;
|
|
13
|
-
private _resolveioServer;
|
|
14
|
-
private _subscriptionManager;
|
|
15
|
-
private _methodManager;
|
|
16
|
-
private _queueManager;
|
|
17
|
-
private _cronManager;
|
|
18
|
-
private _supportManager;
|
|
19
|
-
constructor(mainServer: any, serverConfig: any);
|
|
20
|
-
getWS(id_ws: string): any;
|
|
21
|
-
getWSList(): any[];
|
|
22
|
-
getCronManager(): CronManager;
|
|
23
|
-
getMethodManager(): MethodManager;
|
|
24
|
-
getSubscriptionManager(): SubscriptionManager;
|
|
25
|
-
getQueueManager(): QueueMethodManager;
|
|
26
|
-
getSupportManager(): SupportManager;
|
|
27
|
-
private createServer;
|
|
28
|
-
private setUpMongoose;
|
|
29
|
-
private setUpPassport;
|
|
30
|
-
private listen;
|
|
31
|
-
unsubscribeWS(ws: WebSocket): void;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=server-app.d.ts.map
|
package/support-methods/aws.d.ts
DELETED
package/util/common.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare function deepCopy(obj: any): any;
|
|
2
|
-
export declare function dateReviver(key: any, value: any): any;
|
|
3
|
-
export declare function getMongoUpdates(currDoc: any, modifiedDoc: any, incVersion: any): any;
|
|
4
|
-
export declare function getMongoMergeUpdatedDoc(f_doc: any, currentDoc: any, oldDoc: any): any;
|
|
5
|
-
export declare function mergeUpdates(...updatesToMerge: any[]): {
|
|
6
|
-
$set: {};
|
|
7
|
-
$unset: {};
|
|
8
|
-
$inc: {};
|
|
9
|
-
$push: {};
|
|
10
|
-
$pull: {};
|
|
11
|
-
};
|
|
12
|
-
export declare function getDeepDiff(doc1: any, doc2: any): any;
|
|
13
|
-
export declare function applyMongoUpdate(uDoc: any, delta: any): any;
|
|
14
|
-
export declare function getBinarySize(string: any): number;
|
|
15
|
-
//# sourceMappingURL=common.d.ts.map
|