forlogic-core 2.4.5 → 2.4.7
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/dist/config/index.d.ts +8 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/config/index.d.ts
CHANGED
|
@@ -13,6 +13,14 @@ export declare const AUTH_CONFIG: {
|
|
|
13
13
|
* (`window.location.href`) a `/login`, `/callback`, `/`, etc.
|
|
14
14
|
*/
|
|
15
15
|
export declare function appRedirectUrl(path: string): string;
|
|
16
|
+
/** Base path configurado do app consumidor (ex.: `/common`). Vazio = raiz. */
|
|
17
|
+
export declare function getAppBasePath(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Remove o base path de um pathname absoluto, devolvendo a rota relativa ao
|
|
20
|
+
* `basename` do router (ex.: `/common/x` → `/x`). Para uso com `navigate()`,
|
|
21
|
+
* que re-aplica o basename e duplicaria o prefixo.
|
|
22
|
+
*/
|
|
23
|
+
export declare function toRouterPath(pathname: string): string;
|
|
16
24
|
export declare const CRUD_CONFIG: {
|
|
17
25
|
readonly pagination: {
|
|
18
26
|
readonly defaultPageSize: 25;
|