mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 04:11:57 +00:00
wip: Creating an sdk builder that has all the generics we need in one place
This commit is contained in:
7
lib/trigger/index.ts
Normal file
7
lib/trigger/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { TriggerInput } from "./TriggerInput"
|
||||
export { changeOnFirstSuccess } from "./changeOnFirstSuccess"
|
||||
export { cooldownTrigger } from "./cooldownTrigger"
|
||||
|
||||
export type Trigger = (
|
||||
getInput: () => TriggerInput,
|
||||
) => AsyncIterator<unknown, unknown, never>
|
||||
Reference in New Issue
Block a user