# The configurations that used for the recording, feel free to edit them config: # Specify a command to be executed # like `/bin/bash -l`, `ls`, or any other commands # the default is bash for Linux # or powershell.exe for Windows command: bash -l # Specify the current working directory path # the default is the current working directory path cwd: /Users/kamilkisiela/Repo/kamilkisiela/graphql-inspector # Export additional ENV variables env: recording: true # Explicitly set the number of columns # or use `auto` to take the current # number of columns of your shell cols: 80 # Explicitly set the number of rows # or use `auto` to take the current # number of rows of your shell rows: 20 # Amount of times to repeat GIF # If value is -1, play once # If value is 0, loop indefinitely # If value is a positive number, loop n times repeat: 0 # Quality # 1 - 100 quality: 100 # Delay between frames in ms # If the value is `auto` use the actual recording delays frameDelay: auto # Maximum delay between frames in ms # Ignored if the `frameDelay` isn't set to `auto` # Set to `auto` to prevent limiting the max idle time maxIdleTime: 2000 # The surrounding frame box # The `type` can be null, window, floating, or solid` # To hide the title use the value null # Don't forget to add a backgroundColor style with a null as type frameBox: type: solid title: null style: [] # Add a watermark image to the rendered gif # You need to specify an absolute path for # the image on your machine or a URL, and you can also # add your own CSS styles watermark: imagePath: null style: position: absolute right: 15px bottom: 15px width: 100px opacity: 0.9 # Cursor style can be one of # `block`, `underline`, or `bar` cursorStyle: block # Font family # You can use any font that is installed on your machine # in CSS-like syntax fontFamily: 'Monaco, Lucida Console, Ubuntu Mono, Monospace' # The size of the font fontSize: 16 # The height of lines lineHeight: 1 # The spacing between letters letterSpacing: 0 # Theme theme: background: transparent foreground: '#afafaf' cursor: '#c7c7c7' black: '#232628' red: '#fc4384' green: '#b3e33b' yellow: '#ffa727' blue: '#75dff2' magenta: '#ae89fe' cyan: '#708387' white: '#d5d5d0' brightBlack: '#626566' brightRed: '#ff7fac' brightGreen: '#c8ed71' brightYellow: '#ebdf86' brightBlue: '#75dff2' brightMagenta: '#ae89fe' brightCyan: '#b1c6ca' brightWhite: '#f9f9f4' # Records, feel free to edit them records: - delay: 622 content: "\e[?1034h$ " - delay: 100 content: graphql-inspector diff schema.graphql new.graphql - delay: 761 content: "\r\n" - delay: 159 content: "\r\nDetected the following changes (6) between schemas:\r\n\r\n\e[31m✖\e[39m Field \e[1mposts\e[22m was removed from object type \e[1mQuery\e[22m\r\n\e[31m✖\e[39m Field \e[1mmodifiedAt\e[22m was removed from object type \e[1mPost\e[22m\r\n\e[32m✔\e[39m Field \e[1mPost.id\e[22m changed type from \e[1mID\e[22m to \e[1mID!\e[22m\r\n\e[32m✔\e[39m Deprecation reason on field \e[1mPost.title\e[22m has changed from \e[1mNo more used\e[22m to \e[1mundefined\e[22m\r\n\e[32m✔\e[39m Field \e[1mPost.title\e[22m changed type from \e[1mString\e[22m to \e[1mString!\e[22m\r\n\e[32m✔\e[39m Field \e[1mPost.createdAt\e[22m changed type from \e[1mString\e[22m to \e[1mString!\e[22m\r\n\r\n\e[91merror\e[39m Detected 2 breaking changes\r\n\r\n" - delay: 17 content: "\e[2K\e[1G\e[31merror\e[39m Command failed with exit code 1.\r\n\e[2K\e[1G\e[34minfo\e[39m Visit \e[1mhttps://yarnpkg.com/en/docs/cli/run\e[22m for documentation about this command.\r\n" - delay: 3000 content: clear - delay: 100 content: "\r\n\e[H\e[2J$ " - delay: 100 content: graphql-inspector diff schema.graphql schema.graphql - delay: 526 content: "\r\n" - delay: 153 content: "\r\n\e[92msuccess\e[39m No changes detected\r\n" - delay: 13 content: "\e[2K\e[1G✨ Done in 0.75s.\r\n" - delay: 3000 content: clear - delay: 100 content: "\r\n\e[H\e[2J$ " - delay: 100 content: graphql-inspector validate ./documents/*.graphql schema.graphql - delay: 242 content: "\r\n" - delay: 162 content: "\r\nDetected 1 invalid document:\r\n\r\n\e[91merror\e[39m in ./documents/post.graphql:\r\n\r\n - Cannot query field \e[1mcreatedAtSomePoint\e[22m on type \e[1mPost\e[22m. Did you mean \e[1mcreatedAt\e[22m? \r\n\r\n\r\n\r\nDetected 1 document with deprecated fields:\r\n\r\n\e[93mwarn\e[39m in ./documents/post.graphql:\r\n\r\n - The field \e[1mPost.title\e[22m is deprecated. No more used \r\n\r\n\r\n" - delay: 18 content: "\e[2K\e[1G\e[31merror\e[39m Command failed with exit code 1.\r\n\e[2K\e[1G\e[34minfo\e[39m Visit \e[1mhttps://yarnpkg.com/en/docs/cli/run\e[22m for documentation about this command.\r\n" - delay: 3000 content: clear - delay: 100 content: "\r\n\e[H\e[2J$ " - delay: 100 content: graphql-inspector validate ./no-documents/*.graphql schema.graphql - delay: 140 content: "\r\n" - delay: 155 content: "\r\n\e[92msuccess\e[39m All documents are valid\r\n" - delay: 13 content: "\e[2K\e[1G✨ Done in 0.74s.\r\n" - delay: 3000 content: clear - delay: 100 content: "\r\n\e[H\e[2J$ " - delay: 100 content: graphql-inspector similar similar.graphql - delay: 381 content: "\r\n" - delay: 165 content: "\r\ntype \e[1mPost\e[22m\r\n●●●●● \e[90m(96%)\e[39m EmailPost\r\n●●●●\e[90m●\e[39m \e[90m(78%)\e[39m BlogPost\r\n●●●●\e[90m●\e[39m \e[90m(72%)\e[39m MailPost\r\n\r\ntype \e[1mBlogPost\e[22m\r\n●●●●● \e[90m(94%)\e[39m MailPost\r\n●●●●\e[90m●\e[39m \e[90m(78%)\e[39m Post\r\n●●●●\e[90m●\e[39m \e[90m(72%)\e[39m EmailPost\r\n\r\ntype \e[1mMailPost\e[22m\r\n●●●●● \e[90m(94%)\e[39m BlogPost\r\n●●●●\e[90m●\e[39m \e[90m(76%)\e[39m EmailPost\r\n●●●●\e[90m●\e[39m \e[90m(72%)\e[39m Post\r\n\r\ntype \e[1mEmailPost\e[22m\r\n●●●●● \e[90m(96%)\e[39m Post\r\n●●●●\e[90m●\e[39m \e[90m(76%)\e[39m MailPost\r\n●●●●\e[90m●\e[39m \e[90m(72%)\e[39m BlogPost\r\n\r\n" - delay: 14 content: "\e[2K\e[1G✨ Done in 0.76s.\r\n" - delay: 3000 content: clear - delay: 100 content: graphql-inspector coverage ./no-documents/*.graphql schema.graphql - delay: 381 content: "\r\n" - delay: 353 content: "\r\n\e[92msuccess\e[39m Schema coverage based on documents:\r\n\r\n\e[90mtype\e[39m \e[1mQuery\e[22m \e[90m{\e[39m\r\n post \e[3m\e[90mx 1\e[39m\e[23m\r\n\e[91m posts\e[39m \e[3m\e[90mx 0\e[39m\e[23m\r\n\e[90m}\e[39m\r\n\e[90m\e[39m\r\n\e[90mtype\e[39m \e[1mPost\e[22m \e[90m{\e[39m\r\n id \e[3m\e[90mx 1\e[39m\e[23m\r\n title \e[3m\e[90mx 1\e[39m\e[23m\r\n\e[91m createdAt\e[39m \e[3m\e[90mx 0\e[39m\e[23m\r\n\e[91m modifiedAt\e[39m \e[3m\e[90mx 0\e[39m\e[23m\r\n\e[90m}\e[39m\r\n\e[90m\e[39m\r\n" - delay: 14 content: "\e[2K\e[1G✨ Done in 0.73s.\r\n" - delay: 2500 content: "logout\r\n"