Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(profile-ui): align invitation route prop types

Josué0d380cd24e0e
diff --git a/profile-ui/AGENTS.md b/profile-ui/AGENTS.md
index a83374fea..f7a294bf3 100644
--- a/profile-ui/AGENTS.md
+++ b/profile-ui/AGENTS.md
@@ -8,3 +8,13 @@ provider-neutral documents:
This file is a discovery adapter only. The linked documents own the semantics
for this scope.
+
+<!-- BEGIN:nextjs-agent-rules -->
+
+# This is NOT the Next.js you know
+
+This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.
+
+This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.
+
+<!-- END:nextjs-agent-rules -->
diff --git a/profile-ui/app/invitations/[token]/types.ts b/profile-ui/app/invitations/[token]/types.ts
index 9c0e44637..6e76cd3bf 100644
--- a/profile-ui/app/invitations/[token]/types.ts
+++ b/profile-ui/app/invitations/[token]/types.ts
@@ -7,6 +7,6 @@ export type InvitationClientProps = {
}
export type InvitationPageProps = {
- params: Promise<{ token?: string }> | { token?: string }
- searchParams?: Promise<{ error?: string }> | { error?: string }
+ params: Promise<{ token: string }>
+ searchParams?: Promise<Record<string, string | string[] | undefined>>
}
diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.json
index 8807d1e57..23fd58353 100644
--- a/profile-ui/package-lock.json
+++ b/profile-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.170",
+ "version": "0.1.171",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-profile-ui",
- "version": "0.1.170",
+ "version": "0.1.171",
"dependencies": {
"@clerum/desktop-app-links": "file:../packages/desktop-app-links",
"@clerum/frontend-components": "file:../packages/frontend-components",
diff --git a/profile-ui/package.json b/profile-ui/package.json
index 1ffccabe9..9ca20129c 100644
--- a/profile-ui/package.json
+++ b/profile-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.170",
+ "version": "0.1.171",
"private": true,
"scripts": {
"dev": "next dev",