madden-franchise 3.0.3 → 3.0.4
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/FranchiseFile.js
CHANGED
|
@@ -270,6 +270,10 @@ class FranchiseFile extends EventEmitter {
|
|
|
270
270
|
return this.tables[index];
|
|
271
271
|
};
|
|
272
272
|
|
|
273
|
+
getTableByUniqueId (id) {
|
|
274
|
+
return this.tables.find((table) => { return table.header && table.header.uniqueId === id; });
|
|
275
|
+
};
|
|
276
|
+
|
|
273
277
|
getReferencedRecord (referenceValue) {
|
|
274
278
|
const reference = utilService.getReferenceData(referenceValue);
|
|
275
279
|
return this.getTableById(reference.tableId).records[reference.rowNumber];
|
package/package.json
CHANGED