mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
sdk hotfix
This commit is contained in:
@@ -301,14 +301,12 @@ export class StartSdk<Manifest extends T.SDKManifest, Store> {
|
||||
| Record<string, any>
|
||||
| InputSpec<any, any>
|
||||
| InputSpec<any, never>,
|
||||
Type extends
|
||||
ExtractInputSpecType<InputSpecType> = ExtractInputSpecType<InputSpecType>,
|
||||
>(
|
||||
id: Id,
|
||||
metadata: MaybeFn<Omit<T.ActionMetadata, "hasInput">>,
|
||||
inputSpec: InputSpecType,
|
||||
getInput: GetInput<Type>,
|
||||
run: Run<Type>,
|
||||
getInput: GetInput<InputSpecType>,
|
||||
run: Run<InputSpecType>,
|
||||
) => Action.withInput(id, metadata, inputSpec, getInput, run),
|
||||
/**
|
||||
* @description Use this function to create an action that does not accept form input
|
||||
|
||||
Reference in New Issue
Block a user