dev-to-js
Version:
An universal client for the Dev.to API written in Typescript
18 lines (17 loc) • 391 B
TypeScript
import { User } from '../users/types';
export declare type NewWebhook = {
source: string;
target_url: string;
events: string[];
};
export declare type Webhook = {
type_of: string;
id: number;
source: string;
target_url: string;
events: string[];
created_at: string;
};
export declare type WebhookWithUser = Webhook & {
user: User;
};