MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / getChannelModels

Function getChannelModels

web/src/helpers/api.js:237–253  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

235}
236
237export function getChannelModels(type) {
238 if (channelModels !== undefined && type in channelModels) {
239 if (!channelModels[type]) {
240 return [];
241 }
242 return channelModels[type];
243 }
244 let models = localStorage.getItem('channel_models');
245 if (!models) {
246 return [];
247 }
248 channelModels = JSON.parse(models);
249 if (type in channelModels) {
250 return channelModels[type];
251 }
252 return [];
253}

Callers 4

handleInputChangeFunction · 0.90
handleInputChangeFunction · 0.90
loadChannelFunction · 0.90
EditChannel.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected