hekireki 0.32.0 → 0.34.0

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.
Files changed (62) hide show
  1. package/README.md +168 -11
  2. package/dist/bin/activerecord.js +1 -1
  3. package/dist/bin/ajv.js +1 -1
  4. package/dist/bin/arktype.js +1 -1
  5. package/dist/bin/atlas.js +1 -1
  6. package/dist/bin/django.js +1 -1
  7. package/dist/bin/drizzle.js +1 -1
  8. package/dist/bin/ecto.js +1 -1
  9. package/dist/bin/efcore.js +1 -1
  10. package/dist/bin/effect.js +1 -1
  11. package/dist/bin/eloquent.js +1 -1
  12. package/dist/bin/er.js +1 -1
  13. package/dist/bin/exposed.js +1 -1
  14. package/dist/bin/gorm.js +1 -1
  15. package/dist/bin/hekireki.js +139 -149
  16. package/dist/bin/kysely.js +1 -1
  17. package/dist/bin/pydantic.js +1 -1
  18. package/dist/bin/sea-orm.js +1 -1
  19. package/dist/bin/seed.js +1 -1
  20. package/dist/bin/sqlalchemy.js +1 -1
  21. package/dist/bin/typebox.js +1 -1
  22. package/dist/bin/valibot.js +1 -1
  23. package/dist/bin/zod.js +1 -1
  24. package/dist/{bin-CmwdzyIR.js → bin-B2PLRVJb.js} +5098 -1837
  25. package/dist/{discover-DVB1eehy.js → discover-BNQ5gbRn.js} +1 -1
  26. package/dist/{emit-CdFQK71O.js → emit-BeblTVH8.js} +2 -2
  27. package/dist/{file-BPNqvwXD.js → file-Df9ykHXv.js} +1 -5
  28. package/dist/{migrate-B10ui4rh.js → migrate-Icu7Se0-.js} +4 -4
  29. package/dist/{plan-BDkcp2gn.js → plan-EKATG1WY.js} +118 -73
  30. package/dist/{run-DhCGgShc.js → run-C13eFGuX.js} +8 -10
  31. package/dist/{schema-B-2ni3YF.js → schema-RYU_i7qd.js} +2 -2
  32. package/dist/{sql-Bb3cwfJt.js → sql-F40UQMF6.js} +37 -54
  33. package/dist/{start-BhcpaMcT.js → start-HLOLxRBL.js} +162 -205
  34. package/dist/studio/assets/{client-Cml1DF4R.js → client-D-BDuDx5.js} +1 -1
  35. package/dist/studio/assets/{code-block-ON7BoQW2.js → code-block-Bo0pcw3d.js} +1 -1
  36. package/dist/studio/assets/{confirm-dialog-IdKC4Tr2.js → confirm-dialog-GIPt_m1h.js} +1 -1
  37. package/dist/studio/assets/{copy-D3Vc_bt4.js → copy-DVfEjDPw.js} +1 -1
  38. package/dist/studio/assets/{copy-button-CbaXuxba.js → copy-button-Di-sHQ2O.js} +1 -1
  39. package/dist/studio/assets/{dist-DmM7_t8o.js → dist-CebhqUaX.js} +5 -5
  40. package/dist/studio/assets/{docs-ExwrGDZu.js → docs-CnzWByuq.js} +1 -1
  41. package/dist/studio/assets/{enums._name-C9BGV9--.js → enums._name-I0mP3WCt.js} +1 -1
  42. package/dist/studio/assets/{index-ClVBmPHO.js → index-CMmzpMBz.js} +4 -4
  43. package/dist/studio/assets/{labels-C7nHuKvb.js → labels-DuphOVul.js} +1 -1
  44. package/dist/studio/assets/{lazyRouteComponent-CDmLrXMS.js → lazyRouteComponent-tS2t_LrD.js} +1 -1
  45. package/dist/studio/assets/{lu-BrVGIhAn.js → lu-cVORv6D3.js} +1 -1
  46. package/dist/studio/assets/{marked-text-BRnsKz9k.js → marked-text-tf7-IzXm.js} +1 -1
  47. package/dist/studio/assets/{models._name-ByPeXRmm.js → models._name-DsOwcKoe.js} +1 -1
  48. package/dist/studio/assets/{prisma-BnoDMkaK.js → prisma-CWAhnzN5.js} +1 -1
  49. package/dist/studio/assets/{result-table-CpErC1Pk.js → result-table-CGvil3pc.js} +1 -1
  50. package/dist/studio/assets/{routes-CKzRT8uT.js → routes-CBvE-Puz.js} +1 -1
  51. package/dist/studio/assets/{schema-gate-B50_6S0h.js → schema-gate-BC3i18Tp.js} +1 -1
  52. package/dist/studio/assets/schema-view-C2X5nwuH.js +9 -0
  53. package/dist/studio/assets/{sql-CRhtXB4v.js → sql-CMRDYX3Z.js} +1 -1
  54. package/dist/studio/assets/{table-Rze42PM3.js → table-bAwthXaP.js} +1 -1
  55. package/dist/studio/assets/{tabs-ClImdGQ1.js → tabs-DfoRK_ae.js} +1 -1
  56. package/dist/studio/assets/{useFormValidation-Bgjs6o3Q.js → useFormValidation-B7STfHY3.js} +1 -1
  57. package/dist/studio/assets/{useMultipleSelectionState-DUiRXMUh.js → useMultipleSelectionState-vASeYbQk.js} +1 -1
  58. package/dist/studio/assets/{useOverlayTriggerState-2DwfYtnL.js → useOverlayTriggerState-BO95y8NP.js} +1 -1
  59. package/dist/studio/index.html +6 -6
  60. package/dist/{utils-Cgi66Lfo.js → utils-ckthTWS0.js} +38 -2
  61. package/package.json +14 -14
  62. package/dist/studio/assets/schema-view-fqeCWRR2.js +0 -9
