decord/beta/source/modules/activities/ActivityShelfStore.tsx

39 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 14728
// Function ID: 14729
// Name: ActivityShelfStore
2026-10-07 22:43:51 +00:00
// Dependencies: [504, 584, 2]
2026-10-12 16:32:48 +00:00
// Module 14728 (ActivityShelfStore)
2026-10-01 14:13:23 +00:00
import get_initializedDefault from "get initialized" /* 504 */;
2026-10-07 22:43:51 +00:00
import DispatcherDefault from "Dispatcher" /* 584 */;
2026-10-01 14:13:23 +00:00
import size from "module_2" /* 2 */;
let closure_0 = { usageByApplicationId: {}, shelfOrder: [] };
2026-10-01 14:13:23 +00:00
const PersistedStore = get_initializedDefault.PersistedStore;
class ActivityShelfStore extends PersistedStore {
2026-10-01 14:13:23 +00:00
initialize(arg0) {
let obj = arg0;
const obj2 = { usageByApplicationId: {}, shelfOrder: [] };
if (arg0 == null) {
obj = {};
}
const merged = Object.assign(obj);
closure_0 = obj2;
}
getState() {
return closure_0;
}
}
const prototype = ActivityShelfStore.prototype;
ActivityShelfStore.displayName = "ActivityShelfStore";
ActivityShelfStore.persistKey = "ActivityShelfStore";
2026-10-01 14:13:23 +00:00
let obj = {
LOGOUT: function reset() {
closure_0 = { usageByApplicationId: {}, shelfOrder: [] };
}
2026-10-01 14:13:23 +00:00
};
const activityShelfStore = new ActivityShelfStore(DispatcherDefault, obj);
const result = size.fileFinishedImporting("modules/activities/ActivityShelfStore.tsx");
export default activityShelfStore;