Skip to content

Commit ae72e5c

Browse files
committed
chore: fix ci error
1 parent c6c1381 commit ae72e5c

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

frontend/packages/arch/bot-env-adapter/scripts/build.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
16+
1717
import path from 'path';
1818

1919
import {
@@ -65,7 +65,22 @@ const updateDTS = ({
6565
// 创建一个新的文件,用来保存生成的类型定义
6666
const typeDefs = project.createSourceFile(
6767
outputFileName,
68-
`/* eslint-disable */
68+
`/*
69+
* Copyright 2025 coze-dev Authors
70+
*
71+
* Licensed under the Apache License, Version 2.0 (the "License");
72+
* you may not use this file except in compliance with the License.
73+
* You may obtain a copy of the License at
74+
*
75+
* http://www.apache.org/licenses/LICENSE-2.0
76+
*
77+
* Unless required by applicable law or agreed to in writing, software
78+
* distributed under the License is distributed on an "AS IS" BASIS,
79+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
80+
* See the License for the specific language governing permissions and
81+
* limitations under the License.
82+
*/
83+
/* eslint-disable */
6984
/* prettier-ignore */
7085
// 基于${path.relative(baseDir, inputFileName)}自动生成,请勿手动修改`,
7186
{

frontend/packages/arch/bot-env-adapter/src/typings.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2025 coze-dev Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
/* eslint-disable */
217
/* prettier-ignore */
318
// 基于src/index.ts自动生成,请勿手动修改

0 commit comments

Comments
 (0)