0.2.1 • Published 5 years ago

@determapp/viewer-data-generator v0.2.1

Weekly downloads
-
License
GPL-3.0
Repository
gitlab
Last release
5 years ago

DetermApp-Viewer-Data-Generator

This converts DetermApp project data to viewer data.

API

export const convertForViewer = async ({
  project,
  projectId,
  readImageFile,
  urlBlacklist
}: {
  project: ProjectStatus;
  projectId: string;
  readImageFile: (filename: string) => Promise<Buffer>;
  urlBlacklist: Array<string>;
}): Promise<Project> => {

You can get the urlBlacklist from @determapp/viewer.

Commands

npm run build

  • builds this component
  • executed as prepare hook