Tempo API
API Overview
⬅ Back to Guides
Preparing search index...
TermLifecycleHooks
Interface TermLifecycleHooks
Protocol contract for Term Plugins implementing lifecycle hooks.
Hierarchy (
View Summary
)
TermLifecycleHooks
TermPlugin
Indexable
[
key
:
symbol
]:
|
(
(
input
:
string
,
context
?:
TermParseContext
,
)
=>
ZonedDateTime
|
Tempo
|
undefined
)
|
(
(
groups
:
Record
<
string
,
any
>
,
anchor
:
Tempo
,
context
?:
TermParseContext
,
)
=>
ZonedDateTime
|
Tempo
|
undefined
)
|
(
(
unit
:
string
,
count
:
number
,
tempo
:
Tempo
,
)
=>
ZonedDateTime
|
Tempo
|
undefined
)
|
(
(
other
:
Tempo
,
unit
:
string
,
tempo
:
Tempo
)
=>
number
|
undefined
)
|
(
(
boundary
:
"start"
|
"mid"
|
"end"
,
unit
:
string
,
tempo
:
Tempo
,
)
=>
ZonedDateTime
|
Tempo
|
undefined
)
|
(
(
token
:
string
,
tempo
:
Tempo
)
=>
string
|
undefined
)
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API Overview
⬅ Back to Guides
Tempo API
Loading...
Protocol contract for Term Plugins implementing lifecycle hooks.