@ngx-smz/core 21.0.4 → 21.1.0
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/package.json
CHANGED
package/types/ngx-smz-core.d.ts
CHANGED
|
@@ -123,7 +123,7 @@ declare class LoggingService {
|
|
|
123
123
|
private levelRank;
|
|
124
124
|
/** expose current settings */
|
|
125
125
|
readonly isEnabled: i0.Signal<boolean>;
|
|
126
|
-
readonly currentLevel: i0.Signal<"
|
|
126
|
+
readonly currentLevel: i0.Signal<"debug" | "info" | "warn" | "error">;
|
|
127
127
|
readonly activeScopes: i0.Signal<string[]>;
|
|
128
128
|
/** toggle logging global */
|
|
129
129
|
enable(): void;
|
|
@@ -7961,6 +7961,8 @@ declare class NgxRbkUtilsConfig {
|
|
|
7961
7961
|
};
|
|
7962
7962
|
httpBehaviors: {
|
|
7963
7963
|
defaultParameters: HttpBehaviorParameters;
|
|
7964
|
+
useCustomErrorMessages: boolean;
|
|
7965
|
+
extractErrorMessageCallback: (error: unknown) => string[];
|
|
7964
7966
|
};
|
|
7965
7967
|
toastConfig: {
|
|
7966
7968
|
severity: string;
|
|
@@ -9542,7 +9544,10 @@ declare class SmzUiHttpBehaviorsBuilder extends SmzBuilderUtilities<SmzUiHttpBeh
|
|
|
9542
9544
|
private _builder;
|
|
9543
9545
|
protected that: this;
|
|
9544
9546
|
constructor(_builder: SmzUiBuilder);
|
|
9545
|
-
|
|
9547
|
+
useErrorHandlingAsToast(): SmzUiHttpBehaviorsBuilder;
|
|
9548
|
+
useErrorHandlingAsDialog(): SmzUiHttpBehaviorsBuilder;
|
|
9549
|
+
useRfc9110ProblemDetails(): SmzUiHttpBehaviorsBuilder;
|
|
9550
|
+
useCustomProblemDetails(extractor: (error: unknown) => string[]): SmzUiHttpBehaviorsBuilder;
|
|
9546
9551
|
get builder(): SmzUiBuilder;
|
|
9547
9552
|
}
|
|
9548
9553
|
|