From 97ba7608301359ea577645f76cdea43e837d7ae2 Mon Sep 17 00:00:00 2001 From: HSunboy Date: Wed, 13 Dec 2023 07:55:15 +0000 Subject: [PATCH] Copyright --- src/common/network/sql/executePL.tsx | 16 ++++++++++++++++ src/layout/PageLoadingWrapper.tsx | 16 ++++++++++++++++ src/locales/en-US.ts | 16 ++++++++++++++++ src/locales/zh-CN.ts | 16 ++++++++++++++++ src/locales/zh-TW.ts | 16 ++++++++++++++++ .../Form/ProjectItem/ProjectSelect.tsx | 16 ++++++++++++++++ .../Form/ProjectItem/index.tsx | 16 ++++++++++++++++ 7 files changed, 112 insertions(+) diff --git a/src/common/network/sql/executePL.tsx b/src/common/network/sql/executePL.tsx index 2125dd058..642892b55 100644 --- a/src/common/network/sql/executePL.tsx +++ b/src/common/network/sql/executePL.tsx @@ -1,3 +1,19 @@ +/* + * Copyright 2023 OceanBase + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { PLType } from '@/constant/plType'; import { IFunction, IProcedure } from '@/d.ts'; import { generateSessionSid } from '../pathUtil'; diff --git a/src/layout/PageLoadingWrapper.tsx b/src/layout/PageLoadingWrapper.tsx index 3620a0faa..c6cafb49f 100644 --- a/src/layout/PageLoadingWrapper.tsx +++ b/src/layout/PageLoadingWrapper.tsx @@ -1,3 +1,19 @@ +/* + * Copyright 2023 OceanBase + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import PageLoading from '@/component/PageLoading'; import { Outlet } from '@umijs/max'; import React, { useEffect, useRef, useState } from 'react'; diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index ff8b4c563..e883502bc 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -1 +1,17 @@ +/* + * Copyright 2023 OceanBase + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export default {}; diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index ff8b4c563..e883502bc 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1 +1,17 @@ +/* + * Copyright 2023 OceanBase + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export default {}; diff --git a/src/locales/zh-TW.ts b/src/locales/zh-TW.ts index ff8b4c563..e883502bc 100644 --- a/src/locales/zh-TW.ts +++ b/src/locales/zh-TW.ts @@ -1 +1,17 @@ +/* + * Copyright 2023 OceanBase + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export default {}; diff --git a/src/page/Datasource/Datasource/NewDatasourceDrawer/Form/ProjectItem/ProjectSelect.tsx b/src/page/Datasource/Datasource/NewDatasourceDrawer/Form/ProjectItem/ProjectSelect.tsx index d9b5d60e4..9705bd0da 100644 --- a/src/page/Datasource/Datasource/NewDatasourceDrawer/Form/ProjectItem/ProjectSelect.tsx +++ b/src/page/Datasource/Datasource/NewDatasourceDrawer/Form/ProjectItem/ProjectSelect.tsx @@ -1,3 +1,19 @@ +/* + * Copyright 2023 OceanBase + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { formatMessage } from '@/util/intl'; import { Select, SelectProps } from 'antd'; export default function ProjectSelect({ value, onChange, options, ...rest }: SelectProps) { diff --git a/src/page/Datasource/Datasource/NewDatasourceDrawer/Form/ProjectItem/index.tsx b/src/page/Datasource/Datasource/NewDatasourceDrawer/Form/ProjectItem/index.tsx index d9890f4fe..994823bc4 100644 --- a/src/page/Datasource/Datasource/NewDatasourceDrawer/Form/ProjectItem/index.tsx +++ b/src/page/Datasource/Datasource/NewDatasourceDrawer/Form/ProjectItem/index.tsx @@ -1,3 +1,19 @@ +/* + * Copyright 2023 OceanBase + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { formatMessage } from '@/util/intl'; import { listProjects } from '@/common/network/project'; import { useRequest } from 'ahooks';