Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
feat: Keep only the sales engagement apis
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Feb 14, 2024
1 parent 684964a commit 60cc734
Show file tree
Hide file tree
Showing 29 changed files with 16 additions and 3,894 deletions.
6 changes: 0 additions & 6 deletions main/app/api/inngest/route.ts

This file was deleted.

1 change: 0 additions & 1 deletion main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"@opensdks/sdk-nango": "0.0.2",
"@supaglue/api": "workspace:*",
"@supaglue/sdk": "workspace:*",
"@supaglue/worker": "workspace:*",
"@t3-oss/env-nextjs": "0.7.3",
"next": "14.0.3",
"react": "^18",
Expand Down
2 changes: 0 additions & 2 deletions packages/api/appRouter.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {generateOpenApiDocument} from '@lilyrose2798/trpc-openapi'
import {publicProcedure, trpc, z} from '@supaglue/vdk'
import {crmRouter} from '@supaglue/vertical-crm'
import {salesEngagementRouter} from '@supaglue/vertical-sales-engagement'

const publicRouter = trpc.router({
Expand All @@ -25,7 +24,6 @@ const publicRouter = trpc.router({
export const appRouter = trpc.router({
public: publicRouter,
salesEngagement: salesEngagementRouter,
crm: crmRouter,
})

export function getOpenAPISpec() {
Expand Down
11 changes: 1 addition & 10 deletions packages/api/createContext.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import type {RouterContext} from '@supaglue/vdk'
import {
hubspotProvider,
msDynamics365SalesProvider,
pipedriveProvider,
salesforceProvider,
} from '@supaglue/vertical-crm'

import {
apolloProvider,
outreachProvider,
Expand All @@ -15,10 +10,6 @@ const providerByName = {
apollo: apolloProvider,
salesloft: salesloftProvider,
outreach: outreachProvider,
hubspot: hubspotProvider,
salesforce: salesforceProvider,
pipedrive: pipedriveProvider,
ms_dynamics_365_sales: msDynamics365SalesProvider,
}

export function createContext(
Expand Down
1 change: 0 additions & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"dependencies": {
"@lilyrose2798/trpc-openapi": "1.3.10",
"@opensdks/runtime": "0.0.17",
"@supaglue/vertical-crm": "workspace:*",
"@supaglue/vertical-sales-engagement": "workspace:*"
},
"devDependencies": {
Expand Down
18 changes: 0 additions & 18 deletions packages/worker/cli.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/worker/env.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/worker/events.ts

This file was deleted.

11 changes: 0 additions & 11 deletions packages/worker/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/worker/inngest/client.ts

This file was deleted.

14 changes: 0 additions & 14 deletions packages/worker/inngest/functions.ts

This file was deleted.

22 changes: 0 additions & 22 deletions packages/worker/package.json

This file was deleted.

10 changes: 0 additions & 10 deletions packages/worker/postgres/index.ts

This file was deleted.

91 changes: 0 additions & 91 deletions packages/worker/postgres/schema-factory.ts

This file was deleted.

51 changes: 0 additions & 51 deletions packages/worker/postgres/schema.ts

This file was deleted.

Loading

0 comments on commit 60cc734

Please sign in to comment.