Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22420109
calculated-field.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
482 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
application/javascript
Expires
Sat, Nov 28, 02:26 (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1230076
Default Alt Text
calculated-field.js (482 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline