Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chatbot-ui-core

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chatbot-ui-core

Core library for the Chatbot UI project

  • 1.0.21
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Chatbot UI Core

This package provides type definitions and the interface for Chatbot UI extensions to interact with the Chatbot UI application.

Installation

For Chatbot UI users there is no need to install anything, as it already pre-installed in the main application Chatbot UI.

Developers building their own extension can install this package by using:

npm i chatbot-ui-core@latest

Usage

If you want to build your own database extension you just have to implement the following interface in your package: ./src/database/client-side.ts

If you need a to use serverless functions to access your database (e.g. postgres), then you must also implement the Server-side database interface: ./src/database/server-side.ts

The server-side database implementation mainly uses the paths property to map any API calls made to /api/storage/[endpoint] directly to your package.

Examples

See the implementation of the package chatbot-ui-local-storage to view an example of a client-side-only database extension: https://github.com/jorge-menjivar/chatbot-ui-local-storage

See the implementation of the package chatbot-ui-rdbms to view an example of database extension that needs access to serverless functions: https://github.com/jorge-menjivar/chatbot-ui-rdbms

Keywords

FAQs

Package last updated on 13 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc