forlogic-core 2.4.4 → 2.4.5
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/environments.d.ts +6 -0
- package/dist/config/index.d.ts +6 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -24,6 +24,12 @@ export interface EnvironmentConfig {
|
|
|
24
24
|
scope: string;
|
|
25
25
|
};
|
|
26
26
|
qualiexApiUrl: string;
|
|
27
|
+
/**
|
|
28
|
+
* Base path do app consumidor (ex.: `/common` quando servido sob `/common/`).
|
|
29
|
+
* Prefixado nas rotas internas de redirect OAuth (`/callback`, `/login`).
|
|
30
|
+
* Vazio (`''`) = app na raiz. Sem barra no final.
|
|
31
|
+
*/
|
|
32
|
+
appBasePath: string;
|
|
27
33
|
}
|
|
28
34
|
/**
|
|
29
35
|
* Override parcial injetado em runtime pelo app consumidor (ex.: a partir de um
|
package/dist/config/index.d.ts
CHANGED
|
@@ -7,6 +7,12 @@ export declare const AUTH_CONFIG: {
|
|
|
7
7
|
scope: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
* Monta URL absoluta de uma rota interna respeitando o base path do app
|
|
12
|
+
* consumidor (`appBasePath`, ex.: `/common`). Use para todo redirect hard
|
|
13
|
+
* (`window.location.href`) a `/login`, `/callback`, `/`, etc.
|
|
14
|
+
*/
|
|
15
|
+
export declare function appRedirectUrl(path: string): string;
|
|
10
16
|
export declare const CRUD_CONFIG: {
|
|
11
17
|
readonly pagination: {
|
|
12
18
|
readonly defaultPageSize: 25;
|