@s-hirano-ist/s-database 1.18.3 → 1.18.4

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.3",
3
+ "version": "1.18.4",
4
4
  "description": "Prisma database schema and client for s-private project",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -29,15 +29,14 @@
29
29
  },
30
30
  "license": "AGPL-3.0",
31
31
  "dependencies": {
32
- "@prisma/client": "7.4.2",
33
- "@prisma/client-runtime-utils": "7.4.2",
34
- "prisma": "7.4.2"
32
+ "@prisma/client": "7.5.0",
33
+ "@prisma/client-runtime-utils": "7.5.0",
34
+ "prisma": "7.5.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@softwaretechnik/dbml-renderer": "1.0.31",
38
- "dotenv": "17.3.1",
39
38
  "prisma-dbml-generator": "0.12.0",
40
- "typescript": "5.9.3"
39
+ "typescript": "6.0.2"
41
40
  },
42
41
  "scripts": {
43
42
  "prisma:generate": "prisma generate",
@@ -39,12 +39,12 @@ exports.Prisma = Prisma
39
39
  exports.$Enums = {}
40
40
 
41
41
  /**
42
- * Prisma Client JS version: 7.4.2
43
- * Query Engine version: 94a226be1cf2967af2541cca5529f0f7ba866919
42
+ * Prisma Client JS version: 7.5.0
43
+ * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
44
44
  */
45
45
  Prisma.prismaVersion = {
46
- client: "7.4.2",
47
- engine: "94a226be1cf2967af2541cca5529f0f7ba866919"
46
+ client: "7.5.0",
47
+ engine: "280c870be64f457428992c43c1f6d557fab6e29e"
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.2",
198
- "engineVersion": "94a226be1cf2967af2541cca5529f0f7ba866919",
197
+ "clientVersion": "7.5.0",
198
+ "engineVersion": "280c870be64f457428992c43c1f6d557fab6e29e",
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.2
28
- * Query Engine version: 94a226be1cf2967af2541cca5529f0f7ba866919
27
+ * Prisma Client JS version: 7.5.0
28
+ * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
29
29
  */
30
30
  Prisma.prismaVersion = {
31
- client: "7.4.2",
32
- engine: "94a226be1cf2967af2541cca5529f0f7ba866919"
31
+ client: "7.5.0",
32
+ engine: "280c870be64f457428992c43c1f6d557fab6e29e"
33
33
  }
34
34
 
35
35
  Prisma.PrismaClientKnownRequestError = () => {
@@ -277,8 +277,8 @@ export namespace Prisma {
277
277
  export import Exact = $Public.Exact
278
278
 
279
279
  /**
280
- * Prisma Client JS version: 7.4.2
281
- * Query Engine version: 94a226be1cf2967af2541cca5529f0f7ba866919
280
+ * Prisma Client JS version: 7.5.0
281
+ * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
282
282
  */
283
283
  export type PrismaVersion = {
284
284
  client: string
@@ -2114,6 +2114,11 @@ export namespace Prisma {
2114
2114
  * Skip the first `n` Categories.
2115
2115
  */
2116
2116
  skip?: number
2117
+ /**
2118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2119
+ *
2120
+ * Filter by unique combinations of Categories.
2121
+ */
2117
2122
  distinct?: CategoryScalarFieldEnum | CategoryScalarFieldEnum[]
2118
2123
  }
2119
2124
 
@@ -3292,6 +3297,11 @@ export namespace Prisma {
3292
3297
  * Skip the first `n` Articles.
3293
3298
  */
3294
3299
  skip?: number
3300
+ /**
3301
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3302
+ *
3303
+ * Filter by unique combinations of Articles.
3304
+ */
3295
3305
  distinct?: ArticleScalarFieldEnum | ArticleScalarFieldEnum[]
3296
3306
  }
3297
3307
 
@@ -4354,6 +4364,11 @@ export namespace Prisma {
4354
4364
  * Skip the first `n` Notes.
4355
4365
  */
4356
4366
  skip?: number
4367
+ /**
4368
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
4369
+ *
4370
+ * Filter by unique combinations of Notes.
4371
+ */
4357
4372
  distinct?: NoteScalarFieldEnum | NoteScalarFieldEnum[]
4358
4373
  }
4359
4374
 
@@ -5469,6 +5484,11 @@ export namespace Prisma {
5469
5484
  * Skip the first `n` Images.
5470
5485
  */
5471
5486
  skip?: number
5487
+ /**
5488
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
5489
+ *
5490
+ * Filter by unique combinations of Images.
5491
+ */
5472
5492
  distinct?: ImageScalarFieldEnum | ImageScalarFieldEnum[]
5473
5493
  }
5474
5494
 
@@ -6659,6 +6679,11 @@ export namespace Prisma {
6659
6679
  * Skip the first `n` Books.
6660
6680
  */
6661
6681
  skip?: number
6682
+ /**
6683
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
6684
+ *
6685
+ * Filter by unique combinations of Books.
6686
+ */
6662
6687
  distinct?: BookScalarFieldEnum | BookScalarFieldEnum[]
6663
6688
  }
6664
6689
 
@@ -39,12 +39,12 @@ exports.Prisma = Prisma
39
39
  exports.$Enums = {}
40
40
 
41
41
  /**
42
- * Prisma Client JS version: 7.4.2
43
- * Query Engine version: 94a226be1cf2967af2541cca5529f0f7ba866919
42
+ * Prisma Client JS version: 7.5.0
43
+ * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
44
44
  */
45
45
  Prisma.prismaVersion = {
46
- client: "7.4.2",
47
- engine: "94a226be1cf2967af2541cca5529f0f7ba866919"
46
+ client: "7.5.0",
47
+ engine: "280c870be64f457428992c43c1f6d557fab6e29e"
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.2",
199
- "engineVersion": "94a226be1cf2967af2541cca5529f0f7ba866919",
198
+ "clientVersion": "7.5.0",
199
+ "engineVersion": "280c870be64f457428992c43c1f6d557fab6e29e",
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.2",
112
+ "version": "7.5.0",
113
113
  "sideEffects": false,
114
114
  "dependencies": {
115
- "@prisma/client-runtime-utils": "7.4.2"
115
+ "@prisma/client-runtime-utils": "7.5.0"
116
116
  },
117
117
  "imports": {
118
118
  "#wasm-compiler-loader": {