From aca0c4a8d500cd05707f16621b72f8c228bdcc03 Mon Sep 17 00:00:00 2001 From: Matt Briggs Date: Thu, 18 Jul 2019 16:38:09 -0400 Subject: [PATCH] fix: Do not prompt for analytics (#757) --- .../src/app/pseudo-terminal.factory.ts | 6 +- .../schema/src/lib/generated/graphql-types.ts | 985 +++++++++--------- 2 files changed, 495 insertions(+), 496 deletions(-) diff --git a/apps/electron/src/app/pseudo-terminal.factory.ts b/apps/electron/src/app/pseudo-terminal.factory.ts index 0954a3ca07..7e8c0c5f0d 100644 --- a/apps/electron/src/app/pseudo-terminal.factory.ts +++ b/apps/electron/src/app/pseudo-terminal.factory.ts @@ -12,9 +12,13 @@ export const nodePtyPseudoTerminalFactory: PseudoTerminalFactory = ({ const DEFAULT_ROWS = 24; const DEFAULT_COLS = 80; const opts = { + cwd, cols: DEFAULT_COLS, rows: DEFAULT_ROWS, - cwd + env: { + ...process.env, + CI: 'true' + } }; let commandRunning: IPty; diff --git a/libs/schema/src/lib/generated/graphql-types.ts b/libs/schema/src/lib/generated/graphql-types.ts index 1956bac6d6..9d8203e01d 100644 --- a/libs/schema/src/lib/generated/graphql-types.ts +++ b/libs/schema/src/lib/generated/graphql-types.ts @@ -462,24 +462,24 @@ export interface OpenDocMutationArgs { import { GraphQLResolveInfo } from 'graphql'; -export type Resolver = ( +export type Resolver = ( parent: Parent, args: Args, - context: TContext, + context: Context, info: GraphQLResolveInfo ) => Promise | Result; -export interface ISubscriptionResolverObject { +export interface ISubscriptionResolverObject { subscribe( parent: P, args: Args, - context: TContext, + context: Context, info: GraphQLResolveInfo ): AsyncIterator | Promise>; resolve?( parent: P, args: Args, - context: TContext, + context: Context, info: GraphQLResolveInfo ): R | Result | Promise; } @@ -487,17 +487,17 @@ export interface ISubscriptionResolverObject { export type SubscriptionResolver< Result, Parent = {}, - TContext = {}, + Context = {}, Args = {} > = | (( ...args: any[] - ) => ISubscriptionResolverObject) - | ISubscriptionResolverObject; + ) => ISubscriptionResolverObject) + | ISubscriptionResolverObject; -export type TypeResolveFn = ( +export type TypeResolveFn = ( parent: Parent, - context: TContext, + context: Context, info: GraphQLResolveInfo ) => Maybe; @@ -512,63 +512,64 @@ export type DirectiveResolverFn = ( ) => TResult | Promise; export namespace QueryResolvers { - export interface Resolvers { - settings?: SettingsResolver; + export interface Resolvers { + settings?: SettingsResolver; schematicCollections?: SchematicCollectionsResolver< any[], TypeParent, - TContext + Context >; - workspace?: WorkspaceResolver; + workspace?: WorkspaceResolver; - editors?: EditorsResolver; + editors?: EditorsResolver; availableExtensions?: AvailableExtensionsResolver< any[], TypeParent, - TContext + Context >; isNodejsInstalled?: IsNodejsInstalledResolver< Maybe, TypeParent, - TContext + Context >; - commands?: CommandsResolver; + commands?: CommandsResolver; } - export type SettingsResolver = Resolver< + export type SettingsResolver = Resolver< R, Parent, - TContext + Context >; export type SchematicCollectionsResolver< R = any[], Parent = {}, - TContext = any - > = Resolver; - export type WorkspaceResolver< - R = any, - Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; + export type WorkspaceResolver = Resolver< + R, + Parent, + Context, + WorkspaceArgs + >; export interface WorkspaceArgs { path: string; } - export type EditorsResolver< - R = any[], - Parent = {}, - TContext = any - > = Resolver; + export type EditorsResolver = Resolver< + R, + Parent, + Context + >; export type AvailableExtensionsResolver< R = any[], Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface AvailableExtensionsArgs { name?: Maybe; } @@ -576,13 +577,13 @@ export namespace QueryResolvers { export type IsNodejsInstalledResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type CommandsResolver< R = any[], Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface CommandsArgs { id?: Maybe; @@ -591,306 +592,306 @@ export namespace QueryResolvers { } export namespace SettingsResolvers { - export interface Resolvers { - canCollectData?: CanCollectDataResolver; + export interface Resolvers { + canCollectData?: CanCollectDataResolver; - isConnectUser?: IsConnectUserResolver, TypeParent, TContext>; + isConnectUser?: IsConnectUserResolver, TypeParent, Context>; disableAnimations?: DisableAnimationsResolver< Maybe, TypeParent, - TContext + Context >; showSupportPlugin?: ShowSupportPluginResolver< Maybe, TypeParent, - TContext + Context >; installNodeManually?: InstallNodeManuallyResolver< Maybe, TypeParent, - TContext + Context >; enableDetailedStatus?: EnableDetailedStatusResolver< Maybe, TypeParent, - TContext + Context >; - channel?: ChannelResolver, TypeParent, TContext>; + channel?: ChannelResolver, TypeParent, Context>; workspaceSchematicsDirectory?: WorkspaceSchematicsDirectoryResolver< Maybe, TypeParent, - TContext + Context >; workspaceSchematicsNpmScript?: WorkspaceSchematicsNpmScriptResolver< Maybe, TypeParent, - TContext + Context >; - recent?: RecentResolver; + recent?: RecentResolver; - isWsl?: IsWslResolver, TypeParent, TContext>; + isWsl?: IsWslResolver, TypeParent, Context>; - isWindows?: IsWindowsResolver, TypeParent, TContext>; + isWindows?: IsWindowsResolver, TypeParent, Context>; - useNvm?: UseNvmResolver, TypeParent, TContext>; + useNvm?: UseNvmResolver, TypeParent, Context>; } export type CanCollectDataResolver< R = boolean, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type IsConnectUserResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type DisableAnimationsResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type ShowSupportPluginResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type InstallNodeManuallyResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type EnableDetailedStatusResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type ChannelResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type WorkspaceSchematicsDirectoryResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type WorkspaceSchematicsNpmScriptResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; - export type RecentResolver< - R = any[], - Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; + export type RecentResolver = Resolver< + R, + Parent, + Context + >; export type IsWslResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type IsWindowsResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type UseNvmResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace WorkspaceDefinitionResolvers { - export interface Resolvers { - path?: PathResolver; + export interface Resolvers { + path?: PathResolver; - name?: NameResolver; + name?: NameResolver; - favorite?: FavoriteResolver, TypeParent, TContext>; + favorite?: FavoriteResolver, TypeParent, Context>; pinnedProjectNames?: PinnedProjectNamesResolver< string[], TypeParent, - TContext + Context >; } - export type PathResolver = Resolver< + export type PathResolver = Resolver< R, Parent, - TContext + Context >; - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type FavoriteResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type PinnedProjectNamesResolver< R = string[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace SchematicCollectionForNgNewResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - description?: DescriptionResolver; + description?: DescriptionResolver; - schema?: SchemaResolver; + schema?: SchemaResolver; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type DescriptionResolver< R = string, Parent = any, - TContext = any - > = Resolver; - export type SchemaResolver< - R = any[], - Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; + export type SchemaResolver = Resolver< + R, + Parent, + Context + >; } export namespace SchemaResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - type?: TypeResolver; + type?: TypeResolver; - description?: DescriptionResolver; + description?: DescriptionResolver; - defaultValue?: DefaultValueResolver, TypeParent, TContext>; + defaultValue?: DefaultValueResolver, TypeParent, Context>; - important?: ImportantResolver, TypeParent, TContext>; + important?: ImportantResolver, TypeParent, Context>; - completion?: CompletionResolver, TypeParent, TContext>; + completion?: CompletionResolver, TypeParent, Context>; - required?: RequiredResolver; + required?: RequiredResolver; - positional?: PositionalResolver; + positional?: PositionalResolver; - enum?: EnumResolver, TypeParent, TContext>; + enum?: EnumResolver, TypeParent, Context>; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; - export type TypeResolver = Resolver< + export type TypeResolver = Resolver< R, Parent, - TContext + Context >; export type DescriptionResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type DefaultValueResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type ImportantResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type CompletionResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type RequiredResolver< R = boolean, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type PositionalResolver< R = boolean, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type EnumResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace WorkspaceResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - path?: PathResolver; + path?: PathResolver; - dependencies?: DependenciesResolver; + dependencies?: DependenciesResolver; - extensions?: ExtensionsResolver; + extensions?: ExtensionsResolver; schematicCollections?: SchematicCollectionsResolver< any[], TypeParent, - TContext + Context >; - npmScripts?: NpmScriptsResolver; + npmScripts?: NpmScriptsResolver; - projects?: ProjectsResolver; + projects?: ProjectsResolver; - docs?: DocsResolver; + docs?: DocsResolver; - completions?: CompletionsResolver, TypeParent, TContext>; + completions?: CompletionsResolver, TypeParent, Context>; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; - export type PathResolver = Resolver< + export type PathResolver = Resolver< R, Parent, - TContext + Context >; export type DependenciesResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type ExtensionsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type SchematicCollectionsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface SchematicCollectionsArgs { name?: Maybe; } @@ -898,8 +899,8 @@ export namespace WorkspaceResolvers { export type NpmScriptsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface NpmScriptsArgs { name?: Maybe; } @@ -907,208 +908,208 @@ export namespace WorkspaceResolvers { export type ProjectsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface ProjectsArgs { name?: Maybe; } - export type DocsResolver = Resolver< + export type DocsResolver = Resolver< R, Parent, - TContext + Context >; export type CompletionsResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace DependenciesResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - version?: VersionResolver; + version?: VersionResolver; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type VersionResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace ExtensionResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - description?: DescriptionResolver; + description?: DescriptionResolver; detailedDescription?: DetailedDescriptionResolver< Maybe, TypeParent, - TContext + Context >; - installed?: InstalledResolver, TypeParent, TContext>; + installed?: InstalledResolver, TypeParent, Context>; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type DescriptionResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type DetailedDescriptionResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type InstalledResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace SchematicCollectionResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - schematics?: SchematicsResolver; + schematics?: SchematicsResolver; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type SchematicsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface SchematicsArgs { name?: Maybe; } } export namespace SchematicResolvers { - export interface Resolvers { - collection?: CollectionResolver; + export interface Resolvers { + collection?: CollectionResolver; - name?: NameResolver; + name?: NameResolver; - description?: DescriptionResolver; + description?: DescriptionResolver; - npmClient?: NpmClientResolver, TypeParent, TContext>; + npmClient?: NpmClientResolver, TypeParent, Context>; - npmScript?: NpmScriptResolver, TypeParent, TContext>; + npmScript?: NpmScriptResolver, TypeParent, Context>; - schema?: SchemaResolver; + schema?: SchemaResolver; } export type CollectionResolver< R = string, Parent = any, - TContext = any - > = Resolver; - export type NameResolver = Resolver< + Context = any + > = Resolver; + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type DescriptionResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type NpmClientResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type NpmScriptResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; - export type SchemaResolver< - R = any[], - Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; + export type SchemaResolver = Resolver< + R, + Parent, + Context + >; } export namespace NpmScriptResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - npmClient?: NpmClientResolver, TypeParent, TContext>; + npmClient?: NpmClientResolver, TypeParent, Context>; - schema?: SchemaResolver; + schema?: SchemaResolver; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type NpmClientResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; - export type SchemaResolver< - R = any[], - Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; + export type SchemaResolver = Resolver< + R, + Parent, + Context + >; } export namespace ProjectResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - root?: RootResolver; + root?: RootResolver; - projectType?: ProjectTypeResolver; + projectType?: ProjectTypeResolver; - architect?: ArchitectResolver; + architect?: ArchitectResolver; - recentActions?: RecentActionsResolver; + recentActions?: RecentActionsResolver; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; - export type RootResolver = Resolver< + export type RootResolver = Resolver< R, Parent, - TContext + Context >; export type ProjectTypeResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type ArchitectResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface ArchitectArgs { name?: Maybe; } @@ -1116,150 +1117,150 @@ export namespace ProjectResolvers { export type RecentActionsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace ArchitectResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - project?: ProjectResolver; + project?: ProjectResolver; - builder?: BuilderResolver; + builder?: BuilderResolver; - description?: DescriptionResolver; + description?: DescriptionResolver; - options?: OptionsResolver; + options?: OptionsResolver; - configurations?: ConfigurationsResolver; + configurations?: ConfigurationsResolver; - schema?: SchemaResolver; + schema?: SchemaResolver; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type ProjectResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type BuilderResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type DescriptionResolver< R = string, Parent = any, - TContext = any - > = Resolver; - export type OptionsResolver = Resolver< + Context = any + > = Resolver; + export type OptionsResolver = Resolver< R, Parent, - TContext + Context >; export type ConfigurationsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; - export type SchemaResolver< - R = any[], - Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; + export type SchemaResolver = Resolver< + R, + Parent, + Context + >; } export namespace OptionsResolvers { - export interface Resolvers { - defaultValues?: DefaultValuesResolver; + export interface Resolvers { + defaultValues?: DefaultValuesResolver; } export type DefaultValuesResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace FieldValueResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - defaultValue?: DefaultValueResolver, TypeParent, TContext>; + defaultValue?: DefaultValueResolver, TypeParent, Context>; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type DefaultValueResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace ArchitectConfigurationsResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - defaultValues?: DefaultValuesResolver; + defaultValues?: DefaultValuesResolver; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; export type DefaultValuesResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace RecentActionResolvers { - export interface Resolvers { - actionName?: ActionNameResolver; + export interface Resolvers { + actionName?: ActionNameResolver; - schematicName?: SchematicNameResolver, TypeParent, TContext>; + schematicName?: SchematicNameResolver, TypeParent, Context>; } export type ActionNameResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type SchematicNameResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace DocsResolvers { - export interface Resolvers { - workspaceDocs?: WorkspaceDocsResolver; + export interface Resolvers { + workspaceDocs?: WorkspaceDocsResolver; - schematicDocs?: SchematicDocsResolver; + schematicDocs?: SchematicDocsResolver; } export type WorkspaceDocsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type SchematicDocsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface SchematicDocsArgs { collectionName: string; @@ -1270,46 +1271,46 @@ export namespace DocsResolvers { } export namespace DocResolvers { - export interface Resolvers { - prop?: PropResolver, TypeParent, TContext>; + export interface Resolvers { + prop?: PropResolver, TypeParent, Context>; - description?: DescriptionResolver, TypeParent, TContext>; + description?: DescriptionResolver, TypeParent, Context>; - id?: IdResolver; + id?: IdResolver; } export type PropResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type DescriptionResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; - export type IdResolver = Resolver< + Context = any + > = Resolver; + export type IdResolver = Resolver< R, Parent, - TContext + Context >; } export namespace CompletionsTypesResolvers { - export interface Resolvers { - files?: FilesResolver; + export interface Resolvers { + files?: FilesResolver; - projects?: ProjectsResolver; + projects?: ProjectsResolver; - localModules?: LocalModulesResolver; + localModules?: LocalModulesResolver; - absoluteModules?: AbsoluteModulesResolver; + absoluteModules?: AbsoluteModulesResolver; } - export type FilesResolver = Resolver< + export type FilesResolver = Resolver< R, Parent, - TContext, + Context, FilesArgs >; export interface FilesArgs { @@ -1319,8 +1320,8 @@ export namespace CompletionsTypesResolvers { export type ProjectsResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface ProjectsArgs { input: string; } @@ -1328,8 +1329,8 @@ export namespace CompletionsTypesResolvers { export type LocalModulesResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface LocalModulesArgs { input: string; } @@ -1337,175 +1338,171 @@ export namespace CompletionsTypesResolvers { export type AbsoluteModulesResolver< R = any[], Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface AbsoluteModulesArgs { input: string; } } export namespace CompletionResultTypeResolvers { - export interface Resolvers { - value?: ValueResolver; + export interface Resolvers { + value?: ValueResolver; - display?: DisplayResolver, TypeParent, TContext>; + display?: DisplayResolver, TypeParent, Context>; } - export type ValueResolver< - R = string, - Parent = any, - TContext = any - > = Resolver; + export type ValueResolver = Resolver< + R, + Parent, + Context + >; export type DisplayResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace EditorSupportResolvers { - export interface Resolvers { - name?: NameResolver; + export interface Resolvers { + name?: NameResolver; - icon?: IconResolver; + icon?: IconResolver; } - export type NameResolver = Resolver< + export type NameResolver = Resolver< R, Parent, - TContext + Context >; - export type IconResolver = Resolver< + export type IconResolver = Resolver< R, Parent, - TContext + Context >; } export namespace IsNodeInstalledResultResolvers { - export interface Resolvers { - result?: ResultResolver; + export interface Resolvers { + result?: ResultResolver; } export type ResultResolver< R = boolean, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace CommandResponseResolvers { - export interface Resolvers { - id?: IdResolver; + export interface Resolvers { + id?: IdResolver; - workspace?: WorkspaceResolver, TypeParent, TContext>; + workspace?: WorkspaceResolver, TypeParent, Context>; - command?: CommandResolver; + command?: CommandResolver; - status?: StatusResolver; + status?: StatusResolver; - detailedStatus?: DetailedStatusResolver< - Maybe, - TypeParent, - TContext - >; + detailedStatus?: DetailedStatusResolver, TypeParent, Context>; - outChunk?: OutChunkResolver; + outChunk?: OutChunkResolver; - out?: OutResolver; + out?: OutResolver; } - export type IdResolver = Resolver< + export type IdResolver = Resolver< R, Parent, - TContext + Context >; export type WorkspaceResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type CommandResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type StatusResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type DetailedStatusResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type OutChunkResolver< R = string, Parent = any, - TContext = any - > = Resolver; - export type OutResolver = Resolver< + Context = any + > = Resolver; + export type OutResolver = Resolver< R, Parent, - TContext + Context >; } export namespace MutationResolvers { - export interface Resolvers { - ngAdd?: NgAddResolver, TypeParent, TContext>; + export interface Resolvers { + ngAdd?: NgAddResolver, TypeParent, Context>; - ngNew?: NgNewResolver, TypeParent, TContext>; + ngNew?: NgNewResolver, TypeParent, Context>; - generate?: GenerateResolver, TypeParent, TContext>; + generate?: GenerateResolver, TypeParent, Context>; generateUsingNpm?: GenerateUsingNpmResolver< Maybe, TypeParent, - TContext + Context >; - runNg?: RunNgResolver, TypeParent, TContext>; + runNg?: RunNgResolver, TypeParent, Context>; - runNpm?: RunNpmResolver, TypeParent, TContext>; + runNpm?: RunNpmResolver, TypeParent, Context>; - stopCommand?: StopCommandResolver, TypeParent, TContext>; + stopCommand?: StopCommandResolver, TypeParent, Context>; - removeCommand?: RemoveCommandResolver, TypeParent, TContext>; + removeCommand?: RemoveCommandResolver, TypeParent, Context>; removeAllCommands?: RemoveAllCommandsResolver< Maybe, TypeParent, - TContext + Context >; - restartCommand?: RestartCommandResolver, TypeParent, TContext>; + restartCommand?: RestartCommandResolver, TypeParent, Context>; - openInEditor?: OpenInEditorResolver, TypeParent, TContext>; + openInEditor?: OpenInEditorResolver, TypeParent, Context>; - updateSettings?: UpdateSettingsResolver; + updateSettings?: UpdateSettingsResolver; - saveRecentAction?: SaveRecentActionResolver; + saveRecentAction?: SaveRecentActionResolver; - openInBrowser?: OpenInBrowserResolver, TypeParent, TContext>; + openInBrowser?: OpenInBrowserResolver, TypeParent, Context>; - selectDirectory?: SelectDirectoryResolver, TypeParent, TContext>; + selectDirectory?: SelectDirectoryResolver, TypeParent, Context>; showItemInFolder?: ShowItemInFolderResolver< Maybe, TypeParent, - TContext + Context >; - openDoc?: OpenDocResolver, TypeParent, TContext>; + openDoc?: OpenDocResolver, TypeParent, Context>; } export type NgAddResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface NgAddArgs { path: string; @@ -1515,8 +1512,8 @@ export namespace MutationResolvers { export type NgNewResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface NgNewArgs { path: string; @@ -1530,8 +1527,8 @@ export namespace MutationResolvers { export type GenerateResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface GenerateArgs { path: string; @@ -1543,8 +1540,8 @@ export namespace MutationResolvers { export type GenerateUsingNpmResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface GenerateUsingNpmArgs { path: string; @@ -1558,8 +1555,8 @@ export namespace MutationResolvers { export type RunNgResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface RunNgArgs { path: string; @@ -1569,8 +1566,8 @@ export namespace MutationResolvers { export type RunNpmResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface RunNpmArgs { path: string; @@ -1582,8 +1579,8 @@ export namespace MutationResolvers { export type StopCommandResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface StopCommandArgs { id: string; } @@ -1591,8 +1588,8 @@ export namespace MutationResolvers { export type RemoveCommandResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface RemoveCommandArgs { id: string; } @@ -1600,13 +1597,13 @@ export namespace MutationResolvers { export type RemoveAllCommandsResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type RestartCommandResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface RestartCommandArgs { id: string; } @@ -1614,8 +1611,8 @@ export namespace MutationResolvers { export type OpenInEditorResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface OpenInEditorArgs { editor: string; @@ -1625,8 +1622,8 @@ export namespace MutationResolvers { export type UpdateSettingsResolver< R = any, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface UpdateSettingsArgs { data: string; } @@ -1634,8 +1631,8 @@ export namespace MutationResolvers { export type SaveRecentActionResolver< R = any[], Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface SaveRecentActionArgs { workspacePath: string; @@ -1649,8 +1646,8 @@ export namespace MutationResolvers { export type OpenInBrowserResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface OpenInBrowserArgs { url: string; } @@ -1658,8 +1655,8 @@ export namespace MutationResolvers { export type SelectDirectoryResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface SelectDirectoryArgs { dialogTitle: string; @@ -1671,8 +1668,8 @@ export namespace MutationResolvers { export type ShowItemInFolderResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface ShowItemInFolderArgs { item: string; } @@ -1680,118 +1677,118 @@ export namespace MutationResolvers { export type OpenDocResolver< R = Maybe, Parent = {}, - TContext = any - > = Resolver; + Context = any + > = Resolver; export interface OpenDocArgs { id: string; } } export namespace CommandStartedResolvers { - export interface Resolvers { - id?: IdResolver; + export interface Resolvers { + id?: IdResolver; } - export type IdResolver = Resolver< + export type IdResolver = Resolver< R, Parent, - TContext + Context >; } export namespace StopResultResolvers { - export interface Resolvers { - result?: ResultResolver, TypeParent, TContext>; + export interface Resolvers { + result?: ResultResolver, TypeParent, Context>; } export type ResultResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace RemoveResultResolvers { - export interface Resolvers { - result?: ResultResolver, TypeParent, TContext>; + export interface Resolvers { + result?: ResultResolver, TypeParent, Context>; } export type ResultResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace OpenInEditorResolvers { - export interface Resolvers { - response?: ResponseResolver; + export interface Resolvers { + response?: ResponseResolver; } export type ResponseResolver< R = string, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace OpenInBrowserResultResolvers { - export interface Resolvers { - result?: ResultResolver; + export interface Resolvers { + result?: ResultResolver; } export type ResultResolver< R = boolean, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace SelectDirectoryResultResolvers { - export interface Resolvers { + export interface Resolvers { selectedDirectoryPath?: SelectedDirectoryPathResolver< Maybe, TypeParent, - TContext + Context >; - error?: ErrorResolver, TypeParent, TContext>; + error?: ErrorResolver, TypeParent, Context>; } export type SelectedDirectoryPathResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; export type ErrorResolver< R = Maybe, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace ShowItemInFolderResultResolvers { - export interface Resolvers { - result?: ResultResolver; + export interface Resolvers { + result?: ResultResolver; } export type ResultResolver< R = boolean, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } export namespace OpenDocResultResolvers { - export interface Resolvers { - result?: ResultResolver; + export interface Resolvers { + result?: ResultResolver; } export type ResultResolver< R = boolean, Parent = any, - TContext = any - > = Resolver; + Context = any + > = Resolver; } /** Directs the executor to skip this field or fragment when the `if` argument is true. */ @@ -1827,48 +1824,46 @@ export interface DeprecatedDirectiveArgs { reason?: string; } -export type IResolvers = { - Query?: QueryResolvers.Resolvers; - Settings?: SettingsResolvers.Resolvers; - WorkspaceDefinition?: WorkspaceDefinitionResolvers.Resolvers; +export interface IResolvers { + Query?: QueryResolvers.Resolvers; + Settings?: SettingsResolvers.Resolvers; + WorkspaceDefinition?: WorkspaceDefinitionResolvers.Resolvers; SchematicCollectionForNgNew?: SchematicCollectionForNgNewResolvers.Resolvers< - TContext - >; - Schema?: SchemaResolvers.Resolvers; - Workspace?: WorkspaceResolvers.Resolvers; - Dependencies?: DependenciesResolvers.Resolvers; - Extension?: ExtensionResolvers.Resolvers; - SchematicCollection?: SchematicCollectionResolvers.Resolvers; - Schematic?: SchematicResolvers.Resolvers; - NpmScript?: NpmScriptResolvers.Resolvers; - Project?: ProjectResolvers.Resolvers; - Architect?: ArchitectResolvers.Resolvers; - Options?: OptionsResolvers.Resolvers; - FieldValue?: FieldValueResolvers.Resolvers; - ArchitectConfigurations?: ArchitectConfigurationsResolvers.Resolvers< - TContext + Context >; - RecentAction?: RecentActionResolvers.Resolvers; - Docs?: DocsResolvers.Resolvers; - Doc?: DocResolvers.Resolvers; - CompletionsTypes?: CompletionsTypesResolvers.Resolvers; - CompletionResultType?: CompletionResultTypeResolvers.Resolvers; - EditorSupport?: EditorSupportResolvers.Resolvers; - IsNodeInstalledResult?: IsNodeInstalledResultResolvers.Resolvers; - CommandResponse?: CommandResponseResolvers.Resolvers; - Mutation?: MutationResolvers.Resolvers; - CommandStarted?: CommandStartedResolvers.Resolvers; - StopResult?: StopResultResolvers.Resolvers; - RemoveResult?: RemoveResultResolvers.Resolvers; - OpenInEditor?: OpenInEditorResolvers.Resolvers; - OpenInBrowserResult?: OpenInBrowserResultResolvers.Resolvers; - SelectDirectoryResult?: SelectDirectoryResultResolvers.Resolvers; - ShowItemInFolderResult?: ShowItemInFolderResultResolvers.Resolvers; - OpenDocResult?: OpenDocResultResolvers.Resolvers; -} & { [typeName: string]: never }; - -export type IDirectiveResolvers = { + Schema?: SchemaResolvers.Resolvers; + Workspace?: WorkspaceResolvers.Resolvers; + Dependencies?: DependenciesResolvers.Resolvers; + Extension?: ExtensionResolvers.Resolvers; + SchematicCollection?: SchematicCollectionResolvers.Resolvers; + Schematic?: SchematicResolvers.Resolvers; + NpmScript?: NpmScriptResolvers.Resolvers; + Project?: ProjectResolvers.Resolvers; + Architect?: ArchitectResolvers.Resolvers; + Options?: OptionsResolvers.Resolvers; + FieldValue?: FieldValueResolvers.Resolvers; + ArchitectConfigurations?: ArchitectConfigurationsResolvers.Resolvers; + RecentAction?: RecentActionResolvers.Resolvers; + Docs?: DocsResolvers.Resolvers; + Doc?: DocResolvers.Resolvers; + CompletionsTypes?: CompletionsTypesResolvers.Resolvers; + CompletionResultType?: CompletionResultTypeResolvers.Resolvers; + EditorSupport?: EditorSupportResolvers.Resolvers; + IsNodeInstalledResult?: IsNodeInstalledResultResolvers.Resolvers; + CommandResponse?: CommandResponseResolvers.Resolvers; + Mutation?: MutationResolvers.Resolvers; + CommandStarted?: CommandStartedResolvers.Resolvers; + StopResult?: StopResultResolvers.Resolvers; + RemoveResult?: RemoveResultResolvers.Resolvers; + OpenInEditor?: OpenInEditorResolvers.Resolvers; + OpenInBrowserResult?: OpenInBrowserResultResolvers.Resolvers; + SelectDirectoryResult?: SelectDirectoryResultResolvers.Resolvers; + ShowItemInFolderResult?: ShowItemInFolderResultResolvers.Resolvers; + OpenDocResult?: OpenDocResultResolvers.Resolvers; +} + +export interface IDirectiveResolvers { skip?: SkipDirectiveResolver; include?: IncludeDirectiveResolver; deprecated?: DeprecatedDirectiveResolver; -} & { [directiveName: string]: never }; +}