decord/source/modules/activities/ActivityShelfStore.tsx

36 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 10690
// Function ID: 10691
2026-07-29 08:29:29 +00:00
// Name: initialize
// Dependencies: [589, 709, 2]
2026-07-23 10:11:24 +00:00
2026-08-25 06:04:03 +00:00
// Module 10690 (initialize)
2026-08-24 06:08:38 +00:00
import initializeDefault from "initialize" /* 589 */;
import dispatcherDefault from "dispatcher" /* 709 */;
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;
obj = { usageByApplicationId: {}, shelfOrder: [] };
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);
};
prototype["getState"] = function getState() {
return closure_0;
};
ActivityShelfStore.displayName = "ActivityShelfStore";
ActivityShelfStore.persistKey = "ActivityShelfStore";
2026-08-24 06:08:38 +00:00
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
}
});
2026-07-29 08:29:29 +00:00
const result = require("set").fileFinishedImporting("modules/activities/ActivityShelfStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default activityShelfStore;