From 22a3fd345b6db25c742e934a8b8fc05e0e02d232 Mon Sep 17 00:00:00 2001 From: medic-ci Date: Fri, 12 Jul 2024 12:54:17 +0000 Subject: [PATCH] deploy: medic/cht-core@d9d863498b44f3e41c5a0fbc7a75c01e3600db91 --- functions/Person.v1.get.html | 2 +- functions/Person.v1.getWithLineage.html | 2 +- functions/Place.v1.get.html | 2 +- functions/Place.v1.getWithLineage.html | 2 +- functions/Qualifier.byUuid.html | 2 +- functions/Qualifier.isUuidQualifier.html | 2 +- functions/getDatasource.html | 2 +- functions/getLocalDataContext.html | 2 +- functions/getRemoteDataContext.html | 2 +- interfaces/DataContext.html | 4 ++-- interfaces/Person.v1.Person.html | 4 ++-- interfaces/Person.v1.PersonWithLineage.html | 4 ++-- interfaces/Place.v1.Place.html | 4 ++-- interfaces/Place.v1.PlaceWithLineage.html | 4 ++-- modules/Person.html | 2 +- modules/Person.v1.html | 2 +- modules/Place.html | 2 +- modules/Place.v1.html | 2 +- modules/Qualifier.html | 2 +- types/NonEmptyArray.html | 2 +- types/Nullable.html | 2 +- types/Qualifier.UuidQualifier.html | 2 +- 22 files changed, 27 insertions(+), 27 deletions(-) diff --git a/functions/Person.v1.get.html b/functions/Person.v1.get.html index c69bdbc..dca5032 100644 --- a/functions/Person.v1.get.html +++ b/functions/Person.v1.get.html @@ -2,4 +2,4 @@

Parameters

Returns ((qualifier) => Promise<Nullable<Person>>)

the person or null if no person is found for the qualifier

Throws

Error if the provided context or qualifier is invalid

-
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/Person.v1.getWithLineage.html b/functions/Person.v1.getWithLineage.html index a6b8092..5d32ebf 100644 --- a/functions/Person.v1.getWithLineage.html +++ b/functions/Person.v1.getWithLineage.html @@ -2,4 +2,4 @@

Parameters

Returns ((qualifier) => Promise<Nullable<PersonWithLineage>>)

the person or null if no person is found for the qualifier

Throws

Error if the provided context or qualifier is invalid

-
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/Place.v1.get.html b/functions/Place.v1.get.html index 7f22df8..ec398ea 100644 --- a/functions/Place.v1.get.html +++ b/functions/Place.v1.get.html @@ -2,4 +2,4 @@

Parameters

Returns ((qualifier) => Promise<Nullable<Place>>)

the place or null if no place is found for the qualifier

Throws

Error if the provided context or qualifier is invalid

-
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/Place.v1.getWithLineage.html b/functions/Place.v1.getWithLineage.html index 608b3e5..16e24b7 100644 --- a/functions/Place.v1.getWithLineage.html +++ b/functions/Place.v1.getWithLineage.html @@ -2,4 +2,4 @@

Parameters

Returns ((qualifier) => Promise<Nullable<PlaceWithLineage>>)

the place or null if no place is found for the qualifier

Throws

Error if the provided context or qualifier is invalid

-
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/Qualifier.byUuid.html b/functions/Qualifier.byUuid.html index 2ed352d..e98af8f 100644 --- a/functions/Qualifier.byUuid.html +++ b/functions/Qualifier.byUuid.html @@ -2,4 +2,4 @@

Parameters

Returns Readonly<{
    uuid: string;
}>

the qualifier

Throws

Error if the UUID is invalid

-
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/Qualifier.isUuidQualifier.html b/functions/Qualifier.isUuidQualifier.html index 0efd496..cc116c6 100644 --- a/functions/Qualifier.isUuidQualifier.html +++ b/functions/Qualifier.isUuidQualifier.html @@ -2,4 +2,4 @@

Parameters

Returns identifier is Readonly<{
    uuid: string;
}>

