43 lines
1.4 KiB
TypeScript
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;
|