fauna
Version:
A driver to query Fauna databases in browsers, Node.js, and other Javascript runtimes
13 lines (11 loc) • 304 B
text/typescript
/**
* Readonly object representing the paths of the Fauna API to be used
* with HTTP clients.
*/
export const FaunaAPIPaths = {
QUERY: "/query/1",
STREAM: "/stream/1",
EVENT_FEED: "/feed/1",
} as const;
export type SupportedFaunaAPIPaths =
(typeof FaunaAPIPaths)[keyof typeof FaunaAPIPaths];