11 packages matching “polyprism”
@polyprism/runtime
v0.3.1 · 1 month ago
Runtime helpers (normalise + coerce primitives) used by @polyprism/ts-domain-class. The TypeScript-side runtime — only required when you choose the opinionated domain-class pattern. PHP users want the polyprism/runtime Composer package instead. ESM-first
No known vulnerabilities
@polyprism/ts-type
v0.3.1 · 1 month ago
Prisma 6 & 7 generator that emits TypeScript type aliases (`export type User = { ... }`) from your schema. Pure ESM, zero runtime deps, configurable naming + annotations. Part of PolyPrism.
No known vulnerabilities
@polyprism/ts-domain-class
v0.3.1 · 1 month ago
Prisma 6 & 7 generator that emits opinionated TypeScript domain classes — private fields, getters/setters with active @coerce + @normalise, builder, from(), toJSON(). Pure ESM. Part of PolyPrism.
No known vulnerabilities
@polyprism/ts-class
v0.3.1 · 1 month ago
Prisma 6 & 7 generator that emits TypeScript classes from your schema. Pure ESM, zero runtime deps — a maintained replacement for prisma-class-generator. Part of PolyPrism.
No known vulnerabilities
@polyprism/ts-interface
v0.3.1 · 1 month ago
Prisma 6 & 7 generator that emits TypeScript interfaces (`export interface User { ... }`) from your schema. Pure ESM, zero runtime deps, configurable naming + annotations. Part of PolyPrism.
No known vulnerabilities
@polyprism/php-domain-class
v0.3.1 · 1 month ago
Prisma 6 & 7 generator that emits PHP 8.4 domain classes with property hooks — @coerce / @normalise honoured via the polyprism/runtime Composer package. Pure ESM. Part of PolyPrism.
No known vulnerabilities
@polyprism/php-class
v0.3.1 · 1 month ago
Prisma 6 & 7 generator that emits PHP 8.1+ classes from your schema. Public typed properties via constructor property promotion. Pure ESM, zero runtime deps. Part of PolyPrism.
No known vulnerabilities
@polyprism/php-readonly
v0.3.1 · 1 month ago
Prisma 6 & 7 generator that emits PHP 8.2+ `final readonly class` value objects from your schema. Immutable DTOs with constructor property promotion. Pure ESM, zero runtime deps. Part of PolyPrism.
No known vulnerabilities
@polyprism/core
v0.3.1 · 1 month ago
Prisma schema IR, reader, annotation parser, and naming layer powering PolyPrism's Prisma 6 & 7 generators. Pure ESM, zero third-party runtime deps.
No known vulnerabilities
@polyprism/ts-shared
v0.3.1 · 1 month ago
Shared TypeScript rendering primitives used by PolyPrism's Prisma 6 & 7 generators (ts-interface, ts-type, ts-class, ts-domain-class). Pure ESM.
No known vulnerabilities
@polyprism/php-shared
v0.3.1 · 1 month ago
Shared PHP rendering primitives used by PolyPrism's Prisma 6 & 7 PHP generators (php-class, php-readonly, php-domain-class). Pure ESM.
No known vulnerabilities