refactor: types

This commit is contained in:
liyasthomas
2021-07-24 16:28:32 +05:30
parent 4de55c39dd
commit 4c2a9c1229
30 changed files with 136 additions and 129 deletions

View File

@@ -59,14 +59,16 @@
</label>
<div>
<ButtonSecondary
:label="$t('run_query')"
:label="$t('run')"
:shortcut="[getSpecialKey(), 'Enter']"
icon="play_arrow"
class="text-xs !text-accent"
outline
@click.native="runQuery()"
/>
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
:title="$t('copy_query')"
:title="$t('copy')"
:icon="copyQueryIcon"
@click.native="copyQuery"
/>
@@ -125,7 +127,7 @@
<div>
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"
:title="$t('copy_variables')"
:title="$t('copy')"
:icon="copyVariablesIcon"
@click.native="copyVariables"
/>
@@ -303,7 +305,7 @@
<ButtonSecondary
ref="copyResponseButton"
v-tippy="{ theme: 'tooltip' }"
:title="$t('copy_response')"
:title="$t('copy')"
:icon="copyResponseIcon"
@click.native="copyResponse"
/>
@@ -509,7 +511,7 @@
<ButtonSecondary
ref="copySchemaCode"
v-tippy="{ theme: 'tooltip' }"
:title="$t('copy_schema')"
:title="$t('copy')"
:icon="copySchemaIcon"
@click.native="copySchema"
/>

View File

@@ -286,8 +286,8 @@
rounded-l
text-xs
ml-2
py-1
px-2
py-2
px-4
"
>
{{ `${$t("proxy")} ${$t("url")}` }}
@@ -296,6 +296,7 @@
id="url"
v-model="PROXY_URL"
class="
bg-primaryLight
border border-divider
rounded-r
font-semibold font-mono
@@ -303,9 +304,10 @@
text-xs
mr-2
w-full
py-1
px-2
py-2
px-4
block
focus:outline-none focus:border-accent
"
type="url"
:disabled="!PROXY_ENABLED"