Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat(trigger): remove trigger v2
Marc Seitzffdc9a454799
diff --git a/pages/api/teams/[teamId]/documents/[id]/versions/index.ts b/pages/api/teams/[teamId]/documents/[id]/versions/index.tsindex ecc1cab2..f8ce555c 100644--- a/pages/api/teams/[teamId]/documents/[id]/versions/index.ts+++ b/pages/api/teams/[teamId]/documents/[id]/versions/index.ts@@ -1,7 +1,6 @@import { NextApiRequest, NextApiResponse } from "next";import { authOptions } from "@/pages/api/auth/[...nextauth]";-import { client } from "@/trigger";import { DocumentStorageType } from "@prisma/client";import { getServerSession } from "next-auth/next";diff --git a/pages/api/teams/[teamId]/documents/agreement.ts b/pages/api/teams/[teamId]/documents/agreement.tsindex eef61587..c7460117 100644--- a/pages/api/teams/[teamId]/documents/agreement.ts+++ b/pages/api/teams/[teamId]/documents/agreement.ts@@ -1,6 +1,5 @@import { NextApiRequest, NextApiResponse } from "next";-import { client } from "@/trigger";import { DocumentStorageType } from "@prisma/client";import { getServerSession } from "next-auth/next";import { parsePageId } from "notion-utils";diff --git a/pages/api/teams/[teamId]/documents/index.ts b/pages/api/teams/[teamId]/documents/index.tsindex cdd5cc54..a65405c0 100644--- a/pages/api/teams/[teamId]/documents/index.ts+++ b/pages/api/teams/[teamId]/documents/index.ts@@ -1,7 +1,6 @@import { NextApiRequest, NextApiResponse } from "next";import { authOptions } from "@/pages/api/auth/[...nextauth]";-import { client } from "@/trigger";import { DocumentStorageType, Prisma } from "@prisma/client";import { getServerSession } from "next-auth/next";import { parsePageId } from "notion-utils";