@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.
Files changed (157) hide show
  1. package/collections/active-subscription.collection.js +1 -68
  2. package/collections/app-status.collection.js +1 -43
  3. package/collections/app-version.collection.js +1 -56
  4. package/collections/counter.collection.js +1 -73
  5. package/collections/cron-job-history.collection.js +1 -86
  6. package/collections/cron-job.collection.js +1 -89
  7. package/collections/file.collection.js +1 -73
  8. package/collections/flag.collection.js +1 -47
  9. package/collections/log.collection.js +1 -64
  10. package/collections/logged-in-users.collection.js +1 -70
  11. package/collections/method-call.collection.js +1 -44
  12. package/collections/method-response.collection.js +1 -48
  13. package/collections/queue-flag.collection.js +1 -41
  14. package/collections/queue-method.collection.js +1 -116
  15. package/collections/queue-response.collection.js +1 -78
  16. package/collections/support-ticket.collection.js +1 -146
  17. package/collections/user.collection.js +1 -108
  18. package/cron/cron.js +1 -160
  19. package/fixtures/cron-jobs.js +1 -72
  20. package/fixtures/init.js +1 -73
  21. package/http/auth.js +1 -472
  22. package/http/health.js +1 -8
  23. package/index.js +1 -123
  24. package/managers/cron.manager.js +1 -193
  25. package/managers/method.manager.js +1 -513
  26. package/managers/queue-method.manager.js +1 -239
  27. package/managers/subscription.manager.js +1 -700
  28. package/managers/support.manager.js +1 -208
  29. package/methods/accounts.js +1 -253
  30. package/methods/aws.js +1 -323
  31. package/methods/cloudconvert.js +1 -37
  32. package/methods/collections.js +1 -738
  33. package/methods/counters.js +1 -404
  34. package/methods/cron-jobs.js +1 -63
  35. package/methods/flags.js +1 -6
  36. package/methods/logs.js +1 -29
  37. package/methods/pdf.js +1 -303
  38. package/models/active-subscription.model.js +1 -2
  39. package/models/app-status.model.js +1 -2
  40. package/models/app-version.model.js +1 -2
  41. package/models/collection-document.model.js +1 -2
  42. package/models/counter.model.js +1 -2
  43. package/models/cron-job-history.model.js +1 -2
  44. package/models/cron-job.model.js +1 -2
  45. package/models/dialog.model.js +1 -2
  46. package/models/file.model.js +1 -2
  47. package/models/flag.model.js +1 -2
  48. package/models/log.model.js +1 -2
  49. package/models/logged-in-users.model.js +1 -2
  50. package/models/method-call.model.js +1 -2
  51. package/models/method-response.model.js +1 -2
  52. package/models/method.model.js +1 -2
  53. package/models/pagination.model.js +1 -20
  54. package/models/permission.model.js +1 -2
  55. package/models/queue-method.model.js +1 -2
  56. package/models/queue-response.model.js +1 -2
  57. package/models/select-data-label.model.js +1 -2
  58. package/models/server-response.model.js +1 -2
  59. package/models/subscription.model.js +1 -2
  60. package/models/support-method.model.js +1 -2
  61. package/models/support-ticket.model.js +1 -2
  62. package/models/user.model.js +1 -2
  63. package/package.json +2 -5
  64. package/publications/app-status.js +1 -14
  65. package/publications/app-version.js +1 -14
  66. package/publications/cron-jobs.js +1 -14
  67. package/publications/files.js +1 -71
  68. package/publications/flags.js +1 -23
  69. package/publications/logs.js +1 -26
  70. package/publications/method-calls.js +1 -14
  71. package/publications/method-responses.js +1 -14
  72. package/publications/super-admin.js +1 -21
  73. package/publications/support-tickets.js +1 -118
  74. package/server-app.js +1 -640
  75. package/support-methods/aws.js +1 -276
  76. package/support-methods/collections.js +1 -471
  77. package/support-methods/counters.js +1 -189
  78. package/support-methods/support.js +1 -19
  79. package/util/common.js +1 -334
  80. package/collections/active-subscription.collection.d.ts +0 -8
  81. package/collections/app-status.collection.d.ts +0 -8
  82. package/collections/app-version.collection.d.ts +0 -8
  83. package/collections/counter.collection.d.ts +0 -10
  84. package/collections/cron-job-history.collection.d.ts +0 -8
  85. package/collections/cron-job.collection.d.ts +0 -8
  86. package/collections/file.collection.d.ts +0 -10
  87. package/collections/flag.collection.d.ts +0 -8
  88. package/collections/log.collection.d.ts +0 -8
  89. package/collections/logged-in-users.collection.d.ts +0 -8
  90. package/collections/method-call.collection.d.ts +0 -7
  91. package/collections/method-response.collection.d.ts +0 -7
  92. package/collections/queue-flag.collection.d.ts +0 -8
  93. package/collections/queue-method.collection.d.ts +0 -8
  94. package/collections/queue-response.collection.d.ts +0 -8
  95. package/collections/support-ticket.collection.d.ts +0 -8
  96. package/collections/user.collection.d.ts +0 -9
  97. package/cron/cron.d.ts +0 -6
  98. package/fixtures/cron-jobs.d.ts +0 -2
  99. package/fixtures/init.d.ts +0 -2
  100. package/http/auth.d.ts +0 -3
  101. package/http/health.d.ts +0 -2
  102. package/index.d.ts +0 -469
  103. package/managers/cron.manager.d.ts +0 -17
  104. package/managers/method.manager.d.ts +0 -27
  105. package/managers/queue-method.manager.d.ts +0 -14
  106. package/managers/subscription.manager.d.ts +0 -27
  107. package/managers/support.manager.d.ts +0 -18
  108. package/methods/accounts.d.ts +0 -3
  109. package/methods/aws.d.ts +0 -3
  110. package/methods/cloudconvert.d.ts +0 -3
  111. package/methods/collections.d.ts +0 -3
  112. package/methods/counters.d.ts +0 -3
  113. package/methods/cron-jobs.d.ts +0 -3
  114. package/methods/flags.d.ts +0 -3
  115. package/methods/logs.d.ts +0 -3
  116. package/methods/pdf.d.ts +0 -3
  117. package/models/active-subscription.model.d.ts +0 -14
  118. package/models/app-status.model.d.ts +0 -5
  119. package/models/app-version.model.d.ts +0 -5
  120. package/models/collection-document.model.d.ts +0 -7
  121. package/models/counter.model.d.ts +0 -6
  122. package/models/cron-job-history.model.d.ts +0 -13
  123. package/models/cron-job.model.d.ts +0 -14
  124. package/models/dialog.model.d.ts +0 -24
  125. package/models/file.model.d.ts +0 -10
  126. package/models/flag.model.d.ts +0 -6
  127. package/models/log.model.d.ts +0 -12
  128. package/models/logged-in-users.model.d.ts +0 -10
  129. package/models/method-call.model.d.ts +0 -8
  130. package/models/method-response.model.d.ts +0 -9
  131. package/models/method.model.d.ts +0 -11
  132. package/models/pagination.model.d.ts +0 -12
  133. package/models/permission.model.d.ts +0 -13
  134. package/models/queue-method.model.d.ts +0 -10
  135. package/models/queue-response.model.d.ts +0 -11
  136. package/models/select-data-label.model.d.ts +0 -10
  137. package/models/server-response.model.d.ts +0 -6
  138. package/models/subscription.model.d.ts +0 -31
  139. package/models/support-method.model.d.ts +0 -10
  140. package/models/support-ticket.model.d.ts +0 -40
  141. package/models/user.model.d.ts +0 -15
  142. package/publications/app-status.d.ts +0 -3
  143. package/publications/app-version.d.ts +0 -3
  144. package/publications/cron-jobs.d.ts +0 -3
  145. package/publications/files.d.ts +0 -3
  146. package/publications/flags.d.ts +0 -3
  147. package/publications/logs.d.ts +0 -3
  148. package/publications/method-calls.d.ts +0 -3
  149. package/publications/method-responses.d.ts +0 -3
  150. package/publications/super-admin.d.ts +0 -3
  151. package/publications/support-tickets.d.ts +0 -2
  152. package/server-app.d.ts +0 -33
  153. package/support-methods/aws.d.ts +0 -3
  154. package/support-methods/collections.d.ts +0 -3
  155. package/support-methods/counters.d.ts +0 -3
  156. package/support-methods/support.d.ts +0 -3
  157. package/util/common.d.ts +0 -15
