Skip to content

TypeScript library for consuming public-facing types exposed by services powered by helix.go.

License

Notifications You must be signed in to change notification settings

mountayaapp/helix.ts

Repository files navigation

helix.ts

GitHub Release License: MIT

helix.ts is designed for consuming public-facing types exposed by services written with helix.go.

Example

import axios from "axios";

import type { Event } from "@mountayaapp/helix/event";
import type { Response } from "@mountayaapp/helix/integration/rest";

type Metadata = {
  event: Event;
};

type Data = {
  // ...
};

await axios.get<Response<Metadata, Data>>("/anything");

License

Repository licensed under the MIT License.