@serodigital/passport-api-client
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

GQL Document Generator

How to use

import { TypeOne, TypeTwo } from "@sero-digital/some-api-client";

import {
  DocumentGenerator,
  Output,
} from "@sero-digital/gql-document-generator";

DocumentGenerator.generateQuery<TypeOne>({
  query: {
    status: true,
    address: <Output<TypeTwo>>{
      lineOne: true,
    },
  },
  queryName: "SomeQueryName",
  queryTypeName: "SomeQueryResponse",
});

Readme

Keywords

none

Package Sidebar

Install

npm i @serodigital/passport-api-client

Weekly Downloads

1

Version

1.2.0

License

ISC

Unpacked Size

459 kB

Total Files

12

Last publish

Collaborators

  • serodigital