Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F995605
calculated-field.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
521 B
Referenced Files
None
Subscribers
None
calculated-field.ts
View Options
import
type
{
App
}
from
"../app/app.js"
;
import
type
Context
from
"../context.js"
;
import
type
{
CollectionItem
}
from
"../main.js"
;
import
type
Collection
from
"./collection.js"
;
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, Dec 23, 09:12 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556888
Default Alt Text
calculated-field.ts (521 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment