Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Pierakstīties
kj
/
anamnesis
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Izmaiņu pieprasījumi
0
Laidieni
0
Vikivietne
Aktivitāte
Pārlūkot izejas kodu
data structure defined
master
kj1352
pirms 4 gadiem
vecāks
cbc21080b8
revīzija
55f1d18e94
8 mainītis faili
ar
49 papildinājumiem
un
0 dzēšanām
Dalītais skats
Salīdzināšanas iespējas
Rādīt statistiku
Lejupielādēt ielāpa failu
Lejupielādēt izmaiņu failu
+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
Parādīt failu
+ 8
- 0
src/components/categories/details/CategoryDetails.tsx
Parādīt failu
@@ -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
Parādīt failu
@@ -4,6 +4,7 @@
background-color: white;
position: relative;
z-index: 2;
overflow-x: hidden;
}
.finishButton {
+ 7
- 0
src/structure/category.ts
Parādīt failu
@@ -0,0 +1,7 @@
import { IShelf } from "./shelf";
export type ICategory = {
name: string,
icon: string,
shelves: Array<IShelf>
};
+ 6
- 0
src/structure/medals.ts
Parādīt failu
@@ -0,0 +1,6 @@
export type IMedal = {
name: string,
minValue: number,
maxValue: number,
icon: string,
};
+ 9
- 0
src/structure/profile.ts
Parādīt failu
@@ -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
Parādīt failu
@@ -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
Parādīt failu
@@ -0,0 +1,10 @@
export type IWord = {
name: string,
pronounciation: string,
audioPronounciationURL: string,
grammaticalDetails: Array<{
typeName: 'NOUN' | 'ADJECTIVE' | 'VERB',
description: string,
}>,
similarWords: Array<string>
}
Rakstīt
Priekšskatītījums
Notiek ielāde…
Atcelt
Saglabāt