@s-hirano-ist/s-database 1.18.0 → 1.18.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s-hirano-ist/s-database",
3
- "version": "1.18.0",
3
+ "version": "1.18.2",
4
4
  "description": "Prisma database schema and client for s-private project",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "license": "AGPL-3.0",
31
31
  "dependencies": {
32
- "@prisma/client": "7.4.0",
33
- "@prisma/client-runtime-utils": "7.4.0",
34
- "prisma": "7.4.0"
32
+ "@prisma/client": "7.4.1",
33
+ "@prisma/client-runtime-utils": "7.4.1",
34
+ "prisma": "7.4.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@softwaretechnik/dbml-renderer": "1.0.31",
@@ -39,12 +39,12 @@ exports.Prisma = Prisma
39
39
  exports.$Enums = {}
40
40
 
41
41
  /**
42
- * Prisma Client JS version: 7.4.0
43
- * Query Engine version: ab56fe763f921d033a6c195e7ddeb3e255bdbb57
42
+ * Prisma Client JS version: 7.4.1
43
+ * Query Engine version: 55ae170b1ced7fc6ed07a15f110549408c501bb3
44
44
  */
45
45
  Prisma.prismaVersion = {
46
- client: "7.4.0",
47
- engine: "ab56fe763f921d033a6c195e7ddeb3e255bdbb57"
46
+ client: "7.4.1",
47
+ engine: "55ae170b1ced7fc6ed07a15f110549408c501bb3"
48
48
  }
49
49
 
50
50
  Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
@@ -194,8 +194,8 @@ exports.Prisma.ModelName = {
194
194
  */
195
195
  const config = {
196
196
  "previewFeatures": [],
197
- "clientVersion": "7.4.0",
198
- "engineVersion": "ab56fe763f921d033a6c195e7ddeb3e255bdbb57",
197
+ "clientVersion": "7.4.1",
198
+ "engineVersion": "55ae170b1ced7fc6ed07a15f110549408c501bb3",
199
199
  "activeProvider": "postgresql",
200
200
  "inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"../src/generated\"\n}\n\ngenerator dbml {\n provider = \"prisma-dbml-generator\"\n output = \"../dbml\"\n outputName = \"schema.dbml\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nenum Status {\n UNEXPORTED\n LAST_UPDATED\n EXPORTED\n}\n\nmodel Category {\n id String @id @db.VarChar(36)\n\n name String @db.VarChar(16)\n\n Articles Article[]\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n @@unique([name, userId])\n @@map(\"categories\")\n}\n\nmodel Article {\n id String @id @db.VarChar(36)\n\n title String @db.VarChar(128)\n url String @db.VarChar(2048)\n quote String? @db.VarChar(512)\n\n ogImageUrl String? @map(\"og_image_url\") @db.VarChar(4096)\n ogTitle String? @map(\"og_title\") @db.VarChar(512)\n ogDescription String? @map(\"og_description\") @db.VarChar(1024)\n\n Category Category @relation(fields: [categoryId], references: [id], onDelete: Cascade, onUpdate: Cascade)\n categoryId String @map(\"category_id\") @db.VarChar(36)\n\n status Status\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([url, userId])\n @@map(\"articles\")\n}\n\nmodel Note {\n id String @id @db.VarChar(36)\n\n title String @db.VarChar(64)\n markdown String @db.Text\n\n status Status\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([title, userId])\n @@map(\"notes\")\n}\n\nmodel Image {\n id String @id @db.VarChar(36)\n\n path String @db.VarChar(512)\n contentType String @map(\"content_type\") @db.VarChar(32) // e.g.: image/jpeg, image/png\n fileSize Int? @map(\"file_size\") // byte\n width Int? // pixel\n height Int? // pixel\n\n status Status\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([path, userId])\n @@map(\"images\")\n}\n\nmodel Book {\n id String @id @db.VarChar(36)\n isbn String @db.VarChar(17)\n title String @db.VarChar(256)\n\n googleTitle String? @map(\"google_title\") @db.VarChar(512)\n googleSubTitle String? @map(\"google_subtitle\") @db.VarChar(512)\n googleAuthors String[] @map(\"google_authors\")\n googleDescription String? @map(\"google_description\") @db.Text\n googleImgSrc String? @map(\"google_img_src\") @db.VarChar(2048)\n googleHref String? @map(\"google_href\") @db.VarChar(2048)\n\n imagePath String? @map(\"image_path\") @db.VarChar(512)\n\n markdown String? @db.Text\n\n rating Int? // 1-5\n tags String[]\n\n status Status\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([isbn, userId])\n @@map(\"books\")\n}\n"
201
201
  }
@@ -24,12 +24,12 @@ exports.Prisma = Prisma
24
24
  exports.$Enums = {}
25
25
 
26
26
  /**
27
- * Prisma Client JS version: 7.4.0
28
- * Query Engine version: ab56fe763f921d033a6c195e7ddeb3e255bdbb57
27
+ * Prisma Client JS version: 7.4.1
28
+ * Query Engine version: 55ae170b1ced7fc6ed07a15f110549408c501bb3
29
29
  */
30
30
  Prisma.prismaVersion = {
31
- client: "7.4.0",
32
- engine: "ab56fe763f921d033a6c195e7ddeb3e255bdbb57"
31
+ client: "7.4.1",
32
+ engine: "55ae170b1ced7fc6ed07a15f110549408c501bb3"
33
33
  }
34
34
 
35
35
  Prisma.PrismaClientKnownRequestError = () => {
@@ -164,7 +164,7 @@ export class PrismaClient<
164
164
  * ])
165
165
  * ```
166
166
  *
167
- * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
167
+ * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
168
168
  */
169
169
  $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
170
170
 
@@ -273,8 +273,8 @@ export namespace Prisma {
273
273
  export import Exact = $Public.Exact
274
274
 
275
275
  /**
276
- * Prisma Client JS version: 7.4.0
277
- * Query Engine version: ab56fe763f921d033a6c195e7ddeb3e255bdbb57
276
+ * Prisma Client JS version: 7.4.1
277
+ * Query Engine version: 55ae170b1ced7fc6ed07a15f110549408c501bb3
278
278
  */
279
279
  export type PrismaVersion = {
280
280
  client: string
@@ -39,12 +39,12 @@ exports.Prisma = Prisma
39
39
  exports.$Enums = {}
40
40
 
41
41
  /**
42
- * Prisma Client JS version: 7.4.0
43
- * Query Engine version: ab56fe763f921d033a6c195e7ddeb3e255bdbb57
42
+ * Prisma Client JS version: 7.4.1
43
+ * Query Engine version: 55ae170b1ced7fc6ed07a15f110549408c501bb3
44
44
  */
45
45
  Prisma.prismaVersion = {
46
- client: "7.4.0",
47
- engine: "ab56fe763f921d033a6c195e7ddeb3e255bdbb57"
46
+ client: "7.4.1",
47
+ engine: "55ae170b1ced7fc6ed07a15f110549408c501bb3"
48
48
  }
49
49
 
50
50
  Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
@@ -195,8 +195,8 @@ exports.Prisma.ModelName = {
195
195
  */
196
196
  const config = {
197
197
  "previewFeatures": [],
198
- "clientVersion": "7.4.0",
199
- "engineVersion": "ab56fe763f921d033a6c195e7ddeb3e255bdbb57",
198
+ "clientVersion": "7.4.1",
199
+ "engineVersion": "55ae170b1ced7fc6ed07a15f110549408c501bb3",
200
200
  "activeProvider": "postgresql",
201
201
  "inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"../src/generated\"\n}\n\ngenerator dbml {\n provider = \"prisma-dbml-generator\"\n output = \"../dbml\"\n outputName = \"schema.dbml\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nenum Status {\n UNEXPORTED\n LAST_UPDATED\n EXPORTED\n}\n\nmodel Category {\n id String @id @db.VarChar(36)\n\n name String @db.VarChar(16)\n\n Articles Article[]\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n @@unique([name, userId])\n @@map(\"categories\")\n}\n\nmodel Article {\n id String @id @db.VarChar(36)\n\n title String @db.VarChar(128)\n url String @db.VarChar(2048)\n quote String? @db.VarChar(512)\n\n ogImageUrl String? @map(\"og_image_url\") @db.VarChar(4096)\n ogTitle String? @map(\"og_title\") @db.VarChar(512)\n ogDescription String? @map(\"og_description\") @db.VarChar(1024)\n\n Category Category @relation(fields: [categoryId], references: [id], onDelete: Cascade, onUpdate: Cascade)\n categoryId String @map(\"category_id\") @db.VarChar(36)\n\n status Status\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([url, userId])\n @@map(\"articles\")\n}\n\nmodel Note {\n id String @id @db.VarChar(36)\n\n title String @db.VarChar(64)\n markdown String @db.Text\n\n status Status\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([title, userId])\n @@map(\"notes\")\n}\n\nmodel Image {\n id String @id @db.VarChar(36)\n\n path String @db.VarChar(512)\n contentType String @map(\"content_type\") @db.VarChar(32) // e.g.: image/jpeg, image/png\n fileSize Int? @map(\"file_size\") // byte\n width Int? // pixel\n height Int? // pixel\n\n status Status\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([path, userId])\n @@map(\"images\")\n}\n\nmodel Book {\n id String @id @db.VarChar(36)\n isbn String @db.VarChar(17)\n title String @db.VarChar(256)\n\n googleTitle String? @map(\"google_title\") @db.VarChar(512)\n googleSubTitle String? @map(\"google_subtitle\") @db.VarChar(512)\n googleAuthors String[] @map(\"google_authors\")\n googleDescription String? @map(\"google_description\") @db.Text\n googleImgSrc String? @map(\"google_img_src\") @db.VarChar(2048)\n googleHref String? @map(\"google_href\") @db.VarChar(2048)\n\n imagePath String? @map(\"image_path\") @db.VarChar(512)\n\n markdown String? @db.Text\n\n rating Int? // 1-5\n tags String[]\n\n status Status\n\n userId String @map(\"user_id\") @db.VarChar(128)\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([isbn, userId])\n @@map(\"books\")\n}\n"
202
202
  }
@@ -109,10 +109,10 @@
109
109
  },
110
110
  "./*": "./*"
111
111
  },
112
- "version": "7.4.0",
112
+ "version": "7.4.1",
113
113
  "sideEffects": false,
114
114
  "dependencies": {
115
- "@prisma/client-runtime-utils": "7.4.0"
115
+ "@prisma/client-runtime-utils": "7.4.1"
116
116
  },
117
117
  "imports": {
118
118
  "#wasm-compiler-loader": {