mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 17:25:11 +03:00
* feat: workflow ui * wip * wip * wip * pr feedback * refactor: picker field * use showDialog directly * better test * refactor step selection modal * move enable button to info form * use for Props * pr feedback * refactor ActionItem * refactor ActionItem * more refactor * fix: new schemaformfield has value of the same type * chore: clean up
18 lines
387 B
TypeScript
18 lines
387 B
TypeScript
import { PluginContext, PluginTriggerType } from 'src/enum';
|
|
|
|
export type PluginTrigger = {
|
|
type: PluginTriggerType;
|
|
contextType: PluginContext;
|
|
};
|
|
|
|
export const pluginTriggers: PluginTrigger[] = [
|
|
{
|
|
type: PluginTriggerType.AssetCreate,
|
|
contextType: PluginContext.Asset,
|
|
},
|
|
{
|
|
type: PluginTriggerType.PersonRecognized,
|
|
contextType: PluginContext.Person,
|
|
},
|
|
];
|