Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/resource_clients/actor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export interface Actor {
name: string;
username: string;
description?: string;
/** @deprecated Use defaultRunOptions.restartOnError instead */
restartOnError?: boolean;
isPublic: boolean;
isAnonymouslyRunnable?: boolean;
Expand Down Expand Up @@ -305,6 +306,7 @@ export interface ActorDefaultRunOptions {
build: string;
timeoutSecs: number;
memoryMbytes: number;
restartOnError?: boolean;
}

export interface ActorExampleRunInput {
Expand All @@ -330,12 +332,14 @@ export type ActorUpdateOptions = Partial<
| 'seoTitle'
| 'seoDescription'
| 'title'
| 'restartOnError'
| 'versions'
| 'categories'
| 'defaultRunOptions'
| 'actorStandby'
>
> & {
/** @deprecated Use defaultRunOptions.restartOnError instead */
restartOnError?: boolean;
}
>;

export interface ActorStandby {
Expand Down Expand Up @@ -486,6 +490,7 @@ export interface ActorRunOptions {
memoryMbytes: number;
diskMbytes: number;
maxTotalChargeUsd?: number;
restartOnError?: boolean;
}

export interface ActorBuildOptions {
Expand Down
1 change: 1 addition & 0 deletions src/resource_clients/actor_collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export interface ActorCollectionCreateOptions {
isDeprecated?: boolean;
isPublic?: boolean;
name?: string;
/** @deprecated Use defaultRunOptions.restartOnError instead */
restartOnError?: boolean;
seoTitle?: string;
seoDescription?: string;
Expand Down
1 change: 1 addition & 0 deletions src/resource_clients/schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export interface ScheduledActorRunOptions {
build: string;
timeoutSecs: number;
memoryMbytes: number;
restartOnError?: boolean;
}

export interface ScheduleActionRunActorTask extends BaseScheduleAction<ScheduleActions.RunActorTask> {
Expand Down
Loading