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';
|
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: 保持翻译统一经由这里处理, 所有本插件内的翻译方法从这里统一导出
|
// NOTE: 保持翻译统一经由这里处理, 所有本插件内的翻译方法从这里统一导出
|
||||||
export const tval = (key: string, useCore = false) => nTval(key, { ns: useCore ? undefined : NAMESPACE });
|
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);
|
return super.builtInPlugins.concat(this.#builtInPlugins);
|
||||||
}
|
}
|
||||||
|
|
||||||
#localPlugins = [
|
#localPlugins = ['rental>=0.21.0', 'field-markdown-vditor>=0.21.31', 'comments>=0.21.31', 'approval-mobile>=0.21.43'];
|
||||||
'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',
|
|
||||||
];
|
|
||||||
|
|
||||||
get localPlugins() {
|
get localPlugins() {
|
||||||
return super.localPlugins.concat(this.#localPlugins);
|
return super.localPlugins.concat(this.#localPlugins);
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.paths.json",
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["esnext", "DOM.Iterable", "DOM"],
|
"lib": ["esnext", "DOM.Iterable", "DOM"],
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
@ -21,12 +20,6 @@
|
|||||||
"downlevelIteration": true,
|
"downlevelIteration": true,
|
||||||
"baseUrl": "."
|
"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": [
|
"exclude": [
|
||||||
"packages/**/node_modules",
|
"packages/**/node_modules",
|
||||||
"packages/**/dist",
|
"packages/**/dist",
|
||||||
@ -35,5 +28,12 @@
|
|||||||
"packages/core/cli/**/*",
|
"packages/core/cli/**/*",
|
||||||
"packages/**/lib",
|
"packages/**/lib",
|
||||||
"packages/**/es"
|
"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