AutoMovie API
Docs
Reference
GitHub
Preparing search index...
@automovie/interface
IAutoMovieCheckLegality
IRule
Interface IRule
A production rule.
interface
IRule
{
id
:
string
;
check
(
entry
:
IAutoMovieScheduleEntry
,
schedule
:
IAutoMovieSchedule
,
)
:
string
|
null
;
}
Index
Properties
id
Methods
check
Properties
id
id
:
string
Stable rule id.
Methods
check
check
(
entry
:
IAutoMovieScheduleEntry
,
schedule
:
IAutoMovieSchedule
,
)
:
string
|
null
A violation text for this entry, or null when it holds.
Parameters
entry
:
IAutoMovieScheduleEntry
schedule
:
IAutoMovieSchedule
Returns
string
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
Methods
check
Docs
Reference
GitHub
AutoMovie API
Loading...
A production rule.