fix: inputs types
This commit is contained in:
		
							parent
							
								
									814c93e481
								
							
						
					
					
						commit
						8bc6655073
					
				@ -130,7 +130,8 @@ export const workflowRunsTable = dbSchema.table("workflow_runs", {
 | 
			
		||||
      onDelete: "set null",
 | 
			
		||||
    }
 | 
			
		||||
  ),
 | 
			
		||||
  workflow_inputs: jsonb("workflow_inputs").$type<Record<string, string>>(),
 | 
			
		||||
  workflow_inputs:
 | 
			
		||||
    jsonb("workflow_inputs").$type<Record<string, string | number>>(),
 | 
			
		||||
  workflow_id: uuid("workflow_id")
 | 
			
		||||
    .notNull()
 | 
			
		||||
    .references(() => workflowTable.id, {
 | 
			
		||||
 | 
			
		||||
@ -25,7 +25,7 @@ export const createRun = withServerPromise(
 | 
			
		||||
    origin: string;
 | 
			
		||||
    workflow_version_id: string | WorkflowVersionType;
 | 
			
		||||
    machine_id: string | MachineType;
 | 
			
		||||
    inputs?: Record<string, string>;
 | 
			
		||||
    inputs?: Record<string, string | number>;
 | 
			
		||||
    isManualRun?: boolean;
 | 
			
		||||
    apiUser?: APIKeyUserType;
 | 
			
		||||
  }) => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user