@@ -179,9 +179,21 @@ export class Enum extends ReflectionObject {
179
179
/** Values options, if any */
180
180
public valuesOptions ?: { [ k : string ] : { [ k : string ] : any } } ;
181
181
182
+ /** Resolved values features, if any */
183
+ public _valuesFeatures ?: { [ k : string ] : { [ k : string ] : any } } ;
184
+
185
+ /** Unresolved values features, if any */
186
+ public _valuesProtoFeatures ?: { [ k : string ] : { [ k : string ] : any } } ;
187
+
182
188
/** Reserved ranges, if any. */
183
189
public reserved : ( number [ ] | string ) [ ] ;
184
190
191
+ /**
192
+ * Resolves value features
193
+ * @returns `this`
194
+ */
195
+ public resolve ( ) : Enum ;
196
+
185
197
/**
186
198
* Constructs an enum from an enum descriptor.
187
199
* @param name Enum name
@@ -877,6 +889,12 @@ export abstract class ReflectionObject {
877
889
/** Unique name within its namespace. */
878
890
public name : string ;
879
891
892
+ /** Resolved Features. */
893
+ public _features : any ;
894
+
895
+ /** Unresolved Features. */
896
+ public _protoFeatures : any ;
897
+
880
898
/** Parent namespace. */
881
899
public parent : ( Namespace | null ) ;
882
900
@@ -919,6 +937,9 @@ export abstract class ReflectionObject {
919
937
*/
920
938
public resolve ( ) : ReflectionObject ;
921
939
940
+ /** Resolves child features from parent features */
941
+ public _resolveFeatures ( ) : void ;
942
+
922
943
/**
923
944
* Gets an option value.
924
945
* @param name Option name
@@ -1255,7 +1276,7 @@ export class Root extends NamespaceBase {
1255
1276
1256
1277
/**
1257
1278
* Loads a namespace descriptor into a root namespace.
1258
- * @param json Nameespace descriptor
1279
+ * @param json Namespace descriptor
1259
1280
* @param [root] Root namespace, defaults to create a new one if omitted
1260
1281
* @returns Root namespace
1261
1282
*/
@@ -2194,9 +2215,10 @@ export namespace util {
2194
2215
* @param dst Destination object
2195
2216
* @param path dot '.' delimited path of the property to set
2196
2217
* @param value the value to set
2218
+ * @param overWrite whether or not to concatenate the values into an array or overwrite; defaults to false.
2197
2219
* @returns Destination object
2198
2220
*/
2199
- function setProperty ( dst : { [ k : string ] : any } , path : string , value : object ) : { [ k : string ] : any } ;
2221
+ function setProperty ( dst : { [ k : string ] : any } , path : string , value : object , overWrite : boolean ) : { [ k : string ] : any } ;
2200
2222
2201
2223
/** Decorator root (TypeScript). */
2202
2224
let decorateRoot : Root ;
0 commit comments