pg-mvc-service 2.0.78 → 2.0.80
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.
|
@@ -66,13 +66,6 @@ class ReqResType {
|
|
|
66
66
|
}
|
|
67
67
|
property = property.properties[key];
|
|
68
68
|
continue;
|
|
69
|
-
// case 'dictionary':
|
|
70
|
-
// case 'dictionary?':
|
|
71
|
-
// if (typeof key !== 'string') {
|
|
72
|
-
// throw new Error(`getPropertyでnumber型のINPUTで、arrayの場合はエラー\nキー一覧:${keys.join(',')} エラーキー:${key}`);
|
|
73
|
-
// }
|
|
74
|
-
// property = property.properties[key];
|
|
75
|
-
// continue;
|
|
76
69
|
default:
|
|
77
70
|
throw new Error(`getPropertyでarray,object以外のtypeを読み込もうとしている。\nキー一覧:${keys.join(',')} エラーキー:${key}`);
|
|
78
71
|
// property = property[key];
|
|
@@ -481,7 +481,8 @@ class RequestType extends ReqResType_1.default {
|
|
|
481
481
|
if (Object.keys(property.item.enums).includes(value.toString()) === false) {
|
|
482
482
|
this.throwInputError("ENUM_32", keys, value);
|
|
483
483
|
}
|
|
484
|
-
|
|
484
|
+
console.log(toEnumValue);
|
|
485
|
+
this.setEnum([...keys, i], toEnumValue);
|
|
485
486
|
}
|
|
486
487
|
break;
|
|
487
488
|
case 'map':
|
package/package.json
CHANGED
|
@@ -103,13 +103,6 @@ export default class ReqResType {
|
|
|
103
103
|
}
|
|
104
104
|
property = property.properties[key];
|
|
105
105
|
continue;
|
|
106
|
-
// case 'dictionary':
|
|
107
|
-
// case 'dictionary?':
|
|
108
|
-
// if (typeof key !== 'string') {
|
|
109
|
-
// throw new Error(`getPropertyでnumber型のINPUTで、arrayの場合はエラー\nキー一覧:${keys.join(',')} エラーキー:${key}`);
|
|
110
|
-
// }
|
|
111
|
-
// property = property.properties[key];
|
|
112
|
-
// continue;
|
|
113
106
|
default:
|
|
114
107
|
throw new Error(`getPropertyでarray,object以外のtypeを読み込もうとしている。\nキー一覧:${keys.join(',')} エラーキー:${key}`);
|
|
115
108
|
// property = property[key];
|
|
@@ -502,7 +502,8 @@ export class RequestType extends ReqResType {
|
|
|
502
502
|
if (Object.keys(property.item.enums).includes(value.toString()) === false) {
|
|
503
503
|
this.throwInputError("ENUM_32", keys, value);
|
|
504
504
|
}
|
|
505
|
-
|
|
505
|
+
console.log(toEnumValue);
|
|
506
|
+
this.setEnum([...keys, i], toEnumValue);
|
|
506
507
|
}
|
|
507
508
|
break;
|
|
508
509
|
case 'map':
|