decord/alpha/source/records/LinkRecord.tsx

45 lines
1.3 KiB
TypeScript
Raw Normal View History

// Module ID: 10100
// Function ID: 10101
// Name: LinkRecord
// Dependencies: [1387, 1074, 2]
2026-07-23 10:11:24 +00:00
// Module 10100 (LinkRecord)
import Record from "Record" /* 1387 */;
2026-07-20 16:05:17 +00:00
const Routes = fn(1074).Routes;
const prototype = function LinkRecord(arg0) {
2026-07-29 08:29:29 +00:00
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 {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
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");
2026-07-29 08:29:29 +00:00
}
obj = { id: pathname, path: pathname };
2026-07-29 08:29:29 +00:00
};
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");
2026-07-29 08:29:29 +00:00
}
tmp2 = prototype;
2026-07-29 08:29:29 +00:00
};
const size = fn(2);
const result = size.fileFinishedImporting("records/LinkRecord.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default prototype;
export const LinkRecord = prototype;