mirror of
https://github.com/remnawave/node.git
synced 2026-10-21 18:31:34 +00:00
11 lines
264 B
TypeScript
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>;
|