feat: content generation UI, test script, and API docs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// API Endpoint: POST /api/god/campaigns/create
|
||||
import type { APIRoute } from 'astro';
|
||||
import { pool } from '../../../../lib/db/db';
|
||||
import { pool } from '../../../../lib/db';
|
||||
import crypto from 'crypto';
|
||||
|
||||
interface CampaignBlueprint {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// API Endpoint: POST /api/god/campaigns/launch/[id]
|
||||
import type { APIRoute } from 'astro';
|
||||
import { pool } from '../../../../../lib/db/db';
|
||||
import { pool } from '../../../../../lib/db';
|
||||
import { batchQueue } from '../../../../../lib/queue/config';
|
||||
|
||||
export const POST: APIRoute = async ({ params, request }) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// API Endpoint: GET /api/god/campaigns/status/[id]
|
||||
import type { APIRoute } from 'astro';
|
||||
import { pool } from '../../../../../lib/db/db';
|
||||
import { pool } from '../../../../../lib/db';
|
||||
|
||||
export const GET: APIRoute = async ({ params, request }) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user