IF Commons GitHub

sql/extensions/generators/code

Written to: 4 requirements: 4 proved, 0 partly, 0 failing, 0 with no test recorded. 0010-sql-generators FR-008, 0010-sql-generators FR-009, 0010-sql-generators FR-011, 0010-sql-generators FR-012

The row types (commons data 0010-sql-generators FR-008, FR-009, FR-011, FR-012): a struct of each table in Rust and a schema of each table in Zod, a field for each column, an Option or .nullable() where it may be null, and an enum for each column that only a closed list of codes may fill. Every logical type has a form in each.

Source: commons/data/sql/extensions/generators/code.ts

2 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

rustconst
const rust: Generator

The Rust row types: <domain>.rs.

Imported by 9 tests of the run (9 passed, 0 failed): the library's results

zodconst
const zod: Generator

The Zod schemas: <domain>.zod.ts.

Imported by 9 tests of the run (9 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.