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