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