Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/alibaba/lowcode-engine
/ defaultResourceType
Method
defaultResourceType
packages/workspace/src/workspace.ts:97–103 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
95
}
96
97
get defaultResourceType(): ResourceType | null {
98
if
(this.resourceTypeMap.size >= 1) {
99
return
Array.from(this.resourceTypeMap.values())[0];
100
}
101
102
return
null;
103
}
104
105
@obx.ref windows: IEditorWindow[] = [];
106
Callers
nothing calls this directly
Calls
1
from
Method · 0.65
Tested by
no test coverage detected