The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

@graphql-mesh/cli

Functions#

findAndParseConfig#

findAndParseConfig(options?): Promise<ProcessedConfig\>

Parameters#

NameType
options?{ configName?: string } & ConfigProcessOptions

Returns#

Promise<ProcessedConfig\>

Defined in#

packages/cli/src/config.ts:19


generateTsArtifacts#

generateTsArtifacts(__namedParameters): Promise<void\>

Parameters#

NameType
__namedParametersObject
__namedParameters.baseDirstring
__namedParameters.documentsSource[]
__namedParameters.flattenTypesboolean
__namedParameters.importedModulesSetSet<string\>
__namedParameters.loggerLogger
__namedParameters.mergerTypestring
__namedParameters.meshConfigCodestring
__namedParameters.rawSourcesRawSourceOutput[]
__namedParameters.sdkConfigSDKConfig
__namedParameters.unifiedSchemaGraphQLSchema

Returns#

Promise<void\>

Defined in#

packages/cli/src/commands/ts-artifacts.ts:101


graphqlMesh#

graphqlMesh(): Promise<{ $0: string ; _: (string | number)[] ; port: number ; prod: boolean ; validate: boolean } | { $0: string ; _: (string | number)[] ; port: number ; prod: boolean ; validate: boolean }\>

Returns#

Promise<{ $0: string ; _: (string | number)[] ; port: number ; prod: boolean ; validate: boolean } | { $0: string ; _: (string | number)[] ; port: number ; prod: boolean ; validate: boolean }\>

Defined in#

packages/cli/src/index.ts:29


serveMesh#

serveMesh(__namedParameters): Promise<Object\>

Parameters#

NameType
__namedParametersServeMeshOptions

Returns#

Promise<Object\>

Defined in#

packages/cli/src/commands/serve/serve.ts:48