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

37 lines
1.1 KiB
TypeScript
Raw Normal View History

// Module ID: 8948
// Function ID: 8949
// Name: ActivityShelfStore
// Dependencies: [504, 573, 2]
2026-07-23 10:11:24 +00:00
// Module 8948 (ActivityShelfStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let closure_0 = { usageByApplicationId: {}, shelfOrder: [] };
2026-08-24 06:08:38 +00:00
const PersistedStore = initializeDefault.PersistedStore;
2026-07-29 08:29:29 +00:00
class ActivityShelfStore extends PersistedStore {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const prototype = ActivityShelfStore.prototype;
prototype["initialize"] = function initialize(arg0) {
let obj = arg0;
if (arg0 == null) {
obj = {};
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const merged = Object.assign(obj);
closure_0 = { usageByApplicationId: {}, shelfOrder: [] };
2026-07-29 08:29:29 +00:00
};
prototype["getState"] = function getState() {
return closure_0;
};
ActivityShelfStore.displayName = "ActivityShelfStore";
ActivityShelfStore.persistKey = "ActivityShelfStore";
const activityShelfStore = new ActivityShelfStore(DispatcherDefault, {
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
}
});
const size = fn(2);
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;