decord/alpha/source/records/LinkRecord.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

44 lines
1.3 KiB
TypeScript

// Module ID: 9488
// Function ID: 9489
// Name: LinkRecord
// Dependencies: [1387, 1074, 2]
// Module 9488 (LinkRecord)
import Record from "Record" /* 1387 */;
const Routes = fn(1074).Routes;
const prototype = function LinkRecord(arg0) {
const tmp = new prototype(new.target, new.target);
({ id: tmp.id, path: tmp.path, inviteCode: tmp.inviteCode } = arg0);
return tmp;
}.prototype;
class prototype extends tmp2 {
}
prototype["fromPath"] = function fromPath(pathname) {
if (typeof prototype === "function") {
const tmp6 = new prototype(tmp, tmp2);
({ id: tmp6.id, path: tmp6.path, inviteCode: tmp6.inviteCode } = obj);
return tmp6;
} else {
throw new TypeError("Trying to call a non-function");
}
obj = { id: pathname, path: pathname };
};
prototype["fromInviteCode"] = function fromInviteCode(code) {
const combined = "invite:" + code;
if (typeof prototype === "function") {
const tmp8 = new prototype(tmp, tmp2, new.target, combined);
tmp8.id = combined;
tmp8.path = tmp4;
tmp8.inviteCode = code;
return tmp8;
} else {
throw new TypeError("Trying to call a non-function");
}
tmp2 = prototype;
};
const size = fn(2);
const result = size.fileFinishedImporting("records/LinkRecord.tsx");
export default prototype;
export const LinkRecord = prototype;