Skip to main content

diff

CompareMethod

Defined in: index.ts:20

Enumeration Members

DIFF

DIFF: "SCHEMA-DIFF";

Defined in: index.ts:21

FORCE

FORCE: "FORCE";

Defined in: index.ts:23

HASH

HASH: "SCHEMA-HASH";

Defined in: index.ts:22

NONE

NONE: "NONE";

Defined in: index.ts:24


checkSchemaChanges

const checkSchemaChanges: FunctionCheckSchemaChanges;

Defined in: index.ts:42


SCHEMA_HASH_FILE

const SCHEMA_HASH_FILE: ".schema";

Defined in: index.ts:18


SCHEMA_REF

const SCHEMA_REF: "schema.graphql";

Defined in: index.ts:19


getDiff()

function getDiff(schemaNew, schemaOldLocation): Promise<Change<any>[]>

Defined in: index.ts:32

Parameters

schemaNew

GraphQLSchema

schemaOldLocation

string

Returns

Promise<Change<any>[]>


getSchemaHash()

function getSchemaHash(schema): string

Defined in: index.ts:27

Parameters

schema

GraphQLSchema

Returns

string