2022-01-21 23:21:46 +00:00
|
|
|
export type Fold = {
|
|
|
|
id: string
|
|
|
|
slug: string
|
|
|
|
name: string
|
2022-01-25 20:47:25 +00:00
|
|
|
about: string
|
2022-01-21 23:21:46 +00:00
|
|
|
curatorId: string // User id
|
|
|
|
createdTime: number
|
|
|
|
|
|
|
|
tags: string[]
|
|
|
|
|
|
|
|
contractIds: string[]
|
|
|
|
excludedContractIds: string[]
|
|
|
|
|
|
|
|
// Invariant: exactly one of the following is defined.
|
|
|
|
// Default: creatorIds: undefined, excludedCreatorIds: []
|
|
|
|
creatorIds?: string[]
|
|
|
|
excludedCreatorIds?: string[]
|
2022-01-26 20:27:13 +00:00
|
|
|
|
|
|
|
followCount: number
|
2022-01-21 23:21:46 +00:00
|
|
|
}
|