add embeddings, remove userId from business & commercialProperty replaced by email
This commit is contained in:
@@ -31,7 +31,7 @@ export function createDefaultUser(email: string, firstname: string, lastname: st
|
||||
export function createDefaultCommercialPropertyListing(): CommercialPropertyListing {
|
||||
return {
|
||||
id: undefined,
|
||||
userId: '',
|
||||
email: '',
|
||||
type: null,
|
||||
title: '',
|
||||
description: '',
|
||||
@@ -43,9 +43,6 @@ export function createDefaultCommercialPropertyListing(): CommercialPropertyList
|
||||
draft: false,
|
||||
zipCode: null,
|
||||
county: '',
|
||||
email: '',
|
||||
website: '',
|
||||
phoneNumber: '',
|
||||
imageOrder: [],
|
||||
imagePath: '',
|
||||
created: null,
|
||||
@@ -58,7 +55,6 @@ export function createDefaultCommercialPropertyListing(): CommercialPropertyList
|
||||
export function createDefaultBusinessListing(): BusinessListing {
|
||||
return {
|
||||
id: undefined,
|
||||
userId: '',
|
||||
type: null,
|
||||
title: '',
|
||||
description: '',
|
||||
|
||||
Reference in New Issue
Block a user