MCPcopy Create free account
hub / github.com/codecombat/codecombat / add

Function add

app/core/store/modules/aiModels.js:23–28  ·  view source on GitHub ↗
(state, models)

Source from the content-addressed store, hash-verified

21
22 mutations: {
23 add (state, models) {
24 for (const model of models) {
25 Vue.set(state.byId, model._id, model)
26 Vue.set(state.byName, model.name, model)
27 }
28 },
29 },
30
31 actions: {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected