mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-27 11:07:03 +02:00
Run oxfmt across repo, add format script and docs
Add .oxfmtignore to skip generated bindings and wasm-pack output. Add npm format script, update DEVELOPMENT.md for Vite+ toolchain, and format all non-generated files with oxfmt. 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;
|
||||
@@ -15,10 +15,10 @@ type WorkspaceSearchSchema = {
|
||||
| {}
|
||||
);
|
||||
|
||||
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