@luizleon/sf.prefeiturasp.vuecomponents 0.0.23 → 0.0.25
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/appResult.d.ts +4 -0
- package/dist/lib.es.js +224 -214
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +12 -12
- package/dist/lib.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/common/appResult.ts +12 -0
|
@@ -2,9 +2,13 @@ export declare class AppResult<Value = null> {
|
|
|
2
2
|
constructor(value?: Value | null);
|
|
3
3
|
errors: string[];
|
|
4
4
|
private _value?;
|
|
5
|
+
private _httpStatusCode;
|
|
5
6
|
get value(): Value;
|
|
6
7
|
set value(v: Value);
|
|
7
8
|
get hasSuccess(): boolean;
|
|
8
9
|
get hasError(): boolean;
|
|
10
|
+
get httpStatusCode(): number;
|
|
11
|
+
set httpStatusCode(v: number);
|
|
9
12
|
WithError(error: string): void;
|
|
13
|
+
WithErrors(errors: string[]): void;
|
|
10
14
|
}
|