Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F9582931
replace.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
607 B
Referenced Files
None
Subscribers
None
replace.ts
View Options
import
{
ShapeToType
}
from
"@sealcode/ts-predicates"
;
import
type
Context
from
"../../../../context"
;
import
{
ArrayAction
}
from
"./array-action"
;
const
ReplaceInputShape
=
{};
const
ReplaceParsedShape
=
{};
export
class
Replace
extends
ArrayAction
<
ShapeToType
<
typeof
ReplaceInputShape
>
,
ShapeToType
<
typeof
ReplaceParsedShape
>
>
{
InputShape
=
ReplaceInputShape
;
async
_parse
(
_context
:
Context
)
:
Promise
<
ShapeToType
<
typeof
ReplaceParsedShape
>
|
null
>
{
return
{};
}
async
run
<
T
>
(
_context
:
Context
,
action
:
ShapeToType
<
typeof
ReplaceParsedShape
>
,
array
:
T
[]
)
{
return
array
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Sat, Oct 11, 08:13 (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
984033
Default Alt Text
replace.ts (607 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment