This commit is contained in:
Alex Tran
2026-05-21 22:34:25 -05:00
parent 54d7b0feb9
commit 398f613724
+1 -18
View File
@@ -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: [] },
},
],
},
];