@nocobase/client 2.0.0-alpha.2 → 2.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/flow/components/Grid/index.d.ts +17 -7
- package/es/flow/components/code-editor/hooks/useCodeRunner.d.ts +3 -2
- package/es/flow/models/base/BlockGridModel.d.ts +2 -0
- package/es/flow/models/base/GridModel.d.ts +19 -6
- package/es/flow/models/blocks/details/DetailsGridModel.d.ts +2 -0
- package/es/flow/models/blocks/filter-form/FilterFormGridModel.d.ts +2 -0
- package/es/flow/models/blocks/form/FormGridModel.d.ts +2 -0
- package/es/flow/models/utils/resolveRunJsParams.d.ts +19 -0
- package/es/index.mjs +1782 -1492
- package/es/nocobase-buildin-plugin/index.d.ts +7 -0
- package/lib/index-C3fHjsMw-CvPTaiKU.js +2081 -0
- package/lib/index.js +76 -76
- package/package.json +10 -5
- package/lib/index-C3fHjsMw-mwRBOzGB.js +0 -1977
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
import { Plugin } from '../application/Plugin';
|
|
10
10
|
export declare class NocoBaseBuildInPlugin extends Plugin {
|
|
11
11
|
afterAdd(): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Redirect component for root path:
|
|
14
|
+
* - If there is a token, go to `/admin` (existing behavior)
|
|
15
|
+
* - If not logged in, go to `/signin?redirect=/admin`
|
|
16
|
+
* This avoids the race where `/` first jumps to `/admin` before auth check.
|
|
17
|
+
*/
|
|
18
|
+
private static RootRedirect;
|
|
12
19
|
load(): Promise<void>;
|
|
13
20
|
addRoutes(): void;
|
|
14
21
|
addComponents(): void;
|