decord/source/modules/harvester/DataHarvestStore.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

50 lines
1.3 KiB
TypeScript

// Module ID: 13714
// Function ID: 13715
// Name: harvestType
// Dependencies: [504, 573, 2]
// Module 13714 (harvestType)
import initializeDefault from "initialize" /* 504 */;
import dispatcherDefault from "dispatcher" /* 573 */;
let c0 = false;
let c1;
const Store = initializeDefault.Store;
class DataHarvestStore extends Store {
}
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(dispatcherDefault, {
CONNECTION_OPEN: function handleConnectionOpen() {
c1 = undefined;
},
UPDATE_DATA_HARVEST_TYPE: function handleUpdateHarvestType(harvestType) {
c0 = false;
harvestType = harvestType.harvestType;
},
LOAD_DATA_HARVEST_TYPE_START: function handleRequestingHarvest() {
c0 = true;
},
LOAD_DATA_HARVEST_TYPE_FAILURE: function handleRequestingHarvestFailure() {
c0 = false;
},
LOGOUT: function handleLogout() {
c0 = false;
c1 = null;
}
});
const result = require("set").fileFinishedImporting("modules/harvester/DataHarvestStore.tsx");
export default dataHarvestStore;