Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F3010347
session-id.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
385 B
Referenced Files
None
Subscribers
None
session-id.ts
View Options
import
{
Field
}
from
"../../../main"
;
import
{
v4
as
uuid
}
from
"uuid"
;
export
default
class
SessionID
extends
Field
{
typeName
=
"session-id"
;
async
isProperValue
()
{
return
Field
.
valid
();
}
async
encode
(
_
:
any
,
input
:
string
|
null
)
{
if
(
input
===
null
)
{
return
null
;
}
return
input
?
input
:
uuid
();
}
async
getDefaultValue
(
_
:
any
)
{
return
uuid
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Wed, May 7, 19:41 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
662971
Default Alt Text
session-id.ts (385 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment