0.0.16 • Published 2 years ago

@chec/integration-handler v0.0.16

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
2 years ago

Chec Integration Handler

This package serves to provide TypeScript types for integrations created to work with the Chec infrastructure and dashboard. Please refer to the integration guide for getting started with an integration.

Installation

npm install -D @chec/integration-handler
# OR
yarn add -D @chec/integration-handler

Usage

Like the integration configuration SDK you can specify a type for your integration configuration. This will ensure that proper types are provided when using various APIs provided by the context parameter, which is used for fetch configuration for your integration.

import { IntegrationHandler } from '@chec/integration-handler';

interface MyIntegrationConfiguration {
  configKey: string
}

const handler: IntegrationHandler<MyIntegrationConfiguration> = async (request, context) => {

};

export = handler;
0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

3 years ago