From e606538fb7c27cc0b9bb68d1468b5bf960394b93 Mon Sep 17 00:00:00 2001 From: Antoine Doubovetzky Date: Sun, 27 Jan 2019 15:51:53 +0100 Subject: [PATCH] add editor.cursorShape to ISettings interface (#937) --- packages/graphql-playground-html/src/render-playground-page.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/graphql-playground-html/src/render-playground-page.ts b/packages/graphql-playground-html/src/render-playground-page.ts index a5652eb61..848fba032 100644 --- a/packages/graphql-playground-html/src/render-playground-page.ts +++ b/packages/graphql-playground-html/src/render-playground-page.ts @@ -12,9 +12,12 @@ export interface MiddlewareOptions { codeTheme?: EditorColours } +export type CursorShape = 'line' | 'block' | 'underline' export type Theme = 'dark' | 'light' + export interface ISettings { 'general.betaUpdates': boolean + 'editor.cursorShape': CursorShape 'editor.theme': Theme 'editor.reuseHeaders': boolean 'tracing.hideTracingResponse': boolean