Merge branch 'master' into codex/puzzle-clear-template-runtime-fixes
# Conflicts: # .hermes/shared-memory/decision-log.md # .hermes/shared-memory/project-overview.md # docs/【开发运维】本地开发验证与生产运维-2026-05-15.md # scripts/dev.test.ts # server-rs/crates/api-server/src/creation_entry_config.rs # server-rs/crates/api-server/src/wooden_fish.rs # server-rs/crates/module-auth/src/lib.rs # server-rs/crates/spacetime-client/src/wooden_fish.rs # server-rs/crates/spacetime-module/src/auth/procedures.rs # src/components/custom-world-home/creationWorkShelf.ts # src/components/platform-entry/PlatformEntryFlowShellImpl.tsx # src/components/rpg-entry/rpgEntryWorldPresentation.ts # src/services/miniGameDraftGenerationProgress.test.ts # src/services/miniGameDraftGenerationProgress.ts
This commit is contained in:
@@ -62,7 +62,7 @@ export interface PuzzleDraftLevel {
|
||||
selectedCandidateId: string | null;
|
||||
coverImageSrc: string | null;
|
||||
coverAssetId: string | null;
|
||||
generationStatus: 'idle' | 'generating' | 'ready';
|
||||
generationStatus: 'idle' | 'generating' | 'ready' | 'failed';
|
||||
}
|
||||
|
||||
export interface PuzzleResultDraft {
|
||||
@@ -78,7 +78,7 @@ export interface PuzzleResultDraft {
|
||||
selectedCandidateId: string | null;
|
||||
coverImageSrc: string | null;
|
||||
coverAssetId: string | null;
|
||||
generationStatus: 'idle' | 'generating' | 'ready';
|
||||
generationStatus: 'idle' | 'generating' | 'ready' | 'failed';
|
||||
levels?: PuzzleDraftLevel[];
|
||||
formDraft?: {
|
||||
workTitle?: string;
|
||||
|
||||
@@ -147,6 +147,13 @@ export type WechatMiniProgramPayParams = {
|
||||
paySign: string;
|
||||
};
|
||||
|
||||
export type WechatMiniProgramVirtualPayParams = {
|
||||
mode: 'short_series_coin' | 'short_series_goods';
|
||||
signData: string;
|
||||
paySig: string;
|
||||
signature: string;
|
||||
};
|
||||
|
||||
export type WechatH5Payment = {
|
||||
h5Url: string;
|
||||
};
|
||||
@@ -163,7 +170,10 @@ export type CreateProfileRechargeOrderRequest = {
|
||||
export type CreateProfileRechargeOrderResponse = {
|
||||
order: ProfileRechargeOrder;
|
||||
center: ProfileRechargeCenterResponse;
|
||||
wechatMiniProgramPayParams?: WechatMiniProgramPayParams | null;
|
||||
wechatMiniProgramPayParams?:
|
||||
| WechatMiniProgramPayParams
|
||||
| WechatMiniProgramVirtualPayParams
|
||||
| null;
|
||||
wechatH5Payment?: WechatH5Payment | null;
|
||||
wechatNativePayment?: WechatNativePayment | null;
|
||||
};
|
||||
@@ -173,6 +183,15 @@ export type ConfirmWechatProfileRechargeOrderResponse = {
|
||||
center: ProfileRechargeCenterResponse;
|
||||
};
|
||||
|
||||
export type WechatProfileRechargeOrderDoneEvent = {
|
||||
orderId: string;
|
||||
status: ProfileRechargeOrderStatus;
|
||||
};
|
||||
|
||||
export type WechatProfileRechargeOrderErrorEvent = {
|
||||
message: string;
|
||||
};
|
||||
|
||||
export type ProfileFeedbackStatus = 'open';
|
||||
|
||||
export type ProfileFeedbackEvidenceItemInput = {
|
||||
|
||||
Reference in New Issue
Block a user