This commit is contained in:
Zyronon
2025-10-12 03:37:34 +08:00
parent b36aaf2370
commit eac6fd6748
13 changed files with 123 additions and 57 deletions

View File

@@ -35,7 +35,7 @@ export function getDefaultArticleWord(val: Partial<ArticleWord> = {}): ArticleWo
export function getDefaultArticle(val: Partial<Article> = {}): Article {
return {
id: '',
id: null,
title: '',
titleTranslate: '',
text: '',

View File

@@ -66,7 +66,7 @@ export interface Sentence {
}
export interface Article {
id: string,
id?: number,
title: string,
titleTranslate: string,
text: string,
@@ -150,6 +150,7 @@ export type DictResource = {
name: string
description: string
url: string
en_name?: string
length: number
category: string
tags: string[]