Update creation flow refactor docs and auth test fixtures

This commit is contained in:
2026-04-21 11:19:25 +08:00
parent 13bc79306f
commit 04bff9617d
37 changed files with 488 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
import type { ComponentProps } from 'react';
import { PreGameSelectionFlow } from '../PreGameSelectionFlow';
/**
* 工作包 A 先建立 RPG 创作壳层的新命名入口。
* 当前实现继续复用旧的 `PreGameSelectionFlow`,后续工作包 B 再把内部编排逐步迁到新目录。
*/
export type RpgCreationShellProps = ComponentProps<typeof PreGameSelectionFlow>;
export function RpgCreationShell(props: RpgCreationShellProps) {
return <PreGameSelectionFlow {...props} />;
}
export default RpgCreationShell;

View File

@@ -0,0 +1,4 @@
export {
RpgCreationShell,
type RpgCreationShellProps,
} from './RpgCreationShell';

View File

@@ -0,0 +1,19 @@
import type { ComponentProps } from 'react';
import CustomWorldEntityEditorModal from '../CustomWorldEntityEditorModal';
/**
* 工作包 A 只建立 RPG 创作编辑器的新目录入口。
* 真实编辑表单暂时仍由旧的综合编辑器承载,后续工作包 C 会把不同 section 拆到这个目录下。
*/
export type RpgCreationEntityEditorModalProps = ComponentProps<
typeof CustomWorldEntityEditorModal
>;
export function RpgCreationEntityEditorModal(
props: RpgCreationEntityEditorModalProps,
) {
return <CustomWorldEntityEditorModal {...props} />;
}
export default RpgCreationEntityEditorModal;

View File

@@ -0,0 +1,4 @@
export {
RpgCreationEntityEditorModal,
type RpgCreationEntityEditorModalProps,
} from './RpgCreationEntityEditorModal';

View File

@@ -0,0 +1,17 @@
import type { ComponentProps } from 'react';
import { CustomWorldResultView } from '../CustomWorldResultView';
/**
* 工作包 A 先提供 RPG 创作结果页的新命名 façade。
* 当前结果页行为仍由旧组件承载,后续工作包 C 会在此目录内继续拆分 header、action bar 和 section。
*/
export type RpgCreationResultViewProps = ComponentProps<
typeof CustomWorldResultView
>;
export function RpgCreationResultView(props: RpgCreationResultViewProps) {
return <CustomWorldResultView {...props} />;
}
export default RpgCreationResultView;

View File

@@ -0,0 +1,4 @@
export {
RpgCreationResultView,
type RpgCreationResultViewProps,
} from './RpgCreationResultView';