17 lines
456 B
TypeScript
17 lines
456 B
TypeScript
|
import { IndexableDoc } from './elastic-search.model'
|
||
|
import { VideoChannel, VideoChannelSummary } from '@shared/models'
|
||
|
|
||
|
export interface IndexableChannelSummary extends VideoChannelSummary, IndexableDoc {
|
||
|
}
|
||
|
|
||
|
export interface IndexableChannel extends VideoChannel, IndexableDoc {
|
||
|
}
|
||
|
|
||
|
export interface DBChannel extends Omit<VideoChannel, 'isLocal'> {
|
||
|
indexedAt: Date
|
||
|
}
|
||
|
|
||
|
export interface DBChannelSummary extends VideoChannelSummary {
|
||
|
indexedAt: Date
|
||
|
}
|