@anzusystems/common-admin 1.47.0-beta.dev-1771894840 → 1.47.0-beta.dev-1775683200
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/common-admin.d.ts
CHANGED
|
@@ -18839,8 +18839,8 @@ export declare const ANotFoundView: DefineComponent<__VLS_Props_105, {}, {}, {},
|
|
|
18839
18839
|
* Custom error class for Axios-related errors
|
|
18840
18840
|
*/
|
|
18841
18841
|
export declare class AnzuApiAxiosError extends Error {
|
|
18842
|
-
cause: AxiosError
|
|
18843
|
-
constructor(cause: AxiosError);
|
|
18842
|
+
cause: AxiosError<any, any>;
|
|
18843
|
+
constructor(cause: AxiosError<any, any>);
|
|
18844
18844
|
}
|
|
18845
18845
|
|
|
18846
18846
|
export declare class AnzuApiDependencyExistsError extends Error {
|
|
@@ -18883,6 +18883,7 @@ export declare const AnzuSystemsCommonAdmin: {
|
|
|
18883
18883
|
|
|
18884
18884
|
export declare interface AnzuUser extends AnzuUserAndTimeTrackingAware, BaseUser {
|
|
18885
18885
|
enabled: boolean;
|
|
18886
|
+
locale: LanguageCode | null;
|
|
18886
18887
|
roles: string[];
|
|
18887
18888
|
permissionGroups: IntegerId[];
|
|
18888
18889
|
permissions: Permissions_2;
|
|
@@ -24302,6 +24303,7 @@ declare interface Metadata_2 {
|
|
|
24302
24303
|
|
|
24303
24304
|
export declare function modifyLanguageSettings(configAvailableLanguages: LanguageCode[], configDefaultLanguage: LanguageCode, i18nInstance?: any): {
|
|
24304
24305
|
addMessages: (language: LanguageCode, messages: any) => void;
|
|
24306
|
+
applyUserLocale: (locale: string | null) => false | LanguageCode;
|
|
24305
24307
|
initializeLanguage: () => void;
|
|
24306
24308
|
currentLanguageCode: Readonly<Ref<"default" | LanguageCode, "default" | LanguageCode>>;
|
|
24307
24309
|
setLanguage: (code: LanguageCode) => false | LanguageCode;
|