@intuned/pavilion-types
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -20,3 +20,3 @@ declare module '@intuned/pavilion-helpers' { | ||
export function splitFirstItem(url: string, delimiter: string): string[]; | ||
export function convertToValidUrl(url: string): string | undefined; | ||
export function convertToValidUrl(url: string | undefined): string | undefined; | ||
export const stringNotBlankSchema: z.ZodString; | ||
@@ -28,3 +28,3 @@ export const contactSchema: z.ZodEffects<z.ZodObject<{ | ||
address: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
website: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
website: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, URL, string>>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -35,3 +35,3 @@ name?: string | null | undefined; | ||
address?: string | null | undefined; | ||
website?: string | null | undefined; | ||
website?: URL | null | undefined; | ||
}, { | ||
@@ -48,3 +48,3 @@ name?: string | null | undefined; | ||
address?: string | null | undefined; | ||
website?: string | null | undefined; | ||
website?: URL | null | undefined; | ||
}, { | ||
@@ -129,3 +129,3 @@ name?: string | null | undefined; | ||
address: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
website: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
website: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, URL, string>>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -136,3 +136,3 @@ name?: string | null | undefined; | ||
address?: string | null | undefined; | ||
website?: string | null | undefined; | ||
website?: URL | null | undefined; | ||
}, { | ||
@@ -149,3 +149,3 @@ name?: string | null | undefined; | ||
address?: string | null | undefined; | ||
website?: string | null | undefined; | ||
website?: URL | null | undefined; | ||
}, { | ||
@@ -160,3 +160,3 @@ name?: string | null | undefined; | ||
service_area_national: z.ZodOptional<z.ZodBoolean>; | ||
source_url: z.ZodString; | ||
source_url: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, URL, string>>>; | ||
cooperative_language: z.ZodBoolean; | ||
@@ -179,3 +179,3 @@ contract_type: z.ZodEnum<[ | ||
address: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
website: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
website: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, URL, string>>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -186,3 +186,3 @@ name?: string | null | undefined; | ||
address?: string | null | undefined; | ||
website?: string | null | undefined; | ||
website?: URL | null | undefined; | ||
}, { | ||
@@ -199,3 +199,3 @@ name?: string | null | undefined; | ||
address?: string | null | undefined; | ||
website?: string | null | undefined; | ||
website?: URL | null | undefined; | ||
}, { | ||
@@ -239,5 +239,4 @@ name?: string | null | undefined; | ||
address?: string | null | undefined; | ||
website?: string | null | undefined; | ||
website?: URL | null | undefined; | ||
}[]; | ||
source_url: string; | ||
cooperative_language: boolean; | ||
@@ -256,2 +255,3 @@ contract_type: "COMPETITIVELY_BID_CONTRACT" | "UNKNOWN_PURCHASE_ORDER" | "SOLE_SOURCE_JUSTIFICATION" | "PIGGYBACK" | "UNDER_THRESHOLD_PURCHASE"; | ||
service_area_national?: boolean | undefined; | ||
source_url?: URL | null | undefined; | ||
summary?: string | undefined; | ||
@@ -263,3 +263,3 @@ supplier_contacts?: { | ||
address?: string | null | undefined; | ||
website?: string | null | undefined; | ||
website?: URL | null | undefined; | ||
}[] | undefined; | ||
@@ -279,3 +279,2 @@ effective?: string | undefined; | ||
}[]; | ||
source_url: string; | ||
cooperative_language: boolean; | ||
@@ -294,2 +293,3 @@ contract_type: "COMPETITIVELY_BID_CONTRACT" | "UNKNOWN_PURCHASE_ORDER" | "SOLE_SOURCE_JUSTIFICATION" | "PIGGYBACK" | "UNDER_THRESHOLD_PURCHASE"; | ||
service_area_national?: boolean | undefined; | ||
source_url?: string | null | undefined; | ||
summary?: string | undefined; | ||
@@ -296,0 +296,0 @@ supplier_contacts?: { |
{ | ||
"name": "@intuned/pavilion-types", | ||
"main": "./index.js", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "intuned pavilion types", | ||
@@ -6,0 +6,0 @@ "author": "Intuned Team", |
12121