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[]
|
2022-02-01 18:29:14 +00:00
|
|
|
lowercaseTags: string[]
|
2022-01-21 23:21:46 +00:00
|
|
|
|
|
|
|
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-02-01 04:10:02 +00:00
|
|
|
|
|
|
|
disallowMarketCreation?: boolean
|
2022-01-21 23:21:46 +00:00
|
|
|
}
|