🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@1doc3/synapse-viewer

Package Overview
Dependencies
Maintainers
8
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1doc3/synapse-viewer

## Project setup ``` yarn install ```

latest
npmnpm
Version
0.2.33
Version published
Maintainers
8
Created
Source

synapse-viewer

Getting started

Just add the component

import SynapseViewer from '@1doc3/synapse-viewer'
export default {
  components: { SynapseViewer },
  ...
}

Properties

  • data: array[SynpaseQuestion]
[
  {
    type: 'info',
    group: 'init',
    title: 'Antes de iniciar tu consulta, responde las siguientes preguntas para que el doctor te pueda dar una mejor orientación. Te pedimos sinceridad, recuerda que esto no te limitará el acceso médico.',
    answer: null,
    titleStyle: 'normal',
    validations: [],
    questionData: {}
  },
  {
    id: '1',
    type: 'singleSelection',
    group: 'init',
    title: '¿Has tenido contacto directo en los últimos 7 días con alguna persona con COVID-19 confirmado con prueba?',
    answer: 1,
    titleStyle: 'small',
    validations: [
      'required'
    ],
    patientTitle: '¿La persona por la que consultas ha tenido contacto directo en los últimos 7 días con alguna persona con COVID-19 confirmado con prueba?',
    questionData: {
      options: [
        {
          label: 'Si',
          value: 1
        },
        {
          label: 'No',
          value: 2
        }
      ]
    }
  },
]

Project setup

npm i

Compiles and hot-reloads for development

npm run serve

Compiles and publish changes

First of all, login with your npm account associated with @1doc3. Then increments the version on package.log file and...

npm run build
npm publish

Lints and fixes files

yarn lint

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

FAQs

Package last updated on 28 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts