mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-12 05:26:46 +00:00
handle document uid
This commit is contained in:
parent
00aa71e9ee
commit
28f4bd9270
1 changed files with 4 additions and 3 deletions
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue