Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F3893729
calculated-field.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
485 B
Referenced Files
None
Subscribers
None
calculated-field.ts
View Options
import
App
from
"../app/app"
;
import
Context
from
"../context"
;
import
{
CollectionItem
}
from
"../main"
;
import
Collection
from
"./collection"
;
export
default
abstract
class
CalculatedField
<
ReturnType
>
{
app
:
App
;
abstract
name
:
string
;
collection
:
Collection
;
constructor
(
app
:
App
,
collection
:
Collection
)
{
this
.
app
=
app
;
this
.
collection
=
collection
;
}
abstract
calculate
(
context
:
Context
,
item
:
CollectionItem
<
any
>
,
db_document
:
any
)
:
Promise
<
ReturnType
>
;
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Mon, May 19, 00:53 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
661379
Default Alt Text
calculated-field.ts (485 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment