Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F3893684
calculated-field.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
469 B
Referenced Files
None
Subscribers
None
calculated-field.js
View Options
const
CalculatedFieldType
=
require
(
"./calculated-field-type.js"
);
const
CalculatedField
=
function
(
App
,
field_name
,
type_declaration
,
type_params
){
this
.
app
=
App
;
this
.
name
=
field_name
,
this
.
type
=
new
CalculatedFieldType
(
App
,
type_declaration
);
this
.
params
=
type_params
;
};
CalculatedField
.
prototype
.
get_value
=
function
(
context
,
item
,
db_document
){
return
this
.
type
.
get_value
(
context
,
this
.
params
,
item
,
db_document
);
};
module
.
exports
=
CalculatedField
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 19, 00:51 (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
661205
Default Alt Text
calculated-field.js (469 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment