@motiadev/core 0.5.5-beta.114-776853 → 0.5.5-beta.114-612990

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.
@@ -12,7 +12,7 @@ const generateTypesString = (handlers, streams) => {
12
12
  *
13
13
  * Consider adding this file to .prettierignore and eslint ignore.
14
14
  */
15
- import { EventHandler, ApiRouteHandler, ApiResponse, MotiaStream, CronHandler } from 'motia'
15
+ import { EventHandler, ApiRouteHandler, ApiResponse, CronHandler, MotiaStream } from 'motia'
16
16
 
17
17
  declare module 'motia' {
18
18
  interface FlowContextStateStreams {
@@ -22,7 +22,7 @@ declare module 'motia' {
22
22
  .trim()}
23
23
  }
24
24
 
25
- type Handlers = {
25
+ interface Handlers {
26
26
  ${Object.entries(handlers)
27
27
  .map(([key, { type, generics }]) => `'${key}': ${type}<${generics.join(', ')}>`)
28
28
  .join('\n ')
@@ -152,6 +152,5 @@ export type Flow = {
152
152
  description?: string;
153
153
  steps: Step[];
154
154
  };
155
- export type Handlers = {
156
- [key: string]: StepHandler<StepConfig>;
157
- };
155
+ export interface Handlers {
156
+ }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@motiadev/core",
3
3
  "description": "Core functionality for the Motia framework, providing the foundation for building event-driven workflows.",
4
4
  "main": "dist/index.js",
5
- "version": "0.5.5-beta.114-776853",
5
+ "version": "0.5.5-beta.114-612990",
6
6
  "dependencies": {
7
7
  "@amplitude/analytics-node": "^1.3.8",
8
8
  "body-parser": "^1.20.3",