@@ -1,3 +0,0 @@
1
- import { MethodManager } from '../managers/method.manager';
2
- export declare function loadCounterMethods(methodManager: MethodManager): void;
3
- //# sourceMappingURL=counters.d.ts.map
@@ -1,3 +0,0 @@
1
- import { MethodManager } from '../managers/method.manager';
2
- export declare function loadCronJobMethods(methodManager: MethodManager): void;
3
- //# sourceMappingURL=cron-jobs.d.ts.map
@@ -1,3 +0,0 @@
1
- import { MethodManager } from '../managers/method.manager';
2
- export declare function loadFlagMethods(methodManager: MethodManager): void;
3
- //# sourceMappingURL=flags.d.ts.map
package/methods/logs.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { MethodManager } from '../managers/method.manager';
2
- export declare function loadLogMethods(methodManager: MethodManager): void;
3
- //# sourceMappingURL=logs.d.ts.map
package/methods/pdf.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { MethodManager } from '../managers/method.manager';
2
- export declare function loadPDFMethods(methodManager: MethodManager): void;
3
- //# sourceMappingURL=pdf.d.ts.map
@@ -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,5 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface AppStatusModel extends CollectionDocument {
3
- message: string;
4
- }
5
- //# sourceMappingURL=app-status.model.d.ts.map
@@ -1,5 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface AppVersionModel extends CollectionDocument {
3
- version: number;
4
- }
5
- //# sourceMappingURL=app-version.model.d.ts.map
@@ -1,7 +0,0 @@
1
- export interface CollectionDocument {
2
- _id?: any;
3
- __v?: number;
4
- createdAt?: Date;
5
- updatedAt?: Date;
6
- }
7
- //# sourceMappingURL=collection-document.model.d.ts.map
@@ -1,6 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface CounterModel extends CollectionDocument {
3
- count: number;
4
- type: string;
5
- }
6
- //# sourceMappingURL=counter.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
@@ -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
@@ -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
@@ -1,6 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface FlagModel extends CollectionDocument {
3
- type: string;
4
- value?: boolean;
5
- }
6
- //# sourceMappingURL=flag.model.d.ts.map
@@ -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,8 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface MethodCallModel extends CollectionDocument {
3
- id_user: string;
4
- message_id: string;
5
- method: string;
6
- data: string;
7
- }
8
- //# sourceMappingURL=method-call.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
@@ -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,10 +0,0 @@
1
- export interface SelectDataLabelModel {
2
- data: string;
3
- label: string;
4
- selected: boolean;
5
- type: string;
6
- subData: string;
7
- subtype: string;
8
- subLabel: string;
9
- }
10
- //# sourceMappingURL=select-data-label.model.d.ts.map
@@ -1,6 +0,0 @@
1
- export interface ServerResponseModel {
2
- messageId: number;
3
- hasError: boolean;
4
- data: any;
5
- }
6
- //# sourceMappingURL=server-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
@@ -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
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadAppStatusPublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=app-status.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadAppVersionPublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=app-version.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadCronJobPublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=cron-jobs.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadFilePublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=files.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadFlagsPublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=flags.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadLogPublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=logs.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadMethodCallsPublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=method-calls.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadMethodResponsePublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=method-responses.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SubscriptionManager } from '../managers/subscription.manager';
2
- export declare function loadSuperAdminPublications(subscriptionManager: SubscriptionManager): void;
3
- //# sourceMappingURL=super-admin.d.ts.map
@@ -1,2 +0,0 @@
1
- export declare function loadSupportTicketPublications(subscriptionManager: any): void;
2
- //# sourceMappingURL=support-tickets.d.ts.map
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
@@ -1,3 +0,0 @@
1
- import { SupportManager } from '../managers/support.manager';
2
- export declare function loadAWSMethods(supportManager: SupportManager): void;
3
- //# sourceMappingURL=aws.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SupportManager } from '../managers/support.manager';
2
- export declare function loadSupportCollectionMethods(supportManager: SupportManager): void;
3
- //# sourceMappingURL=collections.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SupportManager } from '../managers/support.manager';
2
- export declare function loadCounterMethods(supportManager: SupportManager): void;
3
- //# sourceMappingURL=counters.d.ts.map
@@ -1,3 +0,0 @@
1
- import { SupportManager } from '../managers/support.manager';
2
- export declare function loadSupportMethods(supportManager: SupportManager): void;
3
- //# sourceMappingURL=support.d.ts.map
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