@futdevpro/nts-dynamo 1.10.59 → 1.10.61
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/build/_models/control-models/endpoint-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/endpoint-params.control-model.js +4 -1
- package/build/_models/control-models/endpoint-params.control-model.js.map +1 -1
- package/build/_modules/server/errors/errors.controller.d.ts.map +1 -1
- package/build/_modules/server/errors/errors.controller.js +16 -0
- package/build/_modules/server/errors/errors.controller.js.map +1 -1
- package/build/_modules/socket/_services/socket-server.service.d.ts.map +1 -1
- package/build/_modules/socket/_services/socket-server.service.js +9 -3
- package/build/_modules/socket/_services/socket-server.service.js.map +1 -1
- package/build/_services/base/api.service-base.d.ts +5 -7
- package/build/_services/base/api.service-base.d.ts.map +1 -1
- package/build/_services/base/api.service-base.js +21 -10
- package/build/_services/base/api.service-base.js.map +1 -1
- package/build/_services/core/global.service.d.ts.map +1 -1
- package/build/_services/core/global.service.js +16 -2
- package/build/_services/core/global.service.js.map +1 -1
- package/build/_services/server/app.server.d.ts.map +1 -1
- package/build/_services/server/app.server.js +6 -4
- package/build/_services/server/app.server.js.map +1 -1
- package/build/index.d.ts +2 -45
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -45
- package/build/index.js.map +1 -1
- package/package.json +3 -3
- package/src/_models/control-models/endpoint-params.control-model.ts +4 -1
- package/src/_modules/server/errors/errors.controller.ts +18 -0
- package/src/_modules/socket/_services/socket-server.service.ts +15 -3
- package/src/_services/base/api.service-base.ts +30 -11
- package/src/_services/core/global.service.ts +20 -2
- package/src/_services/server/app.server.ts +10 -4
- package/src/index.ts +2 -58
package/src/index.ts
CHANGED
|
@@ -1,46 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
// COLLECTIONS
|
|
3
|
-
/**
|
|
4
|
-
* Utility helpers for dealing with archived collections.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* const name = DyNTS_getArchivedDBName('users');
|
|
9
|
-
* // => 'users_archived'
|
|
10
|
-
* ```
|
|
11
|
-
*/
|
|
12
3
|
export * from './_collections/archive.util';
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Common application wide settings used across the framework.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* console.log(DyNTS_global_settings.baseUrl);
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
4
|
export * from './_collections/global-settings.const';
|
|
23
5
|
|
|
24
6
|
|
|
25
7
|
// ENUMS
|
|
26
|
-
/**
|
|
27
|
-
* Enumerations describing model usage locations.
|
|
28
|
-
*/
|
|
29
8
|
export * from './_enums/data-model-type.enum';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Enumerations listing the supported service function names.
|
|
33
|
-
*/
|
|
34
9
|
export * from './_enums/data-service-function.enum';
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Common primitive data types used in models.
|
|
38
|
-
*/
|
|
39
10
|
export * from './_enums/predefined-data-types.enum';
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Defines if routes should use HTTP, HTTPS or both.
|
|
43
|
-
*/
|
|
44
11
|
export * from './_enums/route-security.enum';
|
|
45
12
|
|
|
46
13
|
|
|
@@ -53,8 +20,6 @@ export * from './_models/interfaces/global-settings.interface';
|
|
|
53
20
|
export * from './_models/interfaces/routing-module-settings.interface';
|
|
54
21
|
|
|
55
22
|
// models/CONTROL MODELS
|
|
56
|
-
|
|
57
|
-
/** Classes defining runtime structures without database persistence. */
|
|
58
23
|
export * from './_models/control-models/api-call-params.control-model';
|
|
59
24
|
export * from './_models/control-models/app-ext-system-controls.control-model'
|
|
60
25
|
export * from './_models/control-models/app-params.control-model';
|
|
@@ -64,57 +29,36 @@ export * from './_models/control-models/http-settings.control-model';
|
|
|
64
29
|
export * from './_models/control-models/system-control.control-model';
|
|
65
30
|
|
|
66
31
|
// models/TYPES
|
|
67
|
-
|
|
68
|
-
/** Types describing MongoDB style update objects. */
|
|
69
32
|
export * from './_models/types/db-update.type';
|
|
70
33
|
|
|
71
34
|
|
|
72
35
|
// SERVICES
|
|
73
36
|
// services/CORE
|
|
74
|
-
/** Client side helper for making HTTP requests. */
|
|
75
37
|
export * from './_services/core/api.service';
|
|
76
|
-
|
|
77
|
-
/** Basic authentication helper functions. */
|
|
78
38
|
export * from './_services/core/auth.service';
|
|
79
39
|
|
|
80
|
-
/** Utility for sending transactional emails. */
|
|
81
40
|
export * from './_services/core/email.service';
|
|
82
|
-
|
|
83
|
-
/** Global service registry and bootstrapping utilities. */
|
|
84
41
|
export * from './_services/core/global.service';
|
|
85
42
|
|
|
86
|
-
/** Singleton service container. */
|
|
87
43
|
export * from './_services/core/service-collection.service';
|
|
88
44
|
|
|
89
45
|
// services/BASE
|
|
90
|
-
|
|
46
|
+
export * from './_services/base/api.service-base';
|
|
91
47
|
export * from './_services/base/archive-data.service';
|
|
92
|
-
|
|
93
|
-
/** Basic CRUD service used by feature modules. */
|
|
94
48
|
export * from './_services/base/data.service';
|
|
95
|
-
|
|
96
|
-
/** Thin wrapper around the database driver. */
|
|
97
49
|
export * from './_services/base/db.service';
|
|
98
|
-
|
|
99
|
-
/** Base class for implementing singleton services. */
|
|
50
|
+
export * from './_services/base/singleton.service-base';
|
|
100
51
|
export * from './_services/base/singleton.service';
|
|
101
52
|
|
|
102
53
|
// services/SERVER
|
|
103
|
-
/** Express server wrapper. */
|
|
104
54
|
export * from './_services/server/app.server';
|
|
105
|
-
|
|
106
|
-
/** Environment detection helpers. */
|
|
107
55
|
export * from './_services/server/env-set';
|
|
108
56
|
|
|
109
57
|
// services/ROUTE
|
|
110
|
-
/** Abstract base controller for defining routes. */
|
|
111
58
|
export * from './_services/route/controller.service';
|
|
112
|
-
|
|
113
|
-
/** Handles route registration and mounting. */
|
|
114
59
|
export * from './_services/route/routing-module.service';
|
|
115
60
|
|
|
116
61
|
// services/SHARED
|
|
117
|
-
/** Assorted shared helpers accessible statically. */
|
|
118
62
|
export * from './_services/shared.static-service';
|
|
119
63
|
|
|
120
64
|
|