chore: remove nonce and timestamp in body
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user