- addes @adonisjs/redis fo saving session into redis with redis.ts contract and config
Some checks failed
CI Pipeline / japa-tests (push) Failing after 52s

- npm updated
- added createHashValues and dlete inside File.ts
- added dataset_count property inside Subject.ts
- corrected rotes.ts with correct permissions
This commit is contained in:
Kaimbacher 2023-11-27 17:17:22 +01:00
parent d8bdce1369
commit b6fdfbff41
29 changed files with 496 additions and 201 deletions

View file

@ -1,4 +1,24 @@
import { Ref } from 'vue';
import { DateTime } from 'luxon';
export interface User {
id: number;
login: string;
email: string;
password: string;
createdAt: DateTime;
updatedAt: DateTime;
roles: Array<Role>;
}
export interface Role {
id: number;
display_name: string;
name: string;
description: string;
created_at: DateTime;
updated_at: DateTime;
}
export interface Dataset {
[key: string]:
@ -75,11 +95,12 @@ export interface TethysFile {
}
export interface Subject {
// id: number;
id?: number;
language: string;
type: string;
value: string;
external_key?: string;
dataset_count: number;
}
export interface DatasetReference {
// id: number;