|
|
@ -5,6 +5,10 @@ import NcPluginMgrv2 from './NcPluginMgrv2'; |
|
|
|
import type { Column, FormView, Hook, Model, View } from '../models'; |
|
|
|
import type { Column, FormView, Hook, Model, View } from '../models'; |
|
|
|
import type { HookLogType } from 'nocodb-sdk'; |
|
|
|
import type { HookLogType } from 'nocodb-sdk'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Handlebars.registerHelper('json', function (context) { |
|
|
|
|
|
|
|
return JSON.stringify(context); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
export function parseBody(template: string, data: any): string { |
|
|
|
export function parseBody(template: string, data: any): string { |
|
|
|
if (!template) { |
|
|
|
if (!template) { |
|
|
|
return template; |
|
|
|
return template; |
|
|
|