mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-06 10:46:40 +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) =>
|
||||
`${status} at ${company}`;
|
||||
|
||||
/** blank Dev serve as placeholder when initializing a new profile */
|
||||
export const blankDev: Dev = {
|
||||
id: '42',
|
||||
/** blank Dev serve as placeholder when initializing a new profile
|
||||
* id is not specified to not overwrite document uid.
|
||||
*/
|
||||
export const blankDev = {
|
||||
isActive: true,
|
||||
displayName: '',
|
||||
status: 'Developer',
|
||||
|
|
|
|||
Loading…
Reference in a new issue