refactor: update lang headers

This commit is contained in:
Jason Kuhrt 2020-04-07 11:14:08 -04:00
parent b9df04b883
commit cd08bb2a6d
9 changed files with 11 additions and 10 deletions

View File

@ -1,9 +1,9 @@
export const SDL_HEADER = `### This file was autogenerated by GraphQL Nexus
export const SDL_HEADER = `### This file was generated by Nexus Schema
### Do not make changes to this file directly
`;
export const TYPEGEN_HEADER = `/**
* This file was automatically generated by GraphQL Nexus
* This file was automatically generated by Nexus Schema
* Do not make changes to this file directly
*/
`;

View File

@ -14,7 +14,7 @@ exports[`backingTypes can match backing types to regular enums 1`] = `
exports[`rootTypings can import enum via rootTyping 1`] = `
"/**
* This file was automatically generated by GraphQL Nexus
* This file was automatically generated by Nexus Schema
* Do not make changes to this file directly
*/

View File

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`makeSchema shouldExitAfterGenerateArtifacts accepts a customPrintSchemaFn 1`] = `
"### This file was autogenerated by GraphQL Nexus
"### This file was generated by Nexus Schema
### Do not make changes to this file directly

View File

@ -144,7 +144,7 @@ exports[`typegenPrinter should print a root type map 1`] = `
exports[`typegenPrinter should print the full output 1`] = `
"/**
* This file was automatically generated by GraphQL Nexus
* This file was automatically generated by Nexus Schema
* Do not make changes to this file directly
*/

View File

@ -1,8 +1,9 @@
/**
* This file was automatically generated by GraphQL Nexus
* This file was automatically generated by Nexus Schema
* Do not make changes to this file directly
*/
import { core } from "../..";
declare global {
interface NexusGenCustomInputMethods<TypeName extends string> {
title(...args: any): void;

View File

@ -44,7 +44,7 @@ Array [
exports[`fieldAuthorizePlugin printing the authorize schema: Full Type Output 1`] = `
"/**
* This file was automatically generated by GraphQL Nexus
* This file was automatically generated by Nexus Schema
* Do not make changes to this file directly
*/

View File

@ -2,7 +2,7 @@
exports[`queryComplexityPlugin printing the query complexity schema: Full Type Output 1`] = `
"/**
* This file was automatically generated by GraphQL Nexus
* This file was automatically generated by Nexus Schema
* Do not make changes to this file directly
*/

View File

@ -1,4 +1,4 @@
### This file was autogenerated by GraphQL Nexus
### This file was generated by Nexus Schema
### Do not make changes to this file directly
input CreatePostInput {

View File

@ -1,5 +1,5 @@
/**
* This file was automatically generated by GraphQL Nexus
* This file was automatically generated by Nexus Schema
* Do not make changes to this file directly
*/