decord/alpha/source/stores/ChannelSKUStore.tsx
github-actions 72019a2d0c chore: update source for alpha 348.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-25 08:38:05 +00:00

32 lines
979 B
TypeScript

// Module ID: 13272
// Function ID: 13273
// Name: ChannelSKUStore
// Dependencies: [504, 573, 2]
// Module 13272 (ChannelSKUStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
let closure_0 = {};
const Store = initializeDefault.Store;
class ChannelSKUStore extends Store {
}
ChannelSKUStore.prototype["getSkuIdForChannel"] = function getSkuIdForChannel(arg0) {
return closure_0[arg0];
};
ChannelSKUStore.displayName = "ChannelSKUStore";
const channelSKUStore = new ChannelSKUStore(DispatcherDefault, {
CONNECTION_OPEN: function handleConnectionOpen() {
closure_0 = {};
},
STORE_LISTING_FETCH_SUCCESS: function handleStoreListingFetchSuccess(channelId) {
channelId = channelId.channelId;
if (null != channelId) {
closure_0[channelId] = tmp.sku.id;
}
}
});
const size = fn(2);
const result = size.fileFinishedImporting("stores/ChannelSKUStore.tsx");
export default channelSKUStore;