Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7860554
replace.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
612 B
Referenced Files
None
Subscribers
None
replace.ts
View Options
import
type
{
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
Wed, Aug 13, 18:05 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
876880
Default Alt Text
replace.ts (612 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment