Skip to content

Commit 8d9dd24

Browse files
committed
[chore] [frontend] rush update-i18n-types cmd and license header (#166)
* feat: add rush update-i18n-types * feat(all): add lic header * ci: add tag as pr title scope
1 parent 88f4c1c commit 8d9dd24

763 files changed

Lines changed: 1529 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/semantic-pull-request.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
evaluation
5757
trace
5858
model
59+
tag
5960
dataset
6061
foundation
6162
# The pull request's title should be fulfilled the following pattern:

common/config/rush/command-line.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@
8181
"commandKind": "global",
8282
"summary": "⭐️ Update api-schema",
8383
"shellCommand": "pushd frontend/packages/cozeloop/api-schema && npm run update && popd"
84+
},
85+
{
86+
"name": "update-i18n-types",
87+
"commandKind": "global",
88+
"summary": "⭐️ Update I18n types",
89+
"shellCommand": "pushd frontend/packages/cozeloop/i18n && npm run gen-i18n-types && popd"
8490
}
8591
],
8692
"parameters": [

frontend/packages/cozeloop/adapter/src/adapter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) 2025 coze-dev Authors
2+
// SPDX-License-Identifier: Apache-2.0
13
import type { Adapters } from './interfaces';
24

35
// 使用泛型类重构adapters
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
// Copyright (c) 2025 coze-dev Authors
2+
// SPDX-License-Identifier: Apache-2.0
13
type Int64 = string;

frontend/packages/cozeloop/adapter/src/hooks/use-adapter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) 2025 coze-dev Authors
2+
// SPDX-License-Identifier: Apache-2.0
13
import { useState } from 'react';
24

35
import { type Adapters } from '../interfaces';
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) 2025 coze-dev Authors
2+
// SPDX-License-Identifier: Apache-2.0
13
export { register, get, registerScope } from './adapter';
24
export { useAdapter } from './hooks/use-adapter';
35
export { type Adapters } from './interfaces';
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
// Copyright (c) 2025 coze-dev Authors
2+
// SPDX-License-Identifier: Apache-2.0
13
export interface EvaluateDatasetsAdapters {}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
// Copyright (c) 2025 coze-dev Authors
2+
// SPDX-License-Identifier: Apache-2.0
13
export interface EvaluateEvaluatorsAdapters {}

frontend/packages/cozeloop/adapter/src/interfaces/evaluate/experiments.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) 2025 coze-dev Authors
2+
// SPDX-License-Identifier: Apache-2.0
13
import { type ComponentType } from 'react';
24

35
import { type prompt } from '@cozeloop/api-schema/prompt';

frontend/packages/cozeloop/adapter/src/interfaces/evaluate/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) 2025 coze-dev Authors
2+
// SPDX-License-Identifier: Apache-2.0
13
import { type EvaluateExperimentsAdapters } from './experiments';
24
import { type EvaluateEvaluatorsAdapters } from './evaluators';
35
import { type EvaluateDatasetsAdapters } from './datasets';

0 commit comments

Comments
 (0)