interface SourcesBodyParams {
    limit?: number;
    offset?: number;
    query?: {
        filter?: {
            category?: { id: number[] };
            country?: { id: number[] };
            id?: number[];
            platform?: { id: number[] };
            publishedStatus?: PublishedStatus[];
            service?: { id: number[] };
            sourceId?: number;
            type?: { id: number[] };
        };
        include?: LiteralUnion<IncludeFieldList, string>[];
        search?: SourcesSearch;
    };
    sort?: SourcesSort;
    [key: string]: unknown;
}

Hierarchy

  • Record<string, unknown>
    • SourcesBodyParams

Indexable

  • [key: string]: unknown

Properties

limit?: number
offset?: number
query?: {
    filter?: {
        category?: { id: number[] };
        country?: { id: number[] };
        id?: number[];
        platform?: { id: number[] };
        publishedStatus?: PublishedStatus[];
        service?: { id: number[] };
        sourceId?: number;
        type?: { id: number[] };
    };
    include?: LiteralUnion<IncludeFieldList, string>[];
    search?: SourcesSearch;
}