# @types/gramps__rest-helpers

> TypeScript definitions for @gramps/rest-helpers

Latest version **1.1.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/gramps__rest-helpers
pnpm add @types/gramps__rest-helpers
yarn add @types/gramps__rest-helpers
bun add @types/gramps__rest-helpers
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2023-11-07 |
| First published | 2018-06-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/gramps__rest-helpers
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gramps__rest-helpers
- npm.io page: https://npm.io/package/@types/gramps__rest-helpers

## Recent versions

- 1.1.3 (latest) — 2023-11-07
- 1.1.1 (ts3.2) — 2020-09-26
- 1.1.0 (ts2.3) — 2018-06-21
- 1.1.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/gramps__rest-helpers`

# Summary
This package contains type definitions for @gramps/rest-helpers (https://github.com/gramps-graphql/rest-helpers).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gramps__rest-helpers.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gramps__rest-helpers/index.d.ts)
````ts
export class GraphQLConnector {
    constructor();

    apiBaseUri: string;
    headers: object;
    request: any;
    cacheExpiry: number;
    enableCache: boolean;
    redis: boolean;
    get(endpoint: string): Promise<any>;
    post(endpoint: string, body: object, options: object): Promise<any>;
    put(endpoint: string, body: object, options: object): Promise<any>;
    delete(endpoint: string, options: object): Promise<any>;
}

export class GraphQLModel {
    connector: GraphQLConnector;

    constructor({});
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [Claude Ciocan](https://github.com/claude).

---
_Source: https://npm.io/package/@types/gramps__rest-helpers · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
