33 lines
1 KiB
TypeScript
33 lines
1 KiB
TypeScript
// Module ID: 10521
|
|
// Function ID: 10522
|
|
// Name: initialize
|
|
// Dependencies: [589, 709, 2]
|
|
|
|
// Module 10521 (initialize)
|
|
import { PersistedStore } from "initialize";
|
|
|
|
let closure_0 = { usageByApplicationId: {}, shelfOrder: [] };
|
|
class ActivityShelfStore extends PersistedStore {
|
|
}
|
|
const prototype = ActivityShelfStore.prototype;
|
|
prototype["initialize"] = function initialize(arg0) {
|
|
let obj = arg0;
|
|
obj = { usageByApplicationId: {}, shelfOrder: [] };
|
|
if (arg0 == null) {
|
|
obj = {};
|
|
}
|
|
const merged = Object.assign(obj);
|
|
};
|
|
prototype["getState"] = function getState() {
|
|
return closure_0;
|
|
};
|
|
ActivityShelfStore.displayName = "ActivityShelfStore";
|
|
ActivityShelfStore.persistKey = "ActivityShelfStore";
|
|
const activityShelfStore = new ActivityShelfStore(require("dispatcher"), {
|
|
LOGOUT: function reset() {
|
|
let closure_0 = { usageByApplicationId: {}, shelfOrder: [] };
|
|
}
|
|
});
|
|
const result = require("set").fileFinishedImporting("modules/activities/ActivityShelfStore.tsx");
|
|
|
|
export default activityShelfStore;
|