
* Type fixes * Type fixes * Attemp to prevent unknown error in prod * Type fixes * Type fixes for onboarding * Extracts ConnectIntegration * Extracts IntegrationListItem * Extracts CalendarsList * Uses CalendarList on onboarding * Removes deprecated Alert * Extracts DisconnectIntegration * Extracts CalendarSwitch * Extracts ConnectedCalendarsList * Extracted connectedCalendar logic for reuse * Extracted SubHeadingTitleWithConnections * Type fixes * Fetched connected calendars in onboarding * Refreshes data on when adding/removing calendars on onboarding * Removed testing code * Type fixes * Feedback * Moved integration helpers * I was sleepy Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
21 lines
383 B
TypeScript
21 lines
383 B
TypeScript
import prisma from "@lib/prisma";
|
|
|
|
import { createSSGHelpers } from "@trpc/react/ssg";
|
|
|
|
import { appRouter } from "./routers/_app";
|
|
|
|
export const ssg = createSSGHelpers({
|
|
router: appRouter,
|
|
ctx: {
|
|
prisma,
|
|
session: null,
|
|
user: null,
|
|
i18n: {
|
|
_nextI18Next: {
|
|
initialI18nStore: null,
|
|
userConfig: null,
|
|
},
|
|
},
|
|
locale: "en",
|
|
},
|
|
});
|