refactor(server): jobs (#2023)

* refactor: job to domain

* chore: regenerate open api

* chore: tests

* fix: missing breaks

* fix: get asset with missing exif data

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen
2023-03-20 11:55:28 -04:00
committed by GitHub
parent db6b14361d
commit 386eef046d
68 changed files with 1355 additions and 907 deletions

View File

@@ -5,11 +5,11 @@
import AllInclusive from 'svelte-material-icons/AllInclusive.svelte';
import { locale } from '$lib/stores/preferences.store';
import { createEventDispatcher } from 'svelte';
import { JobCounts } from '@api';
import { JobCountsDto } from '@api';
export let title: string;
export let subtitle: string;
export let jobCounts: JobCounts;
export let jobCounts: JobCountsDto;
/**
* Show options to run job on all assets of just missing ones
*/
@@ -19,8 +19,8 @@
const dispatch = createEventDispatcher();
const run = (includeAllAssets: boolean) => {
dispatch('click', { includeAllAssets });
const run = (force: boolean) => {
dispatch('click', { force });
};
</script>