xiaoju-survey/server/src/securityPlugin/interface.ts

7 lines
186 B
TypeScript

export interface XiaojuSurveyPlugin {
beforeResponseDataCreate?(responseData);
afterResponseFind?(responseData);
desensitiveData?(data: Record<string, any>);
genSurveyPath?();
}