Interface PublicationListOptions

Lo que admite cualquier list() del paquete, además de los filtros propios de su dominio.

interface PublicationListOptions {
    accounts?: readonly string[];
    from_date?: string | Date;
    limit?: number;
    offset?: number;
    orderByPublish?: boolean;
    search?: string;
    social_network?: readonly SocialNetwork[];
    state?: readonly PublicationState[];
    to_date?: string | Date;
}

Hierarchy (View Summary)

Properties

accounts?: readonly string[]

Sólo estas cuentas, por identificador.

from_date?: string | Date

Sólo las publicadas o creadas a partir de esta fecha, según orderByPublish.

limit?: number

Cuántos elementos pedir. Sin él manda el servidor, que no siempre pagina igual.

offset?: number

Cuántos saltar. 0 es la primera página.

orderByPublish?: boolean

Ordena y filtra por publish_date en vez de por creation_date.

search?: string

Búsqueda de texto sobre el nombre, el texto y el título.

social_network?: readonly SocialNetwork[]

Sólo estas redes.

state?: readonly PublicationState[]

Sólo estos estados.

to_date?: string | Date

Sólo hasta esta fecha.