feat: extraFile触发器创建动作加上 priority: 99
This commit is contained in:
parent
20030cc9ad
commit
ca958c60f0
|
|
@ -8,6 +8,7 @@ const triggers = [
|
|||
when: 'before',
|
||||
entity: 'extraFile',
|
||||
action: 'create',
|
||||
priority: 99,
|
||||
fn: async ({ operation }, context) => {
|
||||
const { data } = operation;
|
||||
let cachedOrigin = undefined;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ const triggers = [
|
|||
when: 'before',
|
||||
entity: 'extraFile',
|
||||
action: 'create',
|
||||
priority: 99,
|
||||
fn: async ({ operation }, context) => {
|
||||
const { data } = operation;
|
||||
let cachedOrigin = undefined;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue