From 223cbf4a1e30402a5aeb5ea2a92cae738ed28111 Mon Sep 17 00:00:00 2001 From: MrVauxs Date: Sun, 11 Feb 2024 13:07:56 +0100 Subject: [PATCH] Build --- _dist/zod/_data.d.ts | 3698 +++++------ _dist/zod/_data.js | 26 +- _dist/zod/_index.js | 2 +- _dist/zod/_statblock.js | 2 +- _dist/zod/bundles/byDatatype.d.ts | 8594 ++++++++++++++----------- _dist/zod/bundles/byDatatype.js | 5 +- scripts/generate-zod-combinedTypes.js | 6 +- zod/_data.ts | 2 +- zod/_index.ts | 2 +- zod/_statblock.ts | 2 +- zod/bundles/byDatatype.ts | 3 +- 11 files changed, 6668 insertions(+), 5674 deletions(-) diff --git a/_dist/zod/_data.d.ts b/_dist/zod/_data.d.ts index 3c7e746..08c2e51 100644 --- a/_dist/zod/_data.d.ts +++ b/_dist/zod/_data.d.ts @@ -3307,614 +3307,469 @@ export declare const data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ }[] | undefined; } | undefined; }>]>; -export declare const objectIndex: { - background: z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; +export declare const schemaIndex: { + license: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + short: string; + full: string; }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + short: string; + full: string; }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; }, "strip", z.ZodTypeAny, { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { + }>]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { + })[]; + }, { + entries: (string | { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { + })[]; + }>; + }, "strict", z.ZodTypeAny, { + type: "license"; + data: { + entries: (string | { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }, { + type: "license"; + data: { + entries: (string | { type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }>, "many">>; + source: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodEffects; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + short: string; + full: string; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"background">; + short: string; + full: string; + }>; data: z.ZodObject<{ - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray; + errataed: z.ZodOptional; + added: z.ZodString; + modified: z.ZodString; + URL: z.ZodString; + groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + licenseID: z.ZodEffects; + copyright: z.ZodOptional]>, "many">; + }>]>, "many">>; + authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + publisher: z.ZodOptional; + converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; }, "strict", z.ZodTypeAny, { - entries: (string | { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }, { - entries: (string | { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }>; tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; + publicationType: z.ZodOptional>; + "Blog post": z.ZodOptional>; }, "strict", z.ZodTypeAny, { - abilities: Partial>; - count: number; + Comic?: true | undefined; + "Blog post"?: true | undefined; }, { - abilities: Partial>; - count: number; - }>>; - trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - count: number; - skills: Partial>; + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>, { + Comic?: true | undefined; + "Blog post"?: true | undefined; }, { - count: number; - skills: Partial>; + Comic?: true | undefined; + "Blog post"?: true | undefined; }>>; - gainedFeats: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; - }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; + status: z.ZodOptional>; + "Missing tags": z.ZodOptional>; + Invalid: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; }, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - }>>; - gainedSpells: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; - }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; - }, "strict", z.ZodTypeAny, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; }, { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; }>>; misc: z.ZodOptional>; - "Grants equipment": z.ZodOptional>; - "Grants language": z.ZodOptional>; - "Grants resistance": z.ZodOptional>; - "Grants sense": z.ZodOptional>; - "Grants situational benefit": z.ZodOptional>; - "Has drawback": z.ZodOptional>; - "GM influence": z.ZodOptional>; + Official: z.ZodOptional>; + "GM-facing": z.ZodOptional>; + "PFS-legal": z.ZodOptional>; + Playtest: z.ZodOptional>; + Ongoing: z.ZodOptional>; + Deprecated: z.ZodOptional>; + NSFW: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }>, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; }>>; }, "strict", z.ZodTypeAny, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }>, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "background"; + type: "source"; data: { - entries: (string | { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + title: { + short: string; + full: string; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; + ID: string; tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; } | undefined; }, { - type: "background"; + type: "source"; data: { - entries: (string | { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; + title: { + short: string; + full: string; }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; + ID: string; tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; } | undefined; misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; } | undefined; } | undefined; - }>; - condition: z.ZodObject<{ + }>, "many">>; + sourceGroup: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; + }, "strict", z.ZodTypeAny, { + short: string; + full: string; + }, { + short: string; + full: string; + }>; + data: z.ZodOptional, { + publisher: string; + }, { + publisher: string; + }>>; + tags: z.ZodOptional>; + Ongoing: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>; + }, "strict", z.ZodTypeAny, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }>, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + }>>; + }, "strict", z.ZodTypeAny, { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }, { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }>, "many">>; + background: z.ZodOptional; page: z.ZodOptional; @@ -4040,8 +3895,29 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"condition">; + type: z.ZodLiteral<"background">; data: z.ZodObject<{ + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; entries: z.ZodArray; tags: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - }, "strict", z.ZodTypeAny, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + abilityBoosts: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + abilities: Partial>; + count: number; + }, { + abilities: Partial>; + count: number; + }>>; + trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + count: number; + skills: Partial>; + }, { + count: number; + skills: Partial>; + }>>; + gainedFeats: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + gainedSpells: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + misc: z.ZodOptional>; + "Grants equipment": z.ZodOptional>; + "Grants language": z.ZodOptional>; + "Grants resistance": z.ZodOptional>; + "Grants sense": z.ZodOptional>; + "Grants situational benefit": z.ZodOptional>; + "Has drawback": z.ZodOptional>; + "GM influence": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; specifier?: string | undefined; }; modifications?: { @@ -4168,20 +4266,52 @@ export declare const objectIndex: { }[] | undefined; } | undefined; tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; }, { - type: "condition"; + type: "background"; data: { entries: (string | { type: string; })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; source: { ID: string; @@ -4209,16 +4339,43 @@ export declare const objectIndex: { }[] | undefined; } | undefined; tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; - }>; - divineIntercession: z.ZodObject<{ + }>, "many">>; + condition: z.ZodOptional; page: z.ZodOptional; @@ -4242,7 +4399,6 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }>; - tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -4345,170 +4501,107 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"divineIntercession">; - data: z.ZodEffects]>, "many">>; - "Minor Boon": z.ZodOptional]>, "many">>; - "Moderate Boon": z.ZodOptional]>, "many">>; - "Major Boon": z.ZodOptional]>, "many">>; - "Minor Curse": z.ZodOptional]>, "many">>; - "Moderate Curse": z.ZodOptional]>, "many">>; - "Major Curse": z.ZodOptional; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">>; + }>]>, "many">; }, "strict", z.ZodTypeAny, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { + entries: (string | { type: string; - })[] | undefined; + })[]; }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { + entries: (string | { type: string; - })[] | undefined; + })[]; }>; + tags: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + }, "strict", z.ZodTypeAny, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>, { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }, { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + }>>; }, "strict", z.ZodTypeAny, { - type: "divineIntercession"; + type: "condition"; data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { + entries: (string | { type: string; - })[] | undefined; + })[]; }; source: { ID: string; @@ -4519,7 +4612,6 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }; - tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -4536,30 +4628,21 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; }, { - type: "divineIntercession"; + type: "condition"; data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { + entries: (string | { type: string; - })[] | undefined; + })[]; }; source: { ID: string; @@ -4570,7 +4653,6 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }; - tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -4587,8 +4669,17 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - }>; - domain: z.ZodObject<{ + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }>, "many">>; + divineIntercession: z.ZodOptional; page: z.ZodOptional; @@ -4715,130 +4806,170 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"domain">; - data: z.ZodObject<{ - preamble: z.ZodOptional; - domainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: z.ZodLiteral<"divineIntercession">; + data: z.ZodEffects; - advancedDomainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + }>]>, "many">>; + "Minor Boon": z.ZodOptional; - apocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + }>]>, "many">>; + "Moderate Boon": z.ZodOptional>; - advancedApocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + }>]>, "many">>; + "Major Boon": z.ZodOptional>; + type: string; + }>]>, "many">>; + "Minor Curse": z.ZodOptional]>, "many">>; + "Moderate Curse": z.ZodOptional]>, "many">>; + "Major Curse": z.ZodOptional]>, "many">>; }, "strict", z.ZodTypeAny, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }>; }, "strict", z.ZodTypeAny, { - type: "domain"; + type: "divineIntercession"; data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; source: { ID: string; @@ -4867,29 +4998,29 @@ export declare const objectIndex: { }[] | undefined; } | undefined; }, { - type: "domain"; + type: "divineIntercession"; data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; source: { ID: string; @@ -4917,8 +5048,8 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - }>; - event: z.ZodObject<{ + }>, "many">>; + domain: z.ZodOptional; page: z.ZodOptional; @@ -5045,106 +5176,130 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"event">; + type: z.ZodLiteral<"domain">; data: z.ZodObject<{ - level: z.ZodNumber; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; + preamble: z.ZodOptional; + domainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - applicableSkills: z.ZodOptional; - variables: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + advancedDomainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray; + apocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - type: string; - }>]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + advancedApocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }>; }, "strict", z.ZodTypeAny, { - type: "event"; + type: "domain"; data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }; source: { ID: string; @@ -5173,22 +5328,29 @@ export declare const objectIndex: { }[] | undefined; } | undefined; }, { - type: "event"; + type: "domain"; data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; }; source: { ID: string; @@ -5216,8 +5378,8 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - }>; - familiarAbility: z.ZodObject<{ + }>, "many">>; + event: z.ZodOptional; page: z.ZodOptional; @@ -5241,6 +5403,7 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }>; + tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -5343,9 +5506,51 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"familiarAbility">; + type: z.ZodLiteral<"event">; data: z.ZodObject<{ - abilityType: z.ZodEnum<["Familiar", "Master"]>; + level: z.ZodNumber; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + applicableSkills: z.ZodOptional; + variables: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; entries: z.ZodArray; - tags: z.ZodOptional>; - affectsSenses: z.ZodOptional>; - affectsMovement: z.ZodOptional>; - hasRequirement: z.ZodOptional>; - grantsAbility: z.ZodOptional>; - repeatable: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }>, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - }>>; + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "familiarAbility"; + type: "event"; data: { entries: (string | { type: string; })[]; - abilityType: "Familiar" | "Master"; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; source: { ID: string; @@ -5455,6 +5616,7 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -5471,23 +5633,23 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - } | undefined; }, { - type: "familiarAbility"; + type: "event"; data: { entries: (string | { type: string; })[]; - abilityType: "Familiar" | "Master"; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; source: { ID: string; @@ -5498,6 +5660,7 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }; + tags?: {} | undefined; reference?: { type: "variant" | "reprint" | "replacement" | "extension"; target: { @@ -5514,18 +5677,8 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - } | undefined; - } | undefined; - }>; - relicGift: z.ZodObject<{ + }>, "many">>; + familiarAbility: z.ZodOptional; page: z.ZodOptional; @@ -5651,41 +5804,9 @@ export declare const objectIndex: { value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[] | undefined; }>>; - type: z.ZodLiteral<"relicGift">; + type: z.ZodLiteral<"familiarAbility">; data: z.ZodObject<{ - tier: z.ZodString; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - aspects: z.ZodArray; - }, "strict", z.ZodTypeAny, { - name: string; - note?: string | undefined; - }, { - name: string; - note?: string | undefined; - }>, "many">; - prerequisites: z.ZodOptional; + abilityType: z.ZodEnum<["Familiar", "Master"]>; entries: z.ZodArray; tags: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; misc: z.ZodOptional>; - "Grants ability": z.ZodOptional>; - "Grants passive attribute": z.ZodOptional>; - "Is rune": z.ZodOptional>; - "Soul seed": z.ZodOptional>; + affectsCommunication: z.ZodOptional>; + affectsSenses: z.ZodOptional>; + affectsMovement: z.ZodOptional>; + hasRequirement: z.ZodOptional>; + grantsAbility: z.ZodOptional>; + repeatable: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; }>, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; }>>; }, "strict", z.ZodTypeAny, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; }>, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "relicGift"; + type: "familiarAbility"; data: { entries: (string | { type: string; })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; + abilityType: "Familiar" | "Master"; }; source: { ID: string; @@ -5882,36 +5933,22 @@ export declare const objectIndex: { }[] | undefined; } | undefined; tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; } | undefined; }, { - type: "relicGift"; + type: "familiarAbility"; data: { entries: (string | { type: string; })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; + abilityType: "Familiar" | "Master"; }; source: { ID: string; @@ -5939,21 +5976,17 @@ export declare const objectIndex: { }[] | undefined; } | undefined; tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; } | undefined; } | undefined; - }>; - skill: z.ZodObject<{ + }>, "many">>; + relicGift: z.ZodOptional; page: z.ZodOptional; @@ -5977,7 +6010,6 @@ export declare const objectIndex: { aliases?: string[] | undefined; specifier?: string | undefined; }>; - tags: z.ZodOptional>; reference: z.ZodOptional; target: z.ZodObject<{ @@ -6075,555 +6107,523 @@ export declare const objectIndex: { type: string; target: { property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"skill">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; - }, "strict", z.ZodTypeAny, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - }>; - license: z.ZodObject<{ - type: z.ZodLiteral<"license">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; - }, "strict", z.ZodTypeAny, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; - }, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; - }>; - source: z.ZodObject<{ - type: z.ZodLiteral<"source">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodEffects; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"relicGift">; data: z.ZodObject<{ - released: z.ZodString; - version: z.ZodOptional; - errataed: z.ZodOptional; - added: z.ZodString; - modified: z.ZodString; - URL: z.ZodString; - groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - licenseID: z.ZodEffects; - copyright: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + aspects: z.ZodArray; + }, "strict", z.ZodTypeAny, { + name: string; + note?: string | undefined; + }, { + name: string; + note?: string | undefined; + }>, "many">; + prerequisites: z.ZodOptional; + entries: z.ZodArray]>, "many">>; - authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - publisher: z.ZodOptional; - converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + }>]>, "many">; }, "strict", z.ZodTypeAny, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }>; tags: z.ZodOptional>; - "Blog post": z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>>; - status: z.ZodOptional>; - "Missing tags": z.ZodOptional>; - Invalid: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>>; + itemTypes: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; misc: z.ZodOptional>; - "GM-facing": z.ZodOptional>; - "PFS-legal": z.ZodOptional>; - Playtest: z.ZodOptional>; - Ongoing: z.ZodOptional>; - Deprecated: z.ZodOptional>; - NSFW: z.ZodOptional>; + "Alters relic": z.ZodOptional>; + "Grants ability": z.ZodOptional>; + "Grants passive attribute": z.ZodOptional>; + "Is rune": z.ZodOptional>; + "Soul seed": z.ZodOptional>; }, "strict", z.ZodTypeAny, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }>, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; }>>; }, "strict", z.ZodTypeAny, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; }>, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { - type: "source"; + type: "relicGift"; data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }; - title: { - short: string; - full: string; + source: { + ID: string; + page?: number | undefined; }; - ID: string; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; } | undefined; }, { - type: "source"; + type: "relicGift"; data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { + entries: (string | { type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }; - title: { - short: string; - full: string; + source: { + ID: string; + page?: number | undefined; }; - ID: string; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; } | undefined; - } | undefined; - }>; - sourceGroup: z.ZodObject<{ - type: z.ZodLiteral<"sourceGroup">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; + } | undefined; + }>, "many">>; + skill: z.ZodOptional; + page: z.ZodOptional; }, "strict", z.ZodTypeAny, { - short: string; - full: string; + ID: string; + page?: number | undefined; }, { - short: string; - full: string; + ID: string; + page?: number | undefined; }>; - data: z.ZodOptional; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - publisher: string; - }, { - publisher: string; - }>, { - publisher: string; + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; }, { - publisher: string; - }>>; - tags: z.ZodOptional>; - Ongoing: z.ZodOptional>; + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; }, "strict", z.ZodTypeAny, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }>; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }>, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }>>; + type: z.ZodLiteral<"skill">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; }, "strict", z.ZodTypeAny, { - type: "sourceGroup"; - title: { - short: string; - full: string; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; }, { - type: "sourceGroup"; - title: { - short: string; - full: string; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }>; + }>, "many">>; }; diff --git a/_dist/zod/_data.js b/_dist/zod/_data.js index 81f8f53..6c7346c 100644 --- a/_dist/zod/_data.js +++ b/_dist/zod/_data.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 11:28:02 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT import { z } from "zod"; import { license } from "./license.js"; import { source } from "./source.js"; @@ -24,16 +24,16 @@ export const data = z.discriminatedUnion("type", [ relicGift, skill, ]); -export const objectIndex = { - background, - condition, - divineIntercession, - domain, - event, - familiarAbility, - relicGift, - skill, - license, - source, - sourceGroup +export const schemaIndex = { + license: license.array().min(1).optional(), + source: source.array().min(1).optional(), + sourceGroup: sourceGroup.array().min(1).optional(), + background: background.array().min(1).optional(), + condition: condition.array().min(1).optional(), + divineIntercession: divineIntercession.array().min(1).optional(), + domain: domain.array().min(1).optional(), + event: event.array().min(1).optional(), + familiarAbility: familiarAbility.array().min(1).optional(), + relicGift: relicGift.array().min(1).optional(), + skill: skill.array().min(1).optional(), }; diff --git a/_dist/zod/_index.js b/_dist/zod/_index.js index 0aa6560..c8939e2 100644 --- a/_dist/zod/_index.js +++ b/_dist/zod/_index.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 11:28:04 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 12:07:29 GMT // . export { content } from "./content.js"; export { license } from "./license.js"; diff --git a/_dist/zod/_statblock.js b/_dist/zod/_statblock.js index 7efedd7..f0f78c5 100644 --- a/_dist/zod/_statblock.js +++ b/_dist/zod/_statblock.js @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 11:28:02 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT import { z } from "zod"; import { background } from "./content/background.js"; import { condition } from "./content/condition.js"; diff --git a/_dist/zod/bundles/byDatatype.d.ts b/_dist/zod/bundles/byDatatype.d.ts index ab40861..907b3aa 100644 --- a/_dist/zod/bundles/byDatatype.d.ts +++ b/_dist/zod/bundles/byDatatype.d.ts @@ -1,660 +1,493 @@ import { z } from "zod"; -export declare const byDatatype: z.ZodEffects, z.ZodEnum<["license", "source", "sourceGroup"]>]>, z.ZodArray; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; -}, "strict", z.ZodTypeAny, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -}, { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -}>, z.ZodObject<{ - type: z.ZodLiteral<"source">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodEffects; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodObject<{ - released: z.ZodString; - version: z.ZodOptional; - errataed: z.ZodOptional; - added: z.ZodString; - modified: z.ZodString; - URL: z.ZodString; - groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; - licenseID: z.ZodEffects; - copyright: z.ZodOptional]>, "many">>; - authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - publisher: z.ZodOptional; - converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; - }, "strict", z.ZodTypeAny, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }, { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }>; - tags: z.ZodOptional>; - "Blog post": z.ZodOptional>; +export declare const byDatatype: z.ZodEffects; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodEffects; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - Comic?: true | undefined; - "Blog post"?: true | undefined; + short: string; + full: string; }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }, { - Comic?: true | undefined; - "Blog post"?: true | undefined; - }>>; - status: z.ZodOptional>; - "Missing tags": z.ZodOptional>; - Invalid: z.ZodOptional>; + short: string; + full: string; + }>; + data: z.ZodObject<{ + released: z.ZodString; + version: z.ZodOptional; + errataed: z.ZodOptional; + added: z.ZodString; + modified: z.ZodString; + URL: z.ZodString; + groupIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + requiredSourceIDs: z.ZodOptional, "atleastone">, [string, ...string[]], [string, ...string[]]>>; + licenseID: z.ZodEffects; + copyright: z.ZodOptional]>, "many">>; + authors: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; + publisher: z.ZodOptional; + converters: z.ZodOptional, [string, ...string[]], [string, ...string[]]>>; }, "strict", z.ZodTypeAny, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }, { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - }>>; - misc: z.ZodOptional>; - "GM-facing": z.ZodOptional>; - "PFS-legal": z.ZodOptional>; - Playtest: z.ZodOptional>; - Ongoing: z.ZodOptional>; - Deprecated: z.ZodOptional>; - NSFW: z.ZodOptional>; + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }>; + tags: z.ZodOptional>; + "Blog post": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }, { + Comic?: true | undefined; + "Blog post"?: true | undefined; + }>>; + status: z.ZodOptional>; + "Missing tags": z.ZodOptional>; + Invalid: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }, { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + }>>; + misc: z.ZodOptional>; + "GM-facing": z.ZodOptional>; + "PFS-legal": z.ZodOptional>; + Playtest: z.ZodOptional>; + Ongoing: z.ZodOptional>; + Deprecated: z.ZodOptional>; + NSFW: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }>, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }, { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + }>>; }, "strict", z.ZodTypeAny, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; }>, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; }, { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; }>>; }, "strict", z.ZodTypeAny, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }>, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; } | undefined; }, { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; -}, { - type: "source"; - data: { - released: string; - added: string; - modified: string; - URL: string; - licenseID: string; - version?: string | undefined; - errataed?: string | undefined; - groupIDs?: [string, ...string[]] | undefined; - requiredSourceIDs?: [string, ...string[]] | undefined; - copyright?: (string | { - type: string; - })[] | undefined; - authors?: [string, ...string[]] | undefined; - publisher?: string | undefined; - converters?: [string, ...string[]] | undefined; - }; - title: { - short: string; - full: string; - }; - ID: string; - tags?: { - publicationType?: { - Comic?: true | undefined; - "Blog post"?: true | undefined; - } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; - } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - type: z.ZodLiteral<"sourceGroup">; - ID: z.ZodEffects; - title: z.ZodObject<{ - full: z.ZodString; - short: z.ZodString; - }, "strict", z.ZodTypeAny, { - short: string; - full: string; - }, { - short: string; - full: string; - }>; - data: z.ZodOptional, { - publisher: string; - }, { - publisher: string; - }>>; - tags: z.ZodOptional>; - Ongoing: z.ZodOptional>; + }>, "many">; + license: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + short: string; + full: string; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }>, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + short: string; + full: string; + }>; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; }, { - Adventure?: true | undefined; - Ongoing?: true | undefined; + entries: (string | { + type: string; + })[]; }>; }, "strict", z.ZodTypeAny, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + type: "license"; + data: { + entries: (string | { + type: string; + })[]; }; - }>, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; + title: { + short: string; + full: string; }; - }, { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - }>>; -}, "strict", z.ZodTypeAny, { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -}, { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { ID: string; - page?: number | undefined; }, { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + }>, "many">>; + sourceGroup: z.ZodOptional; + ID: z.ZodEffects; + title: z.ZodObject<{ + full: z.ZodString; + short: z.ZodString; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + short: string; + full: string; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + short: string; + full: string; }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + data: z.ZodOptional, { + publisher: string; + }, { + publisher: string; + }>>; + tags: z.ZodOptional>; + Ongoing: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }, { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }>, { + Adventure?: true | undefined; + Ongoing?: true | undefined; }, { - property: string; - name?: string | undefined; + Adventure?: true | undefined; + Ongoing?: true | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; + }, "strict", z.ZodTypeAny, { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, { - type: string; - target: { - property: string; - name?: string | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + }>>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "sourceGroup"; + title: { + short: string; + full: string; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + } | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "sourceGroup"; + title: { + short: string; + full: string; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"background">; - data: z.ZodObject<{ - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }, { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }>; - tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; + } | undefined; + }>, "many">>; + background: z.ZodOptional; + page: z.ZodOptional; }, "strict", z.ZodTypeAny, { - abilities: Partial>; - count: number; + ID: string; + page?: number | undefined; }, { - abilities: Partial>; - count: number; - }>>; - trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; - count: z.ZodNumber; + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - count: number; - skills: Partial>; + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; }, { - count: number; - skills: Partial>; - }>>; - gainedFeats: z.ZodOptional; + reference: z.ZodOptional; + target: z.ZodObject<{ name: z.ZodString; specifier: z.ZodOptional; sourceID: z.ZodEffects; @@ -666,33 +499,601 @@ export declare const byDatatype: z.ZodEffects; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[], { + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]>; - count: z.ZodNumber; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"background">; + data: z.ZodObject<{ + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }, { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; + tags: z.ZodOptional, z.ZodLiteral<"Free">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + abilities: Partial>; + count: number; + }, { + abilities: Partial>; + count: number; + }>>; + trainedSkills: z.ZodOptional, z.ZodLiteral<"Any">]>, z.ZodLiteral>, Partial>, Partial>>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + count: number; + skills: Partial>; + }, { + count: number; + skills: Partial>; + }>>; + gainedFeats: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + gainedSpells: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>, "many">, { + name: string; + sourceID: string; + specifier?: string | undefined; + }[], { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]>; + count: z.ZodNumber; + }, "strict", z.ZodTypeAny, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }, { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + }>>; + misc: z.ZodOptional>; + "Grants equipment": z.ZodOptional>; + "Grants language": z.ZodOptional>; + "Grants resistance": z.ZodOptional>; + "Grants sense": z.ZodOptional>; + "Grants situational benefit": z.ZodOptional>; + "Has drawback": z.ZodOptional>; + "GM influence": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }, { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + }>>; }, "strict", z.ZodTypeAny, { - options: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }, { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - }, { - options: { + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }, { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - }>>; - gainedSpells: z.ZodOptional | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }>, "many">>; + condition: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + reference: z.ZodOptional; + target: z.ZodObject<{ name: z.ZodString; specifier: z.ZodOptional; sourceID: z.ZodEffects; @@ -704,3536 +1105,4125 @@ export declare const byDatatype: z.ZodEffects; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>, "many">, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }[], { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]>; - count: z.ZodNumber; + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - options: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - options: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }>>; - misc: z.ZodOptional>; - "Grants equipment": z.ZodOptional>; - "Grants language": z.ZodOptional>; - "Grants resistance": z.ZodOptional>; - "Grants sense": z.ZodOptional>; - "Grants situational benefit": z.ZodOptional>; - "Has drawback": z.ZodOptional>; - "GM influence": z.ZodOptional>; + type: z.ZodLiteral<"condition">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + }, { + entries: (string | { + type: string; + })[]; + }>; + tags: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; }, "strict", z.ZodTypeAny, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; }>, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; }, { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; }>>; }, "strict", z.ZodTypeAny, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }>, { - abilityBoosts?: { - abilities: Partial>; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - gainedFeats?: { - options: { + }>, "many">>; + divineIntercession: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }, { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }>; + tags: z.ZodOptional>; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + }, { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }, { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -}, { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; - } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { - name: string; - sourceID: string; - specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }, { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; - specifier?: string | undefined; - }>; - modifications: z.ZodOptional; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"divineIntercession">; + data: z.ZodEffects; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + type: string; + }>]>, "many">>; + "Minor Boon": z.ZodOptional]>, "many">>; + "Moderate Boon": z.ZodOptional]>, "many">>; + "Major Boon": z.ZodOptional]>, "many">>; + "Minor Curse": z.ZodOptional]>, "many">>; + "Moderate Curse": z.ZodOptional]>, "many">>; + "Major Curse": z.ZodOptional]>, "many">>; + }, "strict", z.ZodTypeAny, { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }>, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"condition">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; - tags: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - }, "strict", z.ZodTypeAny, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>, { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -}, { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + domain: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional>; + reference: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; - target: { - property: string; - name?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"domain">; + data: z.ZodObject<{ + preamble: z.ZodOptional; + domainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + advancedDomainSpell: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + apocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + advancedApocryphalSpell: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }, { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"divineIntercession">; - data: z.ZodEffects]>, "many">>; - "Minor Boon": z.ZodOptional]>, "many">>; - "Moderate Boon": z.ZodOptional]>, "many">>; - "Major Boon": z.ZodOptional]>, "many">>; - "Minor Curse": z.ZodOptional]>, "many">>; - "Moderate Curse": z.ZodOptional]>, "many">>; - "Major Curse": z.ZodOptional]>, "many">>; - }, "strict", z.ZodTypeAny, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + event: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional>; + reference: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"event">; + data: z.ZodObject<{ + level: z.ZodNumber; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + applicableSkills: z.ZodOptional; + variables: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"domain">; - data: z.ZodObject<{ - preamble: z.ZodOptional; - domainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }>, "many">>; + familiarAbility: z.ZodOptional; + page: z.ZodOptional; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + ID: string; + page?: number | undefined; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + ID: string; + page?: number | undefined; }>; - advancedDomainSpell: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - apocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; + reference: z.ZodOptional; + target: z.ZodObject<{ + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; + }, { + name: string; + sourceID: string; + specifier?: string | undefined; + }>; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }>>; - advancedApocryphalSpell: z.ZodOptional; - sourceID: z.ZodEffects; + type: z.ZodLiteral<"familiarAbility">; + data: z.ZodObject<{ + abilityType: z.ZodEnum<["Familiar", "Master"]>; + entries: z.ZodArray]>, "many">; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }, { - name: string; - sourceID: string; - specifier?: string | undefined; + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }>; + tags: z.ZodOptional>; + affectsSenses: z.ZodOptional>; + affectsMovement: z.ZodOptional>; + hasRequirement: z.ZodOptional>; + grantsAbility: z.ZodOptional>; + repeatable: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }, { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }>, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + }, { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; }>>; }, "strict", z.ZodTypeAny, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }, { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + }, { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + }>, "many">>; + relicGift: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"event">; - data: z.ZodObject<{ - level: z.ZodNumber; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"relicGift">; + data: z.ZodObject<{ + tier: z.ZodString; + traits: z.ZodOptional, string[], string[]>>; + display: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }>, "many">, { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[], { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[]>>; + aspects: z.ZodArray; + }, "strict", z.ZodTypeAny, { + name: string; + note?: string | undefined; + }, { + name: string; + note?: string | undefined; + }>, "many">; + prerequisites: z.ZodOptional; + entries: z.ZodArray]>, "many">; }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - applicableSkills: z.ZodOptional; - variables: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }>; + tags: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, "strip", z.ZodLiteral, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>, z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">, z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip">>>; + misc: z.ZodOptional>; + "Grants ability": z.ZodOptional>; + "Grants passive attribute": z.ZodOptional>; + "Is rune": z.ZodOptional>; + "Soul seed": z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }, { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + }>>; }, "strict", z.ZodTypeAny, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; }, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - entries: z.ZodArray>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }>, { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; }, { - type: string; - }>]>, "many">; + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + }>>; }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }, { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }>; -}, "strict", z.ZodTypeAny, { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }, { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }>, "many">>; + skill: z.ZodOptional; + page: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + ID: string; + page?: number | undefined; + }, { + ID: string; + page?: number | undefined; + }>; + name: z.ZodObject<{ + primary: z.ZodEffects; + aliases: z.ZodOptional, string[], string[]>>; + specifier: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }, { - name: string; - sourceID: string; + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }>; - modifications: z.ZodOptional>; + reference: z.ZodOptional; target: z.ZodObject<{ - property: z.ZodString; - name: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; + name: z.ZodString; + specifier: z.ZodOptional; + sourceID: z.ZodEffects; + }, "strict", z.ZodTypeAny, { + name: string; + sourceID: string; + specifier?: string | undefined; }, { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + modifications: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + property: string; + name?: string | undefined; + }, { + property: string; + name?: string | undefined; + }>; + value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; + }, "strip", z.ZodTypeAny, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }>, "many">, { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[], { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[]>>; + }, "strict", z.ZodTypeAny, { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + }>>; + type: z.ZodLiteral<"skill">; + data: z.ZodObject<{ + entries: z.ZodArray]>, "many">; + }, "strict", z.ZodTypeAny, { + entries: (string | { + type: string; + })[]; }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; + entries: (string | { + type: string; + })[]; + }>; }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"familiarAbility">; - data: z.ZodObject<{ - abilityType: z.ZodEnum<["Familiar", "Master"]>; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }, { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }>; - tags: z.ZodOptional>; - affectsSenses: z.ZodOptional>; - affectsMovement: z.ZodOptional>; - hasRequirement: z.ZodOptional>; - grantsAbility: z.ZodOptional>; - repeatable: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }, { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + }>, "many">>; +}, "strip", z.ZodTypeAny, { + source: { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; } | undefined; - }>, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; } | undefined; - }, { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -}, { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - ID: string; - page?: number | undefined; - }, { - ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; - target: { - property: string; - name?: string | undefined; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"relicGift">; - data: z.ZodObject<{ - tier: z.ZodString; - traits: z.ZodOptional, string[], string[]>>; - display: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }>, "many">, { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[], { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[]>>; - aspects: z.ZodArray; - }, "strict", z.ZodTypeAny, { - name: string; - note?: string | undefined; - }, { - name: string; - note?: string | undefined; - }>, "many">; - prerequisites: z.ZodOptional; - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }, { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }>; - tags: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, "strip", z.ZodLiteral, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>, z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">, z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip">>>; - misc: z.ZodOptional>; - "Grants ability": z.ZodOptional>; - "Grants passive attribute": z.ZodOptional>; - "Is rune": z.ZodOptional>; - "Soul seed": z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }>, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }, { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }>, { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - }, { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; + }[] | undefined; }, { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; } | undefined; - } | undefined; -}>, z.ZodObject<{ - source: z.ZodObject<{ - ID: z.ZodEffects; - page: z.ZodOptional; - }, "strict", z.ZodTypeAny, { + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }, { + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }>; - name: z.ZodObject<{ - primary: z.ZodEffects; - aliases: z.ZodOptional, string[], string[]>>; - specifier: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }, { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }>; - tags: z.ZodOptional>; - reference: z.ZodOptional; - target: z.ZodObject<{ - name: z.ZodString; - specifier: z.ZodOptional; - sourceID: z.ZodEffects; - }, "strict", z.ZodTypeAny, { - name: string; - sourceID: string; - specifier?: string | undefined; - }, { - name: string; - sourceID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; - }>; - modifications: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - property: string; - name?: string | undefined; - }, { - property: string; - name?: string | undefined; - }>; - value: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodArray, z.ZodBoolean]>>; - }, "strip", z.ZodTypeAny, { - type: string; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, { - type: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + } | undefined; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }, { - type: string; - target: { - property: string; - name?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }>, "many">, { - type: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[], { - type: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[]>>; - }, "strict", z.ZodTypeAny, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }, { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - }>>; - type: z.ZodLiteral<"skill">; - data: z.ZodObject<{ - entries: z.ZodArray]>, "many">; - }, "strict", z.ZodTypeAny, { - entries: (string | { - type: string; - })[]; - }, { - entries: (string | { - type: string; - })[]; - }>; -}, "strict", z.ZodTypeAny, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}, { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}>, { source: { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; + ID: string; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; + }; + title: { + short: string; + full: string; + }; + ID: string; + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; + }; + } | undefined; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -}>]>, "many">>, Partial | undefined; + }[] | undefined; } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; } | undefined; - } | undefined; -} | { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -} | { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -} | { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; + tags?: { + group?: z.objectOutputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - gainedFeats?: { - options: { + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; + specifier?: string | undefined; + }; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - gainedSpells?: { - options: { + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -} | { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }; + advancedDomainSpell: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectOutputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -} | { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; + }; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; + target: { + name: string; + sourceID: string; + specifier?: string | undefined; + }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + tags?: { + itemTypes?: z.objectOutputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}, { source: { + type: "source"; + data: { + released: string; + added: string; + modified: string; + URL: string; + licenseID: string; + version?: string | undefined; + errataed?: string | undefined; + groupIDs?: [string, ...string[]] | undefined; + requiredSourceIDs?: [string, ...string[]] | undefined; + copyright?: (string | { + type: string; + })[] | undefined; + authors?: [string, ...string[]] | undefined; + publisher?: string | undefined; + converters?: [string, ...string[]] | undefined; + }; + title: { + short: string; + full: string; + }; ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + tags?: { + publicationType?: { + Comic?: true | undefined; + "Blog post"?: true | undefined; + } | undefined; + status?: { + "Missing content"?: true | undefined; + "Missing tags"?: true | undefined; + Invalid?: true | undefined; + } | undefined; + misc?: { + Official?: true | undefined; + "GM-facing"?: true | undefined; + "PFS-legal"?: true | undefined; + Playtest?: true | undefined; + Ongoing?: true | undefined; + Deprecated?: true | undefined; + NSFW?: true | undefined; + } | undefined; + } | undefined; + }[]; + license?: { + type: "license"; + data: { + entries: (string | { + type: string; + })[]; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; + title: { + short: string; + full: string; + }; + ID: string; + }[] | undefined; + sourceGroup?: { + type: "sourceGroup"; + title: { + short: string; + full: string; + }; + ID: string; + data?: { + publisher: string; + } | undefined; + tags?: { + misc: { + Adventure?: true | undefined; + Ongoing?: true | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; } | undefined; - } | undefined; -} | { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + background?: { + type: "background"; + data: { + entries: (string | { + type: string; + })[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectOutputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + abilityBoosts?: { + abilities: Partial>; + count: number; + } | undefined; + trainedSkills?: { + count: number; + skills: Partial>; + } | undefined; + gainedFeats?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + gainedSpells?: { + options: { + name: string; + sourceID: string; + specifier?: string | undefined; + }[]; + count: number; + } | undefined; + misc?: { + "Grants ability"?: true | undefined; + "Grants equipment"?: true | undefined; + "Grants language"?: true | undefined; + "Grants resistance"?: true | undefined; + "Grants sense"?: true | undefined; + "Grants situational benefit"?: true | undefined; + "Has drawback"?: true | undefined; + "GM influence"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + condition?: { + type: "condition"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -})[]>>, Partial | undefined; + }[] | undefined; } | undefined; - status?: { - "Missing content"?: true | undefined; - "Missing tags"?: true | undefined; - Invalid?: true | undefined; + tags?: { + group?: z.objectInputType<{ + Attitudes: z.ZodOptional>; + "Death and Dying": z.ZodOptional>; + "Degrees of Detection": z.ZodOptional>; + "Lowered Abilities": z.ZodOptional>; + Senses: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; } | undefined; - misc?: { - Official?: true | undefined; - "GM-facing"?: true | undefined; - "PFS-legal"?: true | undefined; - Playtest?: true | undefined; - Ongoing?: true | undefined; - Deprecated?: true | undefined; - NSFW?: true | undefined; - } | undefined; - } | undefined; -} | { - type: "license"; - data: { - entries: (string | { - type: string; - })[]; - }; - title: { - short: string; - full: string; - }; - ID: string; -} | { - type: "sourceGroup"; - title: { - short: string; - full: string; - }; - ID: string; - data?: { - publisher: string; - } | undefined; - tags?: { - misc: { - Adventure?: true | undefined; - Ongoing?: true | undefined; - }; - } | undefined; -} | { - type: "background"; - data: { - entries: (string | { - type: string; - })[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + }[] | undefined; + divineIntercession?: { + type: "divineIntercession"; + data: { + preamble?: (string | { + type: string; + })[] | undefined; + "Minor Boon"?: (string | { + type: string; + })[] | undefined; + "Moderate Boon"?: (string | { + type: string; + })[] | undefined; + "Major Boon"?: (string | { + type: string; + })[] | undefined; + "Minor Curse"?: (string | { + type: string; + })[] | undefined; + "Moderate Curse"?: (string | { + type: string; + })[] | undefined; + "Major Curse"?: (string | { + type: string; + })[] | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - abilityBoosts?: { - abilities: Partial>; - count: number; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - trainedSkills?: { - count: number; - skills: Partial>; - } | undefined; - gainedFeats?: { - options: { + }[] | undefined; + domain?: { + type: "domain"; + data: { + domainSpell: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - gainedSpells?: { - options: { + }; + advancedDomainSpell: { name: string; sourceID: string; specifier?: string | undefined; - }[]; - count: number; - } | undefined; - misc?: { - "Grants ability"?: true | undefined; - "Grants equipment"?: true | undefined; - "Grants language"?: true | undefined; - "Grants resistance"?: true | undefined; - "Grants sense"?: true | undefined; - "Grants situational benefit"?: true | undefined; - "Has drawback"?: true | undefined; - "GM influence"?: true | undefined; - } | undefined; - } | undefined; -} | { - type: "condition"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; - }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - group?: z.objectInputType<{ - Attitudes: z.ZodOptional>; - "Death and Dying": z.ZodOptional>; - "Degrees of Detection": z.ZodOptional>; - "Lowered Abilities": z.ZodOptional>; - Senses: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - } | undefined; -} | { - type: "divineIntercession"; - data: { - preamble?: (string | { - type: string; - })[] | undefined; - "Minor Boon"?: (string | { - type: string; - })[] | undefined; - "Moderate Boon"?: (string | { - type: string; - })[] | undefined; - "Major Boon"?: (string | { - type: string; - })[] | undefined; - "Minor Curse"?: (string | { - type: string; - })[] | undefined; - "Moderate Curse"?: (string | { - type: string; - })[] | undefined; - "Major Curse"?: (string | { - type: string; - })[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + preamble?: string | undefined; + apocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + advancedApocryphalSpell?: { + name: string; + sourceID: string; + specifier?: string | undefined; + } | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "domain"; - data: { - domainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + event?: { + type: "event"; + data: { + entries: (string | { + type: string; + })[]; + level: number; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + applicableSkills?: { + skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; }; - advancedDomainSpell: { - name: string; - sourceID: string; - specifier?: string | undefined; + source: { + ID: string; + page?: number | undefined; }; - preamble?: string | undefined; - apocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - advancedApocryphalSpell?: { - name: string; - sourceID: string; - specifier?: string | undefined; - } | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "event"; - data: { - entries: (string | { - type: string; - })[]; - level: number; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - applicableSkills?: { - skill: "Acrobatics" | "Arcana" | "Athletics" | "Crafting" | "Deception" | "Diplomacy" | "Intimidation" | "Lore" | "Medicine" | "Nature" | "Occultism" | "Performance" | "Religion" | "Society" | "Stealth" | "Survival" | "Thievery"; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; - specifier?: string | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; + familiarAbility?: { + type: "familiarAbility"; + data: { + entries: (string | { + type: string; + })[]; + abilityType: "Familiar" | "Master"; }; - modifications?: { - type: string; - target: { - property: string; - name?: string | undefined; - }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -} | { - type: "familiarAbility"; - data: { - entries: (string | { - type: string; - })[]; - abilityType: "Familiar" | "Master"; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - misc?: { - affectsCommunication?: true | undefined; - affectsSenses?: true | undefined; - affectsMovement?: true | undefined; - hasRequirement?: true | undefined; - grantsAbility?: true | undefined; - repeatable?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "relicGift"; - data: { - entries: (string | { - type: string; - })[]; - tier: string; - aspects: { - name: string; - note?: string | undefined; - }[]; - traits?: { - trait: string; - variables?: string[] | undefined; - display?: string | undefined; - }[] | undefined; - prerequisites?: string | undefined; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + misc?: { + affectsCommunication?: true | undefined; + affectsSenses?: true | undefined; + affectsMovement?: true | undefined; + hasRequirement?: true | undefined; + grantsAbility?: true | undefined; + repeatable?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + relicGift?: { + type: "relicGift"; + data: { + entries: (string | { + type: string; + })[]; + tier: string; + aspects: { + name: string; + note?: string | undefined; + }[]; + traits?: { + trait: string; + variables?: string[] | undefined; + display?: string | undefined; + }[] | undefined; + prerequisites?: string | undefined; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; - tags?: { - itemTypes?: z.objectInputType<{ - Armor: z.ZodOptional>; - "Worn Item": z.ZodOptional>; - Weapon: z.ZodOptional>; - }, z.ZodLiteral, "strip"> | undefined; - misc?: { - "Alters relic"?: true | undefined; - "Grants ability"?: true | undefined; - "Grants passive attribute"?: true | undefined; - "Is rune"?: true | undefined; - "Soul seed"?: true | undefined; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; } | undefined; - } | undefined; -} | { - type: "skill"; - data: { - entries: (string | { - type: string; - })[]; - }; - source: { - ID: string; - page?: number | undefined; - }; - name: { - primary: string; - aliases?: string[] | undefined; - specifier?: string | undefined; - }; - tags?: {} | undefined; - reference?: { - type: "variant" | "reprint" | "replacement" | "extension"; - target: { - name: string; - sourceID: string; + tags?: { + itemTypes?: z.objectInputType<{ + Armor: z.ZodOptional>; + "Worn Item": z.ZodOptional>; + Weapon: z.ZodOptional>; + }, z.ZodLiteral, "strip"> | undefined; + misc?: { + "Alters relic"?: true | undefined; + "Grants ability"?: true | undefined; + "Grants passive attribute"?: true | undefined; + "Is rune"?: true | undefined; + "Soul seed"?: true | undefined; + } | undefined; + } | undefined; + }[] | undefined; + skill?: { + type: "skill"; + data: { + entries: (string | { + type: string; + })[]; + }; + source: { + ID: string; + page?: number | undefined; + }; + name: { + primary: string; + aliases?: string[] | undefined; specifier?: string | undefined; }; - modifications?: { - type: string; + tags?: {} | undefined; + reference?: { + type: "variant" | "reprint" | "replacement" | "extension"; target: { - property: string; - name?: string | undefined; + name: string; + sourceID: string; + specifier?: string | undefined; }; - value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; - }[] | undefined; - } | undefined; -})[]>>>; + modifications?: { + type: string; + target: { + property: string; + name?: string | undefined; + }; + value?: string | number | boolean | any[] | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; + }[] | undefined; + } | undefined; + }[] | undefined; +}>; diff --git a/_dist/zod/bundles/byDatatype.js b/_dist/zod/bundles/byDatatype.js index ac390dd..ca76067 100644 --- a/_dist/zod/bundles/byDatatype.js +++ b/_dist/zod/bundles/byDatatype.js @@ -1,8 +1,7 @@ import { z } from "zod"; -import { datatype } from "../indexes/datatypes.js"; -import { data } from "../_data.js"; +import { schemaIndex } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; export const byDatatype = z - .record(datatype, z.array(data)) + .object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) .describe("A bundle of all data of a given datatype (and possibly a given family—either `core` or `homebrew`). Each key maps from a given datatype to an array of data with that datatype.") .refine(...nonEmpty); diff --git a/scripts/generate-zod-combinedTypes.js b/scripts/generate-zod-combinedTypes.js index 8ea3c77..964e2ee 100644 --- a/scripts/generate-zod-combinedTypes.js +++ b/scripts/generate-zod-combinedTypes.js @@ -105,6 +105,10 @@ fs.writeFileSync( .join("") .concat(typeImports), `\t${metaTypes.join(",\n\t")},\n${typeArray}`, - ) + `\nexport const schemaIndex = {\n\t${metaTypes.join(",\n\t")},\n${typeArray}}`.replaceAll(/(\w+),/g, "$1: $1.array().min(1).optional(),"), + ) + + `\nexport const schemaIndex = {\n\t${metaTypes.join(",\n\t")},\n${typeArray}}`.replaceAll( + /(\w+),/g, + "$1: $1.array().min(1).optional(),", + ), ); console.log(chalk.green("Data type file generated")); diff --git a/zod/_data.ts b/zod/_data.ts index e31e875..6dc408f 100644 --- a/zod/_data.ts +++ b/zod/_data.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:01:44 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT import { z } from "zod"; diff --git a/zod/_index.ts b/zod/_index.ts index 5fc19fa..d72f34e 100644 --- a/zod/_index.ts +++ b/zod/_index.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 11:28:04 GMT +// This file was generated by scripts/generate-zod-index.js at Sun, 11 Feb 2024 12:07:29 GMT // . export { content } from "./content.js"; diff --git a/zod/_statblock.ts b/zod/_statblock.ts index 071cb0e..4ffd206 100644 --- a/zod/_statblock.ts +++ b/zod/_statblock.ts @@ -1,4 +1,4 @@ -// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:01:44 GMT +// This file was generated by scripts/generate-zod-combinedTypes.js at Sun, 11 Feb 2024 12:07:27 GMT import { z } from "zod"; diff --git a/zod/bundles/byDatatype.ts b/zod/bundles/byDatatype.ts index 20abbd1..ad519c4 100644 --- a/zod/bundles/byDatatype.ts +++ b/zod/bundles/byDatatype.ts @@ -3,7 +3,8 @@ import { z } from "zod"; import { schemaIndex } from "../_data.js"; import { nonEmpty } from "../utils/nonEmpty.js"; -export const byDatatype = z.object({...schemaIndex, source: schemaIndex.source.unwrap()}) +export const byDatatype = z + .object({ ...schemaIndex, source: schemaIndex.source.unwrap() }) .describe( "A bundle of all data of a given datatype (and possibly a given family—either `core` or `homebrew`). Each key maps from a given datatype to an array of data with that datatype.", )