decord/source/modules/harvester/DataHarvestStore.tsx

49 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-07-30 10:14:41 +00:00
// Module ID: 12755
// Function ID: 12756
2026-07-29 08:29:29 +00:00
// Name: harvestType
// Dependencies: [589, 709, 2]
2026-07-23 10:11:24 +00:00
2026-07-30 10:14:41 +00:00
// Module 12755 (harvestType)
2026-07-29 08:29:29 +00:00
import { Store } from "initialize";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let c0 = false;
let c1;
class DataHarvestStore extends Store {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const prototype = DataHarvestStore.prototype;
Object.defineProperty(prototype, "harvestType", {
get: function harvestType() {
return c1;
},
set: undefined
});
Object.defineProperty(prototype, "requestingHarvest", {
get: function requestingHarvest() {
return c0;
},
set: undefined
});
DataHarvestStore.displayName = "DataHarvestStore";
const dataHarvestStore = new DataHarvestStore(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
CONNECTION_OPEN: function handleConnectionOpen() {
2026-07-29 08:29:29 +00:00
let c1;
2026-07-20 16:05:17 +00:00
},
UPDATE_DATA_HARVEST_TYPE: function handleUpdateHarvestType(harvestType) {
2026-07-29 08:29:29 +00:00
let c0 = false;
2026-07-20 16:05:17 +00:00
harvestType = harvestType.harvestType;
},
LOAD_DATA_HARVEST_TYPE_START: function handleRequestingHarvest() {
2026-07-29 08:29:29 +00:00
let c0 = true;
2026-07-20 16:05:17 +00:00
},
LOAD_DATA_HARVEST_TYPE_FAILURE: function handleRequestingHarvestFailure() {
2026-07-29 08:29:29 +00:00
let c0 = false;
2026-07-20 16:05:17 +00:00
},
LOGOUT: function handleLogout() {
2026-07-29 08:29:29 +00:00
let c0 = false;
let c1 = null;
2026-07-20 16:05:17 +00:00
}
});
2026-07-29 08:29:29 +00:00
const result = require("set").fileFinishedImporting("modules/harvester/DataHarvestStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default dataHarvestStore;