mirror of
https://github.com/immich-app/immich.git
synced 2026-05-23 08:02:29 -04:00
simplify
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { WorkflowTrigger, type WorkflowStepDto } from '@immich/sdk';
|
||||
import { mdiAccountGroupOutline, mdiMonitorScreenshot } from '@mdi/js';
|
||||
import { mdiMonitorScreenshot } from '@mdi/js';
|
||||
|
||||
export type WorkflowTemplate = {
|
||||
id: string;
|
||||
@@ -36,21 +36,4 @@ export const workflowTemplates: WorkflowTemplate[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
name: 'Add person to album',
|
||||
description: 'Add assets to an album when a specific person is recognized',
|
||||
icon: mdiAccountGroupOutline,
|
||||
trigger: WorkflowTrigger.PersonRecognized,
|
||||
steps: [
|
||||
{
|
||||
method: 'immich-plugin-core#filterPerson',
|
||||
config: { personIds: [], matchAny: true },
|
||||
},
|
||||
{
|
||||
method: 'immich-plugin-core#assetAddToAlbums',
|
||||
config: { albumIds: [] },
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user