21 lines
582 B
TypeScript
21 lines
582 B
TypeScript
import { IndexableDoc } from './elastic-search.model'
|
|
import { VideoChannel, VideoChannelSummary } from '@shared/models'
|
|
import { Account } from '@shared/models/actors/account.model'
|
|
|
|
export interface IndexableChannelSummary extends VideoChannelSummary, IndexableDoc {
|
|
}
|
|
|
|
export interface IndexableChannel extends VideoChannel, IndexableDoc {
|
|
}
|
|
|
|
export interface DBChannel extends Omit<VideoChannel, 'isLocal'> {
|
|
indexedAt: Date
|
|
handle: string
|
|
|
|
ownerAccount?: Account & { handle: string }
|
|
}
|
|
|
|
export interface DBChannelSummary extends VideoChannelSummary {
|
|
indexedAt: Date
|
|
}
|