nmtjs 0.8.1 → 0.9.0
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.js +11 -9
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/index.ts +9 -10
package/dist/index.js
CHANGED
|
@@ -28,18 +28,20 @@ export const neemata = {
|
|
|
28
28
|
guard: createGuard,
|
|
29
29
|
filter: createFilter
|
|
30
30
|
};
|
|
31
|
-
export * as
|
|
32
|
-
export
|
|
31
|
+
export * as application from "@nmtjs/application";
|
|
32
|
+
export { ApiError, WorkerType } from "@nmtjs/application";
|
|
33
33
|
export * as contract from "@nmtjs/contract";
|
|
34
|
+
export { c } from "@nmtjs/contract";
|
|
34
35
|
export * as core from "@nmtjs/core";
|
|
35
|
-
export
|
|
36
|
-
export * as server from "@nmtjs/server";
|
|
37
|
-
export * as wsTransport from "@nmtjs/ws-transport";
|
|
36
|
+
export { Hook, Scope } from "@nmtjs/core";
|
|
38
37
|
export * as jsonFormat from "@nmtjs/json-format/server";
|
|
39
|
-
export {
|
|
40
|
-
export
|
|
41
|
-
export
|
|
38
|
+
export { ErrorCode, ProtocolBlob, TransportType } from "@nmtjs/protocol/common";
|
|
39
|
+
export * as server from "@nmtjs/server";
|
|
40
|
+
export * as type from "@nmtjs/type";
|
|
42
41
|
export { t } from "@nmtjs/type";
|
|
43
|
-
export
|
|
42
|
+
export * as temporal from "@nmtjs/type/temporal";
|
|
43
|
+
export * as wsTransport from "@nmtjs/ws-transport";
|
|
44
44
|
export { neemata as n };
|
|
45
45
|
export default neemata;
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAAA,SACE,gBACA,mBACA,yBACA,yBACA,cACA,aACA,kBACA,iBACA,iBACA,kBACK,oBAAoB;AAC3B,SACE,iBACA,uBACA,gCACA,iCACA,yBACA,sBACA,0BACA,c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AAiB;AAE7B,SAAS,WAAW;AACpB,eAAe","names":[],"sources":["../src/index.ts"],"sourcesContent":["import {\n AppInjectables,\n createApplication,\n createContractNamespace,\n createContractProcedure,\n createFilter,\n createGuard,\n createMiddleware,\n createNamespace,\n createProcedure,\n createTask,\n} from '@nmtjs/application'\nimport {\n CoreInjectables,\n createClassInjectable,\n createConsolePrettyDestination,\n createExtendableClassInjectable,\n createFactoryInjectable,\n createLazyInjectable,\n createOptionalInjectable,\n createPlugin,\n createValueInjectable,\n} from '@nmtjs/core'\nimport { createTransport, ProtocolInjectables } from '@nmtjs/protocol/server'\nimport { createServer } from '@nmtjs/server'\n\nexport const neemata = {\n app: createApplication,\n server: createServer,\n injectables: {\n ...CoreInjectables,\n ...ProtocolInjectables,\n ...AppInjectables,\n },\n transport: createTransport,\n plugin: createPlugin,\n logging: {\n console: createConsolePrettyDestination,\n },\n optional: createOptionalInjectable,\n value: createValueInjectable,\n lazy: createLazyInjectable,\n factory: createFactoryInjectable,\n class: createClassInjectable,\n extendClass: createExtendableClassInjectable,\n task: createTask,\n namespace: createNamespace,\n contractNamespace: createContractNamespace,\n procedure: createProcedure,\n contractProcedure: createContractProcedure,\n middleware: createMiddleware,\n guard: createGuard,\n filter: createFilter,\n}\n\nexport * as application from '@nmtjs/application'\nexport { ApiError, WorkerType } from '@nmtjs/application'\nexport * as contract from '@nmtjs/contract'\nexport { c } from '@nmtjs/contract'\nexport * as core from '@nmtjs/core'\nexport { Hook, Scope } from '@nmtjs/core'\nexport * as jsonFormat from '@nmtjs/json-format/server'\nexport { ErrorCode, ProtocolBlob, TransportType } from '@nmtjs/protocol/common'\nexport * as server from '@nmtjs/server'\nexport * as type from '@nmtjs/type'\nexport { t } from '@nmtjs/type'\nexport * as temporal from '@nmtjs/type/temporal'\nexport * as wsTransport from '@nmtjs/ws-transport'\n\nexport { neemata as n }\nexport default neemata\n"],"version":3,"file":"index.js"}
|
package/package.json
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@nmtjs/common": "0.
|
|
12
|
-
"@nmtjs/core": "0.
|
|
13
|
-
"@nmtjs/
|
|
14
|
-
"@nmtjs/
|
|
15
|
-
"@nmtjs/
|
|
16
|
-
"@nmtjs/
|
|
17
|
-
"@nmtjs/type": "0.
|
|
18
|
-
"@nmtjs/
|
|
19
|
-
"@nmtjs/
|
|
20
|
-
"@nmtjs/
|
|
11
|
+
"@nmtjs/common": "0.9.0",
|
|
12
|
+
"@nmtjs/core": "0.9.0",
|
|
13
|
+
"@nmtjs/contract": "0.9.0",
|
|
14
|
+
"@nmtjs/application": "0.9.0",
|
|
15
|
+
"@nmtjs/server": "0.9.0",
|
|
16
|
+
"@nmtjs/protocol": "0.9.0",
|
|
17
|
+
"@nmtjs/type": "0.9.0",
|
|
18
|
+
"@nmtjs/json-format": "0.9.0",
|
|
19
|
+
"@nmtjs/ws-transport": "0.9.0",
|
|
20
|
+
"@nmtjs/cli": "0.9.0"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"src",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"LICENSE.md",
|
|
26
26
|
"README.md"
|
|
27
27
|
],
|
|
28
|
-
"version": "0.
|
|
28
|
+
"version": "0.9.0",
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "neemata-build --root=./src './**/*.ts'",
|
|
31
31
|
"type-check": "tsc --noEmit"
|
package/src/index.ts
CHANGED
|
@@ -53,20 +53,19 @@ export const neemata = {
|
|
|
53
53
|
filter: createFilter,
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export * as
|
|
57
|
-
export
|
|
56
|
+
export * as application from '@nmtjs/application'
|
|
57
|
+
export { ApiError, WorkerType } from '@nmtjs/application'
|
|
58
58
|
export * as contract from '@nmtjs/contract'
|
|
59
|
+
export { c } from '@nmtjs/contract'
|
|
59
60
|
export * as core from '@nmtjs/core'
|
|
60
|
-
export
|
|
61
|
-
export * as server from '@nmtjs/server'
|
|
62
|
-
export * as wsTransport from '@nmtjs/ws-transport'
|
|
61
|
+
export { Hook, Scope } from '@nmtjs/core'
|
|
63
62
|
export * as jsonFormat from '@nmtjs/json-format/server'
|
|
64
|
-
|
|
65
|
-
export
|
|
66
|
-
export
|
|
67
|
-
export { ApiError, WorkerType } from '@nmtjs/application'
|
|
63
|
+
export { ErrorCode, ProtocolBlob, TransportType } from '@nmtjs/protocol/common'
|
|
64
|
+
export * as server from '@nmtjs/server'
|
|
65
|
+
export * as type from '@nmtjs/type'
|
|
68
66
|
export { t } from '@nmtjs/type'
|
|
69
|
-
export
|
|
67
|
+
export * as temporal from '@nmtjs/type/temporal'
|
|
68
|
+
export * as wsTransport from '@nmtjs/ws-transport'
|
|
70
69
|
|
|
71
70
|
export { neemata as n }
|
|
72
71
|
export default neemata
|