@optimatech88/titomeet-shared-lib 1.0.35 → 1.0.36
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/.github/workflows/npm-publish.yml +34 -0
- package/dist/auth/auth.guard.d.ts.map +1 -1
- package/dist/auth/auth.guard.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +44 -44
- package/prisma/schema.prisma +369 -339
- package/src/auth/auth.guard.ts +1 -0
- package/src/index.ts +0 -3
- package/prisma/migrations/20250320090311_save_data/migration.sql +0 -284
- package/prisma/migrations/20250327150554_added_provider_category/migration.sql +0 -46
- package/prisma/migrations/20250401154936_updates/migration.sql +0 -79
- package/prisma/migrations/20250401164742_added_orders/migration.sql +0 -143
- package/prisma/migrations/20250504144629_update_chat/migration.sql +0 -44
- package/prisma/migrations/20250528182042_updated_user_model/migration.sql +0 -11
- package/prisma/migrations/20250530152731_updated_model/migration.sql +0 -1
- package/prisma/migrations/20250530152845_updated_model/migration.sql +0 -1
- package/prisma/migrations/20250604094431_added_user_interests/migration.sql +0 -16
- package/prisma/migrations/20250604105002_added_category_children/migration.sql +0 -31
- package/prisma/migrations/20250611180441_added_chat_files/migration.sql +0 -11
- package/prisma/migrations/20250617111807_updated_notification_type/migration.sql +0 -13
- package/prisma/migrations/20250716081532_added_newslettter/migration.sql +0 -13
- package/prisma/migrations/migration_lock.toml +0 -3
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `interests` on the `UserInterests` table. All the data in the column will be lost.
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
-- AlterTable
|
|
8
|
-
ALTER TABLE "EventCategory" ADD COLUMN "parentId" TEXT;
|
|
9
|
-
|
|
10
|
-
-- AlterTable
|
|
11
|
-
ALTER TABLE "UserInterests" DROP COLUMN "interests";
|
|
12
|
-
|
|
13
|
-
-- CreateTable
|
|
14
|
-
CREATE TABLE "_EventCategoryToUserInterests" (
|
|
15
|
-
"A" TEXT NOT NULL,
|
|
16
|
-
"B" TEXT NOT NULL,
|
|
17
|
-
|
|
18
|
-
CONSTRAINT "_EventCategoryToUserInterests_AB_pkey" PRIMARY KEY ("A","B")
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
-- CreateIndex
|
|
22
|
-
CREATE INDEX "_EventCategoryToUserInterests_B_index" ON "_EventCategoryToUserInterests"("B");
|
|
23
|
-
|
|
24
|
-
-- AddForeignKey
|
|
25
|
-
ALTER TABLE "EventCategory" ADD CONSTRAINT "EventCategory_parentId_fkey" FOREIGN KEY ("parentId") REFERENCES "EventCategory"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
|
26
|
-
|
|
27
|
-
-- AddForeignKey
|
|
28
|
-
ALTER TABLE "_EventCategoryToUserInterests" ADD CONSTRAINT "_EventCategoryToUserInterests_A_fkey" FOREIGN KEY ("A") REFERENCES "EventCategory"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
|
29
|
-
|
|
30
|
-
-- AddForeignKey
|
|
31
|
-
ALTER TABLE "_EventCategoryToUserInterests" ADD CONSTRAINT "_EventCategoryToUserInterests_B_fkey" FOREIGN KEY ("B") REFERENCES "UserInterests"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Warnings:
|
|
3
|
-
|
|
4
|
-
- You are about to drop the column `mediaType` on the `Message` table. All the data in the column will be lost.
|
|
5
|
-
- You are about to drop the column `mediaUrl` on the `Message` table. All the data in the column will be lost.
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
-- AlterTable
|
|
9
|
-
ALTER TABLE "Message" DROP COLUMN "mediaType",
|
|
10
|
-
DROP COLUMN "mediaUrl",
|
|
11
|
-
ADD COLUMN "files" JSONB;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
-- AlterEnum
|
|
2
|
-
-- This migration adds more than one value to an enum.
|
|
3
|
-
-- With PostgreSQL versions 11 and earlier, this is not possible
|
|
4
|
-
-- in a single migration. This can be worked around by creating
|
|
5
|
-
-- multiple migrations, each migration adding only one value to
|
|
6
|
-
-- the enum.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
ALTER TYPE "NotificationType" ADD VALUE 'EVENT_VALIDATION';
|
|
10
|
-
ALTER TYPE "NotificationType" ADD VALUE 'EVENT_REJECTION';
|
|
11
|
-
ALTER TYPE "NotificationType" ADD VALUE 'EVENT_ASSIGNMENT';
|
|
12
|
-
ALTER TYPE "NotificationType" ADD VALUE 'EVENT_ASSIGNMENT_APPROVAL';
|
|
13
|
-
ALTER TYPE "NotificationType" ADD VALUE 'EVENT_ASSIGNMENT_REJECTION';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
-- CreateTable
|
|
2
|
-
CREATE TABLE "Newsletter" (
|
|
3
|
-
"id" TEXT NOT NULL,
|
|
4
|
-
"email" TEXT NOT NULL,
|
|
5
|
-
"unsubscribedAt" TIMESTAMP(3),
|
|
6
|
-
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
7
|
-
"updatedAt" TIMESTAMP(3) NOT NULL,
|
|
8
|
-
|
|
9
|
-
CONSTRAINT "Newsletter_pkey" PRIMARY KEY ("id")
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
-- CreateIndex
|
|
13
|
-
CREATE UNIQUE INDEX "Newsletter_email_key" ON "Newsletter"("email");
|