Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F3010438
multiple-files.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
551 B
Referenced Files
None
Subscribers
None
multiple-files.ts
View Options
import
{
Context
}
from
"koa"
;
import
{
FieldTypes
as
SealiousFieldTypes
}
from
"sealious"
;
import
{
FormField
}
from
"./field"
;
export
class
MultipleFiles
extends
FormField
<
false
>
{
constructor
(
public
collection_field
:
SealiousFieldTypes
.
ReverseSingleReference
,
public
getItemId
:
(
ctx
:
Context
)
=>
Promise
<
string
>
|
string
)
{
super
(
false
);
}
getEmptyValue
()
{
return
undefined
;
}
async
parse
()
{
return
<
const
>
{
parsed_value
:
undefined
,
parsable
:
true
,
error
:
null
};
// the control is supposed to do the heavy lifting here
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Wed, May 7, 19:42 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
634909
Default Alt Text
multiple-files.ts (551 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline
Log In to Comment