parent
b41bea585a
commit
bcf65b204d
@ -1,8 +1,8 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
declare module '*.vue' {
|
||||
import type { DefineComponent } from 'vue'
|
||||
declare module "*.vue" {
|
||||
import type { DefineComponent } from "vue";
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
const component: DefineComponent<{}, {}, any>;
|
||||
export default component;
|
||||
}
|
||||
|
@ -1,17 +1,32 @@
|
||||
/**
|
||||
* 输入 JSON
|
||||
* 输入 JSON Value
|
||||
*/
|
||||
interface InputJSON extends Record<string, InputJSONValue> {
|
||||
// 入口文件
|
||||
main: InputJSONValue;
|
||||
interface InputJSONValue {
|
||||
// sql 语句
|
||||
sql: string;
|
||||
// 静态参数
|
||||
params?: Record<string, string>;
|
||||
}
|
||||
|
||||
/**
|
||||
* 输入 JSON Value
|
||||
* 调用树节点
|
||||
*/
|
||||
interface InputJSONValue {
|
||||
// sql 语句
|
||||
sql: string;
|
||||
// 静态参数
|
||||
params?: Record<string, string>;
|
||||
interface InvokeTreeNode {
|
||||
label: string;
|
||||
sql: string;
|
||||
params?: Record<string, string>;
|
||||
children?: InvokeTreeNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
* 调用树
|
||||
*/
|
||||
type InvokeTree = InvokeTreeNode[];
|
||||
|
||||
/**
|
||||
* 输入 JSON
|
||||
*/
|
||||
interface InputJSON extends Record<string, InputJSONValue> {
|
||||
// 入口文件
|
||||
main: InputJSONValue;
|
||||
}
|
||||
|
Loading…
Reference in new issue