node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

@jatahworx/bhive-core

README

This README would normally document whatever steps are necessary to get your application up and running.

What is this repository for?

How do I get set up?

  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
  • Deployment instructions

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

Camera

  • Description Custom directive for upload file from mobile only based on cordova. If you want to use this add bh-camera custom directive any component.
  • Input
    • [cameraOptions] = "{entityName: 'profile', metadata: {key: 'nisarg@neutrinos.co'}}"
    • entityName - collection Name - string
      • example entityName = 'profile'
    • metadata - object
      • example metadata = {key: 'nisarg@neutrinos.co'}
  • Output
    • (onsuccess) - success method
      • example (onsuccess) = success($event)
    • (onerror) - error method
      • example (onerror) = error($event)

File Download

  • Description Custom directive for download file. If you want to use this add bh-download custom directive any component.
  • Input
    • [downloadOptions] = "{entityName: 'profile', metadata?: {key: 'nisarg@neutrinos.co'}, fileId?: '5a659b8d8fa0d80af3551f70'}"
    • In [downloadOptions] either fileId nor metadata is required. If both exist it will take only metadata.
    • entityName - collection Name - string
      • example entityName = 'profile'
    • metadata - object
      • example metadata = {key: 'nisarg@neutrinos.co'}
    • fileId - individual file Id - string
      • example fileId = '5a659b8d8fa0d80af3551f70'
  • Output
    • (onsuccess) - success method
      • example (onsuccess) = success($event)
    • (onerror) - error method
      • example (onerror) = error($event)

File Upload

  • Description Custom component for upload file from browser. If you want to use this add File Upload component.
  • Input
    • [uploadOptions] = "{entityName: 'profile', metadata: {key: 'nisarg@neutrinos.co'}}"
    • entityName - collection Name - string
      • example entityName = 'profile'
    • metadata - object
      • example metadata = {key: 'nisarg@neutrinos.co'}
  • Output
    • (onsuccess) - success method
      • example (onsuccess) = success($event)
    • (onerror) - error method
      • example (onerror) = error($event)