mutano 3.0.5 → 3.0.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.
Files changed (2) hide show
  1. package/dist/main.js +3 -3
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -557,11 +557,11 @@ function generateKyselyContent({
557
557
  content += "}\n\n";
558
558
  content += `// Use these types for inserting, selecting and updating the table
559
559
  `;
560
- content += `export type ${pascalTable} = Selectable<${pascalTable}Table>;
560
+ content += `export type Selectable${pascalTable} = Selectable<${pascalTable}Table>;
561
561
  `;
562
- content += `export type New${pascalTable} = Insertable<${pascalTable}Table>;
562
+ content += `export type Insertable${pascalTable} = Insertable<${pascalTable}Table>;
563
563
  `;
564
- content += `export type ${pascalTable}Update = Updateable<${pascalTable}Table>;
564
+ content += `export type Updateable${pascalTable} = Updateable<${pascalTable}Table>;
565
565
  `;
566
566
  return content;
567
567
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mutano",
3
3
  "type": "module",
4
- "version": "3.0.5",
4
+ "version": "3.0.6",
5
5
  "description": "Converts Prisma/MySQL/PostgreSQL/SQLite schemas to Zod/TS/Kysely interfaces",
6
6
  "author": "Alisson Cavalcante Agiani <thelinuxlich@gmail.com>",
7
7
  "license": "MIT",