Remnawave_Node/libs/contract/models/node-metadata.schema.ts
2026-08-14 14:26:45 +03:00

11 lines
264 B
TypeScript

import { z } from 'zod';
export const NodeMetadataSchema = z.object({
name: z.string(),
uuid: z.string(),
id: z.number(),
tags: z.array(z.string()),
countryCode: z.string(),
});
export type TNodeMetadata = z.infer<typeof NodeMetadataSchema>;