@gapi/gapi-voyager
TypeScript icon, indicating that this package has built-in type declarations

1.2.12 • Public • Published

@Gapi Voyager Module

Original Voyager module you can find here VoyagerGraphql
For questions/issues you can write ticket here
This module is intended to be used with GAPI

Installation and basic examples:

To install this Gapi module, run:
$ npm install @gapi/voyager --save

Consuming @gapi/voyager

Without configuration

Import inside AppModule or CoreModule
import { Module } from '@rxdi/core';
import { VoyagerModule } from '@gapi/voyager';

@Module({
    imports: [
        VoyagerModule
    ]
})
export class CoreModule { }

With configuration

Import inside AppModule or CoreModule
import { Module } from '@rxdi/core';
import { VoyagerModule } from '@gapi/voyager';

@Module({
    imports: [
        VoyagerModule.forRoot({
            path: '/voyager';
            endpointUrl: '/graphql';
        })
    ]
})
export class CoreModule { }

TODO: Better documentation...

Enjoy ! :)

Package Sidebar

Install

npm i @gapi/gapi-voyager

Weekly Downloads

1

Version

1.2.12

License

MIT

Unpacked Size

13.9 kB

Total Files

14

Last publish

Collaborators

  • gapi