supabase-status-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Supabase Webhook TypeScript Types

This package provides a set of TypeScript types for handling webhooks from Supabase's status page.

Overview

When building applications that integrate with OpenAI, you may need to handle webhooks sent by OpenAI. These webhooks contain data about various events, such as changes in component status or incident updates.

This package provides TypeScript types that correspond to the structure of the data sent in these webhooks. By using these types, you can leverage TypeScript's static type checking to write more reliable and maintainable code.

Usage

First, install the package using npm:

npm install supabase-webhook-types

Then, you can import the types into your TypeScript files:

import {
	SupabaseStatus,
	SupabaseComponentStatus,
	SupabaseIncidentStatus,
} from "supabase-webhook-types";

You can now use these types to strongly type your webhook event handlers.

Contributing

Contributions are welcome! Please submit a pull request or create an issue if you have any improvements or suggestions.

LICENSE

MIT

Readme

Keywords

Package Sidebar

Install

npm i supabase-status-types

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

9.06 kB

Total Files

5

Last publish

Collaborators

  • kyeshmz