pr feedback

This commit is contained in:
Alex Tran
2025-12-02 21:50:07 +00:00
parent 290de9d27c
commit bd4355a75f
30 changed files with 572 additions and 578 deletions

View File

@@ -2,22 +2,22 @@ import { PluginContext, PluginTriggerType } from 'src/enum';
export type PluginTrigger = {
name: string;
triggerType: PluginTriggerType;
type: PluginTriggerType;
description: string;
context: PluginContext;
contextType: PluginContext;
};
export const pluginTriggers: PluginTrigger[] = [
{
name: 'Asset Uploaded',
triggerType: PluginTriggerType.AssetCreate,
type: PluginTriggerType.AssetCreate,
description: 'Triggered when a new asset is uploaded',
context: PluginContext.Asset,
contextType: PluginContext.Asset,
},
{
name: 'Person Recognized',
triggerType: PluginTriggerType.PersonRecognized,
type: PluginTriggerType.PersonRecognized,
description: 'Triggered when a person is detected',
context: PluginContext.Person,
contextType: PluginContext.Person,
},
];