directus-extension-okam-typesense

1.0.5 • Public • Published

Okam Typesense Library

Environment

# use for upsert operation
TYPESENSE_HOST=https://server:port
# use for upsert operation
TYPESENSE_APIKEY_WRITE=xyz

Operation okam-typesense-upsert

Insert or update an item or a list of item using id as primary key.

The schema must exists before calling this operation.

Use environment variables TYPESENSE_HOST and TYPESENSE_APIKEY_WRITE if override are not provided.

Options

  • collection : the name of the typesense collection
  • item : an object or an array of object, with id field
  • host_override : allow the operation to override the default TYPESENSE_HOST
  • apikey_override : allow the operation to override the default TYPESENSE_APIKEY_WRITE

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i directus-extension-okam-typesense

    Weekly Downloads

    9

    Version

    1.0.5

    License

    none

    Unpacked Size

    68.7 kB

    Total Files

    4

    Last publish

    Collaborators

    • davidpaquet
    • okam-bot