4359ad0530
* added cancelling tipping and lil coin * forced timeout to fix weird toast bug
10 lines
275 B
TypeScript
10 lines
275 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 // only holds most recent tip txn id
|
|
}
|
|
export const LIKE_TIP_AMOUNT = 10
|
|
export const TIP_UNDO_DURATION = 2000
|