kfreelance-project-postgresql-prisma 1.0.9 → 1.0.10

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/README.MD CHANGED
@@ -159,7 +159,7 @@ To publish a new version:
159
159
  npm run build
160
160
 
161
161
  # Publish to npm
162
- npm publish
162
+ npm publish --access public
163
163
  ```
164
164
 
165
165
  ## Integration in Microservices
@@ -148,6 +148,10 @@ const config = {
148
148
  "fromEnvVar": null,
149
149
  "value": "darwin-arm64",
150
150
  "native": true
151
+ },
152
+ {
153
+ "fromEnvVar": null,
154
+ "value": "linux-musl-arm64-openssl-3.0.x"
151
155
  }
152
156
  ],
153
157
  "previewFeatures": [],
@@ -174,8 +178,8 @@ const config = {
174
178
  }
175
179
  }
176
180
  },
177
- "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid())\n username String @unique\n email String @unique\n password_hash String // Hashed password\n is_active Boolean\n must_reset_password Boolean\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n PasswordResetTokens PasswordResetToken[]\n}\n\nmodel PasswordResetToken {\n id String @id @default(uuid())\n user User @relation(fields: [user_id], references: [id])\n user_id String\n reset_token String // Hashed\n expires_at DateTime\n used Boolean\n}\n",
178
- "inlineSchemaHash": "2a65c6976c9e459b7dacf63229c0ec52b834209155e1c96268afebb32d46b818",
181
+ "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n binaryTargets = [\"native\", \"linux-musl-arm64-openssl-3.0.x\"]\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid())\n username String @unique\n email String @unique\n password_hash String // Hashed password\n is_active Boolean\n must_reset_password Boolean\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n PasswordResetTokens PasswordResetToken[]\n}\n\nmodel PasswordResetToken {\n id String @id @default(uuid())\n user User @relation(fields: [user_id], references: [id])\n user_id String\n reset_token String // Hashed\n expires_at DateTime\n used Boolean\n}\n",
182
+ "inlineSchemaHash": "149219b19d921d46bb4e9223d5829a073767ba2a2ec23c0d503eaed5a28841b7",
179
183
  "copyEngine": true
180
184
  }
181
185
  config.dirname = '/'
@@ -149,6 +149,10 @@ const config = {
149
149
  "fromEnvVar": null,
150
150
  "value": "darwin-arm64",
151
151
  "native": true
152
+ },
153
+ {
154
+ "fromEnvVar": null,
155
+ "value": "linux-musl-arm64-openssl-3.0.x"
152
156
  }
153
157
  ],
154
158
  "previewFeatures": [],
@@ -175,8 +179,8 @@ const config = {
175
179
  }
176
180
  }
177
181
  },
178
- "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid())\n username String @unique\n email String @unique\n password_hash String // Hashed password\n is_active Boolean\n must_reset_password Boolean\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n PasswordResetTokens PasswordResetToken[]\n}\n\nmodel PasswordResetToken {\n id String @id @default(uuid())\n user User @relation(fields: [user_id], references: [id])\n user_id String\n reset_token String // Hashed\n expires_at DateTime\n used Boolean\n}\n",
179
- "inlineSchemaHash": "2a65c6976c9e459b7dacf63229c0ec52b834209155e1c96268afebb32d46b818",
182
+ "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n binaryTargets = [\"native\", \"linux-musl-arm64-openssl-3.0.x\"]\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid())\n username String @unique\n email String @unique\n password_hash String // Hashed password\n is_active Boolean\n must_reset_password Boolean\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n PasswordResetTokens PasswordResetToken[]\n}\n\nmodel PasswordResetToken {\n id String @id @default(uuid())\n user User @relation(fields: [user_id], references: [id])\n user_id String\n reset_token String // Hashed\n expires_at DateTime\n used Boolean\n}\n",
183
+ "inlineSchemaHash": "149219b19d921d46bb4e9223d5829a073767ba2a2ec23c0d503eaed5a28841b7",
180
184
  "copyEngine": true
181
185
  }
182
186
 
@@ -217,6 +221,10 @@ Object.assign(exports, Prisma)
217
221
  // file annotations for bundling tools to include these files
218
222
  path.join(__dirname, "libquery_engine-darwin-arm64.dylib.node");
219
223
  path.join(process.cwd(), "generated/prisma/libquery_engine-darwin-arm64.dylib.node")
224
+
225
+ // file annotations for bundling tools to include these files
226
+ path.join(__dirname, "libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node");
227
+ path.join(process.cwd(), "generated/prisma/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node")
220
228
  // file annotations for bundling tools to include these files
221
229
  path.join(__dirname, "schema.prisma");
222
230
  path.join(process.cwd(), "generated/prisma/schema.prisma")
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-83307e0c9b19bacac3c44ad1d2c7926e2abb7e9014b300503df3f05dfb00d0f3",
2
+ "name": "prisma-client-a70c68bc7c0a6ee9340d308a988cadc3c12caafc466a2b4cb2f1e05332402476",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -5,8 +5,9 @@
5
5
  // Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
6
6
 
7
7
  generator client {
8
- provider = "prisma-client-js"
9
- output = "../generated/prisma"
8
+ provider = "prisma-client-js"
9
+ output = "../generated/prisma"
10
+ binaryTargets = ["native", "linux-musl-arm64-openssl-3.0.x"]
10
11
  }
11
12
 
12
13
  datasource db {
@@ -148,6 +148,10 @@ const config = {
148
148
  "fromEnvVar": null,
149
149
  "value": "darwin-arm64",
150
150
  "native": true
151
+ },
152
+ {
153
+ "fromEnvVar": null,
154
+ "value": "linux-musl-arm64-openssl-3.0.x"
151
155
  }
152
156
  ],
153
157
  "previewFeatures": [],
@@ -174,8 +178,8 @@ const config = {
174
178
  }
175
179
  }
176
180
  },
177
- "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid())\n username String @unique\n email String @unique\n password_hash String // Hashed password\n is_active Boolean\n must_reset_password Boolean\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n PasswordResetTokens PasswordResetToken[]\n}\n\nmodel PasswordResetToken {\n id String @id @default(uuid())\n user User @relation(fields: [user_id], references: [id])\n user_id String\n reset_token String // Hashed\n expires_at DateTime\n used Boolean\n}\n",
178
- "inlineSchemaHash": "2a65c6976c9e459b7dacf63229c0ec52b834209155e1c96268afebb32d46b818",
181
+ "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n binaryTargets = [\"native\", \"linux-musl-arm64-openssl-3.0.x\"]\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel User {\n id String @id @default(uuid())\n username String @unique\n email String @unique\n password_hash String // Hashed password\n is_active Boolean\n must_reset_password Boolean\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n PasswordResetTokens PasswordResetToken[]\n}\n\nmodel PasswordResetToken {\n id String @id @default(uuid())\n user User @relation(fields: [user_id], references: [id])\n user_id String\n reset_token String // Hashed\n expires_at DateTime\n used Boolean\n}\n",
182
+ "inlineSchemaHash": "149219b19d921d46bb4e9223d5829a073767ba2a2ec23c0d503eaed5a28841b7",
179
183
  "copyEngine": true
180
184
  }
181
185
  config.dirname = '/'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kfreelance-project-postgresql-prisma",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Shared Prisma client library for microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -7,6 +7,7 @@
7
7
  generator client {
8
8
  provider = "prisma-client-js"
9
9
  output = "../generated/prisma"
10
+ binaryTargets = ["native", "linux-musl-arm64-openssl-3.0.x"]
10
11
  }
11
12
 
12
13
  datasource db {