mirror of
https://github.com/maciejpedzich/racemash.git
synced 2024-11-27 16:15:47 +01:00
Remove Appwrite references from data models
This commit is contained in:
parent
b510fdbe89
commit
c888bf8ad1
@ -1,6 +1,4 @@
|
||||
import { Models } from 'appwrite';
|
||||
|
||||
export interface Photo extends Models.Document {
|
||||
export interface Photo {
|
||||
url: string;
|
||||
rating: number;
|
||||
ratingDeviation: number;
|
||||
|
@ -1,7 +0,0 @@
|
||||
import { Models } from 'appwrite';
|
||||
|
||||
export interface PhotoAppearanceCount extends Models.Document {
|
||||
voterId: string;
|
||||
photoId: string;
|
||||
count: number;
|
||||
}
|
@ -1,8 +1,4 @@
|
||||
import { Models } from 'appwrite';
|
||||
|
||||
export interface Vote extends Models.Document {
|
||||
voterId: string;
|
||||
photo1Id: string;
|
||||
photo2Id: string;
|
||||
result: number;
|
||||
export interface Vote {
|
||||
photos: [string, string];
|
||||
result: 0 | 0.5 | 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user