This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
// Metro module 4213 (f4214).
import Record from "../lib/Record";
import { $callWithNewTarget } from "../_hermes/prelude";
class CompanyRecord extends Record {
constructor(a0) {
super();
this.id = a0.id;
this.name = a0.name;
}
static createFromServer(a0) {
const prototypeOf = Object.getPrototypeOf(CompanyRecord);
const r2 = Object.create(CompanyRecord.prototype);
const r10 = $callWithNewTarget(prototypeOf, r2, CompanyRecord);
const r11 = r10 instanceof Object ? r10 : r2;
r11.id = a0.id;
r11.name = a0.name;
return r11;
}
}
export default CompanyRecord;