decord/source/modules/parent_tools/FamilyCenterPendingConnectionStore.tsx
2026-09-02 09:53:35 +00:00

43 lines
1.4 KiB
TypeScript

// Module ID: 4734
// Function ID: 4735
// Name: initialize
// Dependencies: [586, 706, 2]
// Module 4734 (initialize)
import initializeDefault from "initialize" /* 586 */;
import dispatcherDefault from "dispatcher" /* 706 */;
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;