fix(auth): 修复重置数据问题 (#1598)
Reviewed-on: daoyoucloud/tachybase#1598 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
This commit is contained in:
parent
d7269e0058
commit
f458d590c3
@ -1 +1 @@
|
||||
# @hera/plugin-external-data-source
|
||||
# @hera/plugin-data-source-external
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { i18n, tval as nTval, useApp } from '@tachybase/client';
|
||||
|
||||
export const NAMESPACE = '@hera/plugin-external-data-source';
|
||||
export const NAMESPACE = '@hera/plugin-data-source-external';
|
||||
|
||||
// NOTE: 保持翻译统一经由这里处理, 所有本插件内的翻译方法从这里统一导出
|
||||
export const tval = (key: string, useCore = false) => nTval(key, { ns: useCore ? undefined : NAMESPACE });
|
||||
|
@ -9,13 +9,7 @@ export class PluginRental extends PresetTachyBase {
|
||||
return super.builtInPlugins.concat(this.#builtInPlugins);
|
||||
}
|
||||
|
||||
#localPlugins = [
|
||||
'rental>=0.21.0',
|
||||
'field-markdown-vditor>=0.21.31',
|
||||
'comments>=0.21.31',
|
||||
'approval-mobile>=0.21.43',
|
||||
'external-data-source>=0.21.43',
|
||||
];
|
||||
#localPlugins = ['rental>=0.21.0', 'field-markdown-vditor>=0.21.31', 'comments>=0.21.31', 'approval-mobile>=0.21.43'];
|
||||
|
||||
get localPlugins() {
|
||||
return super.localPlugins.concat(this.#localPlugins);
|
||||
|
@ -1,5 +1,4 @@
|
||||
{
|
||||
"extends": "./tsconfig.paths.json",
|
||||
"compilerOptions": {
|
||||
"lib": ["esnext", "DOM.Iterable", "DOM"],
|
||||
"esModuleInterop": true,
|
||||
@ -21,12 +20,6 @@
|
||||
"downlevelIteration": true,
|
||||
"baseUrl": "."
|
||||
},
|
||||
"ts-node": {
|
||||
"compilerOptions": {
|
||||
"module": "commonjs"
|
||||
}
|
||||
},
|
||||
"include": ["packages/**/*", "playwright.config.ts", "vitest.config.mts", "packages/plugins/@tachybase/plugin-external-data-source/src/client/features/rest-api/kit.tsx"],
|
||||
"exclude": [
|
||||
"packages/**/node_modules",
|
||||
"packages/**/dist",
|
||||
@ -35,5 +28,12 @@
|
||||
"packages/core/cli/**/*",
|
||||
"packages/**/lib",
|
||||
"packages/**/es"
|
||||
]
|
||||
],
|
||||
"extends": "./tsconfig.paths.json",
|
||||
"include": ["packages/**/*", "playwright.config.ts", "vitest.config.mts"],
|
||||
"ts-node": {
|
||||
"compilerOptions": {
|
||||
"module": "commonjs"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user