Add migration verification reports
This commit is contained in:
1 parent
de63df7daf
commit
49c1dd2888
9 files changed
+117
No files matched your search
@@ -114,6 +114,11 @@ export interface ImportFileInput {
|
||||
orgId: string;
|
||||
}
|
||||
|
||||
export interface CreateMigrationReportInput {
|
||||
orgId: string;
|
||||
sourceDatabasePath: string;
|
||||
}
|
||||
|
||||
export interface NativeDialogResult {
|
||||
canceled: boolean;
|
||||
filePaths: string[];
|
||||
|
||||
@@ -4,6 +4,7 @@ import type {
|
||||
BindSkillInput,
|
||||
CreateAgentInput,
|
||||
CreateApprovalInput,
|
||||
CreateMigrationReportInput,
|
||||
CreateOrganizationInput,
|
||||
CreateProviderResponseInput,
|
||||
CreateSocialAccountInput,
|
||||
@@ -39,6 +40,7 @@ export interface DesktopApi {
|
||||
createSocialAccount(input: CreateSocialAccountInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
launchSocialLogin(input: LaunchSocialLoginInput): Promise<DesktopResult<null>>;
|
||||
importFile(input: ImportFileInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
createMigrationReport(input: CreateMigrationReportInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
subscribe(callback: (event: RendererEvent) => void): () => void;
|
||||
platform: "win32" | "darwin" | "linux";
|
||||
windowMinimize(): Promise<void>;
|
||||
|
||||
@@ -275,6 +275,14 @@ export interface PolicyRuleRecord {
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface MigrationReportRecord {
|
||||
id: string;
|
||||
orgId: string;
|
||||
sourceRef: string;
|
||||
reportJson: string;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface AppSnapshot {
|
||||
activeOrgId: string | null;
|
||||
organizations: OrganizationRecord[];
|
||||
@@ -297,5 +305,6 @@ export interface AppSnapshot {
|
||||
skillRuntimeSnapshots: SkillRuntimeSnapshotRecord[];
|
||||
socialAccounts: SocialAccountRecord[];
|
||||
policyRules: PolicyRuleRecord[];
|
||||
migrationReports: MigrationReportRecord[];
|
||||
auditEvents: AuditEventRecord[];
|
||||
}
|
||||
@@ -15,6 +15,7 @@ export const IPC_CHANNELS = {
|
||||
createSocialAccount: "agentcompany:create-social-account",
|
||||
launchSocialLogin: "agentcompany:launch-social-login",
|
||||
importFile: "agentcompany:import-file",
|
||||
createMigrationReport: "agentcompany:create-migration-report",
|
||||
rendererEvent: "agentcompany:renderer-event",
|
||||
windowMinimize: "agentcompany:window-minimize",
|
||||
windowMaximize: "agentcompany:window-maximize",
|
||||
|
||||
Reference in new issue
Block a user