@nattyjs/common 0.0.1-beta.48 → 0.0.1-beta.49
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/dist/index.d.ts +7 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -88,6 +88,11 @@ interface LifeCycleEvents {
|
|
|
88
88
|
onStart: () => Promise<void>;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
interface WebScheduleConfig {
|
|
92
|
+
interval: number;
|
|
93
|
+
scheduleFunction: () => Promise<void>;
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
interface NattyConfig {
|
|
92
97
|
app: any;
|
|
93
98
|
testModule?: NattyTestModule;
|
|
@@ -102,10 +107,7 @@ interface NattyConfig {
|
|
|
102
107
|
payload?: PayloadConfig;
|
|
103
108
|
secure?: SecureConfig;
|
|
104
109
|
lifeCycle?: LifeCycleEvents;
|
|
105
|
-
|
|
106
|
-
interval: number;
|
|
107
|
-
scheduleFunction: () => Promise<void>;
|
|
108
|
-
};
|
|
110
|
+
webSchedules?: Array<WebScheduleConfig>;
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
declare abstract class AbstractRunner {
|
|
@@ -314,4 +316,4 @@ declare function typed(): <T extends {
|
|
|
314
316
|
new (...args: any[]): {};
|
|
315
317
|
}>(OriginalClass: T) => T;
|
|
316
318
|
|
|
317
|
-
export { ALLOW_METHODS, AbstractRunner, ActionFilter, AuthenticationFilter, AuthorizationFilter, BACK_SLASH_REGEX, BLANK, CONTROLLER, Claim, ClassType, ConsoleLogger, DEFAULT_ACTIONS, DEFAULT_CHILD_PATH, DELETE, ENVIRONMENTS, ExceptionFilter, FrameworkType, GET, GlobalConfig, HTTP_METHOD_ROUTES, IActionExecutedContext, IActionExecutingContext, IAuthorizationContext, IExecutionContext, IGNORE_METHODS, List, MetaConfigProps, Middleware, NattyAppConfig, NattyCliConfig, NattyConfig, POST, PUT, RIGHT_SLASH, ROUTE_INSTANCES, ROUTE_METHODS, ROUTE_PATHS, TS_EXTENSION, UserIdentity, commonContainer, createPath, createTestServer, getPath, getPort, isConstructor, isEqual, isFunction, isObject, readEnv, readEnvKey, registerType, typeContainer, typed };
|
|
319
|
+
export { ALLOW_METHODS, AbstractRunner, ActionFilter, AuthenticationFilter, AuthorizationFilter, BACK_SLASH_REGEX, BLANK, CONTROLLER, Claim, ClassType, ConsoleLogger, DEFAULT_ACTIONS, DEFAULT_CHILD_PATH, DELETE, ENVIRONMENTS, ExceptionFilter, FrameworkType, GET, GlobalConfig, HTTP_METHOD_ROUTES, IActionExecutedContext, IActionExecutingContext, IAuthorizationContext, IExecutionContext, IGNORE_METHODS, List, MetaConfigProps, Middleware, NattyAppConfig, NattyCliConfig, NattyConfig, POST, PUT, RIGHT_SLASH, ROUTE_INSTANCES, ROUTE_METHODS, ROUTE_PATHS, TS_EXTENSION, UserIdentity, WebScheduleConfig, commonContainer, createPath, createTestServer, getPath, getPort, isConstructor, isEqual, isFunction, isObject, readEnv, readEnvKey, registerType, typeContainer, typed };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nattyjs/common",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.49",
|
|
4
4
|
"description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "ajayojha <ojhaajay@outlook.com>",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "20.3.1",
|
|
24
|
-
"@nattyjs/types": "0.0.1-beta.
|
|
24
|
+
"@nattyjs/types": "0.0.1-beta.49",
|
|
25
25
|
"unbuild": "1.2.1"
|
|
26
26
|
}
|
|
27
27
|
}
|