apollo
- Version 2.34.0
- Published
- 288 kB
- 37 dependencies
- MIT license
Install
npm i apollo
yarn add apollo
pnpm add apollo
Overview
Command line tool for Apollo GraphQL
Index
Functions
Classes
Interfaces
Functions
function gitInfo
gitInfo: (log: Command) => Promise<GitContext | undefined>;
function sanitizeGitRemote
sanitizeGitRemote: (remote?: string | undefined) => any;
Classes
class ClientCommand
abstract class ClientCommand extends ProjectCommand {}
constructor
constructor(argv: any, config: any);
property flags
static flags: { clientReferenceId: flags.IOptionFlag<string>; clientName: flags.IOptionFlag<string>; clientVersion: flags.IOptionFlag<string>; tag: flags.IOptionFlag<string>; variant: flags.IOptionFlag<string>; graph: flags.IOptionFlag<string>; queries: flags.IOptionFlag<string>; includes: flags.IOptionFlag<string>; excludes: flags.IOptionFlag<string>; tagName: flags.IOptionFlag<string>; config: flags.IOptionFlag<string>; header: flags.IOptionFlag<string>; endpoint: flags.IOptionFlag<string>; key: flags.IOptionFlag<string>; engine: flags.IOptionFlag<string>;};
property project
project: GraphQLClientProject;
class ProjectCommand
abstract class ProjectCommand extends Command {}
property configMap
protected configMap?: (flags: any) => DeepPartial<ApolloConfig>;
property DEPRECATION_MSG
static DEPRECATION_MSG: string;
property flags
static flags: { config: flags.IOptionFlag<string>; header: flags.IOptionFlag<string>; endpoint: flags.IOptionFlag<string>; key: flags.IOptionFlag<string>; engine: flags.IOptionFlag<string>;};
property project
project: GraphQLProject;
property tasks
tasks: ListrTask[];
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: ApolloConfig, 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>;
Interfaces
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 {}
interface ProjectContext
interface ProjectContext<Flags = any, Args = any> {}
Package Files (3)
Dependencies (37)
- @apollographql/apollo-tools
- @oclif/command
- @oclif/config
- @oclif/errors
- @oclif/plugin-autocomplete
- @oclif/plugin-help
- @oclif/plugin-not-found
- @oclif/plugin-plugins
- @oclif/plugin-warn-if-update-available
- apollo-codegen-core
- apollo-codegen-flow
- apollo-codegen-scala
- apollo-codegen-swift
- apollo-codegen-typescript
- apollo-env
- apollo-graphql
- apollo-language-server
- chalk
- cli-ux
- env-ci
- gaze
- git-parse
- git-rev-sync
- git-url-parse
- glob
- global-agent
- graphql
- graphql-tag
- listr
- lodash.identity
- lodash.pickby
- mkdirp
- moment
- strip-ansi
- table
- tty
- vscode-uri
Dev Dependencies (1)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto 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[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/apollo)
- HTML<a href="https://www.jsdocs.io/package/apollo"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4279 ms. - Missing or incorrect documentation? Open an issue for this package.