gg-express 1.0.66 → 1.0.68
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/GGExpress.d.ts +1 -1
- package/package.json +1 -1
- package/src/GGExpress.ts +1 -1
package/dist/GGExpress.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ type singleOrArrayObject<DT extends requireParamsStructure["dataType"], T extend
|
|
|
50
50
|
};
|
|
51
51
|
type MyRequest<DT extends requireParamsStructure["dataType"], T extends requireParamsStructure["structure"], K extends keyof T, P extends requireParamsStructure["parameter"], J extends requireParamsStructure["isPartialStructure"], L extends requireParamsStructure["isPartialParameter"]> = Request<{}, {}, singleOrArrayObject<DT, T, K, P, J, L>, singleOrArrayObject<DT, T, K, P, J, L>, {}>;
|
|
52
52
|
type MyResponse<DT extends responseStructure["dataType"], T extends responseStructure["structure"], K extends keyof T, P extends responseStructure["parameter"], J extends requireParamsStructure["isPartialStructure"]> = Response<{
|
|
53
|
-
status: "SUCCESS" | "ERROR";
|
|
53
|
+
status: "SUCCESS" | "ERROR" | "SERVER_ERROR";
|
|
54
54
|
message: string;
|
|
55
55
|
parameter: {
|
|
56
56
|
[Key in keyof P]: numberOrString<P[Key]>;
|
package/package.json
CHANGED
package/src/GGExpress.ts
CHANGED
|
@@ -96,7 +96,7 @@ type MyResponse<
|
|
|
96
96
|
P extends responseStructure["parameter"],
|
|
97
97
|
J extends requireParamsStructure["isPartialStructure"]
|
|
98
98
|
> = Response<{
|
|
99
|
-
status: "SUCCESS" | "ERROR"
|
|
99
|
+
status: "SUCCESS" | "ERROR" | "SERVER_ERROR"
|
|
100
100
|
message: string
|
|
101
101
|
parameter: { [Key in keyof P]: numberOrString<P[Key]> }
|
|
102
102
|
data: DT extends "arrayObject"
|