@remnawave/backend-contract
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -10,2 +10,5 @@ "use strict"; | ||
GetStatsCommand.url = api_1.REST_API.SYSTEM.STATS; | ||
GetStatsCommand.RequestQuerySchema = zod_1.z.object({ | ||
dt: zod_1.z.string().datetime({ offset: true }).optional(), | ||
}); | ||
GetStatsCommand.ResponseSchema = zod_1.z.object({ | ||
@@ -12,0 +15,0 @@ response: zod_1.z.object({ |
@@ -8,2 +8,8 @@ import { z } from 'zod'; | ||
export const RequestQuerySchema = z.object({ | ||
dt: z.string().datetime({ offset: true }).optional(), | ||
}); | ||
export type Request = z.infer<typeof RequestQuerySchema>; | ||
export const ResponseSchema = z.object({ | ||
@@ -10,0 +16,0 @@ response: z.object({ |
{ | ||
"name": "@remnawave/backend-contract", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"description": "A contract library for Remnawave", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
140228
3463