ihp-datasync-typescript: TypeScript code generation for IHP DataSync

[ database, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

Generates TypeScript type interfaces from the IHP Schema.sql


[Skip to Readme]

Modules

  • IHP
    • DataSync
      • TypeScript
        • IHP.DataSync.TypeScript.Compiler

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.5.0
Change log changelog.md
Dependencies ihp, ihp-datasync-typescript, ihp-postgres-parser, neat-interpolation, text, with-utf8 [details]
License MIT
Copyright (c) digitally induced GmbH
Author digitally induced GmbH
Maintainer support@digitallyinduced.com
Uploaded by MarcScholten at 2026-03-25T11:34:44Z
Category Database
Home page https://ihp.digitallyinduced.com/
Bug tracker https://github.com/digitallyinduced/ihp/issues
Source repo head: git clone https://github.com/digitallyinduced/ihp.git
Executables generate-datasync-types
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2026-03-25 [all 1 reports]

Readme for ihp-datasync-typescript-1.5.0

[back to package description]

ihp-datasync-typescript

  1. Add ihp-datasync-typescript to flake.nix
  2. Run generate-datasync-types Application/Schema.sql Frontend/types/ihp-datasync/index.d.ts

Requires a typeRoots in tsconfig.json like this:

{
  "compilerOptions": {
    "target": "es6",
    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],
    "allowJs": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noFallthroughCasesInSwitch": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",
    "typeRoots": ["./node_modules/@types", "./Frontend/types"],
    "declaration": true,
  },
  "include": [
    "src"
  ]
}