From 9c4c1df45eb262fc6638f2933df732e82cbd348c Mon Sep 17 00:00:00 2001 From: Mido Date: Sun, 20 Oct 2024 06:26:16 +0900 Subject: [PATCH] new mock configuration --- apps/frontend/src/app/routes/mock.tsx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/app/routes/mock.tsx b/apps/frontend/src/app/routes/mock.tsx index 07b8584..d12a373 100644 --- a/apps/frontend/src/app/routes/mock.tsx +++ b/apps/frontend/src/app/routes/mock.tsx @@ -20,7 +20,14 @@ import { useState } from "react"; import { MockServerConnectionCard } from "../components/mock-server/MockServerConnectionCard"; // Code from apps/frontend/src/app/routes/mock.tsx -type GenerationKindStart = "all-random" | "gen-random" | "column-seq" | "column-seq-reverse" | "column-group-shuffle"; +type GenerationKindStart = + | "all-random" + | "gen-random" + | "column-seq" + | "column-seq-reverse" + | "column-group-shuffle" + | "random-area-reverse" + | "block-swap"; const generationKindStarts: GenerationKindStart[] = [ "all-random", @@ -28,6 +35,8 @@ const generationKindStarts: GenerationKindStart[] = [ "column-seq", "column-seq-reverse", "column-group-shuffle", + "random-area-reverse", + "block-swap", ] as const; type GenerationKindGoal = @@ -38,7 +47,9 @@ type GenerationKindGoal = | "column-seq" | "column-seq-reverse" | "partial-single-swap" - | "partial-block-swap"; + | "partial-block-swap" + | "random-area-reverse" + | "block-swap"; const generationKindGoals: GenerationKindGoal[] = [ "all-random", @@ -49,6 +60,8 @@ const generationKindGoals: GenerationKindGoal[] = [ "column-seq-reverse", "partial-single-swap", "partial-block-swap", + "random-area-reverse", + "block-swap", ] as const; export default function Page() {