chore: remove nonce and timestamp in body

This commit is contained in:
2025-12-04 12:17:21 +07:00
parent c10190ebcc
commit edd5c5284a
-4
View File
@@ -10,8 +10,6 @@ export const deviceCommandBody = z.object({
deviceType: z.string(), deviceType: z.string(),
commandType: z.string(), commandType: z.string(),
towerNumber: z.string(), towerNumber: z.string(),
timestamp: z.string(),
nonce: z.string(),
payload: z.object({ payload: z.object({
action: z.string(), action: z.string(),
}), }),
@@ -28,8 +26,6 @@ export const deviceQueryParams = z.object({
deviceType: z.string(), deviceType: z.string(),
commandType: z.string(), commandType: z.string(),
towerNumber: z.string(), towerNumber: z.string(),
timestamp: z.string(),
nonce: z.string(),
}) })
export type DeviceQueryParams = z.infer<typeof deviceQueryParams> export type DeviceQueryParams = z.infer<typeof deviceQueryParams>