a0402830c5
* WIP liking markets with tip * Refactor Userlink, add MultiUserLink * Lint * Lint * Fix merge * Fix imports * wip liked contracts list * Cache likes and liked by user ids on contract * Refactor tip amount, reduce to M * Move back to M * Change positioning for large screens
9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
export type Like = {
|
|
id: string // will be id of the object liked, i.e. contract.id
|
|
userId: string
|
|
type: 'contract'
|
|
createdTime: number
|
|
tipTxnId?: string
|
|
}
|
|
export const LIKE_TIP_AMOUNT = 5
|