true if the given identifier is a UuidQualifier, otherwise false

-
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/getDatasource.html b/functions/getDatasource.html index c71644b..b7daf31 100644 --- a/functions/getDatasource.html +++ b/functions/getDatasource.html @@ -26,4 +26,4 @@

Throws

Error if no UUID is provided

Throws

Error if no UUID is provided

Throws

Error if the provided context is invalid

-
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/getLocalDataContext.html b/functions/getLocalDataContext.html index 4cd6c37..22b33da 100644 --- a/functions/getLocalDataContext.html +++ b/functions/getLocalDataContext.html @@ -4,4 +4,4 @@
  • sourceDatabases: Readonly<{
        medic: Database<Doc>;
    }>

    the PouchDB databases to use as the local datasource

  • Returns DataContext

    the local data context

    Throws

    Error if the provided settings or source databases are invalid

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/functions/getRemoteDataContext.html b/functions/getRemoteDataContext.html index 8e20513..9c87107 100644 --- a/functions/getRemoteDataContext.html +++ b/functions/getRemoteDataContext.html @@ -3,4 +3,4 @@

    Parameters

    Returns DataContext

    the data context

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/interfaces/DataContext.html b/interfaces/DataContext.html index f358253..60f8560 100644 --- a/interfaces/DataContext.html +++ b/interfaces/DataContext.html @@ -1,8 +1,8 @@ DataContext | @medic/cht-datasource

    Context for interacting with the data. This may represent a local data context where data can be accessed even while offline. Or it may represent a remote data context where all data operations are performed against a remote CHT instance.

    -
    interface DataContext {
        bind: (<T>(fn) => T);
    }

    Properties

    interface DataContext {
        bind: (<T>(fn) => T);
    }

    Properties

    Properties

    bind: (<T>(fn) => T)

    Executes the provided function with this data context as the argument.

    Type declaration

      • <T>(fn): T
      • Type Parameters

        • T

        Parameters

        • fn: ((ctx) => T)

          the function to execute

        Returns T

    Returns

    the result of the function

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/interfaces/Person.v1.Person.html b/interfaces/Person.v1.Person.html index 309d7e8..719ff4c 100644 --- a/interfaces/Person.v1.Person.html +++ b/interfaces/Person.v1.Person.html @@ -1,5 +1,5 @@ Person | @medic/cht-datasource

    Immutable data about a person contact.

    -
    interface Person {
        _id: string;
        _rev: string;
        contact_type?: string;
        date_of_birth?: Date;
        name?: string;
        parent?: NormalizedParent;
        patient_id?: string;
        phone?: string;
        reported_date?: Date;
        sex?: string;
        type: string;
    }

    Hierarchy (view full)

    Properties

    _id +
    interface Person {
        _id: string;
        _rev: string;
        contact_type?: string;
        date_of_birth?: Date;
        name?: string;
        parent?: NormalizedParent;
        patient_id?: string;
        phone?: string;
        reported_date?: Date;
        sex?: string;
        type: string;
    }

    Hierarchy (view full)

    Properties

    _id: string
    _rev: string
    contact_type?: string
    date_of_birth?: Date
    name?: string
    parent?: NormalizedParent
    patient_id?: string
    phone?: string
    reported_date?: Date
    sex?: string
    type: string
    \ No newline at end of file +

    Properties

    _id: string
    _rev: string
    contact_type?: string
    date_of_birth?: Date
    name?: string
    parent?: NormalizedParent
    patient_id?: string
    phone?: string
    reported_date?: Date
    sex?: string
    type: string
    \ No newline at end of file diff --git a/interfaces/Person.v1.PersonWithLineage.html b/interfaces/Person.v1.PersonWithLineage.html index 16903c2..82a2260 100644 --- a/interfaces/Person.v1.PersonWithLineage.html +++ b/interfaces/Person.v1.PersonWithLineage.html @@ -1,5 +1,5 @@ PersonWithLineage | @medic/cht-datasource

    Immutable data about a person contact, including the full records of the parent place lineage.

    -
    interface PersonWithLineage {
        _id: string;
        _rev: string;
        contact_type?: string;
        date_of_birth?: Date;
        name?: string;
        parent?: NormalizedParent | PlaceWithLineage;
        patient_id?: string;
        phone?: string;
        reported_date?: Date;
        sex?: string;
        type: string;
    }

    Hierarchy (view full)

    Properties

    _id +
    interface PersonWithLineage {
        _id: string;
        _rev: string;
        contact_type?: string;
        date_of_birth?: Date;
        name?: string;
        parent?: NormalizedParent | PlaceWithLineage;
        patient_id?: string;
        phone?: string;
        reported_date?: Date;
        sex?: string;
        type: string;
    }

    Hierarchy (view full)

    Properties

    _id: string
    _rev: string
    contact_type?: string
    date_of_birth?: Date
    name?: string
    parent?: NormalizedParent | PlaceWithLineage
    patient_id?: string
    phone?: string
    reported_date?: Date
    sex?: string
    type: string
    \ No newline at end of file +

    Properties

    _id: string
    _rev: string
    contact_type?: string
    date_of_birth?: Date
    name?: string
    parent?: NormalizedParent | PlaceWithLineage
    patient_id?: string
    phone?: string
    reported_date?: Date
    sex?: string
    type: string
    \ No newline at end of file diff --git a/interfaces/Place.v1.Place.html b/interfaces/Place.v1.Place.html index bf161cb..339b8f0 100644 --- a/interfaces/Place.v1.Place.html +++ b/interfaces/Place.v1.Place.html @@ -1,5 +1,5 @@ Place | @medic/cht-datasource

    Immutable data about a place contact.

    -
    interface Place {
        _id: string;
        _rev: string;
        contact?: NormalizedParent;
        contact_type?: string;
        name?: string;
        parent?: NormalizedParent;
        place_id?: string;
        reported_date?: Date;
        type: string;
    }

    Hierarchy (view full)

    Properties

    _id +
    interface Place {
        _id: string;
        _rev: string;
        contact?: NormalizedParent;
        contact_type?: string;
        name?: string;
        parent?: NormalizedParent;
        place_id?: string;
        reported_date?: Date;
        type: string;
    }

    Hierarchy (view full)

    Properties

    _id: string
    _rev: string
    contact?: NormalizedParent
    contact_type?: string
    name?: string
    parent?: NormalizedParent
    place_id?: string
    reported_date?: Date
    type: string
    \ No newline at end of file +

    Properties

    _id: string
    _rev: string
    contact?: NormalizedParent
    contact_type?: string
    name?: string
    parent?: NormalizedParent
    place_id?: string
    reported_date?: Date
    type: string
    \ No newline at end of file diff --git a/interfaces/Place.v1.PlaceWithLineage.html b/interfaces/Place.v1.PlaceWithLineage.html index cdc449d..8f9e8f0 100644 --- a/interfaces/Place.v1.PlaceWithLineage.html +++ b/interfaces/Place.v1.PlaceWithLineage.html @@ -1,6 +1,6 @@ PlaceWithLineage | @medic/cht-datasource

    Immutable data about a place contact, including the full records of the parent place lineage and the primary contact for the place.

    -
    interface PlaceWithLineage {
        _id: string;
        _rev: string;
        contact?: NormalizedParent | PersonWithLineage;
        contact_type?: string;
        name?: string;
        parent?: NormalizedParent | PlaceWithLineage;
        place_id?: string;
        reported_date?: Date;
        type: string;
    }

    Hierarchy (view full)

    Properties

    _id +
    interface PlaceWithLineage {
        _id: string;
        _rev: string;
        contact?: NormalizedParent | PersonWithLineage;
        contact_type?: string;
        name?: string;
        parent?: NormalizedParent | PlaceWithLineage;
        place_id?: string;
        reported_date?: Date;
        type: string;
    }

    Hierarchy (view full)

    Properties

    _id: string
    _rev: string
    contact?: NormalizedParent | PersonWithLineage
    contact_type?: string
    name?: string
    parent?: NormalizedParent | PlaceWithLineage
    place_id?: string
    reported_date?: Date
    type: string
    \ No newline at end of file +

    Properties

    _id: string
    _rev: string
    contact?: NormalizedParent | PersonWithLineage
    contact_type?: string
    name?: string
    parent?: NormalizedParent | PlaceWithLineage
    place_id?: string
    reported_date?: Date
    type: string
    \ No newline at end of file diff --git a/modules/Person.html b/modules/Person.html index 2e3ff67..a4a26a2 100644 --- a/modules/Person.html +++ b/modules/Person.html @@ -1,2 +1,2 @@ -Person | @medic/cht-datasource

    Index

    Namespaces

    v1 +Person | @medic/cht-datasource

    Index

    Namespaces

    \ No newline at end of file diff --git a/modules/Person.v1.html b/modules/Person.v1.html index 1b7fb6d..05ac2da 100644 --- a/modules/Person.v1.html +++ b/modules/Person.v1.html @@ -1,4 +1,4 @@ -v1 | @medic/cht-datasource

    Index

    Interfaces

    Person +v1 | @medic/cht-datasource

    Index

    Interfaces

    Functions

    get getWithLineage diff --git a/modules/Place.html b/modules/Place.html index 7109c9f..53a75af 100644 --- a/modules/Place.html +++ b/modules/Place.html @@ -1,2 +1,2 @@ -Place | @medic/cht-datasource

    Index

    Namespaces

    v1 +Place | @medic/cht-datasource

    Index

    Namespaces

    \ No newline at end of file diff --git a/modules/Place.v1.html b/modules/Place.v1.html index abfd3ee..103195e 100644 --- a/modules/Place.v1.html +++ b/modules/Place.v1.html @@ -1,4 +1,4 @@ -v1 | @medic/cht-datasource

    Index

    Interfaces

    Place +v1 | @medic/cht-datasource

    Index

    Interfaces

    Functions

    get getWithLineage diff --git a/modules/Qualifier.html b/modules/Qualifier.html index 8756386..b207baf 100644 --- a/modules/Qualifier.html +++ b/modules/Qualifier.html @@ -1,4 +1,4 @@ -Qualifier | @medic/cht-datasource

    Index

    Type Aliases

    UuidQualifier +Qualifier | @medic/cht-datasource

    Index

    Type Aliases

    Functions

    \ No newline at end of file diff --git a/types/NonEmptyArray.html b/types/NonEmptyArray.html index f8f87a2..e3ed1c5 100644 --- a/types/NonEmptyArray.html +++ b/types/NonEmptyArray.html @@ -1,2 +1,2 @@ NonEmptyArray | @medic/cht-datasource

    Type alias NonEmptyArray<T>

    NonEmptyArray<T>: [T, ...T[]]

    An array that is guaranteed to have at least one element.

    -

    Type Parameters

    • T
    \ No newline at end of file +

    Type Parameters

    • T
    \ No newline at end of file diff --git a/types/Nullable.html b/types/Nullable.html index d474b20..a9b7fce 100644 --- a/types/Nullable.html +++ b/types/Nullable.html @@ -1,2 +1,2 @@ Nullable | @medic/cht-datasource

    Type alias Nullable<T>

    Nullable<T>: T | null

    A value that could be null.

    -

    Type Parameters

    • T
    \ No newline at end of file +

    Type Parameters

    • T
    \ No newline at end of file diff --git a/types/Qualifier.UuidQualifier.html b/types/Qualifier.UuidQualifier.html index 5597442..2c25b7f 100644 --- a/types/Qualifier.UuidQualifier.html +++ b/types/Qualifier.UuidQualifier.html @@ -1,2 +1,2 @@ UuidQualifier | @medic/cht-datasource
    UuidQualifier: Readonly<{
        uuid: string;
    }>

    A qualifier that identifies an entity by its UUID.

    -

    Type declaration

    • uuid: string
    \ No newline at end of file +

    Type declaration

    • uuid: string
    \ No newline at end of file