directus-extension-okam-typesense
v1.0.5
Published
Typesense admin interface and basic operations
Downloads
28
Readme
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