From 3ac4e8d9a546fcd4e3b98fc9fad3a1368e7e471c Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Fri, 21 Jul 2023 19:33:01 +0200 Subject: [PATCH] Further rebranding --- Dockerfile | 4 +- docs/api-doc.md | 2 +- packages/README.md | 2 +- .../native-utils/src/model/schema/app.rs | 2 +- packages/backend/package.json | 2 +- packages/backend/test/utils.ts | 2 +- packages/client/package.json | 2 +- packages/client/src/account.ts | 2 +- .../src/components/MkAbuseReportWindow.vue | 2 +- .../client/src/components/MkChatPreview.vue | 2 +- .../client/src/components/MkCropperDialog.vue | 2 +- packages/client/src/components/MkCwButton.vue | 2 +- packages/client/src/components/MkDialog.vue | 2 +- .../client/src/components/MkDrive.file.vue | 2 +- .../client/src/components/MkDrive.folder.vue | 2 +- .../src/components/MkDrive.navFolder.vue | 2 +- packages/client/src/components/MkDrive.vue | 2 +- .../src/components/MkDriveFileThumbnail.vue | 2 +- .../src/components/MkDriveSelectDialog.vue | 2 +- .../client/src/components/MkDriveWindow.vue | 2 +- .../client/src/components/MkEmojiPicker.vue | 2 +- .../src/components/MkFeaturedPhotos.vue | 2 +- .../src/components/MkFileListForAdmin.vue | 2 +- .../client/src/components/MkFollowButton.vue | 2 +- .../client/src/components/MkImageViewer.vue | 2 +- .../src/components/MkInstanceCardMini.vue | 2 +- .../src/components/MkInstanceSelectDialog.vue | 2 +- packages/client/src/components/MkMedia.vue | 2 +- .../client/src/components/MkMediaBanner.vue | 2 +- .../client/src/components/MkMediaList.vue | 2 +- packages/client/src/components/MkNote.vue | 2 +- .../client/src/components/MkNoteDetailed.vue | 4 +- .../client/src/components/MkNoteHeader.vue | 2 +- .../client/src/components/MkNoteSimple.vue | 2 +- packages/client/src/components/MkNoteSub.vue | 2 +- .../client/src/components/MkNotification.vue | 2 +- .../MkNotificationSettingWindow.vue | 2 +- .../client/src/components/MkNotifications.vue | 2 +- .../client/src/components/MkPagination.vue | 2 +- packages/client/src/components/MkPoll.vue | 2 +- packages/client/src/components/MkPostForm.vue | 4 +- .../src/components/MkPostFormDialog.vue | 2 +- .../client/src/components/MkQuoteButton.vue | 2 +- .../client/src/components/MkReactedUsers.vue | 2 +- .../components/MkReactionsViewer.reaction.vue | 2 +- .../src/components/MkReactionsViewer.vue | 2 +- .../client/src/components/MkRenoteButton.vue | 2 +- .../client/src/components/MkStarButton.vue | 2 +- .../src/components/MkStarButtonNoEmoji.vue | 2 +- .../src/components/MkSubNoteContent.vue | 2 +- .../src/components/MkTokenGenerateWindow.vue | 2 +- .../client/src/components/MkUserCardMini.vue | 2 +- packages/client/src/components/MkUserInfo.vue | 2 +- .../src/components/MkUserOnlineIndicator.vue | 2 +- .../client/src/components/MkUserPreview.vue | 4 +- .../src/components/MkUserSelectDialog.vue | 2 +- .../components/MkUserSelectLocalDialog.vue | 2 +- .../src/components/MkVisibilityPicker.vue | 2 +- .../client/src/components/global/MkAcct.vue | 2 +- .../client/src/components/global/MkAvatar.vue | 2 +- .../client/src/components/global/MkEmoji.vue | 2 +- .../src/components/global/MkUserName.vue | 2 +- packages/client/src/filters/user.ts | 4 +- packages/client/src/instance.ts | 2 +- packages/client/src/os.ts | 2 +- packages/client/src/pages/_error_.vue | 2 +- packages/client/src/pages/admin/files.vue | 2 +- .../client/src/pages/admin/overview.user.vue | 2 +- packages/client/src/pages/api-console.vue | 2 +- packages/client/src/pages/clip.vue | 2 +- packages/client/src/pages/follow.vue | 2 +- packages/client/src/pages/instance-info.vue | 2 +- packages/client/src/pages/messaging/index.vue | 2 +- .../pages/messaging/messaging-room.form.vue | 2 +- .../messaging/messaging-room.message.vue | 2 +- .../src/pages/messaging/messaging-room.vue | 4 +- .../client/src/pages/my-antennas/editor.vue | 2 +- packages/client/src/pages/note.vue | 2 +- packages/client/src/pages/notifications.vue | 2 +- .../client/src/pages/settings/migration.vue | 2 +- .../src/pages/settings/notifications.vue | 2 +- packages/client/src/pages/share.vue | 6 +- packages/client/src/pages/user-info.vue | 2 +- packages/client/src/pages/user/clips.vue | 2 +- .../client/src/pages/user/follow-list.vue | 2 +- packages/client/src/pages/user/followers.vue | 4 +- packages/client/src/pages/user/following.vue | 4 +- packages/client/src/pages/user/gallery.vue | 2 +- packages/client/src/pages/user/home.vue | 2 +- .../client/src/pages/user/index.activity.vue | 2 +- .../client/src/pages/user/index.photos.vue | 2 +- .../client/src/pages/user/index.timeline.vue | 2 +- packages/client/src/pages/user/index.vue | 4 +- packages/client/src/pages/user/pages.vue | 2 +- packages/client/src/pages/user/reactions.vue | 2 +- .../client/src/scripts/gen-search-query.ts | 2 +- packages/client/src/scripts/get-note-menu.ts | 2 +- .../client/src/scripts/get-note-summary.ts | 2 +- packages/client/src/scripts/get-user-menu.ts | 2 +- packages/client/src/scripts/lookup-user.ts | 2 +- packages/client/src/scripts/page-metadata.ts | 2 +- packages/client/src/scripts/select-file.ts | 2 +- packages/client/src/scripts/upload.ts | 2 +- .../client/src/scripts/use-note-capture.ts | 2 +- packages/client/src/stream.ts | 2 +- packages/client/src/types/menu.ts | 2 +- .../src/ui/_common_/statusbar-federation.vue | 2 +- .../src/ui/_common_/statusbar-user-list.vue | 2 +- packages/client/src/ui/deck/deck-store.ts | 2 +- packages/client/src/ui/universal.vue | 2 +- packages/client/vite.config.ts | 2 +- ...firefish-js.api.apiclient._constructor_.md | 24 - .../firefish-js.api.apiclient.credential.md | 11 - .../firefish-js.api.apiclient.fetch.md | 11 - .../markdown/firefish-js.api.apiclient.md | 32 - .../firefish-js.api.apiclient.origin.md | 11 - .../firefish-js/markdown/firefish-js.api.md | 25 - .../firefish-js.channelconnection.channel.md | 11 - .../firefish-js.channelconnection.id.md | 11 - .../firefish-js.channelconnection.incount.md | 11 - .../markdown/firefish-js.channelconnection.md | 39 - .../firefish-js.channelconnection.name.md | 11 - .../firefish-js.channelconnection.outcount.md | 11 - .../firefish-js.channelconnection.stream.md | 11 - .../firefish-js.entities.authsession.md | 17 - .../markdown/firefish-js.entities.blocking.md | 18 - .../markdown/firefish-js.entities.channel.md | 15 - ...sh-js.entities.detailedinstancemetadata.md | 15 - .../firefish-js.entities.following.md | 18 - ...-js.entities.followingfolloweepopulated.md | 15 - ...-js.entities.followingfollowerpopulated.md | 15 - .../firefish-js.entities.followrequest.md | 17 - .../firefish-js.entities.instancemetadata.md | 15 - .../markdown/firefish-js.entities.md | 51 - .../firefish-js.entities.notefavorite.md | 18 - .../firefish-js.entities.notereaction.md | 18 - .../firefish-js.entities.pageevent.md | 19 - .../markdown/firefish-js.entities.signin.md | 19 - .../markdown/firefish-js.entities.user.md | 13 - .../markdown/firefish-js.entities.userlist.md | 18 - packages/firefish-js/markdown/firefish-js.md | 43 - .../markdown/firefish-js.stream.md | 36 - .../.editorconfig | 0 .../{firefish-js => iceshrimp-js}/.gitignore | 0 packages/{firefish-js => iceshrimp-js}/.swcrc | 0 .../CHANGELOG.md | 0 .../{firefish-js => iceshrimp-js}/LICENSE | 0 .../{firefish-js => iceshrimp-js}/README.md | 2 +- .../api-extractor.json | 0 .../{firefish-js => iceshrimp-js}/codecov.yml | 0 .../etc/iceshrimp-js.api.json} | 1750 ++++++++--------- .../etc/iceshrimp-js.api.md} | 2 +- .../etc/misskey-js.api.md | 0 .../jest.config.ts | 0 .../markdown/iceshrimp-js.acct.md} | 2 +- ...ceshrimp-js.api.apiclient._constructor_.md | 24 + .../iceshrimp-js.api.apiclient.credential.md | 11 + .../iceshrimp-js.api.apiclient.fetch.md | 11 + .../markdown/iceshrimp-js.api.apiclient.md | 32 + .../iceshrimp-js.api.apiclient.origin.md | 11 + .../iceshrimp-js.api.apiclient.request.md} | 4 +- .../markdown/iceshrimp-js.api.apierror.md} | 2 +- .../markdown/iceshrimp-js.api.fetchlike.md} | 2 +- .../markdown/iceshrimp-js.api.isapierror.md} | 4 +- .../iceshrimp-js/markdown/iceshrimp-js.api.md | 25 + ...imp-js.channelconnection._constructor_.md} | 4 +- .../iceshrimp-js.channelconnection.channel.md | 11 + ...iceshrimp-js.channelconnection.dispose.md} | 2 +- .../iceshrimp-js.channelconnection.id.md | 11 + .../iceshrimp-js.channelconnection.incount.md | 11 + .../iceshrimp-js.channelconnection.md | 39 + .../iceshrimp-js.channelconnection.name.md | 11 + ...iceshrimp-js.channelconnection.outcount.md | 11 + .../iceshrimp-js.channelconnection.send.md} | 2 +- .../iceshrimp-js.channelconnection.stream.md | 11 + .../markdown/iceshrimp-js.channels.md} | 4 +- .../markdown/iceshrimp-js.endpoints.md} | 4 +- .../markdown/iceshrimp-js.entities.ad.md} | 2 +- .../iceshrimp-js.entities.announcement.md} | 4 +- .../iceshrimp-js.entities.antenna.md} | 4 +- .../markdown/iceshrimp-js.entities.app.md} | 2 +- .../iceshrimp-js.entities.authsession.md | 17 + .../iceshrimp-js.entities.blocking.md | 18 + .../markdown/iceshrimp-js.entities.channel.md | 15 + .../markdown/iceshrimp-js.entities.clip.md} | 2 +- .../iceshrimp-js.entities.customemoji.md} | 2 +- .../iceshrimp-js.entities.datestring.md} | 2 +- ...mp-js.entities.detailedinstancemetadata.md | 15 + .../iceshrimp-js.entities.drivefile.md} | 4 +- .../iceshrimp-js.entities.drivefolder.md} | 2 +- .../iceshrimp-js.entities.following.md | 18 + ...-js.entities.followingfolloweepopulated.md | 15 + ...-js.entities.followingfollowerpopulated.md | 15 + .../iceshrimp-js.entities.followrequest.md | 17 + .../iceshrimp-js.entities.gallerypost.md} | 2 +- .../markdown/iceshrimp-js.entities.id.md} | 2 +- .../iceshrimp-js.entities.instance.md} | 4 +- .../iceshrimp-js.entities.instancemetadata.md | 15 + ...hrimp-js.entities.liteinstancemetadata.md} | 4 +- .../markdown/iceshrimp-js.entities.md | 51 + .../iceshrimp-js.entities.medetailed.md} | 4 +- ...iceshrimp-js.entities.messagingmessage.md} | 4 +- .../markdown/iceshrimp-js.entities.note.md} | 4 +- .../iceshrimp-js.entities.notefavorite.md | 18 + .../iceshrimp-js.entities.notereaction.md | 18 + .../iceshrimp-js.entities.notification.md} | 4 +- .../iceshrimp-js.entities.origintype.md} | 2 +- .../markdown/iceshrimp-js.entities.page.md} | 4 +- .../iceshrimp-js.entities.pageevent.md | 19 + .../iceshrimp-js.entities.serverinfo.md} | 2 +- .../markdown/iceshrimp-js.entities.signin.md | 19 + .../markdown/iceshrimp-js.entities.stats.md} | 2 +- .../markdown/iceshrimp-js.entities.user.md | 13 + .../iceshrimp-js.entities.userdetailed.md} | 4 +- .../iceshrimp-js.entities.usergroup.md} | 2 +- .../iceshrimp-js.entities.userlist.md | 18 + .../iceshrimp-js.entities.userlite.md} | 4 +- .../iceshrimp-js.entities.usersorting.md} | 2 +- .../markdown/iceshrimp-js.ffvisibility.md} | 2 +- .../iceshrimp-js/markdown/iceshrimp-js.md | 43 + .../iceshrimp-js.mutednotereasons.md} | 2 +- .../iceshrimp-js.notevisibilities.md} | 2 +- .../iceshrimp-js.notificationtypes.md} | 2 +- .../markdown/iceshrimp-js.permissions.md} | 2 +- .../iceshrimp-js.stream._constructor_.md} | 2 +- .../markdown/iceshrimp-js.stream.close.md} | 2 +- ...ceshrimp-js.stream.disconnecttochannel.md} | 2 +- .../markdown/iceshrimp-js.stream.md | 36 + ...hrimp-js.stream.removesharedconnection.md} | 2 +- ...p-js.stream.removesharedconnectionpool.md} | 2 +- .../markdown/iceshrimp-js.stream.send.md} | 2 +- .../markdown/iceshrimp-js.stream.state.md} | 2 +- .../iceshrimp-js.stream.usechannel.md} | 6 +- .../markdown/index.md | 2 +- .../package.json | 4 +- .../{firefish-js => iceshrimp-js}/src/acct.ts | 0 .../{firefish-js => iceshrimp-js}/src/api.ts | 0 .../src/api.types.ts | 0 .../src/consts.ts | 0 .../src/entities.ts | 0 .../src/index.ts | 0 .../src/streaming.ts | 0 .../src/streaming.types.ts | 0 .../test-d/api.ts | 0 .../test-d/streaming.ts | 0 .../{firefish-js => iceshrimp-js}/test/api.ts | 0 .../test/streaming.ts | 0 .../tsconfig.json | 0 packages/sw/package.json | 2 +- packages/sw/src/scripts/operations.ts | 2 +- packages/sw/src/sw.ts | 2 +- packages/sw/src/types.ts | 2 +- pnpm-lock.yaml | 14 +- pnpm-workspace.yaml | 2 +- rome.json | 2 +- scripts/clean-all.js | 4 +- scripts/clean.js | 2 +- 257 files changed, 1684 insertions(+), 1684 deletions(-) delete mode 100644 packages/firefish-js/markdown/firefish-js.api.apiclient._constructor_.md delete mode 100644 packages/firefish-js/markdown/firefish-js.api.apiclient.credential.md delete mode 100644 packages/firefish-js/markdown/firefish-js.api.apiclient.fetch.md delete mode 100644 packages/firefish-js/markdown/firefish-js.api.apiclient.md delete mode 100644 packages/firefish-js/markdown/firefish-js.api.apiclient.origin.md delete mode 100644 packages/firefish-js/markdown/firefish-js.api.md delete mode 100644 packages/firefish-js/markdown/firefish-js.channelconnection.channel.md delete mode 100644 packages/firefish-js/markdown/firefish-js.channelconnection.id.md delete mode 100644 packages/firefish-js/markdown/firefish-js.channelconnection.incount.md delete mode 100644 packages/firefish-js/markdown/firefish-js.channelconnection.md delete mode 100644 packages/firefish-js/markdown/firefish-js.channelconnection.name.md delete mode 100644 packages/firefish-js/markdown/firefish-js.channelconnection.outcount.md delete mode 100644 packages/firefish-js/markdown/firefish-js.channelconnection.stream.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.authsession.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.blocking.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.channel.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.detailedinstancemetadata.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.following.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.followingfolloweepopulated.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.followingfollowerpopulated.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.followrequest.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.instancemetadata.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.notefavorite.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.notereaction.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.pageevent.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.signin.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.user.md delete mode 100644 packages/firefish-js/markdown/firefish-js.entities.userlist.md delete mode 100644 packages/firefish-js/markdown/firefish-js.md delete mode 100644 packages/firefish-js/markdown/firefish-js.stream.md rename packages/{firefish-js => iceshrimp-js}/.editorconfig (100%) rename packages/{firefish-js => iceshrimp-js}/.gitignore (100%) rename packages/{firefish-js => iceshrimp-js}/.swcrc (100%) rename packages/{firefish-js => iceshrimp-js}/CHANGELOG.md (100%) rename packages/{firefish-js => iceshrimp-js}/LICENSE (100%) rename packages/{firefish-js => iceshrimp-js}/README.md (84%) rename packages/{firefish-js => iceshrimp-js}/api-extractor.json (100%) rename packages/{firefish-js => iceshrimp-js}/codecov.yml (100%) rename packages/{firefish-js/etc/firefish-js.api.json => iceshrimp-js/etc/iceshrimp-js.api.json} (79%) rename packages/{firefish-js/etc/firefish-js.api.md => iceshrimp-js/etc/iceshrimp-js.api.md} (96%) rename packages/{firefish-js => iceshrimp-js}/etc/misskey-js.api.md (100%) rename packages/{firefish-js => iceshrimp-js}/jest.config.ts (100%) rename packages/{firefish-js/markdown/firefish-js.acct.md => iceshrimp-js/markdown/iceshrimp-js.acct.md} (65%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient._constructor_.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.credential.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.fetch.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.api.apiclient.origin.md rename packages/{firefish-js/markdown/firefish-js.api.apiclient.request.md => iceshrimp-js/markdown/iceshrimp-js.api.apiclient.request.md} (51%) rename packages/{firefish-js/markdown/firefish-js.api.apierror.md => iceshrimp-js/markdown/iceshrimp-js.api.apierror.md} (63%) rename packages/{firefish-js/markdown/firefish-js.api.fetchlike.md => iceshrimp-js/markdown/iceshrimp-js.api.fetchlike.md} (68%) rename packages/{firefish-js/markdown/firefish-js.api.isapierror.md => iceshrimp-js/markdown/iceshrimp-js.api.isapierror.md} (59%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.api.md rename packages/{firefish-js/markdown/firefish-js.channelconnection._constructor_.md => iceshrimp-js/markdown/iceshrimp-js.channelconnection._constructor_.md} (60%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.channel.md rename packages/{firefish-js/markdown/firefish-js.channelconnection.dispose.md => iceshrimp-js/markdown/iceshrimp-js.channelconnection.dispose.md} (50%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.id.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.incount.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.name.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.outcount.md rename packages/{firefish-js/markdown/firefish-js.channelconnection.send.md => iceshrimp-js/markdown/iceshrimp-js.channelconnection.send.md} (66%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection.stream.md rename packages/{firefish-js/markdown/firefish-js.channels.md => iceshrimp-js/markdown/iceshrimp-js.channels.md} (81%) rename packages/{firefish-js/markdown/firefish-js.endpoints.md => iceshrimp-js/markdown/iceshrimp-js.endpoints.md} (87%) rename packages/{firefish-js/markdown/firefish-js.entities.ad.md => iceshrimp-js/markdown/iceshrimp-js.entities.ad.md} (52%) rename packages/{firefish-js/markdown/firefish-js.entities.announcement.md => iceshrimp-js/markdown/iceshrimp-js.entities.announcement.md} (52%) rename packages/{firefish-js/markdown/firefish-js.entities.antenna.md => iceshrimp-js/markdown/iceshrimp-js.entities.antenna.md} (64%) rename packages/{firefish-js/markdown/firefish-js.entities.app.md => iceshrimp-js/markdown/iceshrimp-js.entities.app.md} (52%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.authsession.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.blocking.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.channel.md rename packages/{firefish-js/markdown/firefish-js.entities.clip.md => iceshrimp-js/markdown/iceshrimp-js.entities.clip.md} (52%) rename packages/{firefish-js/markdown/firefish-js.entities.customemoji.md => iceshrimp-js/markdown/iceshrimp-js.entities.customemoji.md} (60%) rename packages/{firefish-js/markdown/firefish-js.entities.datestring.md => iceshrimp-js/markdown/iceshrimp-js.entities.datestring.md} (52%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.detailedinstancemetadata.md rename packages/{firefish-js/markdown/firefish-js.entities.drivefile.md => iceshrimp-js/markdown/iceshrimp-js.entities.drivefile.md} (58%) rename packages/{firefish-js/markdown/firefish-js.entities.drivefolder.md => iceshrimp-js/markdown/iceshrimp-js.entities.drivefolder.md} (52%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.following.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.followingfolloweepopulated.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.followingfollowerpopulated.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.followrequest.md rename packages/{firefish-js/markdown/firefish-js.entities.gallerypost.md => iceshrimp-js/markdown/iceshrimp-js.entities.gallerypost.md} (52%) rename packages/{firefish-js/markdown/firefish-js.entities.id.md => iceshrimp-js/markdown/iceshrimp-js.entities.id.md} (52%) rename packages/{firefish-js/markdown/firefish-js.entities.instance.md => iceshrimp-js/markdown/iceshrimp-js.entities.instance.md} (74%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.instancemetadata.md rename packages/{firefish-js/markdown/firefish-js.entities.liteinstancemetadata.md => iceshrimp-js/markdown/iceshrimp-js.entities.liteinstancemetadata.md} (75%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.md rename packages/{firefish-js/markdown/firefish-js.entities.medetailed.md => iceshrimp-js/markdown/iceshrimp-js.entities.medetailed.md} (74%) rename packages/{firefish-js/markdown/firefish-js.entities.messagingmessage.md => iceshrimp-js/markdown/iceshrimp-js.entities.messagingmessage.md} (51%) rename packages/{firefish-js/markdown/firefish-js.entities.note.md => iceshrimp-js/markdown/iceshrimp-js.entities.note.md} (63%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.notefavorite.md create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.notereaction.md rename packages/{firefish-js/markdown/firefish-js.entities.notification.md => iceshrimp-js/markdown/iceshrimp-js.entities.notification.md} (69%) rename packages/{firefish-js/markdown/firefish-js.entities.origintype.md => iceshrimp-js/markdown/iceshrimp-js.entities.origintype.md} (55%) rename packages/{firefish-js/markdown/firefish-js.entities.page.md => iceshrimp-js/markdown/iceshrimp-js.entities.page.md} (60%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.pageevent.md rename packages/{firefish-js/markdown/firefish-js.entities.serverinfo.md => iceshrimp-js/markdown/iceshrimp-js.entities.serverinfo.md} (63%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.signin.md rename packages/{firefish-js/markdown/firefish-js.entities.stats.md => iceshrimp-js/markdown/iceshrimp-js.entities.stats.md} (67%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.user.md rename packages/{firefish-js/markdown/firefish-js.entities.userdetailed.md => iceshrimp-js/markdown/iceshrimp-js.entities.userdetailed.md} (71%) rename packages/{firefish-js/markdown/firefish-js.entities.usergroup.md => iceshrimp-js/markdown/iceshrimp-js.entities.usergroup.md} (52%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.entities.userlist.md rename packages/{firefish-js/markdown/firefish-js.entities.userlite.md => iceshrimp-js/markdown/iceshrimp-js.entities.userlite.md} (69%) rename packages/{firefish-js/markdown/firefish-js.entities.usersorting.md => iceshrimp-js/markdown/iceshrimp-js.entities.usersorting.md} (60%) rename packages/{firefish-js/markdown/firefish-js.ffvisibility.md => iceshrimp-js/markdown/iceshrimp-js.ffvisibility.md} (62%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.md rename packages/{firefish-js/markdown/firefish-js.mutednotereasons.md => iceshrimp-js/markdown/iceshrimp-js.mutednotereasons.md} (61%) rename packages/{firefish-js/markdown/firefish-js.notevisibilities.md => iceshrimp-js/markdown/iceshrimp-js.notevisibilities.md} (62%) rename packages/{firefish-js/markdown/firefish-js.notificationtypes.md => iceshrimp-js/markdown/iceshrimp-js.notificationtypes.md} (70%) rename packages/{firefish-js/markdown/firefish-js.permissions.md => iceshrimp-js/markdown/iceshrimp-js.permissions.md} (57%) rename packages/{firefish-js/markdown/firefish-js.stream._constructor_.md => iceshrimp-js/markdown/iceshrimp-js.stream._constructor_.md} (72%) rename packages/{firefish-js/markdown/firefish-js.stream.close.md => iceshrimp-js/markdown/iceshrimp-js.stream.close.md} (52%) rename packages/{firefish-js/markdown/firefish-js.stream.disconnecttochannel.md => iceshrimp-js/markdown/iceshrimp-js.stream.disconnecttochannel.md} (64%) create mode 100644 packages/iceshrimp-js/markdown/iceshrimp-js.stream.md rename packages/{firefish-js/markdown/firefish-js.stream.removesharedconnection.md => iceshrimp-js/markdown/iceshrimp-js.stream.removesharedconnection.md} (63%) rename packages/{firefish-js/markdown/firefish-js.stream.removesharedconnectionpool.md => iceshrimp-js/markdown/iceshrimp-js.stream.removesharedconnectionpool.md} (61%) rename packages/{firefish-js/markdown/firefish-js.stream.send.md => iceshrimp-js/markdown/iceshrimp-js.stream.send.md} (67%) rename packages/{firefish-js/markdown/firefish-js.stream.state.md => iceshrimp-js/markdown/iceshrimp-js.stream.state.md} (56%) rename packages/{firefish-js/markdown/firefish-js.stream.usechannel.md => iceshrimp-js/markdown/iceshrimp-js.stream.usechannel.md} (51%) rename packages/{firefish-js => iceshrimp-js}/markdown/index.md (76%) rename packages/{firefish-js => iceshrimp-js}/package.json (93%) rename packages/{firefish-js => iceshrimp-js}/src/acct.ts (100%) rename packages/{firefish-js => iceshrimp-js}/src/api.ts (100%) rename packages/{firefish-js => iceshrimp-js}/src/api.types.ts (100%) rename packages/{firefish-js => iceshrimp-js}/src/consts.ts (100%) rename packages/{firefish-js => iceshrimp-js}/src/entities.ts (100%) rename packages/{firefish-js => iceshrimp-js}/src/index.ts (100%) rename packages/{firefish-js => iceshrimp-js}/src/streaming.ts (100%) rename packages/{firefish-js => iceshrimp-js}/src/streaming.types.ts (100%) rename packages/{firefish-js => iceshrimp-js}/test-d/api.ts (100%) rename packages/{firefish-js => iceshrimp-js}/test-d/streaming.ts (100%) rename packages/{firefish-js => iceshrimp-js}/test/api.ts (100%) rename packages/{firefish-js => iceshrimp-js}/test/streaming.ts (100%) rename packages/{firefish-js => iceshrimp-js}/tsconfig.json (100%) diff --git a/Dockerfile b/Dockerfile index ec07bb210..77e3d1677 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docs/api-doc.md b/docs/api-doc.md index 04fbaffd4..e4cc54059 100644 --- a/docs/api-doc.md +++ b/docs/api-doc.md @@ -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). diff --git a/packages/README.md b/packages/README.md index ea04817f0..af3990fe4 100644 --- a/packages/README.md +++ b/packages/README.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 diff --git a/packages/backend/native-utils/src/model/schema/app.rs b/packages/backend/native-utils/src/model/schema/app.rs index 1da7b3520..79ec3f6f2 100644 --- a/packages/backend/native-utils/src/model/schema/app.rs +++ b/packages/backend/native-utils/src/model/schema/app.rs @@ -18,7 +18,7 @@ pub struct App { pub is_authorized: Option, } -/// 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")] diff --git a/packages/backend/package.json b/packages/backend/package.json index cc8f4747e..56afc6196 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -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", diff --git a/packages/backend/test/utils.ts b/packages/backend/test/utils.ts index 79d622b54..76f48dbb3 100644 --- a/packages/backend/test/utils.ts +++ b/packages/backend/test/utils.ts @@ -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"; diff --git a/packages/client/package.json b/packages/client/package.json index b08cdbfa9..7793c9a37 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -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", diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts index b2d6df033..8afb0d394 100644 --- a/packages/client/src/account.ts +++ b/packages/client/src/account.ts @@ -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"; diff --git a/packages/client/src/components/MkAbuseReportWindow.vue b/packages/client/src/components/MkAbuseReportWindow.vue index ed4737894..6e5171d57 100644 --- a/packages/client/src/components/MkAbuseReportWindow.vue +++ b/packages/client/src/components/MkAbuseReportWindow.vue @@ -41,7 +41,7 @@