diff --git a/.changeset/add-entity-id-relation-filter.md b/.changeset/add-entity-id-relation-filter.md new file mode 100644 index 00000000..a0c2fe11 --- /dev/null +++ b/.changeset/add-entity-id-relation-filter.md @@ -0,0 +1,5 @@ +--- +"@graphprotocol/hypergraph": minor +--- + +add entityId filter for relation and backlink fields diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 9358046e..5de25639 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -15,7 +15,12 @@ "Bash(node -e:*)", "Bash(pnpm build:*)", "mcp__chrome-devtools__list_pages", - "Bash(pnpm lint:*)" + "Bash(pnpm lint:*)", + "Bash(npx @tanstack/router-cli generate:*)", + "mcp__chrome-devtools__navigate_page", + "mcp__chrome-devtools__list_network_requests", + "mcp__chrome-devtools__get_network_request", + "mcp__chrome-devtools__evaluate_script" ], "deny": [], "ask": [] diff --git a/apps/events/src/routeTree.gen.ts b/apps/events/src/routeTree.gen.ts index 2e315526..b5ea8889 100644 --- a/apps/events/src/routeTree.gen.ts +++ b/apps/events/src/routeTree.gen.ts @@ -27,6 +27,7 @@ const PodcastsInfiniteLazyRouteImport = createFileRoute('/podcasts-infinite')() const PodcastsLazyRouteImport = createFileRoute('/podcasts')() const PlaygroundLazyRouteImport = createFileRoute('/playground')() const LoginLazyRouteImport = createFileRoute('/login')() +const BountiesLazyRouteImport = createFileRoute('/bounties')() const PodcastsInfiniteLazyRoute = PodcastsInfiniteLazyRouteImport.update({ id: '/podcasts-infinite', @@ -50,6 +51,11 @@ const LoginLazyRoute = LoginLazyRouteImport.update({ path: '/login', getParentRoute: () => rootRouteImport, } as any).lazy(() => import('./routes/login.lazy').then((d) => d.Route)) +const BountiesLazyRoute = BountiesLazyRouteImport.update({ + id: '/bounties', + path: '/bounties', + getParentRoute: () => rootRouteImport, +} as any).lazy(() => import('./routes/bounties.lazy').then((d) => d.Route)) const AuthenticateSuccessRoute = AuthenticateSuccessRouteImport.update({ id: '/authenticate-success', path: '/authenticate-success', @@ -110,6 +116,7 @@ const SpaceSpaceIdChatRoute = SpaceSpaceIdChatRouteImport.update({ export interface FileRoutesByFullPath { '/': typeof IndexRoute '/authenticate-success': typeof AuthenticateSuccessRoute + '/bounties': typeof BountiesLazyRoute '/login': typeof LoginLazyRoute '/playground': typeof PlaygroundLazyRoute '/podcasts': typeof PodcastsLazyRoute @@ -127,6 +134,7 @@ export interface FileRoutesByFullPath { export interface FileRoutesByTo { '/': typeof IndexRoute '/authenticate-success': typeof AuthenticateSuccessRoute + '/bounties': typeof BountiesLazyRoute '/login': typeof LoginLazyRoute '/playground': typeof PlaygroundLazyRoute '/podcasts': typeof PodcastsLazyRoute @@ -144,6 +152,7 @@ export interface FileRoutesById { __root__: typeof rootRouteImport '/': typeof IndexRoute '/authenticate-success': typeof AuthenticateSuccessRoute + '/bounties': typeof BountiesLazyRoute '/login': typeof LoginLazyRoute '/playground': typeof PlaygroundLazyRoute '/podcasts': typeof PodcastsLazyRoute @@ -163,6 +172,7 @@ export interface FileRouteTypes { fullPaths: | '/' | '/authenticate-success' + | '/bounties' | '/login' | '/playground' | '/podcasts' @@ -180,6 +190,7 @@ export interface FileRouteTypes { to: | '/' | '/authenticate-success' + | '/bounties' | '/login' | '/playground' | '/podcasts' @@ -196,6 +207,7 @@ export interface FileRouteTypes { | '__root__' | '/' | '/authenticate-success' + | '/bounties' | '/login' | '/playground' | '/podcasts' @@ -214,6 +226,7 @@ export interface FileRouteTypes { export interface RootRouteChildren { IndexRoute: typeof IndexRoute AuthenticateSuccessRoute: typeof AuthenticateSuccessRoute + BountiesLazyRoute: typeof BountiesLazyRoute LoginLazyRoute: typeof LoginLazyRoute PlaygroundLazyRoute: typeof PlaygroundLazyRoute PodcastsLazyRoute: typeof PodcastsLazyRoute @@ -253,6 +266,13 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof LoginLazyRouteImport parentRoute: typeof rootRouteImport } + '/bounties': { + id: '/bounties' + path: '/bounties' + fullPath: '/bounties' + preLoaderRoute: typeof BountiesLazyRouteImport + parentRoute: typeof rootRouteImport + } '/authenticate-success': { id: '/authenticate-success' path: '/authenticate-success' @@ -358,6 +378,7 @@ const SpaceSpaceIdRouteWithChildren = SpaceSpaceIdRoute._addFileChildren( const rootRouteChildren: RootRouteChildren = { IndexRoute: IndexRoute, AuthenticateSuccessRoute: AuthenticateSuccessRoute, + BountiesLazyRoute: BountiesLazyRoute, LoginLazyRoute: LoginLazyRoute, PlaygroundLazyRoute: PlaygroundLazyRoute, PodcastsLazyRoute: PodcastsLazyRoute, diff --git a/apps/events/src/routes/__root.tsx b/apps/events/src/routes/__root.tsx index 282f24fe..3f99c313 100644 --- a/apps/events/src/routes/__root.tsx +++ b/apps/events/src/routes/__root.tsx @@ -33,6 +33,9 @@ export const Route = createRootRoute({