generatorsconstconst generators: readonly Generator[]Every generator of the library, in the order their files are made.
The generators (commons data 0010-sql-generators): diagrams in Mermaid and D2, the data dictionary in Markdown and HTML, row types in Rust and Zod, and the register of personal data and security. generators is all of them; generatorExtensions is each as an extension of the engine, sql.generate.<name>, which a project composes, drops from or adds to.
import { generate } from "@intellectual-frontiers/data/sql/physical";
import { generators } from "@intellectual-frontiers/data/sql/extensions/generators";
const files = generate(schema, { generators });generatorsconstconst generators: readonly Generator[]Every generator of the library, in the order their files are made.
generatorExtensionsfunctionfunction generatorExtensions(version?: string): Result<readonly Extension[], IdError>The generators as extensions of the engine, one each.
| Parameter | What it is |
|---|---|
version | the extensions' version |
Returns: the extensions, or why an identifier is not one