feat: extraFile触发器创建动作加上 priority: 99

This commit is contained in:
wkj 2025-11-27 15:05:22 +08:00
parent 20030cc9ad
commit ca958c60f0
3 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ const triggers = [
when: 'before',
entity: 'extraFile',
action: 'create',
priority: 99,
fn: async ({ operation }, context) => {
const { data } = operation;
let cachedOrigin = undefined;

View File

@ -11,6 +11,7 @@ const triggers = [
when: 'before',
entity: 'extraFile',
action: 'create',
priority: 99,
fn: async ({ operation }, context) => {
const { data } = operation;
let cachedOrigin = undefined;

View File

@ -15,6 +15,7 @@ const triggers: Trigger<EntityDict, 'extraFile', BRC<EntityDict>>[] = [
when: 'before',
entity: 'extraFile',
action: 'create',
priority: 99,
fn: async ({ operation }, context) => {
const { data } = operation;