prisma-effect-schema-generator 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -181,6 +181,10 @@ Primary keys are detected from `@id` first, then a single `String` or `Int`
181
181
  `@unique` column. Soft-delete columns are detected by name (`deletedAt`,
182
182
  `archivedAt`, `isDeleted`, `removedAt`) and type (`DateTime` or `Boolean`).
183
183
 
184
+ `TableDescriptor.includedInSync` is currently `true` for every generated
185
+ table. It is intended for downstream tooling to override per-table when
186
+ building sync scopes.
187
+
184
188
  ## Type mapping
185
189
 
186
190
  | Prisma field | Effect Schema (default) | Encoded → Decoded |
package/dist/render.js CHANGED
@@ -250,7 +250,7 @@ function renderColumnDescriptor(field, datamodel) {
250
250
  if (enumValues && enumValues.length > 0) {
251
251
  parts.push(`enumValues: ${JSON.stringify([...enumValues])} as const`);
252
252
  }
253
- return `{ ${parts.join("; ")} }`;
253
+ return `{ ${parts.join(", ")} }`;
254
254
  }
255
255
  /**
256
256
  * Render the helper exports at the bottom of the file:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prisma-effect-schema-generator",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Prisma generator that emits Effect Schema values, relation schemas, and runtime introspection maps (primary keys, soft-delete columns, table descriptors) for every model — drop-in validation for your database rows.",
5
5
  "keywords": [
6
6
  "prisma",