Update creation flow refactor docs and auth test fixtures
This commit is contained in:
1
server-node/src/routes/rpgCreationAgentRoutes.ts
Normal file
1
server-node/src/routes/rpgCreationAgentRoutes.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { createCustomWorldAgentRoutes as createRpgCreationAgentRoutes } from './customWorldAgent.js';
|
||||
14
server-node/src/routes/rpgWorldGalleryRoutes.ts
Normal file
14
server-node/src/routes/rpgWorldGalleryRoutes.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Router } from 'express';
|
||||
|
||||
import type { AppContext } from '../context.js';
|
||||
|
||||
/**
|
||||
* 工作包 A 先建立 RPG 世界广场路由的命名骨架。
|
||||
* 当前广场查询仍由旧 runtime 路由承载,后续工作包会再迁移实现。
|
||||
*/
|
||||
export const RPG_WORLD_GALLERY_ROUTE_BASE_PATH =
|
||||
'/runtime/custom-world-gallery';
|
||||
|
||||
export function createRpgWorldGalleryRoutes(_context: AppContext) {
|
||||
return Router();
|
||||
}
|
||||
13
server-node/src/routes/rpgWorldLibraryRoutes.ts
Normal file
13
server-node/src/routes/rpgWorldLibraryRoutes.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Router } from 'express';
|
||||
|
||||
import type { AppContext } from '../context.js';
|
||||
|
||||
/**
|
||||
* 工作包 A 先建立 RPG 世界作品库路由的命名骨架。
|
||||
* 当前仅提供稳定落点,真正的库读写逻辑仍保留在 `runtimeRoutes.ts` 中。
|
||||
*/
|
||||
export const RPG_WORLD_LIBRARY_ROUTE_BASE_PATH = '/runtime/custom-world-library';
|
||||
|
||||
export function createRpgWorldLibraryRoutes(_context: AppContext) {
|
||||
return Router();
|
||||
}
|
||||
13
server-node/src/routes/rpgWorldWorksRoutes.ts
Normal file
13
server-node/src/routes/rpgWorldWorksRoutes.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Router } from 'express';
|
||||
|
||||
import type { AppContext } from '../context.js';
|
||||
|
||||
/**
|
||||
* 工作包 A 先建立 RPG 世界作品流路由的命名骨架。
|
||||
* 真实实现仍暂挂在 `runtimeRoutes.ts`,后续工作包再把作品列表接口迁入这里。
|
||||
*/
|
||||
export const RPG_WORLD_WORKS_ROUTE_BASE_PATH = '/runtime/custom-world/works';
|
||||
|
||||
export function createRpgWorldWorksRoutes(_context: AppContext) {
|
||||
return Router();
|
||||
}
|
||||
Reference in New Issue
Block a user