New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@intuned/pavilion-types

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intuned/pavilion-types - npm Package Compare versions

Comparing version 1.6.9 to 1.7.0

269

index.d.ts

@@ -19,6 +19,7 @@ declare module '@intuned/pavilion-helpers' {

export function hasHttp(url: string): boolean;
export function hasDamagedHttp(url: string): boolean;
export function splitFirstItem(url: string, delimiter: string): string[];
export function convertToValidUrl(url: string | undefined): string | undefined;
export function titleCase(str: string): string;
export const stringNotBlankSchema: z.ZodString;
export const checkUniqueness: <T>(array: T[]) => boolean;
export const emailSchema: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;

@@ -363,2 +364,268 @@ export const contactSchema: z.ZodEffects<z.ZodObject<{

}
export const stringNotBlankSchema: z.ZodString;
export const validateVariantNames: (variant_name: string[], product_name: string) => void;
export const imagePathSchema: z.ZodObject<{
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
}, {
url: string;
}>;
export type ImagePath = z.infer<typeof imagePathSchema>;
export const imagePathsSchema: z.ZodArray<z.ZodObject<{
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
}, {
url: string;
}>, "many">;
export type ImagePaths = z.infer<typeof imagePathsSchema>;
export const variantSchema: z.ZodObject<{
variant_name: z.ZodString;
id_from_source: z.ZodOptional<z.ZodString>;
source_url: z.ZodOptional<z.ZodString>;
notes: z.ZodOptional<z.ZodString>;
image_paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
}, {
url: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}>;
export type Variant = z.infer<typeof variantSchema>;
export const variantsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
variant_name: z.ZodString;
id_from_source: z.ZodOptional<z.ZodString>;
source_url: z.ZodOptional<z.ZodString>;
notes: z.ZodOptional<z.ZodString>;
image_paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
}, {
url: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}>, "many">, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[], {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[]>;
export type Variants = z.infer<typeof variantsSchema>;
export const productSchema: z.ZodObject<{
name: z.ZodString;
brand: z.ZodOptional<z.ZodString>;
variants: z.ZodEffects<z.ZodArray<z.ZodObject<{
variant_name: z.ZodString;
id_from_source: z.ZodOptional<z.ZodString>;
source_url: z.ZodOptional<z.ZodString>;
notes: z.ZodOptional<z.ZodString>;
image_paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
}, {
url: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}>, "many">, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[], {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[]>;
}, "strip", z.ZodTypeAny, {
name: string;
variants: {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[];
brand?: string | undefined;
}, {
name: string;
variants: {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[];
brand?: string | undefined;
}>;
export type Product = z.infer<typeof productSchema>;
export const productsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
name: z.ZodString;
brand: z.ZodOptional<z.ZodString>;
variants: z.ZodEffects<z.ZodArray<z.ZodObject<{
variant_name: z.ZodString;
id_from_source: z.ZodOptional<z.ZodString>;
source_url: z.ZodOptional<z.ZodString>;
notes: z.ZodOptional<z.ZodString>;
image_paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
url: string;
}, {
url: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}>, "many">, {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[], {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[]>;
}, "strip", z.ZodTypeAny, {
name: string;
variants: {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[];
brand?: string | undefined;
}, {
name: string;
variants: {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[];
brand?: string | undefined;
}>, "many">, {
variants: {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[];
name: string;
brand?: string | undefined;
}[], {
name: string;
variants: {
variant_name: string;
id_from_source?: string | undefined;
source_url?: string | undefined;
notes?: string | undefined;
image_paths?: {
url: string;
}[] | undefined;
}[];
brand?: string | undefined;
}[]>;
export type Products = z.infer<typeof productsSchema>;

@@ -365,0 +632,0 @@ export {

2

package.json
{
"name": "@intuned/pavilion-types",
"main": "./index.js",
"version": "1.6.9",
"version": "1.7.0",
"description": "intuned pavilion types",

@@ -6,0 +6,0 @@ "author": "Intuned Team",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc