@optimatech88/titomeet-shared-lib 1.0.49 → 1.0.50

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": "@optimatech88/titomeet-shared-lib",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -0,0 +1,7 @@
1
+ -- CreateEnum
2
+ CREATE TYPE "public"."EventType" AS ENUM ('IN_PERSON', 'ONLINE');
3
+
4
+ -- AlterTable
5
+ ALTER TABLE "public"."Event" ADD COLUMN "onlineLink" TEXT,
6
+ ADD COLUMN "onlinePassword" TEXT,
7
+ ADD COLUMN "type" "public"."EventType" NOT NULL DEFAULT 'IN_PERSON';
@@ -113,6 +113,14 @@ model Event {
113
113
  categories EventCategory[] @relation("EventToEventCategory")
114
114
  providers ProviderOnEvent[]
115
115
  remainingSeats Int @default(0)
116
+ type EventType @default(IN_PERSON)
117
+ onlineLink String?
118
+ onlinePassword String?
119
+ }
120
+
121
+ enum EventType {
122
+ IN_PERSON
123
+ ONLINE
116
124
  }
117
125
 
118
126
  model EventPrice {