mindee
Version:
Mindee Client Library for Node.js
17 lines (16 loc) • 613 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DynamicField = void 0;
const baseField_1 = require("./baseField");
const fieldLocation_1 = require("./fieldLocation");
class DynamicField extends baseField_1.BaseField {
constructor(rawResponse, indentLevel = 0) {
super(rawResponse, indentLevel);
if (rawResponse["locations"]) {
this.locations = rawResponse["locations"].map((location) => {
return location ? new fieldLocation_1.FieldLocation(location) : "";
});
}
}
}
exports.DynamicField = DynamicField;