Skip to content

Commit

Permalink
Spotless Apply
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu-mingye authored and github-actions[bot] committed Oct 16, 2023
1 parent cf78527 commit 8c0e545
Show file tree
Hide file tree
Showing 9 changed files with 339 additions and 315 deletions.
9 changes: 4 additions & 5 deletions dinky-web/src/locales/zh-CN/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,10 @@ export default {
'pages.datastudio.label.version.rollback.flinksqlConfirm':
'确定回滚Flink SQL版本至【{versionId}】吗?',

'pages.datastudio.catalog.flinkSqlEnvSelect':'请选择 FlinkSqlEnv',
'pages.datastudio.catalog.catalogSelect':'请选择 catalog & database',
'pages.datastudio.catalog.tableInfo':'表信息',
'pages.datastudio.catalog.fieldInformation':'字段信息',

'pages.datastudio.catalog.flinkSqlEnvSelect': '请选择 FlinkSqlEnv',
'pages.datastudio.catalog.catalogSelect': '请选择 catalog & database',
'pages.datastudio.catalog.tableInfo': '表信息',
'pages.datastudio.catalog.fieldInformation': '字段信息',

'pages.datastudio.print.table.inputTableName': '请选择表名',
'pages.devops.jobinfo.localenv': '本地环境',
Expand Down
3 changes: 1 addition & 2 deletions dinky-web/src/pages/DataStudio/HeaderContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import {
cancelTask,
executeSql,
getJobPlan,
offLinelTask,
onLineTask
} from '@/pages/DataStudio/HeaderContainer/service';
import {
Expand Down Expand Up @@ -177,7 +176,7 @@ const HeaderContainer = (props: any) => {
const handleChangeJobLife = async () => {
if (!currentData) return;
if (isOnline(currentData)) {
await cancelTask("",currentData.id);
await cancelTask('', currentData.id);
currentData.step = JOB_LIFE_CYCLE.DEVELOP;
} else {
const saved = await handleSave();
Expand Down
27 changes: 14 additions & 13 deletions dinky-web/src/pages/DataStudio/LeftContainer/Catalog/data.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import {DataNode} from "antd/es/tree";
import {DataSources} from "@/types/RegCenter/data";
import { DataSources } from '@/types/RegCenter/data';
import { DataNode } from 'antd/es/tree';

export type StudioMetaStoreParam = {
statement?: string,
fragment?: boolean,
dialect?: string,
envId?: number,
databaseId?: number,
catalog?: string,
database?: string,
table?: string,
}
statement?: string;
fragment?: boolean;
dialect?: string;
envId?: number;
databaseId?: number;
catalog?: string;
database?: string;
table?: string;
};

export type TableDataNode = {
isTable: boolean,
} & DataNode &DataSources.Table
isTable: boolean;
} & DataNode &
DataSources.Table;
Loading

0 comments on commit 8c0e545

Please sign in to comment.