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