App reorganization
This commit is contained in:
+1
-1
@@ -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,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,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,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>> = {
|
||||
|
||||
Reference in New Issue
Block a user