gg-express 1.0.91 → 1.0.92
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/dist/run.test.js +1 -1
- package/package.json +1 -1
- package/src/GGExpress.ts +2 -0
- package/src/run.test.ts +1 -1
package/dist/GGExpress.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ interface requireParamsStructure {
|
|
|
23
23
|
isPartialStructure?: boolean;
|
|
24
24
|
isPartialParameter?: boolean;
|
|
25
25
|
}
|
|
26
|
-
type numberOrString<T> = T extends "number" ? number : T extends "string" ? string : T extends "number[]" ? number[] : T extends "string[]" ? string[] : T extends "any" ? any : T extends string[] ? Unarray<T> : T extends number[] ? Unarray<T> : "error-type";
|
|
26
|
+
type numberOrString<T> = T extends "number" ? number : T extends "string" ? string : T extends "number[]" ? number[] : T extends "string[]" ? string[] : T extends "any" ? any : T extends string[] ? Unarray<T> : T extends number[] ? Unarray<T> : T extends InputEnum ? T[number] : "error-type";
|
|
27
27
|
type singleOrArrayObject<DT extends requireParamsStructure["dataType"], T extends requireParamsStructure["structure"], K extends keyof T, P extends requireParamsStructure["parameter"], J extends requireParamsStructure["isPartialStructure"], L extends requireParamsStructure["isPartialParameter"]> = DT extends "arrayObject" ? {
|
|
28
28
|
data: {
|
|
29
29
|
parameter: L extends true ? Partial<{
|
package/dist/run.test.js
CHANGED
package/package.json
CHANGED
package/src/GGExpress.ts
CHANGED
package/src/run.test.ts
CHANGED