pg-mvc-service 2.0.58 → 2.0.59
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.
|
@@ -60,14 +60,23 @@ class ReqResType {
|
|
|
60
60
|
property = property.properties;
|
|
61
61
|
continue;
|
|
62
62
|
case 'object':
|
|
63
|
-
case 'object':
|
|
63
|
+
case 'object?':
|
|
64
64
|
if (typeof key !== 'string') {
|
|
65
65
|
throw new Error(`getPropertyでnumber型のINPUTで、arrayの場合はエラー\nキー一覧:${keys.join(',')} エラーキー:${key}`);
|
|
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;
|
|
69
76
|
default:
|
|
70
77
|
throw new Error(`getPropertyでarray,object以外のtypeを読み込もうとしている。\nキー一覧:${keys.join(',')} エラーキー:${key}`);
|
|
78
|
+
// property = property[key];
|
|
79
|
+
// continue;
|
|
71
80
|
}
|
|
72
81
|
}
|
|
73
82
|
return property;
|
package/package.json
CHANGED
|
@@ -97,14 +97,23 @@ export default class ReqResType {
|
|
|
97
97
|
property = property.properties;
|
|
98
98
|
continue;
|
|
99
99
|
case 'object':
|
|
100
|
-
case 'object':
|
|
100
|
+
case 'object?':
|
|
101
101
|
if (typeof key !== 'string') {
|
|
102
102
|
throw new Error(`getPropertyでnumber型のINPUTで、arrayの場合はエラー\nキー一覧:${keys.join(',')} エラーキー:${key}`);
|
|
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;
|
|
106
113
|
default:
|
|
107
114
|
throw new Error(`getPropertyでarray,object以外のtypeを読み込もうとしている。\nキー一覧:${keys.join(',')} エラーキー:${key}`);
|
|
115
|
+
// property = property[key];
|
|
116
|
+
// continue;
|
|
108
117
|
}
|
|
109
118
|
}
|
|
110
119
|
|