chore: api-reports + revert optional key change
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -31,10 +31,10 @@ export type ActionContext<
|
||||
secrets?: TaskSecrets;
|
||||
workspacePath: string;
|
||||
input: TActionInput;
|
||||
checkpoint<U extends JsonValue>(
|
||||
key: string,
|
||||
fn: () => Promise<U>,
|
||||
): Promise<U>;
|
||||
checkpoint<U extends JsonValue | void>(opts: {
|
||||
key: string;
|
||||
fn: () => Promise<U> | U;
|
||||
}): Promise<U>;
|
||||
output(
|
||||
name: keyof TActionOutput,
|
||||
value: TActionOutput[keyof TActionOutput],
|
||||
|
||||
@@ -39,7 +39,7 @@ export type ActionContext<
|
||||
workspacePath: string;
|
||||
input: TActionInput;
|
||||
checkpoint<U extends JsonValue | void>(opts: {
|
||||
key?: string;
|
||||
key: string;
|
||||
fn: () => Promise<U> | U;
|
||||
}): Promise<U>;
|
||||
output(
|
||||
|
||||
Reference in New Issue
Block a user