if web requests are allowed
This call has a long executiontime and is therefore Not Recommended to be used in scripts!
Please use npx syncOfl
instead!
ONLY available when allowing web access usage. Downloading the whole Open Fixture Library to the fixture index. The Fixtureindex should, after a successfull download, have an additional ~30KB in size.
List of all the fixtures which got updated.
This call has a long executiontime and is therefore Not Recommended to be used in scripts!
Please use npx syncOfl shallow
instead!
Insteadof downloadOfl, this only downloads the references to the OFL fixtures and none of the files.
List of all the fixtures which got updated.
Get a Fixture from the Library or OFL if allowed. This relies on reading definitions from file/web and caching. Execution time depends on the size of the definition (.6 - 4ms) and if it was cached (.01ms). In Case it needs to be downloaded, it will take alot longer. (depending on your connection)
Key of the fixture
Fixture Definition or undefined if not found
Saving the Index to a file to be available after execution.
Adding a new fixture to the Library.
new and unique fixture key
Fixture Definition
The version SHA of the fixture (Can be usefull for Versioning)
If the fixture should be validated against the OFL Schema
If existing entries should be overwritten
The passed Fixture Definition to enable method chaining
Validate a fixture definition against the Open Fixture Library Schema
the fixture definition
wether the fixture is applicable to the schema or not
Generated using TypeDoc
The Fixture Library
The main class for managing DMX-Fixtures.
Example -
commonJs
Example -
ESM/TS