mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
feat: add in the actions
This commit is contained in:
6
types.ts
6
types.ts
@@ -25,6 +25,12 @@ export namespace ExpectedExports {
|
|||||||
effects: Effects,
|
effects: Effects,
|
||||||
version: string,
|
version: string,
|
||||||
) => Promise<ResultType<MigrationRes>>;
|
) => Promise<ResultType<MigrationRes>>;
|
||||||
|
export type action = {
|
||||||
|
[id: string]: (
|
||||||
|
effects: Effects,
|
||||||
|
config?: Config
|
||||||
|
) => Promise<ResultType<ActionResult>>
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user