- Implemented JimengService for image generation with API integration. - Created OSSService for handling image uploads to S3. - Developed PBService for managing PocketBase interactions. - Added task management for image creation and downloading using BullMQ. - Introduced routes for creating image generation tasks. - Implemented logging and error handling for image processing. - Added configuration management for Redis and other services. - Created scripts for testing image generation and PocketBase integration. - Updated package dependencies and added new scripts for worker management.
12 lines
173 B
TypeScript
12 lines
173 B
TypeScript
import { app } from '../src/index.ts'
|
|
|
|
export {
|
|
app
|
|
}
|
|
|
|
const res = await app.run({
|
|
path: 'image-creator',
|
|
key: 'create-task',
|
|
})
|
|
|
|
console.log('Route run result:', res) |