Fehlerbehebung & Start Vector Search
This commit is contained in:
@@ -1,9 +1,33 @@
|
||||
import { Router } from '@angular/router';
|
||||
import { ConsoleFormattedStream, INFO, createLogger as _createLogger, stdSerializers } from 'browser-bunyan';
|
||||
import { jwtDecode } from 'jwt-decode';
|
||||
import { BusinessListing, CommercialPropertyListing } from '../../../../bizmatch-server/src/models/db.model';
|
||||
import { BusinessListing, CommercialPropertyListing, User } from '../../../../bizmatch-server/src/models/db.model';
|
||||
import { JwtToken, KeycloakUser, ListingCriteria } from '../../../../bizmatch-server/src/models/main.model';
|
||||
|
||||
export function createDefaultUser(email: string, firstname: string, lastname: string): User {
|
||||
return {
|
||||
email,
|
||||
firstname,
|
||||
lastname,
|
||||
phoneNumber: '',
|
||||
description: '',
|
||||
companyName: '',
|
||||
companyOverview: '',
|
||||
companyWebsite: '',
|
||||
companyLocation: '',
|
||||
offeredServices: '',
|
||||
areasServed: [],
|
||||
hasProfile: false,
|
||||
hasCompanyLogo: false,
|
||||
licensedIn: [],
|
||||
gender: undefined,
|
||||
customerType: undefined,
|
||||
customerSubType: undefined,
|
||||
created: new Date(),
|
||||
updated: new Date(),
|
||||
};
|
||||
}
|
||||
|
||||
export function createDefaultCommercialPropertyListing(): CommercialPropertyListing {
|
||||
return {
|
||||
id: undefined,
|
||||
|
||||
Reference in New Issue
Block a user