⚡ Add first basic code for external hooks
This commit is contained in:
10
packages/cli/src/externalHooksTemp/test-hooks.ts
Normal file
10
packages/cli/src/externalHooksTemp/test-hooks.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export = {
|
||||
credentials: {
|
||||
new: [
|
||||
() => {
|
||||
// Here any additional code can run or the creation blocked
|
||||
throw new Error('No additional credentials can be created.');
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user