inversify-typesafe-spring-like 0.4.0 → 0.5.1
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.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import { ContainerOptions } from \"inversify\";\nimport { TypesafeServiceConfig as BeanConfig, createTypesafeContainer, returnTypesafeInject } from \"inversify-typesafe\";\n\nexport const returnAutowired = <
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import { ContainerOptions } from \"inversify\";\nimport { TypesafeServiceConfig as BeanConfig, createTypesafeContainer, returnTypesafeInject } from \"inversify-typesafe\";\n\nexport const returnAutowired = <S extends Record<string, unknown>>() => ({ Autowired: returnTypesafeInject<S>() });\n\nexport type { BeanConfig };\n\nexport const ApplicationContext = <S extends Record<string, unknown>>(beanConfig: BeanConfig<S>, options?: ContainerOptions) =>\n createTypesafeContainer(beanConfig, { defaultScope: \"Singleton\", ...options });"],"names":["beanConfig","options","createTypesafeContainer","_extends","defaultScope","Autowired","returnTypesafeInject"],"mappings":"uRAOkC,SAAoCA,EAA2BC,GAC/F,OAAAC,EAAuBA,wBAACF,EAAUG,EAAIC,CAAAA,aAAc,aAAgBH,GAAU,0BALjD,WAAH,MAA6C,CAAEI,UAAWC,EAAAA,uBAA2B"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ContainerOptions } from "inversify";
|
|
2
2
|
import { TypesafeServiceConfig as BeanConfig } from "inversify-typesafe";
|
|
3
|
-
export declare const returnAutowired: <
|
|
4
|
-
Autowired: (name:
|
|
3
|
+
export declare const returnAutowired: <S extends Record<string, unknown>>() => {
|
|
4
|
+
Autowired: (name: Extract<keyof S, string>) => MethodDecorator & ParameterDecorator & PropertyDecorator;
|
|
5
5
|
};
|
|
6
6
|
export type { BeanConfig };
|
|
7
7
|
export declare const ApplicationContext: <S extends Record<string, unknown>>(beanConfig: BeanConfig<S>, options?: ContainerOptions) => import("inversify-typesafe").TypesafeContainer<S>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ContainerOptions } from "inversify";
|
|
2
2
|
import { TypesafeServiceConfig as BeanConfig } from "inversify-typesafe";
|
|
3
|
-
export declare const returnAutowired: <
|
|
4
|
-
Autowired: (name:
|
|
3
|
+
export declare const returnAutowired: <S extends Record<string, unknown>>() => {
|
|
4
|
+
Autowired: (name: Extract<keyof S, string>) => MethodDecorator & ParameterDecorator & PropertyDecorator;
|
|
5
5
|
};
|
|
6
6
|
export type { BeanConfig };
|
|
7
7
|
export declare const ApplicationContext: <S extends Record<string, unknown>>(beanConfig: BeanConfig<S>, options?: ContainerOptions) => import("inversify-typesafe").TypesafeContainer<S>;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { ContainerOptions } from \"inversify\";\nimport { TypesafeServiceConfig as BeanConfig, createTypesafeContainer, returnTypesafeInject } from \"inversify-typesafe\";\n\nexport const returnAutowired = <
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { ContainerOptions } from \"inversify\";\nimport { TypesafeServiceConfig as BeanConfig, createTypesafeContainer, returnTypesafeInject } from \"inversify-typesafe\";\n\nexport const returnAutowired = <S extends Record<string, unknown>>() => ({ Autowired: returnTypesafeInject<S>() });\n\nexport type { BeanConfig };\n\nexport const ApplicationContext = <S extends Record<string, unknown>>(beanConfig: BeanConfig<S>, options?: ContainerOptions) =>\n createTypesafeContainer(beanConfig, { defaultScope: \"Singleton\", ...options });"],"names":["returnAutowired","Autowired","returnTypesafeInject","ApplicationContext","beanConfig","options","createTypesafeContainer","_extends","defaultScope"],"mappings":"+SAGa,MAAAA,EAAkBA,KAA0C,CAAEC,UAAWC,MAIzEC,EAAqBA,CAAoCC,EAA2BC,IAC/FC,EAAwBF,EAAUG,GAAIC,aAAc,aAAgBH"}
|
package/dist/index.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../src/index.ts"],"sourcesContent":["import { ContainerOptions } from \"inversify\";\nimport { TypesafeServiceConfig as BeanConfig, createTypesafeContainer, returnTypesafeInject } from \"inversify-typesafe\";\n\nexport const returnAutowired = <
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/index.ts"],"sourcesContent":["import { ContainerOptions } from \"inversify\";\nimport { TypesafeServiceConfig as BeanConfig, createTypesafeContainer, returnTypesafeInject } from \"inversify-typesafe\";\n\nexport const returnAutowired = <S extends Record<string, unknown>>() => ({ Autowired: returnTypesafeInject<S>() });\n\nexport type { BeanConfig };\n\nexport const ApplicationContext = <S extends Record<string, unknown>>(beanConfig: BeanConfig<S>, options?: ContainerOptions) =>\n createTypesafeContainer(beanConfig, { defaultScope: \"Singleton\", ...options });"],"names":["beanConfig","options","createTypesafeContainer","_extends","defaultScope","Autowired","returnTypesafeInject"],"mappings":"2iBAOkC,SAAoCA,EAA2BC,GAC/F,OAAAC,EAAuBA,wBAACF,EAAUG,EAAIC,CAAAA,aAAc,aAAgBH,GAAU,oBALjD,WAAH,MAA6C,CAAEI,UAAWC,EAAAA,uBAA2B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inversify-typesafe-spring-like",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"description": "Add-On Library for inversify-typesafe to make it more like Spring.",
|
|
6
6
|
"source": "src/index.ts",
|
|
7
7
|
"exports": {
|
|
@@ -61,6 +61,6 @@
|
|
|
61
61
|
"author": "Myeongjae Kim",
|
|
62
62
|
"license": "MIT",
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"inversify-typesafe": "^0.
|
|
64
|
+
"inversify-typesafe": "^0.5.1"
|
|
65
65
|
}
|
|
66
66
|
}
|