#pragma once

/**
** \defgroup database_js Database Interface
** Exposes a key-value store interface to script.
** @{
*/

/** A JS context. */
typedef struct JSContext JSContext;

/**
** Register the database script interface.
** @param context The JS context.
*/
void tf_database_register(JSContext* context);

/** @} */
