fix: handle file upload status correctly, add serverless machine type

This commit is contained in:
BennyKok
2023-12-24 18:53:32 +08:00
parent dc5ae7a7b1
commit 850d8473ad
18 changed files with 1716 additions and 207 deletions
+8
View File
@@ -0,0 +1,8 @@
import { insertMachineSchema } from "@/db/schema";
export const addMachineSchema = insertMachineSchema.pick({
name: true,
endpoint: true,
type: true,
auth_token: true,
});