@campus-labs/prisma-client 0.15.1 → 0.16.0

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.
@@ -0,0 +1,11 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(ls -la /Users/nunomatos/Desktop/SerMais/prisma/.env*)",
5
+ "Bash(git check-ignore -v /Users/nunomatos/Desktop/SerMais/prisma/.env.staging)",
6
+ "Bash(git check-ignore -v .env.staging)",
7
+ "Bash(ls -la /Users/nunomatos/Desktop/SerMais/prisma/*.ts /Users/nunomatos/Desktop/SerMais/prisma/*.js)",
8
+ "Bash(grep -r \"\\\\.password\" /Users/nunomatos/Desktop/SerMais --include=\"*.ts\" --include=\"*.js\" ! -path \"*/node_modules/*\" ! -path \"*/.next/*\" ! -path \"*/dist/*\")"
9
+ ]
10
+ }
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campus-labs/prisma-client",
3
- "version": "0.15.1",
3
+ "version": "0.16.0",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -23,7 +23,7 @@ model badges {
23
23
  id Int @id @default(autoincrement())
24
24
  title String @db.VarChar(100)
25
25
  description String? @db.VarChar(1000)
26
- condition String @db.VarChar(1000)
26
+ criteria String[] @db.VarChar(500)
27
27
  img Json
28
28
  points Int
29
29
  fields Json?
@@ -48,7 +48,7 @@ model badges_instances {
48
48
  id Int @id @default(autoincrement())
49
49
  title String @db.VarChar(100)
50
50
  description String? @db.VarChar(1000)
51
- condition String @db.VarChar(1000)
51
+ criteria String[] @db.VarChar(500)
52
52
  img Json
53
53
  points Int
54
54
  fields Json?
@@ -127,8 +127,8 @@ model initiatives {
127
127
  created_at DateTime @default(now()) @db.Timestamp(6)
128
128
  updated_at DateTime @default(now()) @db.Timestamp(6)
129
129
  deleted_at DateTime? @db.Timestamp(6)
130
- location Json?
131
- isPresential Boolean
130
+ location String? @db.VarChar(1000)
131
+ attendance_mode String? @db.VarChar(20)
132
132
  volunteers_allowed Boolean @default(false)
133
133
  project_id Int?
134
134
  badges badges[]