Skip to content

BeechCMS


BeechCMS / @beechcms/client / BrowserContentResource

Interface: BrowserContentResource<TRow> ​

Browser Client Content Resource: Strictly Read-Only (no create/update).

Type Parameters ​

TRow ​

TRow

Methods ​

get() ​

get(selector, options?): Promise<BeechResult<Single<TRow>>>

Parameters ​

selector ​

{ id: string; } | { slug: string; }

options? ​

RequestOptions

Returns ​

Promise<BeechResult<Single<TRow>>>


list() ​

list(query?, options?): Promise<BeechResult<Listable<TRow>>>

Parameters ​

query? ​

ListQuery<TRow>

options? ​

RequestOptions

Returns ​

Promise<BeechResult<Listable<TRow>>>