APIDemo

@alinea/backend

export namespace Cache {
export function applyPublish(
store: Store,
config: Config<Workspaces>,
entries: Array<Entry>
): void
export function applyUpdates(
store: Store,
config: Config<Workspaces>,
updates: IterableIterator<[string, Uint8Array]>
): void
export function computeEntry(
store: Store,
config: Config<Workspaces>,
entry: Entry
): {$isContainer: undefined | boolean, $status: EntryStatus, i18n: I18N, id: string, index: string, parent: string, parents: Array<string>, path: string, root: string, title: Label, type: string, url: string, workspace: string}
export function create(
store: SqliteStore,
config: Config<Workspaces>,
from: Source,
log: boolean
): Promise<void>
}
export function createServer<T extends Workspaces>(
options: ServerOptions<T>
): Server<T>
export namespace Data {
export namespace Media {
}
export namespace Source {
export function concat(
sources: Array<Source>
): Source
}
}
export namespace Drafts {
}
export const JsonLoader: Loader
export const Pages: PagesConstructor
export function parseBuffer(
req: IncomingMessage,
options: ParseOptions
): Promise<Buffer | string>
export function parseJson(
req: IncomingMessage,
options: ParseOptions
): Promise<any>
export function parseText(
req: IncomingMessage,
options: ParseOptions
): Promise<any>