@s-hirano-ist/s-database 1.19.0 → 1.19.1
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 +6 -6
- package/src/generated/edge.js +6 -6
- package/src/generated/index-browser.js +4 -4
- package/src/generated/index.d.ts +3 -3
- package/src/generated/index.js +6 -6
- package/src/generated/package.json +2 -2
- package/src/generated/query_compiler_fast_bg.wasm +0 -0
- package/src/generated/query_compiler_fast_bg.wasm-base64.js +1 -1
- package/src/generated/runtime/client.d.ts +28 -0
- package/src/generated/runtime/client.js +15 -15
- package/src/generated/runtime/wasm-compiler-edge.js +13 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@s-hirano-ist/s-database",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.1",
|
|
4
4
|
"description": "Prisma database schema and client for s-private project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "AGPL-3.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@prisma/adapter-pg": "7.
|
|
33
|
-
"@prisma/client": "7.
|
|
34
|
-
"@prisma/client-runtime-utils": "7.
|
|
35
|
-
"prisma": "7.
|
|
32
|
+
"@prisma/adapter-pg": "7.8.0",
|
|
33
|
+
"@prisma/client": "7.8.0",
|
|
34
|
+
"@prisma/client-runtime-utils": "7.8.0",
|
|
35
|
+
"prisma": "7.8.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@softwaretechnik/dbml-renderer": "1.0.31",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"prisma:deploy": "prisma migrate deploy",
|
|
46
46
|
"prisma:studio": "prisma studio",
|
|
47
47
|
"docs:build": "bash scripts/generate-db-docs.sh",
|
|
48
|
-
"build": "tsc --noEmit",
|
|
48
|
+
"build": "prisma generate && tsc --noEmit",
|
|
49
49
|
"postinstall": "pnpm prisma:generate",
|
|
50
50
|
"typecheck": "tsc --noEmit"
|
|
51
51
|
}
|
package/src/generated/edge.js
CHANGED
|
@@ -39,12 +39,12 @@ exports.Prisma = Prisma
|
|
|
39
39
|
exports.$Enums = {}
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Prisma Client JS version: 7.
|
|
43
|
-
* Query Engine version:
|
|
42
|
+
* Prisma Client JS version: 7.8.0
|
|
43
|
+
* Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
|
|
44
44
|
*/
|
|
45
45
|
Prisma.prismaVersion = {
|
|
46
|
-
client: "7.
|
|
47
|
-
engine: "
|
|
46
|
+
client: "7.8.0",
|
|
47
|
+
engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a"
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
|
|
@@ -193,8 +193,8 @@ exports.Prisma.ModelName = {
|
|
|
193
193
|
*/
|
|
194
194
|
const config = {
|
|
195
195
|
"previewFeatures": [],
|
|
196
|
-
"clientVersion": "7.
|
|
197
|
-
"engineVersion": "
|
|
196
|
+
"clientVersion": "7.8.0",
|
|
197
|
+
"engineVersion": "3c6e192761c0362d496ed980de936e2f3cebcd3a",
|
|
198
198
|
"activeProvider": "postgresql",
|
|
199
199
|
"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(512)\n\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"
|
|
200
200
|
}
|
|
@@ -24,12 +24,12 @@ exports.Prisma = Prisma
|
|
|
24
24
|
exports.$Enums = {}
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Prisma Client JS version: 7.
|
|
28
|
-
* Query Engine version:
|
|
27
|
+
* Prisma Client JS version: 7.8.0
|
|
28
|
+
* Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
|
|
29
29
|
*/
|
|
30
30
|
Prisma.prismaVersion = {
|
|
31
|
-
client: "7.
|
|
32
|
-
engine: "
|
|
31
|
+
client: "7.8.0",
|
|
32
|
+
engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a"
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
Prisma.PrismaClientKnownRequestError = () => {
|
package/src/generated/index.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ export class PrismaClient<
|
|
|
170
170
|
*
|
|
171
171
|
* Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
|
|
172
172
|
*/
|
|
173
|
-
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
|
|
173
|
+
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
|
|
174
174
|
|
|
175
175
|
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>
|
|
176
176
|
|
|
@@ -277,8 +277,8 @@ export namespace Prisma {
|
|
|
277
277
|
export import Exact = $Public.Exact
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
|
-
* Prisma Client JS version: 7.
|
|
281
|
-
* Query Engine version:
|
|
280
|
+
* Prisma Client JS version: 7.8.0
|
|
281
|
+
* Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
|
|
282
282
|
*/
|
|
283
283
|
export type PrismaVersion = {
|
|
284
284
|
client: string
|
package/src/generated/index.js
CHANGED
|
@@ -39,12 +39,12 @@ exports.Prisma = Prisma
|
|
|
39
39
|
exports.$Enums = {}
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Prisma Client JS version: 7.
|
|
43
|
-
* Query Engine version:
|
|
42
|
+
* Prisma Client JS version: 7.8.0
|
|
43
|
+
* Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
|
|
44
44
|
*/
|
|
45
45
|
Prisma.prismaVersion = {
|
|
46
|
-
client: "7.
|
|
47
|
-
engine: "
|
|
46
|
+
client: "7.8.0",
|
|
47
|
+
engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a"
|
|
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.
|
|
198
|
-
"engineVersion": "
|
|
197
|
+
"clientVersion": "7.8.0",
|
|
198
|
+
"engineVersion": "3c6e192761c0362d496ed980de936e2f3cebcd3a",
|
|
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(512)\n\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
|
}
|
|
@@ -109,10 +109,10 @@
|
|
|
109
109
|
},
|
|
110
110
|
"./*": "./*"
|
|
111
111
|
},
|
|
112
|
-
"version": "7.
|
|
112
|
+
"version": "7.8.0",
|
|
113
113
|
"sideEffects": false,
|
|
114
114
|
"dependencies": {
|
|
115
|
-
"@prisma/client-runtime-utils": "7.
|
|
115
|
+
"@prisma/client-runtime-utils": "7.8.0"
|
|
116
116
|
},
|
|
117
117
|
"imports": {
|
|
118
118
|
"#wasm-compiler-loader": {
|
|
Binary file
|