STORIFY (0119) - API 구조 변경
0. book.schema 수정하여 DB에 저장되고 read하기 편하게 수정 @Prop({ type: Map, of: { text: String, imagePrompt: [String], imageUrl: String, ttsUrl: String, }, }) body: Map; 1. stories에 api추가 현재: stories에 Post 요청시 일기 저장, 동화 생성, 동화 저장이 다 되고있었음 수정 후: - stories/ai Post 요청시 일기 저장, 동화 생성, 동화 저장 수행 - stories에 Post 요청시 일기만 저장 2. createAiStory 수정 현재: stories/ai Post 요청시 story기반으로 생성된 book(동화)가 어떤 story기반으로 만들어진건지 저장이 안되고..
2024. 1. 19.