#
zhou zhou
2 天以前 2ce6327ec49e7fe73cc1cd3bcc2b63b28d89d38f
1
2
3
4
5
6
7
8
9
10
11
12
13
import {
    ShowGuesser,
} from "react-admin";
 
import AiPromptList from "./AiPromptList";
import AiPromptEdit from "./AiPromptEdit";
 
export default {
    list: AiPromptList,
    edit: AiPromptEdit,
    show: ShowGuesser,
    recordRepresentation: (record) => `${record.templateName || record.sceneCode || ''}`
};