diff --git a/apps/events/package.json b/apps/events/package.json index 57129990..7b3a956c 100644 --- a/apps/events/package.json +++ b/apps/events/package.json @@ -14,7 +14,7 @@ "dependencies": { "@automerge/automerge": "^2.2.8", "@automerge/automerge-repo-react-hooks": "^1.2.1", - "@effect/schema": "^0.74.2", + "effect": "^3.10.12", "@noble/hashes": "^1.5.0", "@privy-io/react-auth": "^1.88.4", "@radix-ui/react-avatar": "^1.1.1", diff --git a/apps/events/src/routeTree.gen.ts b/apps/events/src/routeTree.gen.ts index a4919381..019c5c44 100644 --- a/apps/events/src/routeTree.gen.ts +++ b/apps/events/src/routeTree.gen.ts @@ -1,12 +1,12 @@ -/* prettier-ignore-start */ - /* eslint-disable */ // @ts-nocheck // noinspection JSUnusedGlobalSymbols -// This file is auto-generated by TanStack Router +// This file was automatically generated by TanStack Router. +// You should NOT make any changes in this file as it will be overwritten. +// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. import { createFileRoute } from '@tanstack/react-router' @@ -14,6 +14,7 @@ import { createFileRoute } from '@tanstack/react-router' import { Route as rootRoute } from './routes/__root' import { Route as Schema2Import } from './routes/schema2' +import { Route as PlaygroundImport } from './routes/playground' import { Route as IndexImport } from './routes/index' import { Route as SpaceSpaceIdImport } from './routes/space/$spaceId' import { Route as SpaceOldSpaceIdImport } from './routes/space-old/$spaceId' @@ -26,31 +27,43 @@ const LoginLazyImport = createFileRoute('/login')() // Create/Update Routes const Login2LazyRoute = Login2LazyImport.update({ + id: '/login2', path: '/login2', getParentRoute: () => rootRoute, } as any).lazy(() => import('./routes/login2.lazy').then((d) => d.Route)) const LoginLazyRoute = LoginLazyImport.update({ + id: '/login', path: '/login', getParentRoute: () => rootRoute, } as any).lazy(() => import('./routes/login.lazy').then((d) => d.Route)) const Schema2Route = Schema2Import.update({ + id: '/schema2', path: '/schema2', getParentRoute: () => rootRoute, } as any) +const PlaygroundRoute = PlaygroundImport.update({ + id: '/playground', + path: '/playground', + getParentRoute: () => rootRoute, +} as any) + const IndexRoute = IndexImport.update({ + id: '/', path: '/', getParentRoute: () => rootRoute, } as any) const SpaceSpaceIdRoute = SpaceSpaceIdImport.update({ + id: '/space/$spaceId', path: '/space/$spaceId', getParentRoute: () => rootRoute, } as any) const SpaceOldSpaceIdRoute = SpaceOldSpaceIdImport.update({ + id: '/space-old/$spaceId', path: '/space-old/$spaceId', getParentRoute: () => rootRoute, } as any) @@ -66,6 +79,13 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof IndexImport parentRoute: typeof rootRoute } + '/playground': { + id: '/playground' + path: '/playground' + fullPath: '/playground' + preLoaderRoute: typeof PlaygroundImport + parentRoute: typeof rootRoute + } '/schema2': { id: '/schema2' path: '/schema2' @@ -108,6 +128,7 @@ declare module '@tanstack/react-router' { export interface FileRoutesByFullPath { '/': typeof IndexRoute + '/playground': typeof PlaygroundRoute '/schema2': typeof Schema2Route '/login': typeof LoginLazyRoute '/login2': typeof Login2LazyRoute @@ -117,6 +138,7 @@ export interface FileRoutesByFullPath { export interface FileRoutesByTo { '/': typeof IndexRoute + '/playground': typeof PlaygroundRoute '/schema2': typeof Schema2Route '/login': typeof LoginLazyRoute '/login2': typeof Login2LazyRoute @@ -127,6 +149,7 @@ export interface FileRoutesByTo { export interface FileRoutesById { __root__: typeof rootRoute '/': typeof IndexRoute + '/playground': typeof PlaygroundRoute '/schema2': typeof Schema2Route '/login': typeof LoginLazyRoute '/login2': typeof Login2LazyRoute @@ -138,6 +161,7 @@ export interface FileRouteTypes { fileRoutesByFullPath: FileRoutesByFullPath fullPaths: | '/' + | '/playground' | '/schema2' | '/login' | '/login2' @@ -146,6 +170,7 @@ export interface FileRouteTypes { fileRoutesByTo: FileRoutesByTo to: | '/' + | '/playground' | '/schema2' | '/login' | '/login2' @@ -154,6 +179,7 @@ export interface FileRouteTypes { id: | '__root__' | '/' + | '/playground' | '/schema2' | '/login' | '/login2' @@ -164,6 +190,7 @@ export interface FileRouteTypes { export interface RootRouteChildren { IndexRoute: typeof IndexRoute + PlaygroundRoute: typeof PlaygroundRoute Schema2Route: typeof Schema2Route LoginLazyRoute: typeof LoginLazyRoute Login2LazyRoute: typeof Login2LazyRoute @@ -173,6 +200,7 @@ export interface RootRouteChildren { const rootRouteChildren: RootRouteChildren = { IndexRoute: IndexRoute, + PlaygroundRoute: PlaygroundRoute, Schema2Route: Schema2Route, LoginLazyRoute: LoginLazyRoute, Login2LazyRoute: Login2LazyRoute, @@ -184,8 +212,6 @@ export const routeTree = rootRoute ._addFileChildren(rootRouteChildren) ._addFileTypes() -/* prettier-ignore-end */ - /* ROUTE_MANIFEST_START { "routes": { @@ -193,6 +219,7 @@ export const routeTree = rootRoute "filePath": "__root.tsx", "children": [ "/", + "/playground", "/schema2", "/login", "/login2", @@ -203,6 +230,9 @@ export const routeTree = rootRoute "/": { "filePath": "index.tsx" }, + "/playground": { + "filePath": "playground.tsx" + }, "/schema2": { "filePath": "schema2.tsx" }, diff --git a/apps/events/src/routes/__root.tsx b/apps/events/src/routes/__root.tsx index 931ed697..1ae1936a 100644 --- a/apps/events/src/routes/__root.tsx +++ b/apps/events/src/routes/__root.tsx @@ -11,7 +11,14 @@ export const Route = createRootRoute({ Acme Events +