Files
auto-solution/modeler/mock/core.ts

17 lines
415 B
TypeScript

/*
* This file is part of the kernelstudio package.
*
* (c) 2014-2025 zlin <admin@kernelstudio.com>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
export const createResponse = (result: any,success: boolean = true, message: String = null)=> {
return {
success: success,
message: message,
result: result,
}
}