https://github.com/zaunchat/zaun-api-types
Typescript Definition for Zaun
https://github.com/zaunchat/zaun-api-types
Last synced: 9 months ago
JSON representation
Typescript Definition for Zaun
- Host: GitHub
- URL: https://github.com/zaunchat/zaun-api-types
- Owner: zaunchat
- License: mit
- Created: 2021-09-06T17:22:58.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-20T18:56:55.000Z (about 3 years ago)
- Last Synced: 2025-08-08T18:11:47.001Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Zaun API Types
### Installation
```s
$ npm i @zaunchat/types
```
### Example Usage
```ts
// for deno runtime
// import type { APIMessage } from 'https://deno.land/x/zaunjs_types/mod.ts'
import type { APIMessage } from '@zaunchat/types'
const message: APIMessage = {
id: 0,
author_id: 0,
channel_id: 0,
content: 'Hi'
}
```