31 lines
971 B
TypeScript
31 lines
971 B
TypeScript
// Module ID: 13351
|
|
// Function ID: 13352
|
|
// Name: getSkuIdForChannel
|
|
// Dependencies: [589, 709, 2]
|
|
|
|
// Module 13351 (getSkuIdForChannel)
|
|
import initializeDefault from "initialize" /* 589 */;
|
|
import dispatcherDefault from "dispatcher" /* 709 */;
|
|
|
|
let closure_0 = {};
|
|
const Store = initializeDefault.Store;
|
|
class ChannelSKUStore extends Store {
|
|
}
|
|
ChannelSKUStore.prototype["getSkuIdForChannel"] = function getSkuIdForChannel(arg0) {
|
|
return table[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 result = require("set").fileFinishedImporting("stores/ChannelSKUStore.tsx");
|
|
|
|
export default channelSKUStore;
|