add new user and role table in app (in progress)
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m12s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m8s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m8s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 4m57s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m7s
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m12s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m8s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m8s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 4m57s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m7s
This commit is contained in:
8
src/vueLib/models/rights.ts
Normal file
8
src/vueLib/models/rights.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export interface Right {
|
||||
name: string;
|
||||
read: boolean;
|
||||
write: boolean;
|
||||
delete: boolean;
|
||||
}
|
||||
|
||||
export type Rights = Right[];
|
||||
9
src/vueLib/models/roles.ts
Normal file
9
src/vueLib/models/roles.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { Rights } from './rights';
|
||||
|
||||
export interface Role {
|
||||
id?: number;
|
||||
role: string;
|
||||
rights: Rights | null;
|
||||
}
|
||||
|
||||
export type Roles = Role[];
|
||||
@@ -1,6 +1,7 @@
|
||||
export interface User {
|
||||
id: number;
|
||||
name: string;
|
||||
id?: number;
|
||||
user: string;
|
||||
email: string;
|
||||
role: string;
|
||||
expires: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user