mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-19 06:07:12 +02:00
Merge main into proxy branch (formatting and docs)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { createFileRoute } from '@tanstack/react-router';
|
||||
import { Workspace } from '../../../components/Workspace';
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
import { Workspace } from "../../../components/Workspace";
|
||||
|
||||
type WorkspaceSearchSchema = {
|
||||
environment_id?: string | null;
|
||||
@@ -11,14 +11,14 @@ type WorkspaceSearchSchema = {
|
||||
| {
|
||||
folder_id: string;
|
||||
}
|
||||
// biome-ignore lint/complexity/noBannedTypes: Needed to support empty
|
||||
// oxlint-disable-next-line no-restricted-types -- Needed to support empty
|
||||
| {}
|
||||
);
|
||||
|
||||
export const Route = createFileRoute('/workspaces/$workspaceId/')({
|
||||
export const Route = createFileRoute("/workspaces/$workspaceId/")({
|
||||
component: RouteComponent,
|
||||
validateSearch: (search: Record<string, unknown>): WorkspaceSearchSchema => {
|
||||
const base: Pick<WorkspaceSearchSchema, 'environment_id' | 'cookie_jar_id'> = {
|
||||
const base: Pick<WorkspaceSearchSchema, "environment_id" | "cookie_jar_id"> = {
|
||||
environment_id: search.environment_id as string,
|
||||
cookie_jar_id: search.cookie_jar_id as string,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user