Skip to content

Risk in the api #9

@mmlngl

Description

@mmlngl

We want to return the risk lever for a User. This requires a new Query in graphql schema. From Cypher, we need to return a string matching a new enum type.

SAFE - all of my contacts are healthStatus.TOTALLY_FINE
LOW - any of my Indirect contacts healthStatus.IN_QUARATINE
MEDIUM - any of my contacts healthStatus.IN_QUARATINE
HIGH - Direct contacts healthStatus.TESTED_POSITIVE

exact strings may vary so check the schema file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions