Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22396554
proxy-field.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
403 B
Referenced Files
None
Subscribers
None
proxy-field.ts
View Options
import
{
FormField
}
from
"./field"
;
export
class
ProxyFormField
<
T
>
extends
FormField
<
boolean
,
T
>
{
constructor
(
required
:
boolean
,
public
name
:
string
,
public
empty_value
:
T
,
public
parsed_value
:
T
)
{
super
(
required
);
}
getEmptyValue
()
{
return
this
.
empty_value
;
}
async
parse
()
{
return
<
const
>
{
parsable
:
true
,
error
:
null
,
parsed_value
:
this
.
parsed_value
,
};
}
}
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Fri, Nov 27, 16:50 (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1200923
Default Alt Text
proxy-field.ts (403 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline