mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add user interface and standard users
This commit is contained in:
parent
84f9aaeb96
commit
455a0ab754
11
backend/src/seeds/users/UserInterface.ts
Normal file
11
backend/src/seeds/users/UserInterface.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
export interface UserInterface {
|
||||||
|
email?: string
|
||||||
|
firstName?: string
|
||||||
|
lastName?: string
|
||||||
|
// description?: string
|
||||||
|
createdAt?: Date
|
||||||
|
emailChecked?: boolean
|
||||||
|
language?: string
|
||||||
|
deletedAt?: Date
|
||||||
|
isAdmin?: boolean
|
||||||
|
}
|
||||||
10
backend/src/seeds/users/bibi-bloxberg.ts
Normal file
10
backend/src/seeds/users/bibi-bloxberg.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { UserInterface } from './UserInterface'
|
||||||
|
|
||||||
|
export const bibiBloxberg: UserInterface = {
|
||||||
|
email: 'bibi@bloxberg.de',
|
||||||
|
firstName: 'Bibi',
|
||||||
|
lastName: 'Bloxberg',
|
||||||
|
// description: 'Hex Hex',
|
||||||
|
emailChecked: true,
|
||||||
|
language: 'de',
|
||||||
|
}
|
||||||
10
backend/src/seeds/users/bob-baumeister.ts
Normal file
10
backend/src/seeds/users/bob-baumeister.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { UserInterface } from './UserInterface'
|
||||||
|
|
||||||
|
export const bobBaumeister: UserInterface = {
|
||||||
|
email: 'bob@baumeister.de',
|
||||||
|
firstName: 'Bob',
|
||||||
|
lastName: 'der Baumeister',
|
||||||
|
// description: 'Können wir das schaffen? Ja, wir schaffen das!',
|
||||||
|
emailChecked: true,
|
||||||
|
language: 'de',
|
||||||
|
}
|
||||||
12
backend/src/seeds/users/peter-lustig.ts
Normal file
12
backend/src/seeds/users/peter-lustig.ts
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
import { UserInterface } from './UserInterface'
|
||||||
|
|
||||||
|
export const peterLustig: UserInterface = {
|
||||||
|
email: 'peter@lustig.de',
|
||||||
|
firstName: 'Peter',
|
||||||
|
lastName: 'Lustig',
|
||||||
|
// description: 'Latzhose und Nickelbrille',
|
||||||
|
createdAt: new Date('2020-11-25T10:48:43'),
|
||||||
|
emailChecked: true,
|
||||||
|
language: 'de',
|
||||||
|
isAdmin: true,
|
||||||
|
}
|
||||||
10
backend/src/seeds/users/raeuber-hotzenplotz.ts
Normal file
10
backend/src/seeds/users/raeuber-hotzenplotz.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { UserInterface } from './UserInterface'
|
||||||
|
|
||||||
|
export const raeuberHotzenplotz: UserInterface = {
|
||||||
|
email: 'raeuber@hotzenplotz.de',
|
||||||
|
firstName: 'Räuber',
|
||||||
|
lastName: 'Hotzenplotz',
|
||||||
|
// description: 'Pfefferpistole',
|
||||||
|
emailChecked: true,
|
||||||
|
language: 'de',
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user