Update some code & made a basic isThis ArticleStarred api? & starring is

now a wip!
This commit is contained in:
yuanhau 2025-06-14 23:46:23 +08:00
parent 026c4a31a3
commit 2cf787a401
4 changed files with 75 additions and 1 deletions

View file

@ -1,6 +1,11 @@
<script setup lang="ts">
// FOR THIS MODULE DO NOT USE THE ?APPNAME URL TYPE, IT WILL FALL AT ALL TIMES, I HAVE NO CLUE WHY IS BEHAVIOR HAPPENING RN?
import { SparklesIcon, UserIcon, NewspaperIcon } from "lucide-vue-next";
import {
SparklesIcon,
UserIcon,
NewspaperIcon,
StarIcon,
} from "lucide-vue-next";
import translate from "translate";
interface translateInterfaceText {
@ -178,6 +183,7 @@ const aiSummary = async () => {
</div>
</div>
</div>
<button><StarIcon /></button>
</div>
</div>
</template>