handle document uid

This commit is contained in:
Ruidy Nemausat 2020-05-17 10:59:42 +02:00
parent 00aa71e9ee
commit 28f4bd9270

View file

@ -31,9 +31,10 @@ interface Dev extends DevSummary {
export const getDescription = (status: string, company: string) => export const getDescription = (status: string, company: string) =>
`${status} at ${company}`; `${status} at ${company}`;
/** blank Dev serve as placeholder when initializing a new profile */ /** blank Dev serve as placeholder when initializing a new profile
export const blankDev: Dev = { * id is not specified to not overwrite document uid.
id: '42', */
export const blankDev = {
isActive: true, isActive: true,
displayName: '', displayName: '',
status: 'Developer', status: 'Developer',