decord/source/modules/parent_tools/FamilyCenterPendingConnectionStore.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

44 lines
1.5 KiB
TypeScript

// Module ID: 4819
// Function ID: 4820
// Name: FamilyCenterPendingConnectionStore
// Dependencies: [504, 573, 2]
// Module 4819 (FamilyCenterPendingConnectionStore)
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) {
c0 = { teenId: teenId.teenId, linkCode: teenId.linkCode };
},
FAMILY_CENTER_PENDING_CONNECTION_CLEAR: function handleClear() {
c0 = null;
},
LOGOUT: function handleLogout() {
c0 = null;
}
});
const size = fn(2);
const result = size.fileFinishedImporting("modules/parent_tools/FamilyCenterPendingConnectionStore.tsx");
export default familyCenterPendingConnectionStore;