• Version 2.33.6
  • Published
  • 285 kB
  • 37 dependencies
  • MIT license


npm i apollo
yarn add apollo
pnpm add apollo


Command line tool for Apollo GraphQL



function gitInfo

gitInfo: (log: any) => Promise<GitContext | undefined>;

    function sanitizeGitRemote

    sanitizeGitRemote: (remote?: string | undefined) => any;


      class ClientCommand

      abstract class ClientCommand extends ProjectCommand {}


        constructor(argv: any, config: any);

          property flags

          static flags: {
          clientReferenceId: any;
          clientName: any;
          clientVersion: any;
          tag: any;
          variant: any;
          graph: any;
          queries: any;
          includes: any;
          excludes: any;
          tagName: any;
          config: any;
          header: any;
          endpoint: any;
          key: any;
          engine: any;

            property project

            project: any;

              class ProjectCommand

              abstract class ProjectCommand extends Command {}

                property configMap

                protected configMap?: (flags: any) => any;

                  property DEPRECATION_MSG

                  static DEPRECATION_MSG: string;

                    property flags

                    static flags: { config: any; header: any; endpoint: any; key: any; engine: any };

                      property project

                      project: any;

                        property tasks

                        tasks: any[];

                          property type

                          protected type: 'service' | 'client';

                            method catch

                            catch: (err: any) => Promise<void>;

                              method createConfig

                              protected createConfig: (flags: Flags) => Promise<ApolloConfig | undefined>;

                                method createService

                                protected createService: (config: any, flags: Flags) => void;

                                  method finally

                                  finally: (err: any) => Promise<void>;

                                    method init

                                    init: () => Promise<void>;

                                      method printDeprecationWarning

                                      protected printDeprecationWarning: () => void;

                                        method runTasks

                                        runTasks: <Result>(
                                        generateTasks: (context: ProjectContext) => ListrTask[],
                                        options?: any
                                        ) => Promise<Result>;


                                          interface ClientCommandFlags

                                          interface ClientCommandFlags extends Flags {}

                                            property clientName

                                            clientName?: string;

                                              property clientReferenceId

                                              clientReferenceId?: string;

                                                property clientVersion

                                                clientVersion?: string;

                                                  property excludes

                                                  excludes?: string;

                                                    property includes

                                                    includes?: string;

                                                      property queries

                                                      queries?: string;

                                                        property tagName

                                                        tagName?: string;

                                                          interface Commit

                                                          interface Commit {}

                                                            property authorEmail

                                                            authorEmail: string | null;

                                                              property authorName

                                                              authorName: string | null;

                                                                interface Flags

                                                                interface Flags {}

                                                                  property config

                                                                  config?: string;

                                                                    property endpoint

                                                                    endpoint?: string;

                                                                      property engine

                                                                      engine?: string;

                                                                        property graph

                                                                        graph?: string;

                                                                          property header

                                                                          header?: string[];

                                                                            property key

                                                                            key?: string;

                                                                              property localSchemaFile

                                                                              localSchemaFile?: string;

                                                                                property skipSSLValidation

                                                                                skipSSLValidation?: boolean;

                                                                                  property tag

                                                                                  tag?: string;

                                                                                    property variant

                                                                                    variant?: string;

                                                                                      interface GitContext

                                                                                      interface GitContext {}

                                                                                        property branch

                                                                                        branch?: string;

                                                                                          property commit

                                                                                          commit?: string;

                                                                                            property committer

                                                                                            committer?: string;

                                                                                              property message

                                                                                              message?: string;

                                                                                                property remoteUrl

                                                                                                remoteUrl?: string;

                                                                                                  interface ProjectContext

                                                                                                  interface ProjectContext<Flags = any, Args = any> {}

                                                                                                    property args

                                                                                                    args: Args;

                                                                                                      property config

                                                                                                      config: ApolloConfig;

                                                                                                        property flags

                                                                                                        flags: Flags;

                                                                                                          property project

                                                                                                          project: GraphQLProject;

                                                                                                            Package Files (3)

                                                                                                            Dependencies (37)

                                                                                                            Dev Dependencies (1)

                                                                                                            Peer Dependencies (0)

                                                                                                            No peer dependencies.


                                                                                                            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                                                                            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/apollo.

                                                                                                            • Markdown
                                                                                                            • HTML
                                                                                                              <a href="https://www.jsdocs.io/package/apollo"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>