mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-19 07:55:25 +02:00
added new creationContext type
This commit is contained in:
parent
87d9eaef50
commit
6a9aa24e2d
@ -172,6 +172,9 @@
|
||||
},
|
||||
"extension": {
|
||||
"label": "In der Erweiterung erstellt"
|
||||
},
|
||||
"extension-inline": {
|
||||
"label": "Mit der Erweiterung erstellt"
|
||||
}
|
||||
},
|
||||
"createdOn": {
|
||||
|
@ -180,6 +180,9 @@
|
||||
},
|
||||
"extension": {
|
||||
"label": "Created in the extension"
|
||||
},
|
||||
"extension-inline": {
|
||||
"label": "Created using the extension"
|
||||
}
|
||||
},
|
||||
"createdOn": {
|
||||
|
@ -58,6 +58,7 @@ interface Form {
|
||||
const CREATION_CONTEXT_ICON_MAP: Record<AliasNote["data"]["creationContext"], ReactElement> = {
|
||||
web: <RiGlobalLine />,
|
||||
extension: <MdExtension />,
|
||||
"extension-inline": <MdExtension />,
|
||||
}
|
||||
|
||||
const IMAGE_WIDTH = 20
|
||||
|
@ -105,7 +105,7 @@ export interface AliasNote {
|
||||
data: {
|
||||
createdAt: Date | null
|
||||
createdOn: string | null
|
||||
creationContext: "extension" | "web"
|
||||
creationContext: "extension" | "extension-inline" | "web"
|
||||
personalNotes: string
|
||||
websites: Array<{
|
||||
url: string
|
||||
|
Loading…
x
Reference in New Issue
Block a user