mirror of
https://github.com/immich-app/immich.git
synced 2026-03-23 02:28:53 +03:00
@@ -6,10 +6,10 @@ import { IntegrityReportType } from 'src/enum';
|
||||
import { DB } from 'src/schema';
|
||||
import { IntegrityReportTable } from 'src/schema/tables/integrity-report.table';
|
||||
|
||||
export interface ReportPaginationOptions {
|
||||
export type ReportPaginationOptions = {
|
||||
cursor?: string;
|
||||
limit: number;
|
||||
}
|
||||
};
|
||||
|
||||
@Injectable()
|
||||
export class IntegrityRepository {
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
import { ContextMenuButton, TableCell, TableRow } from '@immich/ui';
|
||||
import { t } from 'svelte-i18n';
|
||||
|
||||
interface Props {
|
||||
type Props = {
|
||||
id: string;
|
||||
path: string;
|
||||
reportType: IntegrityReportType;
|
||||
}
|
||||
};
|
||||
|
||||
let { id, path, reportType }: Props = $props();
|
||||
let deleting = $state(false);
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
import { t } from 'svelte-i18n';
|
||||
import type { PageData } from './$types';
|
||||
|
||||
interface Props {
|
||||
type Props = {
|
||||
data: PageData;
|
||||
}
|
||||
};
|
||||
|
||||
const { data }: Props = $props();
|
||||
const { StartMaintenance } = $derived(getMaintenanceAdminActions($t));
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
import { t } from 'svelte-i18n';
|
||||
import type { PageData } from './$types';
|
||||
|
||||
interface Props {
|
||||
type Props = {
|
||||
data: PageData;
|
||||
}
|
||||
};
|
||||
|
||||
let { data }: Props = $props();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user