Skip to content

Commit

Permalink
refactor: type Data import
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeb4dev committed Jan 9, 2024
1 parent 3d4926a commit 439d974
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion app/src/components/langingpage/InstagramFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</template>

<script setup lang="ts">
import { Data } from '@/types';
import type {Data} from "@/types";

const config = useRuntimeConfig();

Expand Down
2 changes: 1 addition & 1 deletion app/src/components/langingpage/SponsorCarousel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<script setup lang="ts">
import PartnerCard from '@/components/partners/PartnerCard.vue';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let sponsors;
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/langingpage/TopNews.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</template>
<script setup lang="ts">
import ComingEvent from '@/components/langingpage/ComingEvent.vue';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
interface DataItem {
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/partners/PartnerPageSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script setup lang="ts">
import PartnerCard from '@/components/partners/PartnerCard.vue';
import { Data } from '@/types';
import type { Data } from '@/types';
const config = useRuntimeConfig();
let sponsors;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/gdpr.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let text;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
import TopNews from '@/components/langingpage/TopNews.vue';
import SponsorCarousel from '@/components/langingpage/SponsorCarousel.vue';
import SocialmediaIcon from '@/components/langingpage/SocialmediaIcon.vue';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
interface Content {
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/jaseneksi/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let text;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/links.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let links;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/opiskelu/fuksille.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let text;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/opiskelu/laksykerho.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let text;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/opiskelu/palaute.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/opiskelu/tkt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
</template>

<script setup lang="ts">
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/tietoa-sivusta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let about_text;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/dokumentit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
// let docs: [{ fi_content: string; en_content: string; identifier: string }];
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/hallitus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let members;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/historia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
import SEO from '@/components/SEO.vue';
const config = useRuntimeConfig();
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let content;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/merch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let merch;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/saannot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
import Saannot from '@/components/yhdistys/Saannot.vue';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let rules;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/tapahtuma/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
// This hard coded data will be replaced with data from directus
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/tapahtumat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</template>

<script setup lang="ts">
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/toimikunta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/turvallinen-tila.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script setup lang="ts">
import SafeSpace from '@/components/yhdistys/SafeSpace.vue';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let rules;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/uutinen/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yhdistys/uutiset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</template>

<script setup lang="ts">
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yrityksille/it-rekry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let rekry;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yrityksille/yhteistyo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<script setup lang="ts">
import ContactFormBusiness from '@/components/partners/ContactFormBusiness.vue';
import VueMarkdown from 'vue-markdown-render';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let content;
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/yrityksille/yritykset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<script setup lang="ts">
import PartnerPageSection from '@/components/partners/PartnerPageSection.vue';
import { Data } from '@/types';
import type {Data} from "@/types";
const config = useRuntimeConfig();
let companies;
Expand Down

0 comments on commit 439d974

Please sign in to comment.