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

39 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

2026-10-13 12:43:34 +00:00
// Module ID: 15049
// Function ID: 15050
// Name: ActivityShelfStore
2026-10-03 08:58:59 +00:00
// Dependencies: [504, 584, 2]
2026-07-23 10:11:24 +00:00
2026-10-13 12:43:34 +00:00
// Module 15049 (ActivityShelfStore)
2026-10-03 08:58:59 +00:00
import get_initializedDefault from "get initialized" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 584 */;
import size from "module_2" /* 2 */;
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let closure_0 = { usageByApplicationId: {}, shelfOrder: [] };
2026-10-03 08:58:59 +00:00
const PersistedStore = get_initializedDefault.PersistedStore;
2026-07-29 08:29:29 +00:00
class ActivityShelfStore extends PersistedStore {
2026-10-03 08:58:59 +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;
}
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const prototype = ActivityShelfStore.prototype;
ActivityShelfStore.displayName = "ActivityShelfStore";
ActivityShelfStore.persistKey = "ActivityShelfStore";
2026-10-03 08:58:59 +00:00
let obj = {
2026-07-20 16:05:17 +00:00
LOGOUT: function reset() {
2026-08-24 06:08:38 +00:00
closure_0 = { usageByApplicationId: {}, shelfOrder: [] };
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
};
const activityShelfStore = new ActivityShelfStore(DispatcherDefault, obj);
const result = size.fileFinishedImporting("modules/activities/ActivityShelfStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default activityShelfStore;