Loom Engine - v3.1.1
GitHub
TheWorldTable.ai
Preparing search index...
SchedulePlan
Class SchedulePlan
Index
Methods
create
add
Block
remove
Block
update
Block
has
Block
get
Block
block
Count
current
all
Active
blocks
For
all
Current
list
clear
dispose
Methods
Static
create
create
(
opts
?:
SchedulePlanOptions
)
:
SchedulePlan
Parameters
opts
:
SchedulePlanOptions
= {}
Returns
SchedulePlan
add
Block
addBlock
(
block
:
ScheduleBlock
)
:
boolean
Parameters
block
:
ScheduleBlock
Returns
boolean
remove
Block
removeBlock
(
id
:
string
)
:
boolean
Parameters
id
:
string
Returns
boolean
update
Block
updateBlock
(
id
:
string
,
partial
:
Partial
<
ScheduleBlock
>
)
:
boolean
Parameters
id
:
string
partial
:
Partial
<
ScheduleBlock
>
Returns
boolean
has
Block
hasBlock
(
id
:
string
)
:
boolean
Parameters
id
:
string
Returns
boolean
get
Block
getBlock
(
id
:
string
)
:
ScheduleBlock
|
null
Parameters
id
:
string
Returns
ScheduleBlock
|
null
block
Count
blockCount
()
:
number
Returns
number
current
current
(
characterId
:
string
,
ctx
:
ScheduleQueryContext
,
)
:
ScheduleActiveBlock
|
null
Parameters
characterId
:
string
ctx
:
ScheduleQueryContext
Returns
ScheduleActiveBlock
|
null
all
Active
allActive
(
characterId
:
string
,
ctx
:
ScheduleQueryContext
)
:
ScheduleActiveBlock
[]
Parameters
characterId
:
string
ctx
:
ScheduleQueryContext
Returns
ScheduleActiveBlock
[]
blocks
For
blocksFor
(
characterId
:
string
)
:
ScheduleBlock
[]
Parameters
characterId
:
string
Returns
ScheduleBlock
[]
all
Current
allCurrent
(
ctx
:
ScheduleQueryContext
,
)
:
Record
<
string
,
ScheduleActiveBlock
|
null
>
Parameters
ctx
:
ScheduleQueryContext
Returns
Record
<
string
,
ScheduleActiveBlock
|
null
>
list
list
()
:
ScheduleBlock
[]
Returns
ScheduleBlock
[]
clear
clear
()
:
void
Returns
void
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
add
Block
remove
Block
update
Block
has
Block
get
Block
block
Count
current
all
Active
blocks
For
all
Current
list
clear
dispose
GitHub
TheWorldTable.ai
Loom Engine - v3.1.1
Loading...