Skip to content

Commit 01bbc67

Browse files
committed
fix(run-store): align create-input types with the columns callers actually pass
1 parent 56ec707 commit 01bbc67

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

internal-packages/run-store/src/types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export type RunAssociatedWaitpointInput = {
7575
type: "RUN";
7676
status: "PENDING";
7777
idempotencyKey: string;
78-
userProvidedIdempotencyKey: false;
78+
userProvidedIdempotencyKey: boolean;
7979
projectId: string;
8080
environmentId: string;
8181
};
@@ -92,7 +92,7 @@ export type CreateRunData = {
9292
projectId: string;
9393
idempotencyKey?: string;
9494
idempotencyKeyExpiresAt?: Date;
95-
idempotencyKeyOptions?: string[];
95+
idempotencyKeyOptions?: Prisma.InputJsonValue;
9696
taskIdentifier: string;
9797
payload: string;
9898
payloadType: string;
@@ -113,7 +113,7 @@ export type CreateRunData = {
113113
delayUntil?: Date;
114114
queuedAt?: Date;
115115
maxAttempts?: number;
116-
taskEventStore: string;
116+
taskEventStore?: string;
117117
priorityMs?: number;
118118
queueTimestamp?: Date;
119119
ttl?: string;
@@ -124,7 +124,7 @@ export type CreateRunData = {
124124
replayedFromTaskRunFriendlyId?: string;
125125
batchId?: string;
126126
resumeParentOnCompletion?: boolean;
127-
depth: number;
127+
depth?: number;
128128
metadata?: string;
129129
metadataType?: string;
130130
seedMetadata?: string;
@@ -137,7 +137,7 @@ export type CreateRunData = {
137137
bulkActionGroupIds?: string[];
138138
planType?: string;
139139
realtimeStreamsVersion?: string;
140-
streamBasinName?: string;
140+
streamBasinName?: string | null;
141141
debounce?: Prisma.InputJsonValue;
142142
annotations?: Prisma.InputJsonValue;
143143
};
@@ -179,7 +179,7 @@ export type CreateFailedRunData = {
179179
depth: number;
180180
batchId?: string;
181181
resumeParentOnCompletion?: boolean;
182-
taskEventStore: string;
182+
taskEventStore?: string;
183183
};
184184

185185
export type CreateFailedRunInput = {

0 commit comments

Comments
 (0)