@intuned/pavilion-types
Advanced tools
Comparing version 1.5.12 to 1.5.13
@@ -95,2 +95,22 @@ declare module '@intuned/pavilion-helpers' { | ||
export const formattedDateSchema: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
export const contractFileSchema: z.ZodObject<{ | ||
name: z.ZodOptional<z.ZodString>; | ||
file_type: z.ZodOptional<z.ZodEnum<[ | ||
"Contract", | ||
"Bid Solicitation", | ||
"Amendment", | ||
"Bid Tabulation", | ||
"Other", | ||
"Pricing" | ||
]>>; | ||
url: z.ZodEffects<z.ZodOptional<z.ZodOptional<z.ZodString>>, string | undefined, string | undefined>; | ||
}, "strip", z.ZodTypeAny, { | ||
name?: string | undefined; | ||
file_type?: "Contract" | "Bid Solicitation" | "Amendment" | "Bid Tabulation" | "Other" | "Pricing" | undefined; | ||
url?: string | undefined; | ||
}, { | ||
name?: string | undefined; | ||
file_type?: "Contract" | "Bid Solicitation" | "Amendment" | "Bid Tabulation" | "Other" | "Pricing" | undefined; | ||
url?: string | undefined; | ||
}>; | ||
export const contractSchema: z.ZodObject<{ | ||
@@ -179,3 +199,2 @@ source_key: z.ZodString; | ||
files: z.ZodArray<z.ZodObject<{ | ||
url: z.ZodOptional<z.ZodString>; | ||
name: z.ZodOptional<z.ZodString>; | ||
@@ -190,10 +209,11 @@ file_type: z.ZodOptional<z.ZodEnum<[ | ||
]>>; | ||
url: z.ZodEffects<z.ZodOptional<z.ZodOptional<z.ZodString>>, string | undefined, string | undefined>; | ||
}, "strip", z.ZodTypeAny, { | ||
url?: string | undefined; | ||
name?: string | undefined; | ||
file_type?: "Contract" | "Bid Solicitation" | "Amendment" | "Bid Tabulation" | "Other" | "Pricing" | undefined; | ||
url?: string | undefined; | ||
}, { | ||
url?: string | undefined; | ||
name?: string | undefined; | ||
file_type?: "Contract" | "Bid Solicitation" | "Amendment" | "Bid Tabulation" | "Other" | "Pricing" | undefined; | ||
url?: string | undefined; | ||
}>, "many">; | ||
@@ -219,5 +239,5 @@ effective: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
files: { | ||
url?: string | undefined; | ||
name?: string | undefined; | ||
file_type?: "Contract" | "Bid Solicitation" | "Amendment" | "Bid Tabulation" | "Other" | "Pricing" | undefined; | ||
url?: string | undefined; | ||
}[]; | ||
@@ -255,5 +275,5 @@ cooperative_affiliation?: string | undefined; | ||
files: { | ||
url?: string | undefined; | ||
name?: string | undefined; | ||
file_type?: "Contract" | "Bid Solicitation" | "Amendment" | "Bid Tabulation" | "Other" | "Pricing" | undefined; | ||
url?: string | undefined; | ||
}[]; | ||
@@ -260,0 +280,0 @@ cooperative_affiliation?: string | undefined; |
{ | ||
"name": "@intuned/pavilion-types", | ||
"main": "./index.js", | ||
"version": "1.5.12", | ||
"version": "1.5.13", | ||
"description": "intuned pavilion types", | ||
@@ -6,0 +6,0 @@ "author": "Intuned Team", |
11959
360