MCPcopy Create free account
hub / github.com/basecamp/omarchy / customModuleType

Function customModuleType

shell/plugins/bar/BarModel.js:117–124  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

115}
116
117function customModuleType(entry) {
118 var settings = entrySettings(entry)
119 var type = String(settings.type || "")
120 if (type) return type
121 if (settings.exec) return "command"
122 if (settings.source) return "qml"
123 return ""
124}
125
126function customModulePath(entry, home, configDir) {
127 var settings = entrySettings(entry)

Callers 1

inlineSettingsDeltaFunction · 0.85

Calls 1

entrySettingsFunction · 0.85

Tested by

no test coverage detected