decord/stable/source/records/InteractionRecord.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

43 lines
1.3 KiB
TypeScript

// Module ID: 5011
// Function ID: 5012
// Name: InteractionRecord
// Dependencies: [1387, 1386, 2]
// Module 5011 (InteractionRecord)
import Record from "Record" /* 1387 */;
import UserRecord from "UserRecord" /* 1386 */;
const prototype = function InteractionRecord(name) {
const tmp = new prototype(new.target, name, new.target);
({ id: tmp.id, name: tmp.name, type: tmp.type, user: tmp.user, name_localized } = name);
if (name_localized == null) {
name_localized = name.name;
}
tmp.displayName = name_localized;
return tmp;
}.prototype;
class prototype extends tmp2 {
}
prototype["createFromServer"] = function createFromServer(user) {
const obj = {};
const merged = Object.assign(user);
user = user.user;
obj.user = new UserRecord(user);
if (typeof prototype === "function") {
const tmp7 = new prototype(user, user, tmp2);
({ id: tmp7.id, name: tmp7.name, type: tmp7.type, user: tmp7.user, name_localized } = obj);
if (name_localized == null) {
name_localized = obj.name;
}
tmp7.displayName = name_localized;
return tmp7;
} else {
throw new TypeError("Trying to call a non-function");
}
tmp2 = UserRecord;
const tmp3 = new UserRecord(user);
};
const size = fn(2);
const result = size.fileFinishedImporting("records/InteractionRecord.tsx");
export default prototype;