decord/beta/source/stores/ChannelSKUStore.tsx
2026-10-02 13:37:24 +00:00

36 lines
1 KiB
TypeScript

// Module ID: 13290
// Function ID: 13291
// Name: ChannelSKUStore
// Dependencies: [504, 585, 2]
// Module 13290 (ChannelSKUStore)
import get_initializedDefault from "get initialized" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 585 */;
import size from "module_2" /* 2 */;
let closure_0;
const React = {};
const Store = get_initializedDefault.Store;
class ChannelSKUStore extends Store {
getSkuIdForChannel(arg0) {
return closure_0[arg0];
}
}
const prototype = ChannelSKUStore.prototype;
ChannelSKUStore.displayName = "ChannelSKUStore";
const obj = {
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 channelSKUStore = new ChannelSKUStore(DispatcherDefault, obj);
const result = size.fileFinishedImporting("stores/ChannelSKUStore.tsx");
export default channelSKUStore;