milkio 1.0.0-alpha.24 → 1.0.0-alpha.25

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/context/index.ts CHANGED
@@ -7,7 +7,6 @@ export interface $context {
7
7
  path: string;
8
8
  logger: Logger;
9
9
  http: ContextHttp<Record<any, any>>;
10
- createStep: () => Steps<{}>;
11
10
  getConfig: <Namespace extends keyof $types["generated"]["configSchema"]>(namespace: Namespace) => Promise<Readonly<Awaited<ReturnType<$types["generated"]["configSchema"][Namespace][0]>>>>;
12
11
  call: <Module extends Promise<{ default: Action<any> }>>(module: Module, params: Parameters<Awaited<Module>["default"]["handler"]>[1]) => Promise<ReturnType<Awaited<Module>["default"]["handler"]>>;
13
12
  }
package/execute/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type IValidation } from "typia";
2
2
  import { TSON } from "@southern-aurora/tson";
3
- import { reject, type $context, type $meta, type Logger, type MilkioRuntimeInit, type Results, type GeneratedInit, type MilkioInit, createStep, getConfig } from "..";
3
+ import { reject, type $context, type $meta, type Logger, type Results, type GeneratedInit, getConfig } from "..";
4
4
  import { headersToJSON } from "../utils/headers-to-json";
5
5
 
6
6
  export const __initExecuter = (generated: GeneratedInit, runtime: any) => {
@@ -72,7 +72,6 @@ export const __initExecuter = (generated: GeneratedInit, runtime: any) => {
72
72
  executeId: options.createdExecuteId,
73
73
  getConfig: (namespace: string) => getConfig(generated, env, envMode, namespace),
74
74
  call: (module: any, options: any) => __call(context, module, options),
75
- createStep: createStep,
76
75
  } as unknown as $context;
77
76
  const results: Results<unknown> = { value: undefined };
78
77
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "milkio",
3
3
  "type": "module",
4
4
  "module": "index.ts",
5
- "version": "1.0.0-alpha.24",
5
+ "version": "1.0.0-alpha.25",
6
6
  "peerDependencies": {
7
7
  "typescript": "^5.4.2"
8
8
  },