Projekt

Obecné

Profil

« Předchozí | Další » 

Revize a69da1e3

Přidáno uživatelem Václav Honzík před více než 2 roky(ů)

re #9367 - redux-persist for data persistence

Zobrazit rozdíly:

frontend/src/swagger/data-contracts.ts
9 9
 * ---------------------------------------------------------------
10 10
 */
11 11

  
12
export interface UserDto {
13
  name?: string;
14
  email: string;
15
  canRead?: boolean;
16
  canWrite?: boolean;
17
  canDelete?: boolean;
18
}
19

  
20
export interface CatalogDto {
12
export interface CatalogItemDto {
21 13
  /** @format uuid */
22 14
  id?: string;
23 15
  name?: string;
......
36 28
  alternativeNames?: string[];
37 29
  types?: string[];
38 30
}
31

  
32
export interface PasswordDto {
33
  password: string;
34
  confirmationPassword: string;
35
}
36

  
37
export interface PermissionDto {
38
  canRead?: boolean;
39
  canWrite?: boolean;
40
  canDelete?: boolean;
41
}
42

  
43
export interface UserDto {
44
  name?: string;
45
  email: string;
46
  permissions?: PermissionDto;
47
  passwords: PasswordDto;
48
}
49

  
50
export interface TitlePage {
51
  title?: string;
52
  content?: string;
53
}

Také k dispozici: Unified diff