@akanjs/service 0.9.57 → 0.9.58-canary.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/service",
3
- "version": "0.9.57",
3
+ "version": "0.9.58-canary.1",
4
4
  "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,6 +16,6 @@ export declare const allSrvs: {
16
16
  export declare const srv: {
17
17
  base: ServiceModule<"base", {
18
18
  BaseService: typeof BaseService;
19
- }, never, never, never, never>;
19
+ }, never, never, never, never, never>;
20
20
  };
21
21
  export {};
@@ -4,10 +4,10 @@ export declare class ServiceModule<T extends string = string, Srv extends {
4
4
  [key: string]: Type;
5
5
  } = {
6
6
  [key: string]: Type;
7
- }, Input = never, Full = never, Light = never, Insight = never> {
7
+ }, Input = never, Obj = never, Full = never, Light = never, Insight = never> {
8
8
  refName: T;
9
9
  srv: Srv;
10
- cnst: ConstantModel<string, Input, Full, Light, Insight> | null;
11
- constructor(refName: T, srv: Srv, cnst?: ConstantModel<string, Input, Full, Light, Insight>);
12
- with<SrvModules extends ServiceModule<string, any, any, any, any, any>[]>(...srvs: SrvModules): ServiceModule<T, Srv & MergeAllKeyOfObjects<SrvModules, "srv">, Input, Full, Light, Insight>;
10
+ cnst: ConstantModel<string, Input, Obj, Full, Light, Insight> | null;
11
+ constructor(refName: T, srv: Srv, cnst?: ConstantModel<string, Input, Obj, Full, Light, Insight>);
12
+ with<SrvModules extends ServiceModule<string, any, any, any, any, any, any>[]>(...srvs: SrvModules): ServiceModule<T, Srv & MergeAllKeyOfObjects<SrvModules, "srv">, Input, Obj, Full, Light, Insight>;
13
13
  }