mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Further rebranding
This commit is contained in:
parent
950efb1453
commit
3ac4e8d9a5
@ -20,7 +20,7 @@ COPY package.json pnpm*.yaml ./
|
||||
COPY packages/backend/package.json packages/backend/package.json
|
||||
COPY packages/client/package.json packages/client/package.json
|
||||
COPY packages/sw/package.json packages/sw/package.json
|
||||
COPY packages/firefish-js/package.json packages/firefish-js/package.json
|
||||
COPY packages/iceshrimp-js/package.json packages/iceshrimp-js/package.json
|
||||
COPY packages/megalodon/package.json packages/megalodon/package.json
|
||||
COPY packages/backend/native-utils/package.json packages/backend/native-utils/package.json
|
||||
COPY packages/backend/native-utils/npm/linux-x64-musl/package.json packages/backend/native-utils/npm/linux-x64-musl/package.json
|
||||
@ -58,7 +58,7 @@ COPY --from=build /firefish/node_modules /firefish/node_modules
|
||||
COPY --from=build /firefish/packages/backend/node_modules /firefish/packages/backend/node_modules
|
||||
COPY --from=build /firefish/packages/sw/node_modules /firefish/packages/sw/node_modules
|
||||
COPY --from=build /firefish/packages/client/node_modules /firefish/packages/client/node_modules
|
||||
COPY --from=build /firefish/packages/firefish-js/node_modules /firefish/packages/firefish-js/node_modules
|
||||
COPY --from=build /firefish/packages/iceshrimp-js/node_modules /firefish/packages/iceshrimp-js/node_modules
|
||||
|
||||
# Copy the finished compiled files
|
||||
COPY --from=build /firefish/built /firefish/built
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
You can find interactive API documentation at any Firefish instance. https://firefish.social/api-doc
|
||||
|
||||
You can also find auto-generated documentation for firefish-js [here](../packages/firefish-js/markdown/firefish-js.md).
|
||||
You can also find auto-generated documentation for iceshrimp-js [here](../packages/iceshrimp-js/markdown/iceshrimp-js.md).
|
||||
|
@ -6,5 +6,5 @@ This directory contains all of the packages Firefish uses.
|
||||
- `backend/native-utils`: Backend code written in Rust, bound to NodeJS by [NAPI-RS](https://napi.rs/)
|
||||
- `client`: Web interface written in Vue3 and TypeScript
|
||||
- `sw`: Web [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) written in TypeScript
|
||||
- `firefish-js`: TypeScript SDK for both backend and client, also published on [NPM](https://www.npmjs.com/package/firefish-js) for public use
|
||||
- `iceshrimp-js`: TypeScript SDK for both backend and client, also published on [NPM](https://www.npmjs.com/package/iceshrimp-js) for public use
|
||||
- `megalodon`: TypeScript library used for partial Mastodon API compatibility
|
||||
|
@ -18,7 +18,7 @@ pub struct App {
|
||||
pub is_authorized: Option<bool>,
|
||||
}
|
||||
|
||||
/// This represents `permissions` in `packages/firefish-js/src/consts.ts`.
|
||||
/// This represents `permissions` in `packages/iceshrimp-js/src/consts.ts`.
|
||||
#[derive(Clone, Debug, PartialEq, Eq, JsonSchema, ToSchema)]
|
||||
pub enum AppPermission {
|
||||
#[serde(rename = "read:account")]
|
||||
|
@ -50,7 +50,7 @@
|
||||
"blurhash": "2.0.5",
|
||||
"bull": "4.10.4",
|
||||
"cacheable-lookup": "7.0.0",
|
||||
"firefish-js": "workspace:*",
|
||||
"iceshrimp-js": "workspace:*",
|
||||
"cbor": "8.1.0",
|
||||
"chalk": "5.3.0",
|
||||
"chalk-template": "0.4.0",
|
||||
|
@ -6,7 +6,7 @@ import * as childProcess from "child_process";
|
||||
import * as http from "node:http";
|
||||
import { SIGKILL } from "constants";
|
||||
import WebSocket from "ws";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import fetch from "node-fetch";
|
||||
import FormData from "form-data";
|
||||
import { DataSource } from "typeorm";
|
||||
|
@ -35,7 +35,7 @@
|
||||
"blurhash": "2.0.5",
|
||||
"broadcast-channel": "5.1.0",
|
||||
"browser-image-resizer": "github:misskey-dev/browser-image-resizer",
|
||||
"firefish-js": "workspace:*",
|
||||
"iceshrimp-js": "workspace:*",
|
||||
"chart.js": "4.3.0",
|
||||
"chartjs-adapter-date-fns": "3.0.0",
|
||||
"chartjs-chart-matrix": "^2.0.1",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { defineAsyncComponent, reactive } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import { i18n } from "./i18n";
|
||||
import { del, get, set } from "@/scripts/idb-proxy";
|
||||
import { apiUrl } from "@/config";
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import type * as Misskey from "firefish-js";
|
||||
import type * as Misskey from "iceshrimp-js";
|
||||
import XWindow from "@/components/MkWindow.vue";
|
||||
import MkTextarea from "@/components/form/textarea.vue";
|
||||
import MkButton from "@/components/MkButton.vue";
|
||||
|
@ -63,7 +63,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import { i18n } from "@/i18n";
|
||||
import { acct } from "@/filters/user";
|
||||
import { $i } from "@/account";
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { nextTick, onMounted } from "vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import Cropper from "cropperjs";
|
||||
import tinycolor from "tinycolor2";
|
||||
import XModalWindow from "@/components/MkModalWindow.vue";
|
||||
|
@ -15,7 +15,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref } from "vue";
|
||||
import { length } from "stringz";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import { concat } from "@/scripts/array";
|
||||
import { i18n } from "@/i18n";
|
||||
|
||||
|
@ -200,7 +200,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onBeforeUnmount, onMounted, ref, shallowRef } from "vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import MkModal from "@/components/MkModal.vue";
|
||||
import MkButton from "@/components/MkButton.vue";
|
||||
import MkInput from "@/components/form/input.vue";
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, defineAsyncComponent, ref } from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import copyToClipboard from "@/scripts/copy-to-clipboard";
|
||||
import MkDriveFileThumbnail from "@/components/MkDriveFileThumbnail.vue";
|
||||
import bytes from "@/filters/bytes";
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, defineAsyncComponent, ref } from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import * as os from "@/os";
|
||||
import { i18n } from "@/i18n";
|
||||
import { defaultStore } from "@/store";
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import * as os from "@/os";
|
||||
import { i18n } from "@/i18n";
|
||||
|
||||
|
@ -140,7 +140,7 @@ import {
|
||||
ref,
|
||||
watch,
|
||||
} from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import MkButton from "./MkButton.vue";
|
||||
import XNavFolder from "@/components/MkDrive.navFolder.vue";
|
||||
import XFolder from "@/components/MkDrive.folder.vue";
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import type * as Misskey from "firefish-js";
|
||||
import type * as Misskey from "iceshrimp-js";
|
||||
import ImgWithBlurhash from "@/components/MkImgWithBlurhash.vue";
|
||||
|
||||
const props = defineProps<{
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import XDrive from "@/components/MkDrive.vue";
|
||||
import XModalWindow from "@/components/MkModalWindow.vue";
|
||||
import number from "@/filters/number";
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import XDrive from "@/components/MkDrive.vue";
|
||||
import XWindow from "@/components/MkWindow.vue";
|
||||
import { i18n } from "@/i18n";
|
||||
|
@ -164,7 +164,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, computed, watch, onMounted } from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import XSection from "@/components/MkEmojiPicker.section.vue";
|
||||
import {
|
||||
emojilist,
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import * as os from "@/os";
|
||||
|
||||
const meta = ref<Misskey.entities.DetailedInstanceMetadata>();
|
||||
|
@ -53,7 +53,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import MkSwitch from "@/components/ui/switch.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
import MkDriveFileThumbnail from "@/components/MkDriveFileThumbnail.vue";
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, onBeforeUnmount, onMounted } from "vue";
|
||||
import type * as Misskey from "firefish-js";
|
||||
import type * as Misskey from "iceshrimp-js";
|
||||
import * as os from "@/os";
|
||||
import { stream } from "@/stream";
|
||||
import { i18n } from "@/i18n";
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import bytes from "@/filters/bytes";
|
||||
import number from "@/filters/number";
|
||||
import MkModal from "@/components/MkModal.vue";
|
||||
|
@ -24,7 +24,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import * as firefish from "firefish-js";
|
||||
import * as firefish from "iceshrimp-js";
|
||||
import MkMiniChart from "@/components/MkMiniChart.vue";
|
||||
import * as os from "@/os";
|
||||
import { getProxiedImageUrlNullable } from "@/scripts/media-proxy";
|
||||
|
@ -60,7 +60,7 @@ import MkInput from "@/components/form/input.vue";
|
||||
import XModalWindow from "@/components/MkModalWindow.vue";
|
||||
import * as os from "@/os";
|
||||
import { i18n } from "@/i18n";
|
||||
import { Instance } from "firefish-js/built/entities";
|
||||
import { Instance } from "iceshrimp-js/built/entities";
|
||||
|
||||
const emit = defineEmits<{
|
||||
(ev: "ok", selected: Instance): void;
|
||||
|
@ -90,7 +90,7 @@
|
||||
import { watch, ref, computed } from "vue";
|
||||
import VuePlyr from "vue-plyr";
|
||||
import "vue-plyr/dist/vue-plyr.css";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import { getStaticImageUrl } from "@/scripts/get-static-image-url";
|
||||
import ImgWithBlurhash from "@/components/MkImgWithBlurhash.vue";
|
||||
import { defaultStore } from "@/store";
|
||||
|
@ -58,7 +58,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { onMounted } from "vue";
|
||||
import VuePlyr from "vue-plyr";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import { ColdDeviceStorage } from "@/store";
|
||||
import "vue-plyr/dist/vue-plyr.css";
|
||||
import { i18n } from "@/i18n";
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import PhotoSwipeLightbox from "photoswipe/lightbox";
|
||||
import PhotoSwipe from "photoswipe";
|
||||
import "photoswipe/style.css";
|
||||
|
@ -258,7 +258,7 @@
|
||||
import { computed, inject, onMounted, onUnmounted, reactive, ref } from "vue";
|
||||
import * as mfm from "mfm-js";
|
||||
import type { Ref } from "vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import MkNoteSub from "@/components/MkNoteSub.vue";
|
||||
import MkSubNoteContent from "./MkSubNoteContent.vue";
|
||||
import XNoteHeader from "@/components/MkNoteHeader.vue";
|
||||
|
@ -159,7 +159,7 @@ import {
|
||||
reactive,
|
||||
ref,
|
||||
} from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkTab from "@/components/MkTab.vue";
|
||||
import MkNote from "@/components/MkNote.vue";
|
||||
import MkNoteSub from "@/components/MkNoteSub.vue";
|
||||
@ -180,7 +180,7 @@ import { getNoteMenu } from "@/scripts/get-note-menu";
|
||||
import { useNoteCapture } from "@/scripts/use-note-capture";
|
||||
import { deepClone } from "@/scripts/clone";
|
||||
import { stream } from "@/stream";
|
||||
import { NoteUpdatedEvent } from "firefish-js/built/streaming.types";
|
||||
import { NoteUpdatedEvent } from "iceshrimp-js/built/streaming.types";
|
||||
import appear from "@/directives/appear";
|
||||
|
||||
const props = defineProps<{
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import { defaultStore, noteViewInterruptors } from "@/store";
|
||||
import MkVisibility from "@/components/MkVisibility.vue";
|
||||
import MkInstanceTicker from "@/components/MkInstanceTicker.vue";
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import XNoteHeader from "@/components/MkNoteHeader.vue";
|
||||
import MkSubNoteContent from "@/components/MkSubNoteContent.vue";
|
||||
|
||||
|
@ -179,7 +179,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { inject, ref } from "vue";
|
||||
import type { Ref } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import XNoteHeader from "@/components/MkNoteHeader.vue";
|
||||
import MkSubNoteContent from "@/components/MkSubNoteContent.vue";
|
||||
import XReactionsViewer from "@/components/MkReactionsViewer.vue";
|
||||
|
@ -274,7 +274,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, onMounted, onUnmounted, watch } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import XReactionIcon from "@/components/MkReactionIcon.vue";
|
||||
import MkFollowButton from "@/components/MkFollowButton.vue";
|
||||
import XReactionTooltip from "@/components/MkReactionTooltip.vue";
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import { notificationTypes } from "firefish-js";
|
||||
import { notificationTypes } from "iceshrimp-js";
|
||||
import MkSwitch from "./form/switch.vue";
|
||||
import MkInfo from "./MkInfo.vue";
|
||||
import MkButton from "./MkButton.vue";
|
||||
|
@ -54,7 +54,7 @@ import {
|
||||
computed,
|
||||
ref,
|
||||
} from "vue";
|
||||
import { notificationTypes } from "firefish-js";
|
||||
import { notificationTypes } from "iceshrimp-js";
|
||||
import MkPagination, { Paging } from "@/components/MkPagination.vue";
|
||||
import XNotification from "@/components/MkNotification.vue";
|
||||
import XList from "@/components/MkDateSeparatedList.vue";
|
||||
|
@ -74,7 +74,7 @@ import {
|
||||
ref,
|
||||
watch,
|
||||
} from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import * as os from "@/os";
|
||||
import {
|
||||
onScrollTop,
|
||||
|
@ -53,7 +53,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import { sum } from "@/scripts/array";
|
||||
import { pleaseLogin } from "@/scripts/please-login";
|
||||
import * as os from "@/os";
|
||||
|
@ -235,11 +235,11 @@
|
||||
<script lang="ts" setup>
|
||||
import { inject, watch, nextTick, onMounted, defineAsyncComponent } from "vue";
|
||||
import * as mfm from "mfm-js";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import insertTextAtCursor from "insert-text-at-cursor";
|
||||
import { length } from "stringz";
|
||||
import { toASCII } from "punycode/";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import { throttle } from "throttle-debounce";
|
||||
import XNoteSimple from "@/components/MkNoteSimple.vue";
|
||||
import XNotePreview from "@/components/MkNotePreview.vue";
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkModal from "@/components/MkModal.vue";
|
||||
import MkPostForm from "@/components/MkPostForm.vue";
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import type { Note } from "firefish-js/built/entities";
|
||||
import type { Note } from "iceshrimp-js/built/entities";
|
||||
import { pleaseLogin } from "@/scripts/please-login";
|
||||
import * as os from "@/os";
|
||||
import { $i } from "@/account";
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, watch } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkReactionIcon from "@/components/MkReactionIcon.vue";
|
||||
import MkUserCardMini from "@/components/MkUserCardMini.vue";
|
||||
import { i18n } from "@/i18n";
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import XDetails from "@/components/MkReactionsViewer.details.vue";
|
||||
import XReactionIcon from "@/components/MkReactionIcon.vue";
|
||||
import * as os from "@/os";
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import { $i } from "@/account";
|
||||
import XReaction from "@/components/MkReactionsViewer.reaction.vue";
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref } from "vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import Ripple from "@/components/MkRipple.vue";
|
||||
import XDetails from "@/components/MkUsersTooltip.vue";
|
||||
import { pleaseLogin } from "@/scripts/please-login";
|
||||
|
@ -38,7 +38,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { Note } from "firefish-js/built/entities";
|
||||
import type { Note } from "iceshrimp-js/built/entities";
|
||||
import Ripple from "@/components/MkRipple.vue";
|
||||
import { pleaseLogin } from "@/scripts/please-login";
|
||||
import * as os from "@/os";
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import type { Note } from "firefish-js/built/entities";
|
||||
import type { Note } from "iceshrimp-js/built/entities";
|
||||
import Ripple from "@/components/MkRipple.vue";
|
||||
import XDetails from "@/components/MkUsersTooltip.vue";
|
||||
import { pleaseLogin } from "@/scripts/please-login";
|
||||
|
@ -177,7 +177,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import * as mfm from "mfm-js";
|
||||
import * as os from "@/os";
|
||||
import XNoteSimple from "@/components/MkNoteSimple.vue";
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import { permissions as kinds } from "firefish-js";
|
||||
import { permissions as kinds } from "iceshrimp-js";
|
||||
import MkInput from "./form/input.vue";
|
||||
import MkSwitch from "./form/switch.vue";
|
||||
import MkButton from "./MkButton.vue";
|
||||
|
@ -24,7 +24,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkMiniChart from "@/components/MkMiniChart.vue";
|
||||
import * as os from "@/os";
|
||||
import { acct, userPage } from "@/filters/user";
|
||||
|
@ -86,7 +86,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkFollowButton from "@/components/MkFollowButton.vue";
|
||||
import XShowMoreButton from "@/components/MkShowMoreButton.vue";
|
||||
import MkNumber from "@/components/MkNumber.vue";
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import { i18n } from "@/i18n";
|
||||
|
||||
const props = defineProps<{
|
||||
|
@ -30,8 +30,8 @@
|
||||
<script lang="ts" setup>
|
||||
import { onMounted } from "vue";
|
||||
import MkUserInfo from "@/components/MkUserInfo.vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import type * as misskey from "firefish-js";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import * as os from "@/os";
|
||||
|
||||
const props = defineProps<{
|
||||
|
@ -89,7 +89,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { nextTick, onMounted } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkInput from "@/components/form/input.vue";
|
||||
import FormSplit from "@/components/form/split.vue";
|
||||
import XModalWindow from "@/components/MkModalWindow.vue";
|
||||
|
@ -85,7 +85,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { nextTick, onMounted } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkInput from "@/components/form/input.vue";
|
||||
import FormSplit from "@/components/form/split.vue";
|
||||
import XModalWindow from "@/components/MkModalWindow.vue";
|
||||
|
@ -123,7 +123,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { nextTick, watch } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkModal from "@/components/MkModal.vue";
|
||||
import { i18n } from "@/i18n";
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import { toUnicode } from "punycode/";
|
||||
import { host as hostRaw } from "@/config";
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, watch } from "vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import { getStaticImageUrl } from "@/scripts/get-static-image-url";
|
||||
import { extractAvgColorFromBlurhash } from "@/scripts/extract-avg-color-from-blurhash";
|
||||
import { acct, userPage } from "@/filters/user";
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref, watch } from "vue";
|
||||
import type { CustomEmoji } from "firefish-js/built/entities";
|
||||
import type { CustomEmoji } from "iceshrimp-js/built/entities";
|
||||
import { getStaticImageUrl } from "@/scripts/get-static-image-url";
|
||||
import { char2filePath } from "@/scripts/twemoji-base";
|
||||
import { defaultStore } from "@/store";
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
|
@ -1,5 +1,5 @@
|
||||
import * as misskey from "firefish-js";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import { url } from "@/config";
|
||||
|
||||
export const acct = (user: misskey.Acct) => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { computed, reactive } from "vue";
|
||||
import { api } from "./os";
|
||||
import type * as Misskey from "firefish-js";
|
||||
import type * as Misskey from "iceshrimp-js";
|
||||
|
||||
// TODO: 他のタブと永続化されたstateを同期
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
import { Component, markRaw, Ref, ref, defineAsyncComponent } from "vue";
|
||||
import { EventEmitter } from "eventemitter3";
|
||||
import insertTextAtCursor from "insert-text-at-cursor";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import { apiUrl, url } from "@/config";
|
||||
import MkPostFormDialog from "@/components/MkPostFormDialog.vue";
|
||||
import MkWaitingDialog from "@/components/MkWaitingDialog.vue";
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkButton from "@/components/MkButton.vue";
|
||||
import { version } from "@/config";
|
||||
import * as os from "@/os";
|
||||
|
@ -81,7 +81,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, defineAsyncComponent } from "vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import MkButton from "@/components/MkButton.vue";
|
||||
import MkInput from "@/components/form/input.vue";
|
||||
import MkSelect from "@/components/form/select.vue";
|
||||
|
@ -17,7 +17,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkMiniChart from "@/components/MkMiniChart.vue";
|
||||
import * as os from "@/os";
|
||||
import { acct } from "@/filters/user";
|
||||
|
@ -46,7 +46,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import JSON5 from "json5";
|
||||
import { Endpoints } from "firefish-js";
|
||||
import { Endpoints } from "iceshrimp-js";
|
||||
import MkButton from "@/components/MkButton.vue";
|
||||
import MkInput from "@/components/form/input.vue";
|
||||
import MkTextarea from "@/components/form/textarea.vue";
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, watch, provide } from "vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import XNotes from "@/components/MkNotes.vue";
|
||||
import { $i } from "@/account";
|
||||
import { i18n } from "@/i18n";
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import * as os from "@/os";
|
||||
import { mainRouter } from "@/router";
|
||||
import { i18n } from "@/i18n";
|
||||
|
@ -340,7 +340,7 @@
|
||||
import { watch } from "vue";
|
||||
import { Virtual } from "swiper/modules";
|
||||
import { Swiper, SwiperSlide } from "swiper/vue";
|
||||
import type * as firefish from "firefish-js";
|
||||
import type * as firefish from "iceshrimp-js";
|
||||
import MkChart from "@/components/MkChart.vue";
|
||||
import MkObjectView from "@/components/MkObjectView.vue";
|
||||
import FormLink from "@/components/form/link.vue";
|
||||
|
@ -89,7 +89,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, markRaw, onMounted, onUnmounted, watch } from "vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import { Virtual } from "swiper/modules";
|
||||
import { Swiper, SwiperSlide } from "swiper/vue";
|
||||
import MkButton from "@/components/MkButton.vue";
|
||||
|
@ -56,7 +56,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, watch } from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import autosize from "autosize";
|
||||
//import insertTextAtCursor from 'insert-text-at-cursor';
|
||||
import { throttle } from "throttle-debounce";
|
||||
|
@ -84,7 +84,7 @@
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import * as mfm from "mfm-js";
|
||||
import type * as Misskey from "firefish-js";
|
||||
import type * as Misskey from "iceshrimp-js";
|
||||
import XMediaList from "@/components/MkMediaList.vue";
|
||||
import { extractUrlFromMfm } from "@/scripts/extract-url-from-mfm";
|
||||
import MkUrlPreview from "@/components/MkUrlPreview.vue";
|
||||
|
@ -98,8 +98,8 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, watch, onMounted, nextTick, onBeforeUnmount } from "vue";
|
||||
import * as Misskey from "firefish-js";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import XMessage from "./messaging-room.message.vue";
|
||||
import XForm from "./messaging-room.form.vue";
|
||||
import XList from "@/components/MkDateSeparatedList.vue";
|
||||
|
@ -115,7 +115,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { watch } from "vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import MkButton from "@/components/MkButton.vue";
|
||||
import MkInput from "@/components/form/input.vue";
|
||||
import MkTextarea from "@/components/form/textarea.vue";
|
||||
|
@ -70,7 +70,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, defineComponent, watch } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import XNoteDetailed from "@/components/MkNoteDetailed.vue";
|
||||
import XNotes from "@/components/MkNotes.vue";
|
||||
import MkRemoteCaution from "@/components/MkRemoteCaution.vue";
|
||||
|
@ -54,7 +54,7 @@
|
||||
import { computed, ref, watch } from "vue";
|
||||
import { Virtual } from "swiper/modules";
|
||||
import { Swiper, SwiperSlide } from "swiper/vue";
|
||||
import { notificationTypes } from "firefish-js";
|
||||
import { notificationTypes } from "iceshrimp-js";
|
||||
import XNotifications from "@/components/MkNotifications.vue";
|
||||
import XNotes from "@/components/MkNotes.vue";
|
||||
import * as os from "@/os";
|
||||
|
@ -59,7 +59,7 @@ import * as os from "@/os";
|
||||
import { i18n } from "@/i18n";
|
||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||
import { $i } from "@/account";
|
||||
import { toString } from "firefish-js/built/acct";
|
||||
import { toString } from "iceshrimp-js/built/acct";
|
||||
|
||||
let moveToAccount = $ref("");
|
||||
let accountAlias = $ref([""]);
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { defineAsyncComponent } from "vue";
|
||||
import { notificationTypes } from "firefish-js";
|
||||
import { notificationTypes } from "iceshrimp-js";
|
||||
import FormButton from "@/components/MkButton.vue";
|
||||
import FormLink from "@/components/form/link.vue";
|
||||
import FormSection from "@/components/form/section.vue";
|
||||
|
@ -33,9 +33,9 @@
|
||||
// SPECIFICATION: https://misskey-hub.net/docs/features/share-form.html
|
||||
|
||||
import {} from "vue";
|
||||
import { noteVisibilities } from "firefish-js";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Misskey from "firefish-js";
|
||||
import { noteVisibilities } from "iceshrimp-js";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import * as Misskey from "iceshrimp-js";
|
||||
import MkButton from "@/components/MkButton.vue";
|
||||
import XPostForm from "@/components/MkPostForm.vue";
|
||||
import * as os from "@/os";
|
||||
|
@ -340,7 +340,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, watch } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkChart from "@/components/MkChart.vue";
|
||||
import MkObjectView from "@/components/MkObjectView.vue";
|
||||
import FormTextarea from "@/components/form/textarea.vue";
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
|
||||
const props = defineProps<{
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkUserInfo from "@/components/MkUserInfo.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
|
||||
|
@ -24,8 +24,8 @@ import {
|
||||
onUnmounted,
|
||||
watch,
|
||||
} from "vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import XFollowList from "./follow-list.vue";
|
||||
import * as os from "@/os";
|
||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||
|
@ -24,8 +24,8 @@ import {
|
||||
onUnmounted,
|
||||
watch,
|
||||
} from "vue";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import XFollowList from "./follow-list.vue";
|
||||
import * as os from "@/os";
|
||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkGalleryPostPreview from "@/components/MkGalleryPostPreview.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
|
||||
|
@ -391,7 +391,7 @@ import { defineAsyncComponent, onMounted, onUnmounted } from "vue";
|
||||
import calcAge from "s-age";
|
||||
import cityTimezones from "city-timezones";
|
||||
import XUserTimeline from "./index.timeline.vue";
|
||||
import type * as misskey from "firefish-js";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import XNote from "@/components/MkNote.vue";
|
||||
import MkFollowButton from "@/components/MkFollowButton.vue";
|
||||
import MkRemoteCaution from "@/components/MkRemoteCaution.vue";
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkContainer from "@/components/MkContainer.vue";
|
||||
import MkChart from "@/components/MkChart.vue";
|
||||
import * as os from "@/os";
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { onMounted } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import { getStaticImageUrl } from "@/scripts/get-static-image-url";
|
||||
import { notePage } from "@/filters/note";
|
||||
import * as os from "@/os";
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, computed } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import XNotes from "@/components/MkNotes.vue";
|
||||
import MkTab from "@/components/MkTab.vue";
|
||||
import * as os from "@/os";
|
||||
|
@ -31,8 +31,8 @@
|
||||
<script lang="ts" setup>
|
||||
import { defineAsyncComponent, computed, watch } from "vue";
|
||||
import calcAge from "s-age";
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import type * as misskey from "firefish-js";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import type * as misskey from "iceshrimp-js";
|
||||
import { getScrollPosition } from "@/scripts/scroll";
|
||||
import number from "@/filters/number";
|
||||
import { userPage, acct as getAcct } from "@/filters/user";
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkPagePreview from "@/components/MkPagePreview.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
import MkNote from "@/components/MkNote.vue";
|
||||
import MkReactionIcon from "@/components/MkReactionIcon.vue";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import { host as localHost } from "@/config";
|
||||
|
||||
export async function genSearchQuery(v: any, q: string) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { defineAsyncComponent, Ref, inject } from "vue";
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import { $i } from "@/account";
|
||||
import { i18n } from "@/i18n";
|
||||
import { instance } from "@/instance";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import * as misskey from "firefish-js";
|
||||
import * as misskey from "iceshrimp-js";
|
||||
import { i18n } from "@/i18n";
|
||||
|
||||
/**
|
||||
|
@ -1,4 +1,4 @@
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import { defineAsyncComponent } from "vue";
|
||||
import { i18n } from "@/i18n";
|
||||
import copyToClipboard from "@/scripts/copy-to-clipboard";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import * as Acct from "firefish-js/built/acct";
|
||||
import * as Acct from "iceshrimp-js/built/acct";
|
||||
import { i18n } from "@/i18n";
|
||||
import * as os from "@/os";
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user