mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
Make the news View working via the tty interface, and made some more
i18n stuff & update some more to add images and unknown data oh, also paragraphs are now a thing :) and do so much debugging.
This commit is contained in:
parent
b62a3cda3d
commit
8975812447
8 changed files with 177 additions and 201 deletions
|
@ -2,7 +2,13 @@ import postgres from "~/server/components/postgres";
|
|||
import { v4 as uuidv4 } from "uuid";
|
||||
|
||||
async function saveDataToSql(
|
||||
data: { title: string; paragraph: string; author: string; origin: string },
|
||||
data: {
|
||||
title: string;
|
||||
paragraph: any;
|
||||
author: string;
|
||||
origin: string;
|
||||
image: any;
|
||||
},
|
||||
slug: string,
|
||||
) {
|
||||
const sql = postgres;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue