418 lines
18 KiB
TypeScript
418 lines
18 KiB
TypeScript
import { z } from 'zod';
|
|
export declare const updateSiteSettingsSchema: z.ZodObject<{
|
|
organizationName: z.ZodOptional<z.ZodString>;
|
|
organizationShortName: z.ZodOptional<z.ZodString>;
|
|
organizationLogoUrl: z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>;
|
|
organizationFaviconUrl: z.ZodUnion<[z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodLiteral<"">]>;
|
|
adminColorPrimary: z.ZodOptional<z.ZodString>;
|
|
adminColorBgBase: z.ZodOptional<z.ZodString>;
|
|
publicColorPrimary: z.ZodOptional<z.ZodString>;
|
|
publicColorBgBase: z.ZodOptional<z.ZodString>;
|
|
publicColorBgContainer: z.ZodOptional<z.ZodString>;
|
|
publicHeaderGradient: z.ZodOptional<z.ZodString>;
|
|
footerText: z.ZodOptional<z.ZodString>;
|
|
loginSubtitle: z.ZodOptional<z.ZodString>;
|
|
emailFromName: z.ZodOptional<z.ZodString>;
|
|
smtpHost: z.ZodOptional<z.ZodString>;
|
|
smtpPort: z.ZodOptional<z.ZodNumber>;
|
|
smtpUser: z.ZodOptional<z.ZodString>;
|
|
smtpPass: z.ZodOptional<z.ZodString>;
|
|
smtpFromAddress: z.ZodOptional<z.ZodString>;
|
|
smtpActiveProvider: z.ZodOptional<z.ZodEnum<["mailhog", "production"]>>;
|
|
emailTestMode: z.ZodOptional<z.ZodBoolean>;
|
|
testEmailRecipient: z.ZodOptional<z.ZodString>;
|
|
enablePublicRegistration: z.ZodOptional<z.ZodBoolean>;
|
|
enableEmailVerification: z.ZodOptional<z.ZodBoolean>;
|
|
autoApproveVerifiedUsers: z.ZodOptional<z.ZodBoolean>;
|
|
enableInfluence: z.ZodOptional<z.ZodBoolean>;
|
|
enableMap: z.ZodOptional<z.ZodBoolean>;
|
|
enableNewsletter: z.ZodOptional<z.ZodBoolean>;
|
|
enableLandingPages: z.ZodOptional<z.ZodBoolean>;
|
|
enableMediaFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
enablePayments: z.ZodOptional<z.ZodBoolean>;
|
|
enableGalleryAds: z.ZodOptional<z.ZodBoolean>;
|
|
enableChat: z.ZodOptional<z.ZodBoolean>;
|
|
enableEvents: z.ZodOptional<z.ZodBoolean>;
|
|
enableDocsComments: z.ZodOptional<z.ZodBoolean>;
|
|
enableSms: z.ZodOptional<z.ZodBoolean>;
|
|
enablePeople: z.ZodOptional<z.ZodBoolean>;
|
|
enableSocial: z.ZodOptional<z.ZodBoolean>;
|
|
enableMeet: z.ZodOptional<z.ZodBoolean>;
|
|
enableMeetingPlanner: z.ZodOptional<z.ZodBoolean>;
|
|
enableTicketedEvents: z.ZodOptional<z.ZodBoolean>;
|
|
enableSocialCalendar: z.ZodOptional<z.ZodBoolean>;
|
|
enableDocsCollaboration: z.ZodOptional<z.ZodBoolean>;
|
|
requireEventApproval: z.ZodOptional<z.ZodBoolean>;
|
|
autoSyncPeopleToMap: z.ZodOptional<z.ZodBoolean>;
|
|
smsTermuxApiUrl: z.ZodOptional<z.ZodString>;
|
|
smsTermuxApiKey: z.ZodOptional<z.ZodString>;
|
|
smsTailscaleApiKey: z.ZodOptional<z.ZodString>;
|
|
smsTailscaleTailnet: z.ZodOptional<z.ZodString>;
|
|
smsTailscaleDeviceId: z.ZodOptional<z.ZodString>;
|
|
smsTailscaleDeviceName: z.ZodOptional<z.ZodString>;
|
|
giteaApiToken: z.ZodOptional<z.ZodString>;
|
|
giteaCommentsRepoOwner: z.ZodOptional<z.ZodString>;
|
|
giteaCommentsRepoName: z.ZodOptional<z.ZodString>;
|
|
giteaOauthClientId: z.ZodOptional<z.ZodString>;
|
|
giteaOauthClientSecret: z.ZodOptional<z.ZodString>;
|
|
enableUserProvisioning: z.ZodOptional<z.ZodBoolean>;
|
|
provisionGitea: z.ZodOptional<z.ZodBoolean>;
|
|
provisionGiteaTiming: z.ZodOptional<z.ZodEnum<["lazy", "eager"]>>;
|
|
provisionVaultwarden: z.ZodOptional<z.ZodBoolean>;
|
|
provisionVaultwardenTiming: z.ZodOptional<z.ZodEnum<["lazy", "eager"]>>;
|
|
provisionListmonk: z.ZodOptional<z.ZodBoolean>;
|
|
provisionListmonkTiming: z.ZodOptional<z.ZodEnum<["lazy", "eager"]>>;
|
|
enableAutoUpgrade: z.ZodOptional<z.ZodBoolean>;
|
|
autoUpgradeSchedule: z.ZodOptional<z.ZodEnum<["daily-3am", "daily-4am", "daily-5am", "weekly-sun-3am", "weekly-mon-3am", "12h", "24h"]>>;
|
|
autoUpgradePullServices: z.ZodOptional<z.ZodBoolean>;
|
|
notifyAdminAutoUpgrade: z.ZodOptional<z.ZodBoolean>;
|
|
navConfig: z.ZodOptional<z.ZodObject<{
|
|
items: z.ZodArray<z.ZodObject<{
|
|
id: z.ZodString;
|
|
label: z.ZodString;
|
|
path: z.ZodString;
|
|
icon: z.ZodString;
|
|
enabled: z.ZodBoolean;
|
|
order: z.ZodNumber;
|
|
type: z.ZodEnum<["builtin", "custom", "group"]>;
|
|
featureFlag: z.ZodOptional<z.ZodString>;
|
|
external: z.ZodOptional<z.ZodBoolean>;
|
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
id: z.ZodString;
|
|
label: z.ZodString;
|
|
path: z.ZodString;
|
|
icon: z.ZodString;
|
|
enabled: z.ZodBoolean;
|
|
order: z.ZodNumber;
|
|
type: z.ZodEnum<["builtin", "custom"]>;
|
|
featureFlag: z.ZodOptional<z.ZodString>;
|
|
external: z.ZodOptional<z.ZodBoolean>;
|
|
}, "strip", z.ZodTypeAny, {
|
|
path: string;
|
|
type: "custom" | "builtin";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
}, {
|
|
path: string;
|
|
type: "custom" | "builtin";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
}>, "many">>;
|
|
}, "strip", z.ZodTypeAny, {
|
|
path: string;
|
|
type: "custom" | "builtin" | "group";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
children?: {
|
|
path: string;
|
|
type: "custom" | "builtin";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
}[] | undefined;
|
|
}, {
|
|
path: string;
|
|
type: "custom" | "builtin" | "group";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
children?: {
|
|
path: string;
|
|
type: "custom" | "builtin";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
}[] | undefined;
|
|
}>, "many">;
|
|
}, "strip", z.ZodTypeAny, {
|
|
items: {
|
|
path: string;
|
|
type: "custom" | "builtin" | "group";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
children?: {
|
|
path: string;
|
|
type: "custom" | "builtin";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
}[] | undefined;
|
|
}[];
|
|
}, {
|
|
items: {
|
|
path: string;
|
|
type: "custom" | "builtin" | "group";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
children?: {
|
|
path: string;
|
|
type: "custom" | "builtin";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
}[] | undefined;
|
|
}[];
|
|
}>>;
|
|
notifyAdminShiftSignup: z.ZodOptional<z.ZodBoolean>;
|
|
notifyAdminResponseSubmitted: z.ZodOptional<z.ZodBoolean>;
|
|
notifyAdminSignRequested: z.ZodOptional<z.ZodBoolean>;
|
|
notifyAdminShiftCancellation: z.ZodOptional<z.ZodBoolean>;
|
|
notifyVolunteerSessionSummary: z.ZodOptional<z.ZodBoolean>;
|
|
notifyVolunteerCancellation: z.ZodOptional<z.ZodBoolean>;
|
|
notifyVolunteerShiftReminder: z.ZodOptional<z.ZodBoolean>;
|
|
notifyVolunteerShiftThankYou: z.ZodOptional<z.ZodBoolean>;
|
|
notifyVolunteerReengagement: z.ZodOptional<z.ZodBoolean>;
|
|
reengagementInactiveDays: z.ZodOptional<z.ZodNumber>;
|
|
reengagementCooldownDays: z.ZodOptional<z.ZodNumber>;
|
|
}, "strip", z.ZodTypeAny, {
|
|
organizationName?: string | undefined;
|
|
organizationShortName?: string | undefined;
|
|
organizationLogoUrl?: string | null | undefined;
|
|
organizationFaviconUrl?: string | null | undefined;
|
|
adminColorPrimary?: string | undefined;
|
|
adminColorBgBase?: string | undefined;
|
|
publicColorPrimary?: string | undefined;
|
|
publicColorBgBase?: string | undefined;
|
|
publicColorBgContainer?: string | undefined;
|
|
publicHeaderGradient?: string | undefined;
|
|
footerText?: string | undefined;
|
|
loginSubtitle?: string | undefined;
|
|
emailFromName?: string | undefined;
|
|
smtpHost?: string | undefined;
|
|
smtpPort?: number | undefined;
|
|
smtpUser?: string | undefined;
|
|
smtpPass?: string | undefined;
|
|
smtpFromAddress?: string | undefined;
|
|
smtpActiveProvider?: "production" | "mailhog" | undefined;
|
|
emailTestMode?: boolean | undefined;
|
|
testEmailRecipient?: string | undefined;
|
|
enablePublicRegistration?: boolean | undefined;
|
|
enableEmailVerification?: boolean | undefined;
|
|
autoApproveVerifiedUsers?: boolean | undefined;
|
|
enableInfluence?: boolean | undefined;
|
|
enableMap?: boolean | undefined;
|
|
enableNewsletter?: boolean | undefined;
|
|
enableLandingPages?: boolean | undefined;
|
|
enableMediaFeatures?: boolean | undefined;
|
|
enablePayments?: boolean | undefined;
|
|
enableGalleryAds?: boolean | undefined;
|
|
enableChat?: boolean | undefined;
|
|
enableEvents?: boolean | undefined;
|
|
enableDocsComments?: boolean | undefined;
|
|
enableSms?: boolean | undefined;
|
|
enablePeople?: boolean | undefined;
|
|
enableSocial?: boolean | undefined;
|
|
enableMeet?: boolean | undefined;
|
|
enableMeetingPlanner?: boolean | undefined;
|
|
enableTicketedEvents?: boolean | undefined;
|
|
enableSocialCalendar?: boolean | undefined;
|
|
enableDocsCollaboration?: boolean | undefined;
|
|
requireEventApproval?: boolean | undefined;
|
|
autoSyncPeopleToMap?: boolean | undefined;
|
|
smsTermuxApiUrl?: string | undefined;
|
|
smsTermuxApiKey?: string | undefined;
|
|
smsTailscaleApiKey?: string | undefined;
|
|
smsTailscaleTailnet?: string | undefined;
|
|
smsTailscaleDeviceId?: string | undefined;
|
|
smsTailscaleDeviceName?: string | undefined;
|
|
giteaApiToken?: string | undefined;
|
|
giteaCommentsRepoOwner?: string | undefined;
|
|
giteaCommentsRepoName?: string | undefined;
|
|
giteaOauthClientId?: string | undefined;
|
|
giteaOauthClientSecret?: string | undefined;
|
|
enableUserProvisioning?: boolean | undefined;
|
|
provisionGitea?: boolean | undefined;
|
|
provisionGiteaTiming?: "lazy" | "eager" | undefined;
|
|
provisionVaultwarden?: boolean | undefined;
|
|
provisionVaultwardenTiming?: "lazy" | "eager" | undefined;
|
|
provisionListmonk?: boolean | undefined;
|
|
provisionListmonkTiming?: "lazy" | "eager" | undefined;
|
|
enableAutoUpgrade?: boolean | undefined;
|
|
autoUpgradeSchedule?: "daily-3am" | "daily-4am" | "daily-5am" | "weekly-sun-3am" | "weekly-mon-3am" | "12h" | "24h" | undefined;
|
|
autoUpgradePullServices?: boolean | undefined;
|
|
notifyAdminAutoUpgrade?: boolean | undefined;
|
|
navConfig?: {
|
|
items: {
|
|
path: string;
|
|
type: "custom" | "builtin" | "group";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
children?: {
|
|
path: string;
|
|
type: "custom" | "builtin";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
}[] | undefined;
|
|
}[];
|
|
} | undefined;
|
|
notifyAdminShiftSignup?: boolean | undefined;
|
|
notifyAdminResponseSubmitted?: boolean | undefined;
|
|
notifyAdminSignRequested?: boolean | undefined;
|
|
notifyAdminShiftCancellation?: boolean | undefined;
|
|
notifyVolunteerSessionSummary?: boolean | undefined;
|
|
notifyVolunteerCancellation?: boolean | undefined;
|
|
notifyVolunteerShiftReminder?: boolean | undefined;
|
|
notifyVolunteerShiftThankYou?: boolean | undefined;
|
|
notifyVolunteerReengagement?: boolean | undefined;
|
|
reengagementInactiveDays?: number | undefined;
|
|
reengagementCooldownDays?: number | undefined;
|
|
}, {
|
|
organizationName?: string | undefined;
|
|
organizationShortName?: string | undefined;
|
|
organizationLogoUrl?: string | null | undefined;
|
|
organizationFaviconUrl?: string | null | undefined;
|
|
adminColorPrimary?: string | undefined;
|
|
adminColorBgBase?: string | undefined;
|
|
publicColorPrimary?: string | undefined;
|
|
publicColorBgBase?: string | undefined;
|
|
publicColorBgContainer?: string | undefined;
|
|
publicHeaderGradient?: string | undefined;
|
|
footerText?: string | undefined;
|
|
loginSubtitle?: string | undefined;
|
|
emailFromName?: string | undefined;
|
|
smtpHost?: string | undefined;
|
|
smtpPort?: number | undefined;
|
|
smtpUser?: string | undefined;
|
|
smtpPass?: string | undefined;
|
|
smtpFromAddress?: string | undefined;
|
|
smtpActiveProvider?: "production" | "mailhog" | undefined;
|
|
emailTestMode?: boolean | undefined;
|
|
testEmailRecipient?: string | undefined;
|
|
enablePublicRegistration?: boolean | undefined;
|
|
enableEmailVerification?: boolean | undefined;
|
|
autoApproveVerifiedUsers?: boolean | undefined;
|
|
enableInfluence?: boolean | undefined;
|
|
enableMap?: boolean | undefined;
|
|
enableNewsletter?: boolean | undefined;
|
|
enableLandingPages?: boolean | undefined;
|
|
enableMediaFeatures?: boolean | undefined;
|
|
enablePayments?: boolean | undefined;
|
|
enableGalleryAds?: boolean | undefined;
|
|
enableChat?: boolean | undefined;
|
|
enableEvents?: boolean | undefined;
|
|
enableDocsComments?: boolean | undefined;
|
|
enableSms?: boolean | undefined;
|
|
enablePeople?: boolean | undefined;
|
|
enableSocial?: boolean | undefined;
|
|
enableMeet?: boolean | undefined;
|
|
enableMeetingPlanner?: boolean | undefined;
|
|
enableTicketedEvents?: boolean | undefined;
|
|
enableSocialCalendar?: boolean | undefined;
|
|
enableDocsCollaboration?: boolean | undefined;
|
|
requireEventApproval?: boolean | undefined;
|
|
autoSyncPeopleToMap?: boolean | undefined;
|
|
smsTermuxApiUrl?: string | undefined;
|
|
smsTermuxApiKey?: string | undefined;
|
|
smsTailscaleApiKey?: string | undefined;
|
|
smsTailscaleTailnet?: string | undefined;
|
|
smsTailscaleDeviceId?: string | undefined;
|
|
smsTailscaleDeviceName?: string | undefined;
|
|
giteaApiToken?: string | undefined;
|
|
giteaCommentsRepoOwner?: string | undefined;
|
|
giteaCommentsRepoName?: string | undefined;
|
|
giteaOauthClientId?: string | undefined;
|
|
giteaOauthClientSecret?: string | undefined;
|
|
enableUserProvisioning?: boolean | undefined;
|
|
provisionGitea?: boolean | undefined;
|
|
provisionGiteaTiming?: "lazy" | "eager" | undefined;
|
|
provisionVaultwarden?: boolean | undefined;
|
|
provisionVaultwardenTiming?: "lazy" | "eager" | undefined;
|
|
provisionListmonk?: boolean | undefined;
|
|
provisionListmonkTiming?: "lazy" | "eager" | undefined;
|
|
enableAutoUpgrade?: boolean | undefined;
|
|
autoUpgradeSchedule?: "daily-3am" | "daily-4am" | "daily-5am" | "weekly-sun-3am" | "weekly-mon-3am" | "12h" | "24h" | undefined;
|
|
autoUpgradePullServices?: boolean | undefined;
|
|
notifyAdminAutoUpgrade?: boolean | undefined;
|
|
navConfig?: {
|
|
items: {
|
|
path: string;
|
|
type: "custom" | "builtin" | "group";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
children?: {
|
|
path: string;
|
|
type: "custom" | "builtin";
|
|
id: string;
|
|
label: string;
|
|
icon: string;
|
|
enabled: boolean;
|
|
order: number;
|
|
featureFlag?: string | undefined;
|
|
external?: boolean | undefined;
|
|
}[] | undefined;
|
|
}[];
|
|
} | undefined;
|
|
notifyAdminShiftSignup?: boolean | undefined;
|
|
notifyAdminResponseSubmitted?: boolean | undefined;
|
|
notifyAdminSignRequested?: boolean | undefined;
|
|
notifyAdminShiftCancellation?: boolean | undefined;
|
|
notifyVolunteerSessionSummary?: boolean | undefined;
|
|
notifyVolunteerCancellation?: boolean | undefined;
|
|
notifyVolunteerShiftReminder?: boolean | undefined;
|
|
notifyVolunteerShiftThankYou?: boolean | undefined;
|
|
notifyVolunteerReengagement?: boolean | undefined;
|
|
reengagementInactiveDays?: number | undefined;
|
|
reengagementCooldownDays?: number | undefined;
|
|
}>;
|
|
export type UpdateSiteSettingsInput = z.infer<typeof updateSiteSettingsSchema>;
|
|
//# sourceMappingURL=settings.schemas.d.ts.map
|