@fonoster/identity 0.8.16 → 0.8.17
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/dist/generated/@prisma/client/edge.js +2 -14
- package/dist/generated/@prisma/client/index.js +2 -26
- package/dist/generated/@prisma/client/package.json +1 -1
- package/dist/generated/@prisma/client/schema.prisma +2 -3
- package/package.json +5 -5
- package/dist/generated/@prisma/client/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/generated/@prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/generated/@prisma/client/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/generated/@prisma/client/libquery_engine-linux-musl-openssl-3.0.x.so.node +0 -0
|
@@ -216,18 +216,6 @@ const config = {
|
|
|
216
216
|
"fromEnvVar": null,
|
|
217
217
|
"value": "darwin-arm64",
|
|
218
218
|
"native": true
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"fromEnvVar": null,
|
|
222
|
-
"value": "linux-arm64-openssl-3.0.x"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"fromEnvVar": null,
|
|
226
|
-
"value": "linux-musl-arm64-openssl-3.0.x"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"fromEnvVar": null,
|
|
230
|
-
"value": "linux-musl-openssl-3.0.x"
|
|
231
219
|
}
|
|
232
220
|
],
|
|
233
221
|
"previewFeatures": [],
|
|
@@ -254,8 +242,8 @@ const config = {
|
|
|
254
242
|
}
|
|
255
243
|
}
|
|
256
244
|
},
|
|
257
|
-
"inlineSchema": "generator client {\n provider
|
|
258
|
-
"inlineSchemaHash": "
|
|
245
|
+
"inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"src/generated/@prisma/client\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"IDENTITY_DATABASE_URL\")\n}\n\nmodel User {\n ref String @id @default(uuid())\n accessKeyId String @unique @map(\"access_key_id\") @db.VarChar(255)\n name String @db.VarChar(60)\n email String @unique @db.VarChar(255)\n emailVerified Boolean @default(false) @map(\"email_verified\")\n password String @map(\"password_hash\") /// @encrypted\n phoneNumber String? @map(\"phone_number\") @db.VarChar(20)\n phoneNumberVerified Boolean @default(false) @map(\"phone_number_verified\")\n avatar String? @db.VarChar(255)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n updatedAt DateTime @default(now()) @map(\"updated_at\") @db.Timestamptz(3)\n extended Json?\n\n // Relations\n ownedWorkspaces Workspace[] // Workspaces owned by the user\n memberships WorkspaceMember[] // Workspaces the user is a member of\n\n // Indexes and maps\n @@index([email], type: Hash)\n @@index([accessKeyId], type: Hash)\n @@map(\"users\")\n}\n\nmodel Workspace {\n ref String @id @default(uuid())\n accessKeyId String @unique @map(\"access_key_id\") @db.VarChar(255)\n name String @db.VarChar(60)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n updatedAt DateTime @default(now()) @map(\"updated_at\") @db.Timestamptz(3)\n\n // Relations\n owner User @relation(fields: [ownerRef], references: [ref], onDelete: Cascade)\n ownerRef String @map(\"owner_ref\")\n members WorkspaceMember[]\n apiKeys ApiKey[]\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@index([ownerRef], type: Hash)\n @@map(\"workspaces\")\n}\n\nmodel WorkspaceMember {\n ref String @id @default(uuid())\n status WorkspaceMemberStatus @default(PENDING)\n role WorkspaceMemberRole @default(USER)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n updatedAt DateTime @default(now()) @map(\"updated_at\") @db.Timestamptz(3)\n\n // Relations\n user User @relation(fields: [userRef], references: [ref], onDelete: Cascade)\n userRef String @map(\"user_ref\")\n workspace Workspace @relation(fields: [workspaceRef], references: [ref], onDelete: Cascade)\n workspaceRef String @map(\"workspace_ref\")\n\n @@unique([userRef, workspaceRef])\n @@map(\"workspace_members\")\n}\n\nmodel ApiKey {\n ref String @id @default(uuid())\n accessKeyId String @unique @map(\"access_key_id\") @db.VarChar(255)\n accessKeySecret String @map(\"access_key_secret\") @db.VarChar(255) /// @encrypted\n role ApiKeyRole @default(WORKSPACE_ADMIN)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n updatedAt DateTime @default(now()) @map(\"updated_at\") @db.Timestamptz(3)\n expiresAt DateTime? @map(\"expires_at\") @db.Timestamptz(3)\n\n // Relations\n workspace Workspace @relation(fields: [workspaceRef], references: [ref], onDelete: Cascade)\n workspaceRef String @map(\"workspace_ref\")\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@index([workspaceRef], type: Hash)\n @@map(\"api_keys\")\n}\n\nmodel VerificationCode {\n ref String @id @default(uuid())\n type VerificationType\n code String @db.VarChar(6)\n value String @db.VarChar(255)\n expiresAt DateTime @map(\"expires_at\") @db.Timestamptz(3)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n\n // Indexes and maps\n @@index([code], type: Hash)\n @@map(\"verification_codes\")\n}\n\nenum VerificationType {\n EMAIL\n PHONE\n}\n\nenum WorkspaceMemberStatus {\n PENDING\n ACTIVE\n\n @@map(\"workspace_member_status\")\n}\n\nenum WorkspaceMemberRole {\n OWNER\n ADMIN\n USER\n\n @@map(\"workspace_member_role\")\n}\n\nenum ApiKeyRole {\n WORKSPACE_ADMIN\n\n @@map(\"api_key_role\")\n}\n",
|
|
246
|
+
"inlineSchemaHash": "01563c8cd7390fd081660847e98c3856bfcbb9486cec5cc76c2ae147026e822e",
|
|
259
247
|
"copyEngine": true
|
|
260
248
|
}
|
|
261
249
|
config.dirname = '/'
|
|
@@ -217,18 +217,6 @@ const config = {
|
|
|
217
217
|
"fromEnvVar": null,
|
|
218
218
|
"value": "darwin-arm64",
|
|
219
219
|
"native": true
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"fromEnvVar": null,
|
|
223
|
-
"value": "linux-arm64-openssl-3.0.x"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"fromEnvVar": null,
|
|
227
|
-
"value": "linux-musl-arm64-openssl-3.0.x"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"fromEnvVar": null,
|
|
231
|
-
"value": "linux-musl-openssl-3.0.x"
|
|
232
220
|
}
|
|
233
221
|
],
|
|
234
222
|
"previewFeatures": [],
|
|
@@ -255,8 +243,8 @@ const config = {
|
|
|
255
243
|
}
|
|
256
244
|
}
|
|
257
245
|
},
|
|
258
|
-
"inlineSchema": "generator client {\n provider
|
|
259
|
-
"inlineSchemaHash": "
|
|
246
|
+
"inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"src/generated/@prisma/client\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"IDENTITY_DATABASE_URL\")\n}\n\nmodel User {\n ref String @id @default(uuid())\n accessKeyId String @unique @map(\"access_key_id\") @db.VarChar(255)\n name String @db.VarChar(60)\n email String @unique @db.VarChar(255)\n emailVerified Boolean @default(false) @map(\"email_verified\")\n password String @map(\"password_hash\") /// @encrypted\n phoneNumber String? @map(\"phone_number\") @db.VarChar(20)\n phoneNumberVerified Boolean @default(false) @map(\"phone_number_verified\")\n avatar String? @db.VarChar(255)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n updatedAt DateTime @default(now()) @map(\"updated_at\") @db.Timestamptz(3)\n extended Json?\n\n // Relations\n ownedWorkspaces Workspace[] // Workspaces owned by the user\n memberships WorkspaceMember[] // Workspaces the user is a member of\n\n // Indexes and maps\n @@index([email], type: Hash)\n @@index([accessKeyId], type: Hash)\n @@map(\"users\")\n}\n\nmodel Workspace {\n ref String @id @default(uuid())\n accessKeyId String @unique @map(\"access_key_id\") @db.VarChar(255)\n name String @db.VarChar(60)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n updatedAt DateTime @default(now()) @map(\"updated_at\") @db.Timestamptz(3)\n\n // Relations\n owner User @relation(fields: [ownerRef], references: [ref], onDelete: Cascade)\n ownerRef String @map(\"owner_ref\")\n members WorkspaceMember[]\n apiKeys ApiKey[]\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@index([ownerRef], type: Hash)\n @@map(\"workspaces\")\n}\n\nmodel WorkspaceMember {\n ref String @id @default(uuid())\n status WorkspaceMemberStatus @default(PENDING)\n role WorkspaceMemberRole @default(USER)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n updatedAt DateTime @default(now()) @map(\"updated_at\") @db.Timestamptz(3)\n\n // Relations\n user User @relation(fields: [userRef], references: [ref], onDelete: Cascade)\n userRef String @map(\"user_ref\")\n workspace Workspace @relation(fields: [workspaceRef], references: [ref], onDelete: Cascade)\n workspaceRef String @map(\"workspace_ref\")\n\n @@unique([userRef, workspaceRef])\n @@map(\"workspace_members\")\n}\n\nmodel ApiKey {\n ref String @id @default(uuid())\n accessKeyId String @unique @map(\"access_key_id\") @db.VarChar(255)\n accessKeySecret String @map(\"access_key_secret\") @db.VarChar(255) /// @encrypted\n role ApiKeyRole @default(WORKSPACE_ADMIN)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n updatedAt DateTime @default(now()) @map(\"updated_at\") @db.Timestamptz(3)\n expiresAt DateTime? @map(\"expires_at\") @db.Timestamptz(3)\n\n // Relations\n workspace Workspace @relation(fields: [workspaceRef], references: [ref], onDelete: Cascade)\n workspaceRef String @map(\"workspace_ref\")\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@index([workspaceRef], type: Hash)\n @@map(\"api_keys\")\n}\n\nmodel VerificationCode {\n ref String @id @default(uuid())\n type VerificationType\n code String @db.VarChar(6)\n value String @db.VarChar(255)\n expiresAt DateTime @map(\"expires_at\") @db.Timestamptz(3)\n createdAt DateTime @default(now()) @map(\"created_at\") @db.Timestamptz(3)\n\n // Indexes and maps\n @@index([code], type: Hash)\n @@map(\"verification_codes\")\n}\n\nenum VerificationType {\n EMAIL\n PHONE\n}\n\nenum WorkspaceMemberStatus {\n PENDING\n ACTIVE\n\n @@map(\"workspace_member_status\")\n}\n\nenum WorkspaceMemberRole {\n OWNER\n ADMIN\n USER\n\n @@map(\"workspace_member_role\")\n}\n\nenum ApiKeyRole {\n WORKSPACE_ADMIN\n\n @@map(\"api_key_role\")\n}\n",
|
|
247
|
+
"inlineSchemaHash": "01563c8cd7390fd081660847e98c3856bfcbb9486cec5cc76c2ae147026e822e",
|
|
260
248
|
"copyEngine": true
|
|
261
249
|
}
|
|
262
250
|
|
|
@@ -296,18 +284,6 @@ Object.assign(exports, Prisma)
|
|
|
296
284
|
// file annotations for bundling tools to include these files
|
|
297
285
|
path.join(__dirname, "libquery_engine-darwin-arm64.dylib.node");
|
|
298
286
|
path.join(process.cwd(), "mods/identity/src/generated/@prisma/client/libquery_engine-darwin-arm64.dylib.node")
|
|
299
|
-
|
|
300
|
-
// file annotations for bundling tools to include these files
|
|
301
|
-
path.join(__dirname, "libquery_engine-linux-arm64-openssl-3.0.x.so.node");
|
|
302
|
-
path.join(process.cwd(), "mods/identity/src/generated/@prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node")
|
|
303
|
-
|
|
304
|
-
// file annotations for bundling tools to include these files
|
|
305
|
-
path.join(__dirname, "libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node");
|
|
306
|
-
path.join(process.cwd(), "mods/identity/src/generated/@prisma/client/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node")
|
|
307
|
-
|
|
308
|
-
// file annotations for bundling tools to include these files
|
|
309
|
-
path.join(__dirname, "libquery_engine-linux-musl-openssl-3.0.x.so.node");
|
|
310
|
-
path.join(process.cwd(), "mods/identity/src/generated/@prisma/client/libquery_engine-linux-musl-openssl-3.0.x.so.node")
|
|
311
287
|
// file annotations for bundling tools to include these files
|
|
312
288
|
path.join(__dirname, "schema.prisma");
|
|
313
289
|
path.join(process.cwd(), "mods/identity/src/generated/@prisma/client/schema.prisma")
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
generator client {
|
|
2
|
-
provider
|
|
3
|
-
output
|
|
4
|
-
binaryTargets = ["native", "linux-arm64-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x", "linux-musl-openssl-3.0.x"]
|
|
2
|
+
provider = "prisma-client-js"
|
|
3
|
+
output = "src/generated/@prisma/client"
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
datasource db {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/identity",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.17",
|
|
4
4
|
"description": "Identity service for Fonoster",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"fonoster": "./dist/index.js"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@fonoster/common": "^0.8.
|
|
24
|
-
"@fonoster/logger": "^0.8.
|
|
25
|
-
"@fonoster/types": "^0.8.
|
|
23
|
+
"@fonoster/common": "^0.8.17",
|
|
24
|
+
"@fonoster/logger": "^0.8.17",
|
|
25
|
+
"@fonoster/types": "^0.8.17",
|
|
26
26
|
"@grpc/grpc-js": "~1.10.6",
|
|
27
27
|
"@prisma/client": "^6.0.1",
|
|
28
28
|
"jsonwebtoken": "^9.0.2",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/jsonwebtoken": "^9.0.6"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "eac9001f42d1d4fc953488c936cc049da39661ae"
|
|
52
52
|
}
|
|
Binary file
|
|
Binary file
|