Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F3010358
container-argument.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
container-argument.ts
View Options
import
{
JDDContext
}
from
"../jdd-context.js"
;
import
{
ComponentArgument
}
from
"./component-argument.js"
;
export
abstract
class
ContainerArgument
<
P
,
S
=
P
,
R
=
P
>
extends
ComponentArgument
<
P
,
S
,
R
>
{
abstract
processAllSubarguments
(
context
:
JDDContext
,
values
:
unknown
,
processing_function
:
(
argument
:
ComponentArgument
<
unknown
>
,
value
:
unknown
)
=>
Promise
<
unknown
>
)
:
unknown
;
async
receivedToParsed
(
context
:
JDDContext
,
value
:
R
)
:
Promise
<
P
>
{
return
this
.
processAllSubarguments
(
context
,
value
,
(
argument
:
ComponentArgument
<
unknown
>
,
value
:
unknown
)
=>
{
return
argument
.
receivedToParsed
(
context
,
value
);
}
)
as
P
;
}
async
parsedToStorage
(
context
:
JDDContext
,
value
:
P
)
:
Promise
<
S
>
{
return
this
.
processAllSubarguments
(
context
,
value
,
(
argument
:
ComponentArgument
<
unknown
>
,
value
:
unknown
)
=>
{
return
argument
.
parsedToStorage
(
context
,
value
);
}
)
as
S
;
}
async
storageToParsed
(
context
:
JDDContext
,
value
:
S
)
:
Promise
<
P
>
{
return
this
.
processAllSubarguments
(
context
,
value
,
(
argument
:
ComponentArgument
<
unknown
>
,
value
:
unknown
)
=>
{
return
argument
.
storageToParsed
(
context
,
value
);
}
)
as
P
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Wed, May 7, 19:41 (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
625293
Default Alt Text
container-argument.ts (1 KB)
Attached To
Mode
rJDD jdd
Attached
Detach File
Event Timeline
Log In to Comment