remove null definitions

This commit is contained in:
Moriz Wahl 2022-01-11 12:17:08 +01:00
parent 4db9ad049b
commit d157240d3b
7 changed files with 7 additions and 14 deletions

View File

@ -1,5 +1,5 @@
export interface UserContext { export interface UserContext {
pubkey?: Buffer | null pubkey?: Buffer
email?: string email?: string
firstName?: string firstName?: string
lastName?: string lastName?: string
@ -14,8 +14,8 @@ export interface LoginUserContext {
username?: string username?: string
description?: string description?: string
password?: BigInt password?: BigInt
pubKey?: Buffer | null pubKey?: Buffer
privKey?: Buffer | null privKey?: Buffer
emailHash?: Buffer emailHash?: Buffer
createdAt?: Date createdAt?: Date
emailChecked?: boolean emailChecked?: boolean
@ -23,7 +23,7 @@ export interface LoginUserContext {
language?: string language?: string
disabled?: boolean disabled?: boolean
groupId?: number groupId?: number
publisherId?: number | null publisherId?: number
} }
export interface LoginUserBackupContext { export interface LoginUserBackupContext {

View File

@ -6,8 +6,8 @@ export interface UserInterface {
username?: string username?: string
description?: string description?: string
password?: BigInt password?: BigInt
pubKey?: Buffer | null pubKey?: Buffer
privKey?: Buffer | null privKey?: Buffer
emailHash?: Buffer emailHash?: Buffer
createdAt?: Date createdAt?: Date
emailChecked?: boolean emailChecked?: boolean
@ -15,7 +15,7 @@ export interface UserInterface {
language?: string language?: string
disabled?: boolean disabled?: boolean
groupId?: number groupId?: number
publisherId?: number | null publisherId?: number
// from login user backup // from login user backup
passphrase?: string passphrase?: string
mnemonicType?: number mnemonicType?: number

View File

@ -17,7 +17,6 @@ export const bibiBloxberg = {
language: 'de', language: 'de',
disabled: false, disabled: false,
groupId: 1, groupId: 1,
publisherId: null,
passphrase: passphrase:
'knife normal level all hurdle crucial color avoid warrior stadium road bachelor affair topple hawk pottery right afford immune two ceiling budget glance hour ', 'knife normal level all hurdle crucial color avoid warrior stadium road bachelor affair topple hawk pottery right afford immune two ceiling budget glance hour ',
mnemonicType: 2, mnemonicType: 2,

View File

@ -17,7 +17,6 @@ export const bobBaumeister = {
language: 'de', language: 'de',
disabled: false, disabled: false,
groupId: 1, groupId: 1,
publisherId: null,
passphrase: passphrase:
'detail master source effort unable waste tilt flush domain orchard art truck hint barrel response gate impose peanut secret merry three uncle wink resource ', 'detail master source effort unable waste tilt flush domain orchard art truck hint barrel response gate impose peanut secret merry three uncle wink resource ',
mnemonicType: 2, mnemonicType: 2,

View File

@ -6,8 +6,6 @@ export const garrickOllivander = {
description: `Curious ... curious ... description: `Curious ... curious ...
Renowned wandmaker Mr Ollivander owns the wand shop Ollivanders: Makers of Fine Wands Since 382 BC in Diagon Alley. His shop is widely considered the best place to purchase a wand.`, Renowned wandmaker Mr Ollivander owns the wand shop Ollivanders: Makers of Fine Wands Since 382 BC in Diagon Alley. His shop is widely considered the best place to purchase a wand.`,
password: BigInt('0'), password: BigInt('0'),
pubKey: null,
privKey: null,
emailHash: Buffer.from('91e358000e908146342789979d62a7255b2b88a71dad0c6a10e32af44be57886', 'hex'), emailHash: Buffer.from('91e358000e908146342789979d62a7255b2b88a71dad0c6a10e32af44be57886', 'hex'),
createdAt: new Date('2022-01-10T10:23:17'), createdAt: new Date('2022-01-10T10:23:17'),
emailChecked: false, emailChecked: false,
@ -15,7 +13,6 @@ Renowned wandmaker Mr Ollivander owns the wand shop Ollivanders: Makers of Fine
language: 'en', language: 'en',
disabled: false, disabled: false,
groupId: 1, groupId: 1,
publisherId: null,
passphrase: passphrase:
'human glide theory clump wish history other duty door fringe neck industry ostrich equal plate diesel tornado neck people antenna door category moon hen ', 'human glide theory clump wish history other duty door fringe neck industry ostrich equal plate diesel tornado neck people antenna door category moon hen ',
mnemonicType: 2, mnemonicType: 2,

View File

@ -17,7 +17,6 @@ export const peterLustig = {
language: 'de', language: 'de',
disabled: false, disabled: false,
groupId: 1, groupId: 1,
publisherId: null,
passphrase: passphrase:
'okay property choice naive calm present weird increase stuff royal vibrant frame attend wood one else tribe pull hedgehog woman kitchen hawk snack smart ', 'okay property choice naive calm present weird increase stuff royal vibrant frame attend wood one else tribe pull hedgehog woman kitchen hawk snack smart ',
mnemonicType: 2, mnemonicType: 2,

View File

@ -17,7 +17,6 @@ export const raeuberHotzenplotz = {
language: 'de', language: 'de',
disabled: false, disabled: false,
groupId: 1, groupId: 1,
publisherId: null,
passphrase: passphrase:
'gospel trip tenant mouse spider skill auto curious man video chief response same little over expire drum display fancy clinic keen throw urge basket ', 'gospel trip tenant mouse spider skill auto curious man video chief response same little over expire drum display fancy clinic keen throw urge basket ',
mnemonicType: 2, mnemonicType: 2,