Host exposes oracle journals as language values with refuse/copy gates; bytecode and foreign session paths get modularized; applications and verification replay-policy sources land with Lake builds ignored. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
341 B
JavaScript
11 lines
341 B
JavaScript
var seen = new Set();
|
|
var bridge = [];
|
|
for (var row of data) {
|
|
if (row.status === 'posted' && !seen.has(row.id)) {
|
|
seen.add(row.id);
|
|
bridge.push({id: row.id, region: row.region, units: row.units, cents: row.cents, discount: row.discount});
|
|
}
|
|
}
|
|
bridge.sort((a, b) => Buffer.compare(Buffer.from(a.id), Buffer.from(b.id)));
|
|
bridge;
|