@@ -59,7 +59,7 @@ export const CloudRunPayload = z.discriminatedUnion('type', [
5959 . tuple ( [ z . number ( ) , z . number ( ) . nullable ( ) ] )
6060 . or ( z . number ( ) )
6161 . nullable ( ) ,
62- envVariables : z . record ( z . string ( ) ) ,
62+ envVariables : z . record ( z . string ( ) , z . string ( ) ) ,
6363 chromiumOptions : chromiumOptions . optional ( ) ,
6464 muted : z . boolean ( ) ,
6565 outputBucket : z . string ( ) ,
@@ -76,12 +76,12 @@ export const CloudRunPayload = z.discriminatedUnion('type', [
7676 colorSpace : z . enum ( BrowserSafeApis . validColorSpaces ) . nullable ( ) ,
7777 clientVersion : z . string ( ) ,
7878 downloadBehavior,
79- metadata : z . record ( z . string ( ) ) . optional ( ) . nullable ( ) ,
79+ metadata : z . record ( z . string ( ) , z . string ( ) ) . optional ( ) . nullable ( ) ,
8080 renderIdOverride : z . string ( ) . optional ( ) . nullable ( ) ,
8181 renderStatusWebhook : z
8282 . object ( {
8383 url : z . string ( ) ,
84- headers : z . record ( z . string ( ) ) ,
84+ headers : z . record ( z . string ( ) , z . string ( ) ) ,
8585 data : z . any ( ) ,
8686 webhookProgressInterval : z . number ( ) . min ( 0 ) . max ( 1 ) . optional ( ) . nullable ( ) ,
8787 } )
@@ -101,7 +101,7 @@ export const CloudRunPayload = z.discriminatedUnion('type', [
101101 imageFormat : stillImageFormat ,
102102 scale : z . number ( ) ,
103103 privacy : z . enum ( [ 'public' , 'private' , 'no-acl' ] ) ,
104- envVariables : z . record ( z . string ( ) ) ,
104+ envVariables : z . record ( z . string ( ) , z . string ( ) ) ,
105105 chromiumOptions : chromiumOptions . optional ( ) ,
106106 outputBucket : z . string ( ) ,
107107 outName : z . string ( ) . nullable ( ) ,
@@ -113,12 +113,12 @@ export const CloudRunPayload = z.discriminatedUnion('type', [
113113 offthreadVideoThreads : z . number ( ) . nullable ( ) ,
114114 clientVersion : z . string ( ) ,
115115 downloadBehavior,
116- metadata : z . record ( z . string ( ) ) . optional ( ) . nullable ( ) ,
116+ metadata : z . record ( z . string ( ) , z . string ( ) ) . optional ( ) . nullable ( ) ,
117117 renderIdOverride : z . string ( ) . optional ( ) . nullable ( ) ,
118118 renderStatusWebhook : z
119119 . object ( {
120120 url : z . string ( ) ,
121- headers : z . record ( z . string ( ) ) ,
121+ headers : z . record ( z . string ( ) , z . string ( ) ) ,
122122 data : z . any ( ) ,
123123 webhookProgressInterval : z . number ( ) . min ( 0 ) . max ( 1 ) . optional ( ) . nullable ( ) ,
124124 } )
0 commit comments