Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F1262693
pipeline.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
397 B
Referenced Files
None
Subscribers
None
pipeline.ts
View Options
import
{
PrimitiveJSON
}
from
"./primitives/primitive"
;
import
{
Registry
}
from
"./registry"
;
export
function
resolve_component
(
reg
:
Registry
,
type
:
string
,
component
:
Record
<
string
,
unknown
>
)
:
PrimitiveJSON
{
const
func
=
reg
.
get_component
(
type
);
if
(
!
func
)
throw
new
Error
(
`Component of type
${
type
}
was not registered before trying to resolve it`
);
return
func
(
component
);
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Fri, Jan 24, 15:15 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
601612
Default Alt Text
pipeline.ts (397 B)
Attached To
Mode
rJDD jdd
Attached
Detach File
Event Timeline
Log In to Comment