SnapshotSchema: ZodObject<
{
application: ZodOptional<
ZodObject<
{
description: ZodNullable<ZodString>;
name: ZodString;
settings: ZodType<
{
color?: string;
icon?: {
code: string;
emoji: string;
id: number;
name: string;
nameUrl: string;
[key: string]: unknown;
};
[key: string]: unknown;
},
{
color?: string;
icon?: {
code: string;
emoji: string;
id: number;
name: string;
nameUrl: string;
[key: string]: unknown;
};
[key: string]: unknown;
},
$ZodTypeInternals<
{
color?: string;
icon?: {
code: string;
emoji: string;
id: number;
name: string;
nameUrl: string;
[key: string]: unknown;
};
[key: string]: unknown;
},
{
color?: string;
icon?: {
code: string;
emoji: string;
id: number;
name: string;
nameUrl: string;
[key: string]: unknown;
};
[key: string]: unknown;
},
>,
>;
status: ZodEnum<
{
archived: "archived";
draft: "draft";
published: "published";
publishing: "publishing";
},
>;
type: ZodEnum<{ form: "form"; quiz: "quiz"; survey: "survey" }>;
},
{ in: {}; out: {} },
>,
>;
diagram: ZodOptional<
ZodObject<
{
data: ZodType<
| Record<string, unknown>
| {
cover: null | { alt: string; grayscale: boolean; src: string };
description: string;
fields: Record<
string,
{
help: { show: ...; text: ... };
id: string;
index: number;
label: string;
required: boolean;
size: (...) | (...);
span: number;
},
>;
groups: {
description: string;
id: string;
index: number;
rows: (...)[];
settings: {
background: ...;
labelPosition: ...;
showDescription: ...;
showTitle: ...;
};
title: string;
}[];
logo: null
| { alt: string; src: string };
settings: {
accentColor: string;
allowPrint: boolean;
containerMaxWidth: number;
maxItemsPerRow: number;
redirectUrl: null | string;
showBranding: boolean;
submission: {
customized: { enabled: ...; text: ... };
disallowed: boolean;
disallowedReason: (...) | (...);
};
theme: "light"
| "dark";
};
title: string;
version: "v1";
},
| Record<string, unknown>
| {
cover: null | { alt: string; grayscale: boolean; src: string };
description: string;
fields: Record<
string,
{
help: { show: ...; text: ... };
id: string;
index: number;
label: string;
required: boolean;
size: (...) | (...);
span: number;
},
>;
groups: {
description: string;
id: string;
index: number;
rows: (...)[];
settings: {
background: ...;
labelPosition: ...;
showDescription: ...;
showTitle: ...;
};
title: string;
}[];
logo: null
| { alt: string; src: string };
settings: {
accentColor: string;
allowPrint: boolean;
containerMaxWidth: number;
maxItemsPerRow: number;
redirectUrl: null | string;
showBranding: boolean;
submission: {
customized: { enabled: ...; text: ... };
disallowed: boolean;
disallowedReason: (...) | (...);
};
theme: "light"
| "dark";
};
title: string;
version: "v1";
},
$ZodTypeInternals<
| Record<string, unknown>
| {
cover: null | { alt: ...; grayscale: ...; src: ... };
description: string;
fields: Record<
string,
{
help: ...;
id: ...;
index: ...;
label: ...;
required: ...;
size: ...;
span: ...;
},
>;
groups: {
description: ...;
id: ...;
index: ...;
rows: ...;
settings: ...;
title: ...;
}[];
logo: null
| { alt: ...; src: ... };
settings: {
accentColor: string;
allowPrint: boolean;
containerMaxWidth: number;
maxItemsPerRow: number;
redirectUrl: (...) | (...);
showBranding: boolean;
submission: {
customized: ...;
disallowed: ...;
disallowedReason: ...;
};
theme: (...)
| (...);
};
title: string;
version: "v1";
},
| Record<string, unknown>
| {
cover: null | { alt: ...; grayscale: ...; src: ... };
description: string;
fields: Record<
string,
{
help: ...;
id: ...;
index: ...;
label: ...;
required: ...;
size: ...;
span: ...;
},
>;
groups: {
description: ...;
id: ...;
index: ...;
rows: ...;
settings: ...;
title: ...;
}[];
logo: null
| { alt: ...; src: ... };
settings: {
accentColor: string;
allowPrint: boolean;
containerMaxWidth: number;
maxItemsPerRow: number;
redirectUrl: (...) | (...);
showBranding: boolean;
submission: {
customized: ...;
disallowed: ...;
disallowedReason: ...;
};
theme: (...)
| (...);
};
title: string;
version: "v1";
},
>,
>;
id: ZodString;
},
{ in: {}; out: {} },
>,
>;
},
$strip,
> = ...