mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
feat(onboarding): extend OnboardingDbSettings with retention, schedule, and policy fields
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
0e4b5585e3
commit
870410efbf
@@ -62,10 +62,33 @@ export type OnboardingDatabase = {
|
|||||||
engine: "postgres" | "mysql" | "mongodb";
|
engine: "postgres" | "mysql" | "mongodb";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type OnboardingNotificationPolicy = {
|
||||||
|
channelId: string;
|
||||||
|
eventKinds: string[];
|
||||||
|
enabled: boolean;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type OnboardingStoragePolicy = {
|
||||||
|
channelId: string;
|
||||||
|
enabled: boolean;
|
||||||
|
};
|
||||||
|
|
||||||
export type OnboardingDbSettings = {
|
export type OnboardingDbSettings = {
|
||||||
retentionDays: number;
|
retention?: {
|
||||||
notifierId?: string;
|
type?: "count" | "days" | "gfs";
|
||||||
storageId?: string;
|
count: number;
|
||||||
|
days: number;
|
||||||
|
gfs: {
|
||||||
|
daily: number;
|
||||||
|
weekly: number;
|
||||||
|
monthly: number;
|
||||||
|
yearly: number;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
backupMethod?: "manual" | "automatic";
|
||||||
|
backupCron?: string;
|
||||||
|
notificationPolicies?: OnboardingNotificationPolicy[];
|
||||||
|
storagePolicies?: OnboardingStoragePolicy[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type OnboardingProjectData = {
|
export type OnboardingProjectData = {
|
||||||
|
|||||||
Reference in New Issue
Block a user