* feat: implement Trello integration with OAuth and user fields * feat: migrate Trello integration to new integrations table * refactor: migrate Trello integration to use new integration system * refactor: migrate Trello integration to use new integrations table * fix: add loading check for Trello integration and update VSCode settings * feat: enhance import boards UI with dynamic integration providers and local storage config * feat: add select/unselect all buttons and loading state to board import form * feat: add Trello import env vars on README * docs: update Trello import guide to use OAuth flow instead of API keys * feat: add integrations table for OAuth token management * feat: connect trello from import modal * refactor: consolidate Trello integration endpoints into unified integration router * fix: trello import again * refactor: generalize integration authorization flow and improve error handling * refactor: update Trello API endpoints and tags for better organization * feat: add Integrations tag to OpenAPI specification * refactor: update Trello auth endpoint to use generic integration provider param * refactor: move Trello integration logic from trello.ts to import.ts router * refactor: consolidate Trello integration endpoints and fix API URL * chore: remove debug logs --------- Co-authored-by: Henry <henry_ball@hotmail.co.uk>
27 lines
873 B
TypeScript
27 lines
873 B
TypeScript
import { boardRouter } from "./routers/board";
|
|
import { cardRouter } from "./routers/card";
|
|
import { feedbackRouter } from "./routers/feedback";
|
|
import { importRouter } from "./routers/import";
|
|
import { integrationRouter } from "./routers/integration";
|
|
import { labelRouter } from "./routers/label";
|
|
import { listRouter } from "./routers/list";
|
|
import { memberRouter } from "./routers/member";
|
|
import { userRouter } from "./routers/user";
|
|
import { workspaceRouter } from "./routers/workspace";
|
|
import { createTRPCRouter } from "./trpc";
|
|
|
|
export const appRouter = createTRPCRouter({
|
|
board: boardRouter,
|
|
card: cardRouter,
|
|
feedback: feedbackRouter,
|
|
label: labelRouter,
|
|
list: listRouter,
|
|
member: memberRouter,
|
|
import: importRouter,
|
|
user: userRouter,
|
|
workspace: workspaceRouter,
|
|
integration: integrationRouter,
|
|
});
|
|
|
|
export type AppRouter = typeof appRouter;
|