mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-18 22:29:15 +00:00
11 lines
242 B
TypeScript
11 lines
242 B
TypeScript
import z from "zod";
|
|
|
|
export const ResourceMetadataSchema = z
|
|
.object({
|
|
key: z.string().trim().min(1),
|
|
value: z.string().trim().default("")
|
|
})
|
|
.array();
|
|
|
|
export type ResourceMetadataDTO = z.infer<typeof ResourceMetadataSchema>;
|