From 0464abd2ea361078f51bcd89611d96d1416cd760 Mon Sep 17 00:00:00 2001 From: Evren Ceyhan Date: Mon, 13 Nov 2023 21:05:15 +0100 Subject: [PATCH 1/3] update codeql badge link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d761b3..4ef8d76 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![CodeQL](https://github.com/webceyhan/webceyhan.github.io/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/webceyhan/webceyhan.github.io/actions/workflows/codeql-analysis.yml) +[![CodeQL](https://github.com/webceyhan/webceyhan.github.io/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/webceyhan/webceyhan.github.io/actions/workflows/github-code-scanning/codeql) [![Build and Deploy](https://github.com/webceyhan/webceyhan.github.io/actions/workflows/build-deploy.yml/badge.svg)](https://github.com/webceyhan/webceyhan.github.io/actions/workflows/build-deploy.yml) From fd1ec67700643dc8ad58982aa3e83e172672405c Mon Sep 17 00:00:00 2001 From: Evren Ceyhan Date: Mon, 13 Nov 2023 21:36:11 +0100 Subject: [PATCH 2/3] fix type imports --- store/language.ts | 2 +- store/repository.ts | 2 +- store/topic.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/store/language.ts b/store/language.ts index 0f47cff..8738dcb 100644 --- a/store/language.ts +++ b/store/language.ts @@ -1,5 +1,5 @@ import { defineStore } from 'pinia'; -import { Language } from '@/server/types/repo'; +import type { Language } from '~/server/types/repo'; export const useLanguageStore = defineStore('language', () => { // state diff --git a/store/repository.ts b/store/repository.ts index b6f88fd..6ed8ea0 100644 --- a/store/repository.ts +++ b/store/repository.ts @@ -1,7 +1,7 @@ import { defineStore } from 'pinia'; import { useTopicStore } from './topic'; import { useLanguageStore } from './language'; -import { Repo } from '@/server/types/repo'; +import type { Repo } from '~/server/types/repo'; export const useRepositoryStore = defineStore('repository', () => { // state diff --git a/store/topic.ts b/store/topic.ts index ac6da59..df7348a 100644 --- a/store/topic.ts +++ b/store/topic.ts @@ -1,6 +1,6 @@ import { defineStore } from 'pinia'; import { CATEGORIES } from '@/server/constants/topic'; -import { Topic } from '@/server/types/repo'; +import type { Topic } from '~/server/types/repo'; export const useTopicStore = defineStore('topic', () => { // state From 4178302c1e4580ef79cd31880fc8e9672cc45b63 Mon Sep 17 00:00:00 2001 From: Evren Ceyhan Date: Mon, 13 Nov 2023 21:46:21 +0100 Subject: [PATCH 3/3] move vue-writer into plugin --- components/{AppHeader.vue => AppHeader.client.vue} | 3 --- plugins/vue-writer.client.ts | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) rename components/{AppHeader.vue => AppHeader.client.vue} (97%) create mode 100644 plugins/vue-writer.client.ts diff --git a/components/AppHeader.vue b/components/AppHeader.client.vue similarity index 97% rename from components/AppHeader.vue rename to components/AppHeader.client.vue index 7b62fdd..8b69e60 100644 --- a/components/AppHeader.vue +++ b/components/AppHeader.client.vue @@ -1,7 +1,4 @@