fix (client): EndpointsOf import

This commit is contained in:
naskya 2024-04-07 13:03:10 +09:00
parent cb7e9ab449
commit a64e42208e
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 2 additions and 3 deletions

View File

@ -44,7 +44,7 @@
<script lang="ts" setup>
import { computed, onUnmounted, provide, ref } from "vue";
import type { entities, StreamTypes } from "firefish-js";
import type { entities, StreamTypes, TypeUtils } from "firefish-js";
import MkPullToRefresh from "@/components/MkPullToRefresh.vue";
import XNotes from "@/components/MkNotes.vue";
import MkInfo from "@/components/MkInfo.vue";
@ -54,7 +54,6 @@ import { isSignedIn, me } from "@/me";
import { i18n } from "@/i18n";
import { defaultStore } from "@/store";
import icon from "@/scripts/icon";
import type { EndpointsOf } from "@/components/MkPagination.vue";
export type TimelineSource =
| "antenna"
@ -86,7 +85,7 @@ const emit = defineEmits<{
const tlComponent = ref<InstanceType<typeof XNotes>>();
const pullToRefreshComponent = ref<InstanceType<typeof MkPullToRefresh>>();
let endpoint: EndpointsOf<entities.Note[]>; // keyof Endpoints
let endpoint: TypeUtils.EndpointsOf<entities.Note[]>; // keyof Endpoints
let query: {
antennaId?: string | undefined;
withReplies?: boolean;