使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
kj
/
anamnesis
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
data structure defined
master
kj1352
4 年前
父节点
cbc21080b8
当前提交
55f1d18e94
共有
8 个文件被更改
,包括
49 次插入
和
0 次删除
合并视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+0
-0
src/components/categories/details/CategoryDetails.module.scss
+8
-0
src/components/categories/details/CategoryDetails.tsx
+1
-0
src/components/revise/Revise.module.scss
+7
-0
src/structure/category.ts
+6
-0
src/structure/medals.ts
+9
-0
src/structure/profile.ts
+8
-0
src/structure/shelf.ts
+10
-0
src/structure/word.ts
+ 0
- 0
src/components/categories/details/CategoryDetails.module.scss
查看文件
+ 8
- 0
src/components/categories/details/CategoryDetails.tsx
查看文件
@@ -0,0 +1,8 @@
import React from "react";
import styles from './CategoryDetails.module.scss';
export const CategoryDetails: React.FC = () => {
return <section className="page">
</section>
}
+ 1
- 0
src/components/revise/Revise.module.scss
查看文件
@@ -4,6 +4,7 @@
background-color: white;
background-color: white;
position: relative;
position: relative;
z-index: 2;
z-index: 2;
overflow-x: hidden;
}
}
.finishButton {
.finishButton {
+ 7
- 0
src/structure/category.ts
查看文件
@@ -0,0 +1,7 @@
import { IShelf } from "./shelf";
export type ICategory = {
name: string,
icon: string,
shelves: Array<IShelf>
};
+ 6
- 0
src/structure/medals.ts
查看文件
@@ -0,0 +1,6 @@
export type IMedal = {
name: string,
minValue: number,
maxValue: number,
icon: string,
};
+ 9
- 0
src/structure/profile.ts
查看文件
@@ -0,0 +1,9 @@
import { ICategory } from "./category";
import { IMedal } from "./medals";
export type IProfile = {
name: string,
image: string,
medal: IMedal,
categories: Array<ICategory>
};
+ 8
- 0
src/structure/shelf.ts
查看文件
@@ -0,0 +1,8 @@
import { IWord } from "./word";
export type IShelf = {
words: Array<IWord>,
revisedWords: Array<IWord>,
description: string,
viewPermission: 'PRIVATE' | 'PUBLIC';
};
+ 10
- 0
src/structure/word.ts
查看文件
@@ -0,0 +1,10 @@
export type IWord = {
name: string,
pronounciation: string,
audioPronounciationURL: string,
grammaticalDetails: Array<{
typeName: 'NOUN' | 'ADJECTIVE' | 'VERB',
description: string,
}>,
similarWords: Array<string>
}
撰写
预览
正在加载...
取消
保存