aboutsummaryrefslogtreecommitdiff
path: root/packages/client
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client')
-rw-r--r--packages/client/package.json2
-rw-r--r--packages/client/src/components/CommitPatch.vue2
-rw-r--r--packages/client/src/components/HomeHeader.vue2
-rw-r--r--packages/client/src/views/Home.vue2
-rw-r--r--packages/client/src/views/Repository.vue2
-rw-r--r--packages/client/src/views/RepositoryAbout.vue2
-rw-r--r--packages/client/src/views/RepositoryCommit.vue2
-rw-r--r--packages/client/src/views/RepositoryLog.vue2
-rw-r--r--packages/client/src/views/RepositoryTree.vue2
9 files changed, 9 insertions, 9 deletions
diff --git a/packages/client/package.json b/packages/client/package.json
index a82dafd..54068d6 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -40,7 +40,7 @@
"eslint-plugin-vue": "^7.14.0",
"sass": "^1.26.5",
"sass-loader": "^12.1.0",
- "shared_types": "^1.0.0",
+ "api": "^1.0.0",
"typescript": "^4.3.5",
"vue-eslint-parser": "^7.9.0",
"webpack": "^5.46.0"
diff --git a/packages/client/src/components/CommitPatch.vue b/packages/client/src/components/CommitPatch.vue
index 4a3a999..b0e8086 100644
--- a/packages/client/src/components/CommitPatch.vue
+++ b/packages/client/src/components/CommitPatch.vue
@@ -2,7 +2,7 @@
import { defineComponent, h, PropType, VNode } from "vue";
import hljs from "highlight.js";
import hljs_languages from "../util/hljs-languages";
-import { Patch } from "shared_types";
+import { Patch } from "api";
export default defineComponent({
name: "CommitPatch",
diff --git a/packages/client/src/components/HomeHeader.vue b/packages/client/src/components/HomeHeader.vue
index a6e640e..dc266aa 100644
--- a/packages/client/src/components/HomeHeader.vue
+++ b/packages/client/src/components/HomeHeader.vue
@@ -9,7 +9,7 @@
<script lang="ts">
import { defineComponent, ref } from "vue";
-import { Info } from "shared_types";
+import { Info } from "api";
export default defineComponent({
name: "HomeHeader",
diff --git a/packages/client/src/views/Home.vue b/packages/client/src/views/Home.vue
index 1d4cfa1..262e346 100644
--- a/packages/client/src/views/Home.vue
+++ b/packages/client/src/views/Home.vue
@@ -31,7 +31,7 @@
import { defineComponent, Ref, ref } from "vue";
import fetchData from "../util/fetch";
import { formatDistance } from "date-fns";
-import { RepositorySummary } from "shared_types";
+import { RepositorySummary } from "api";
import HomeHeader from "../components/HomeHeader.vue";
import HomeProjectsHeader from "../components/HomeProjectsHeader.vue";
diff --git a/packages/client/src/views/Repository.vue b/packages/client/src/views/Repository.vue
index 90578fb..423c0e0 100644
--- a/packages/client/src/views/Repository.vue
+++ b/packages/client/src/views/Repository.vue
@@ -14,7 +14,7 @@
<script lang="ts">
import { defineComponent, Ref, ref } from "vue";
import { Router } from "vue-router";
-import { Repository } from "shared_types";
+import { Repository } from "api";
import { getParam } from "../util/util";
import RepositoryHeader from "../components/RepositoryHeader.vue";
diff --git a/packages/client/src/views/RepositoryAbout.vue b/packages/client/src/views/RepositoryAbout.vue
index c72ee12..d50a081 100644
--- a/packages/client/src/views/RepositoryAbout.vue
+++ b/packages/client/src/views/RepositoryAbout.vue
@@ -16,7 +16,7 @@
<script lang="ts">
import { defineComponent, Ref, ref } from "vue";
import fetchData from "../util/fetch";
-import { Tree } from "shared_types";
+import { Tree } from "api";
import { getParam } from "../util/util";
import RepositoryTreeBlob from "../components/RepositoryTreeBlob.vue";
diff --git a/packages/client/src/views/RepositoryCommit.vue b/packages/client/src/views/RepositoryCommit.vue
index 9818dff..9a41b08 100644
--- a/packages/client/src/views/RepositoryCommit.vue
+++ b/packages/client/src/views/RepositoryCommit.vue
@@ -53,7 +53,7 @@
import { defineComponent, Ref, ref } from "vue";
import { format } from "date-fns";
import fetchData from "../util/fetch";
-import { Commit } from "shared_types";
+import { Commit } from "api";
import BaseBreadcrumb from "../components/BaseBreadcrumb.vue";
import CommitPatch from "../components/CommitPatch.vue";
diff --git a/packages/client/src/views/RepositoryLog.vue b/packages/client/src/views/RepositoryLog.vue
index 83184fa..6b99855 100644
--- a/packages/client/src/views/RepositoryLog.vue
+++ b/packages/client/src/views/RepositoryLog.vue
@@ -53,7 +53,7 @@ import { defineComponent, Ref, ref } from "vue";
import { format } from "date-fns";
import fetchData from "../util/fetch";
import { getParam } from "../util/util";
-import { LogCommit } from "shared_types";
+import { LogCommit } from "api";
import Loading from "vue-loading-overlay";
import BaseErrorMessage from "../components/BaseErrorMessage.vue";
diff --git a/packages/client/src/views/RepositoryTree.vue b/packages/client/src/views/RepositoryTree.vue
index 152b6a4..d84211c 100644
--- a/packages/client/src/views/RepositoryTree.vue
+++ b/packages/client/src/views/RepositoryTree.vue
@@ -28,7 +28,7 @@
import { defineComponent, Ref, ref } from "vue";
import fetchData from "../util/fetch";
import { getParam } from "../util/util";
-import { Tree, TreeEntry } from "shared_types";
+import { Tree, TreeEntry } from "api";
import BaseBreadcrumb from "../components/BaseBreadcrumb.vue";
import RepositoryTreeBlob from "../components/RepositoryTreeBlob.vue";