decord/source/modules/parent_tools/FamilyCenterPendingConnectionStore.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

43 lines
1.4 KiB
TypeScript

// Module ID: 4774
// Function ID: 4775
// Name: initialize
// Dependencies: [504, 573, 2]
// Module 4774 (initialize)
import initializeDefault from "initialize" /* 504 */;
import dispatcherDefault from "dispatcher" /* 573 */;
let c0 = null;
const PersistedStore = initializeDefault.PersistedStore;
class FamilyCenterPendingConnectionStore extends PersistedStore {
}
const prototype = FamilyCenterPendingConnectionStore.prototype;
prototype["initialize"] = function initialize(arg0) {
let tmp = arg0;
if (arg0 == null) {
tmp = null;
}
c0 = tmp;
};
prototype["getState"] = function getState() {
return c0;
};
prototype["getPendingConnection"] = function getPendingConnection() {
return c0;
};
FamilyCenterPendingConnectionStore.displayName = "FamilyCenterPendingConnectionStore";
FamilyCenterPendingConnectionStore.persistKey = "FamilyCenterPendingConnectionStore";
const familyCenterPendingConnectionStore = new FamilyCenterPendingConnectionStore(dispatcherDefault, {
FAMILY_CENTER_PENDING_CONNECTION_SET: function handleSet(teenId) {
closure_0 = { teenId: teenId.teenId, linkCode: teenId.linkCode };
},
FAMILY_CENTER_PENDING_CONNECTION_CLEAR: function handleClear() {
c0 = null;
},
LOGOUT: function handleLogout() {
c0 = null;
}
});
const result = require("set").fileFinishedImporting("modules/parent_tools/FamilyCenterPendingConnectionStore.tsx");
export default familyCenterPendingConnectionStore;