Skip to content

Commit 36ab335

Browse files
committed
Fix schema
1 parent 2691a18 commit 36ab335

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/sim/lib/uploads/utils/file-schemas.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export const RawFileInputSchema = z
4747
{ message: 'File path must reference an uploaded file' }
4848
)
4949

50+
export type RawFileInput = z.infer<typeof RawFileInputSchema>
51+
5052
export const RawFileInputArraySchema = z.array(RawFileInputSchema)
5153

5254
export const FileInputSchema = z.union([RawFileInputSchema, z.string()])

0 commit comments

Comments
 (0)