♻️ Deprecate calendar firstdayofweek option

This commit is contained in:
Meier Lukas
2023-08-06 16:00:40 +02:00
parent 65cd15aba5
commit 3e4c9cdc3d
4 changed files with 19 additions and 20 deletions

View File

@@ -5,11 +5,12 @@
* We also create a few inference helpers for input and output types.
*/
import { createTRPCProxyClient, httpBatchLink, loggerLink } from '@trpc/client';
import { createTRPCNext } from '@trpc/next';
import { WithTRPCConfig, createTRPCNext } from '@trpc/next';
import { type inferRouterInputs, type inferRouterOutputs } from '@trpc/server';
import superjson from 'superjson';
import { env } from '~/env';
import { type RootRouter } from '~/server/api/root';
import { queryClient } from '~/tools/server/configurations/tanstack/queryClient.tool';
const getTrpcConfiguration = () => ({
/**
@@ -34,6 +35,7 @@ const getTrpcConfiguration = () => ({
url: `${getBaseUrl()}/api/trpc`,
}),
],
queryClient,
});
const getBaseUrl = () => {