package/README.md CHANGED
@@ -30,21 +30,61 @@ generator Hekireki-Zod {
30
30
  | --------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------ |
31
31
  | `hekireki-zod` | [Zod](https://zod.dev/) | `type`, `comment`, `relation`, `zod` (`"v4"`, `"mini"`, `"@hono/zod-openapi"`) |
32
32
  | `hekireki-valibot`, `hekireki-arktype`, `hekireki-effect`, `hekireki-typebox`, `hekireki-ajv` | Valibot, ArkType, Effect Schema, TypeBox, AJV | `type`, `comment`, `relation` |
33
- | `hekireki-pydantic` | Pydantic | `comment`, `relation` |
33
+ | `hekireki-pydantic` | Pydantic | `relation` |
34
34
  | `hekireki-drizzle`, `hekireki-kysely`, `hekireki-sqlalchemy`, `hekireki-django` | Drizzle, Kysely, SQLAlchemy, Django | |
35
35
  | `hekireki-activerecord` | Active Record | `locales` |
36
36
  | `hekireki-gorm` | GORM | `package` |
37
37
  | `hekireki-sea-orm` | SeaORM | `renameAll` |
38
38
  | `hekireki-ecto` | Ecto | `app` |
39
39
  | `hekireki-eloquent` | Eloquent | `namespace` |
40
- | `hekireki-efcore` (PostgreSQL) | EF Core | `namespace`, `context` |
40
+ | `hekireki-efcore` (PostgreSQL, MySQL, SQLite) | EF Core | `namespace`, `context` |
41
41
  | `hekireki-exposed` (PostgreSQL) | Exposed | `package`, `dao` |
42
- | `hekireki-atlas` | Atlas HCL | `schemaName`, `comment` |
42
+ | `hekireki-atlas` | Atlas HCL | `schemaName` |
43
43
  | `hekireki-er` | ER diagram | `outputs` (`.md`, `.dbml`, `.png`, `.svg`), `theme` |
44
44
  | `hekireki-seed` | The schema module `hekireki.config.ts` is typed against | |
45
45
 
46
- A `///` line starting with `@z.`, `@v.`, `@a.`, `@e.`, `@t.`, `@j.`, `@p.` or `@ar.` is used
47
- as-is by Zod, Valibot, ArkType, Effect Schema, TypeBox, AJV, Pydantic or Active Record:
46
+ On MySQL, `hekireki-drizzle` reads and writes a `@db.Timestamp` column as UTC, and MySQL converts a
47
+ `TIMESTAMP` through the connection's `time_zone`: set it to `'+00:00'` on drizzle's connection, as
48
+ Prisma's adapter does on its own, or the two see times that differ by the offset. On CockroachDB it
49
+ writes the PostgreSQL schema, for node-postgres, and an `Int` key with `@default(sequence())` is an
50
+ identity column, as Prisma makes it; keep the session's `TimeZone` at UTC there, as on PostgreSQL,
51
+ for a `dbgenerated("CURRENT_TIMESTAMP")` default to be UTC.
52
+
53
+ `hekireki-atlas` writes the tables as Prisma Migrate makes them, so that `atlas schema diff`
54
+ against a database Prisma made has nothing to change. Its `schemaName` is `public` unless given
55
+ (`main` on SQLite): on MySQL, where the schema is the database, give the database's name.
56
+
57
+ `hekireki-efcore` stores a `DateTime` as Prisma Client does, whatever its `DateTimeKind`: the UTC
58
+ instant (a `Local` value converted), read back as `Utc`, in Prisma's text form on SQLite, and
59
+ `now()` filled in by EF Core rather than by the database's clock. It takes Npgsql's legacy
60
+ timestamp behaviour to be off. On MySQL, compare a `@db.Time` column with a parameter rather than
61
+ a constant: MySql.EntityFrameworkCore writes a constant `TimeSpan` as `TIME '03:04:05'`, without
62
+ its fraction.
63
+
64
+ `hekireki-django` keeps a `DateTime` as Prisma Client keeps it. A column without a zone is declared
65
+ with the `UtcDateTimeField` written into `models.py`, which stores the UTC instant (on SQLite
66
+ Prisma's text, `2030-01-02T03:04:05.678+00:00`) and reads it back as UTC, aware under
67
+ `USE_TZ = True` and in `TIME_ZONE` under `False`; a `@db.Timestamptz` is Django's own field.
68
+ `now()` is filled in by the model, in UTC (the UTC date or time on `@db.Date` and `@db.Time`), a
69
+ literal default on a date or time column is its UTC date or time, an `@updatedAt` on one stamps the
70
+ UTC date or time (`UtcDateField`, `UtcTimeField`) where Django's `auto_now` would take the local
71
+ one, and a model with `@updatedAt` is managed by `AutoNowQuerySet`, so `QuerySet.update()` bumps it
72
+ as `updateMany` does. Keep
73
+ `USE_TZ = True`, Django's default: with `False`, Django sets a PostgreSQL session to `TIME_ZONE`,
74
+ and a `dbgenerated()` default such as `CURRENT_TIMESTAMP` is evaluated in that zone.
75
+
76
+ `hekireki-exposed` keeps a `DateTime` as Prisma Client keeps it, with no conversion through the
77
+ JVM's zone: an `Instant` bound and read as the UTC instant, to the millisecond (a finer value is
78
+ truncated, as a JavaScript Date holds it, in every native type), the UTC date of a `@db.Date`, the
79
+ UTC time of a `@db.Time`, and a `@db.Timetz` at offset zero. `now()`, literal defaults and every
80
+ `@updatedAt` are filled in by the client on a DAO or DSL insert, and the DAO bumps `@updatedAt` on
81
+ update; a DSL `Table.update` has no such hook, so set it there yourself
82
+ (`it[updatedAt] = Instant.now()`). pgjdbc sets the session to the JVM's zone, so open the
83
+ connection in UTC, as Prisma's is, for a `dbgenerated("CURRENT_TIMESTAMP")` default or `now()` in
84
+ SQL: `Database.connect(url, setupConnection = { it.createStatement().use { s -> s.execute("SET TIME ZONE 'UTC'") } })`.
85
+
86
+ A `///` line starting with `@z.`, `@v.`, `@a.`, `@e.`, `@t.`, `@j.`, `@p.`, `@ar.` or `@ecto.` is
87
+ used as-is by Zod, Valibot, ArkType, Effect Schema, TypeBox, AJV, Pydantic, Active Record or Ecto:
48
88
 
49
89
  ```prisma
50
90
  model User {
@@ -57,11 +97,11 @@ model User {
57
97
  ### Rails
58
98
 
59
99
  `hekireki-activerecord` writes `app/models` from the schema: `application_record.rb` and one model
60
- per Prisma model, as a Rails developer would write them. What Rails works out on its own
61
- (`table_name`, `class_name`, `foreign_key`, `inverse_of` where the names follow its conventions)
62
- is left unsaid; what the schema promises is written: `attribute` defaults, `enum`, timestamps,
63
- associations with `dependent:` from `onDelete`, and validations from the columns (`presence`,
64
- `uniqueness`, `length`).
100
+ per Prisma model, as a Rails developer would write them (and `prisma_date_time.rb` where a column
101
+ needs it). What Rails works out on its own (`table_name`, `class_name`, `foreign_key`,
102
+ `inverse_of` where the names follow its conventions) is left unsaid; what the schema promises is
103
+ written: `attribute` defaults, `enum`, timestamps, associations with `dependent:` from `onDelete`,
104
+ and validations from the columns (`presence`, `uniqueness`, `length`).
65
105
 
66
106
  A `/// @ar.` line on a field is a validator (`presence`, `length(maximum: 255)`) added to that
67
107
  field's `validates`; on a model it is a Ruby line written into the class as it is
@@ -118,10 +158,127 @@ ja:
118
158
  ```
119
159
 
120
160
  The tables stay Prisma's to create, so set `config.active_record.migration_error = false` and
121
- create the test database with `prisma migrate deploy`. `examples/active-record` in the repository
161
+ create the test database with `prisma migrate deploy`.
162
+
163
+ A `DateTime` is stored as Prisma Client stores it. Every `@updatedAt` column is bumped, not only
164
+ the one aliased to `updated_at`. A column holding fewer than three digits of a second
165
+ (`@db.Timestamp(0)`, MySQL's bare `@db.DateTime`) is sent Prisma's milliseconds for the database
166
+ to round (`precision: 3`), where Active Record would cut them off first; a `@db.Timetz` column is
167
+ read as a time, not a String (Active Record still warns `unknown OID 1266` once as it reads the
168
+ table's columns, before the declared type takes over). On SQLite every `DateTime` column is
169
+ declared with `PrismaDateTime`, which writes Prisma's text (`2030-01-02T03:04:05.678+00:00`) so
170
+ that comparisons, unique indexes and ordering see both clients' rows alike; on SQL Server a
171
+ `@db.DateTime` or `@db.SmallDateTime` column is, which sends milliseconds for the server to round
172
+ to 1/300 s or to the minute as Prisma's are, where the adapter would round or cut them first. It is
173
+ generated into `prisma_date_time.rb` beside the models, so Zeitwerk loads it from wherever it
174
+ loads them, whatever `output` is. On SQLite and SQL Server, whose `CURRENT_TIMESTAMP` is text of
175
+ another shape or the server's local time, `now()` is filled in by the model. Keep
176
+ `config.active_record.default_timezone` at `:utc`, Rails' default: with `:local`, a `timestamp`
177
+ column is written in the process's zone and Prisma reads it as UTC.
178
+
179
+ `examples/active-record` in the repository
122
180
  runs a fuller schema against Active Record on SQLite, and is the place to read what each thing
123
181
  becomes.
124
182
 
183
+ ### Ecto
184
+
185
+ `hekireki-ecto` writes one `Ecto.Schema` module per model. A model with a `/// @ecto` line on it
186
+ or on one of its fields also gets a `changeset/2`: `cast` of every field it can write,
187
+ `validate_required` of the required fields Prisma gives no default, a `unique_constraint` for each
188
+ `@unique` and `@@unique`, a `foreign_key_constraint` for each foreign key, and a
189
+ `no_assoc_constraint` for each `has_one` or `has_many` whose rows the database will not let go of
190
+ (`Restrict` or `NoAction` on delete, which Prisma makes of a required relation that names neither),
191
+ so a refused delete is an error on the association. Each constraint is
192
+ named as the database reports it: Prisma's `<table>_<columns>_key` and `_fkey`, cut to the
193
+ database's limit in bytes as Prisma cuts them, or the `map:` given. On SQLite a unique key takes
194
+ the name Ecto derives itself, and a foreign key gets no constraint, since SQLite names none when it
195
+ refuses a row; with `relationMode = "prisma"` there is no foreign key in the database to report.
196
+
197
+ A `/// @ecto.` line on a field is an `Ecto.Changeset` function that takes the field first, without
198
+ the field: `validate_length(max: 50)`, or `validate_required(message: "...")` for a message of the
199
+ field's own. `unique_constraint(message: "...")` on a `@unique` field and
200
+ `foreign_key_constraint(message: "...")` on a foreign key give the constraint its message. On a
201
+ relation field, `assoc_constraint` (the side with the key) puts a missing row's error on the
202
+ association, and `no_assoc_constraint(message: "...")` on a `has_one` or `has_many` gives a refused
203
+ delete its message (or asks for one where the database cascades). On a model a line is a step of the pipeline written as it is
204
+ (`validate_confirmation(:password)`), `unique_constraint([:a, :b], message: "...")` on the fields of
205
+ a `@@unique` gives that constraint its message, `cast(empty_values: [])` hands its options to the
206
+ changeset's `cast`, and a bare `/// @ecto` asks for the changeset with nothing added. With empty
207
+ values of the model's own, `""` is a value, as it is to the column, so the required fields are
208
+ checked by a `validate_not_null` written into the module, which counts only `nil` as missing
209
+ (`validate_required` would count `""` too); a field's own `validate_required` line keeps Ecto's
210
+ meaning. Ecto has no association for a foreign key of several columns, so the constraints of one
211
+ are `foreign_key_constraint`s with the error on the relation's name.
212
+
213
+ ```prisma
214
+ model User {
215
+ id Int @id @default(autoincrement())
216
+ /// @ecto.validate_required(message: "名前を入力してください")
217
+ /// @ecto.validate_length(max: 50, message: "%{count}文字以内で入力してください")
218
+ name String
219
+ age Int?
220
+ email String? @unique
221
+ }
222
+ ```
223
+
224
+ ```elixir
225
+ def changeset(user, attrs) do
226
+ user
227
+ |> cast(attrs, [:name, :age, :email])
228
+ |> validate_required([:name], message: "名前を入力してください")
229
+ |> validate_length(:name, max: 50, message: "%{count}文字以内で入力してください")
230
+ |> unique_constraint(:email, name: "User_email_key")
231
+ end
232
+ ```
233
+
234
+ A `DateTime` is kept as Prisma Client keeps it, through modules written alongside the schemas:
235
+ `PrismaDateTime` holds the instant in UTC in milliseconds (on SQLite the text Prisma writes,
236
+ `2030-01-01T09:00:00.000+00:00`, so an equality or a range finds Prisma's rows), `PrismaDate` a
237
+ `@db.Date` and `PrismaTime` a `@db.Time` or `@db.Timetz`. `now()` and `@updatedAt` are
238
+ `timestamps()` calls of those types. An optional `@updatedAt` is stored as null on insert only when
239
+ given by `Ecto.Changeset.force_change/3`, as a struct's `nil` is no change. On PostgreSQL and MySQL
240
+ the module's documentation names the session time zone a `@db.Timestamptz`, `@db.Timetz` or
241
+ `TIMESTAMP` column needs.
242
+
243
+ `examples/ecto` in the repository runs a schema against Ecto on SQLite.
244
+
245
+ ### Kysely
246
+
247
+ `hekireki-kysely` writes one `DB` interface, each column typed as the driver of the datasource
248
+ reads and binds it: better-sqlite3 on SQLite, pg on PostgreSQL, mysql2 on MySQL. Kysely converts
249
+ nothing and runs no hook, so what the types cannot say is the caller's:
250
+
251
+ - On SQLite a `DateTime` is text, compared as text: write it as Prisma does,
252
+ `date.toISOString().replace('Z', '+00:00')`, or `=`, `@unique` and `@@id` do not meet Prisma's
253
+ rows. A `DateTime` with `now()` or a literal default is asked for on insert there, as Prisma
254
+ Client writes it itself: SQLite's own default is other text (`CURRENT_TIMESTAMP` sorts before
255
+ Prisma's rows, and Prisma reads the literal as an Invalid Date).
256
+ - pg and mysql2 read a column without a zone in the process's zone, Prisma in UTC: set pg's type
257
+ parsers 1114, 1082, 1115 and 1182 to UTC with `pg.defaults.parseInputDatesAsUTC = true`, and
258
+ give mysql2 `timezone: 'Z'`. MySQL refuses ISO text with a `Z`; write a `Date`
259
+ or MySQL's `2030-01-02 03:04:05.678901`.
260
+ - `@db.Time` and `@db.Timetz` are `string`, the time of day the drivers read.
261
+ - `@updatedAt` is asked for on insert, optional or not, and must be set on every update.
262
+
263
+ `examples/kysely` in the repository runs a schema against Kysely on SQLite.
264
+
265
+ ### SeaORM
266
+
267
+ `hekireki-sea-orm` writes one entity per model into a directory, with a `mod.rs` and a
268
+ `prelude.rs`. A `DateTime` is kept as Prisma Client keeps it:
269
+
270
+ - `now()`, `@updatedAt` and a literal default are filled by `ActiveModelBehavior::before_save`, in
271
+ UTC with milliseconds, so the crate needs `chrono` and `async-trait` beside `sea-orm`.
272
+ - On SQLite every `DateTime` is a `PrismaDateTime` (written into `prisma_date_time.rs`), which
273
+ binds Prisma's text, `2030-01-02T03:04:05.000+00:00`: filter with
274
+ `Column::At.eq(PrismaDateTime(instant))`, not a bare `DateTimeUtc`, which sqlx writes without
275
+ the `.000` of a whole second.
276
+ - On PostgreSQL and MySQL a `DateTime` is a `NaiveDateTime` in UTC, `@db.Timestamptz` a
277
+ `DateTimeWithTimeZone`, a MySQL `@db.Timestamp` a `DateTimeUtc`. `@db.Timetz` is refused: sqlx
278
+ has no type to read it into.
279
+
280
+ `examples/sea-orm` in the repository runs a schema against SeaORM on SQLite, PostgreSQL and MySQL.
281
+
125
282
  ## Studio
126
283
 
127
284
  ```bash
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/activerecord.ts
4
4
  registerGenerator("activerecord");
5
5
  //#endregion
package/dist/bin/ajv.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/ajv.ts
4
4
  registerGenerator("ajv");
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/arktype.ts
4
4
  registerGenerator("arktype");
5
5
  //#endregion
package/dist/bin/atlas.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/atlas.ts
4
4
  registerGenerator("atlas");
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/django.ts
4
4
  registerGenerator("django");
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/drizzle.ts
4
4
  registerGenerator("drizzle");
5
5
  //#endregion
package/dist/bin/ecto.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/ecto.ts
4
4
  registerGenerator("ecto");
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/efcore.ts
4
4
  registerGenerator("efcore");
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/effect.ts
4
4
  registerGenerator("effect");
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/eloquent.ts
4
4
  registerGenerator("eloquent");
5
5
  //#endregion
package/dist/bin/er.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/er.ts
4
4
  registerGenerator("er");
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/exposed.ts
4
4
  registerGenerator("exposed");
5
5
  //#endregion
package/dist/bin/gorm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as registerGenerator } from "../bin-CmwdzyIR.js";
2
+ import { t as registerGenerator } from "../bin-B2PLRVJb.js";
3
3
  //#region src/bin/gorm.ts
4
4
  registerGenerator("gorm");
5
5
  //#endregion