App reorganization

This commit is contained in:
adilallo
2026-04-18 14:12:49 -06:00
parent f866d11ff8
commit e9dab04b34
288 changed files with 2698 additions and 5029 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import type { CreateFlowState } from "../../app/create/types";
import type { CreateFlowState } from "../../app/(app)/create/types";
import { migrateLegacyCreateFlowState } from "./migrateLegacyCreateFlowState";
const jsonHeaders = { "Content-Type": "application/json" };
+1 -1
View File
@@ -1,4 +1,4 @@
import type { CoreValueDetailEntry, CreateFlowState } from "../../app/create/types";
import type { CoreValueDetailEntry, CreateFlowState } from "../../app/(app)/create/types";
import type { CommunityRuleDocumentSection } from "../../app/components/sections/CommunityRuleDocument/CommunityRuleDocument.types";
function isDocumentEntry(x: unknown): x is { title: string; body: string } {
+1 -1
View File
@@ -1,4 +1,4 @@
import type { CreateFlowState } from "../../app/create/types";
import type { CreateFlowState } from "../../app/(app)/create/types";
/** True when the client should treat a draft payload as non-empty for hydration / conflict checks. */
export function createFlowStateHasKeys(state: CreateFlowState): boolean {
+1 -1
View File
@@ -1,4 +1,4 @@
import type { CreateFlowState } from "../../app/create/types";
import type { CreateFlowState } from "../../app/(app)/create/types";
/** Legacy `currentStep` values mapped to the current `CreateFlowStep` id. */
const LEGACY_CREATE_FLOW_STEP_RENAMES: Readonly<Record<string, string>> = {