GitHub

DaffContentServiceInterface

import { DaffContentServiceInterface } from '@daffodil/content/driver'

Query content objects accessible by the logged-in user.

interface DaffContentServiceInterface<T extends DaffContentBlock = DaffContentBlock> {
  getBlocks(...blockIds: T["id"][]): Observable<DaffContentBlockCollection<T>>
}

() Methods

getBlocks
Observable<DaffContentBlockCollection<T>>

Get an content object with the specified content ID.

Parameters
ParameterblockIds: T["id"][]
Description