fix calckeyjs

This commit is contained in:
ThatOneCalculator 2022-12-12 10:19:18 -08:00
parent a2ea56a35b
commit 3a05623e87
No known key found for this signature in database
GPG key ID: 8703CACD01000000
25 changed files with 27 additions and 27 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "13.0.0-beta2", "version": "13.0.0-beta3",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",
@ -43,7 +43,7 @@
"@bull-board/api": "^4.6.4", "@bull-board/api": "^4.6.4",
"@bull-board/ui": "^4.6.4", "@bull-board/ui": "^4.6.4",
"@tensorflow/tfjs": "^3.21.0", "@tensorflow/tfjs": "^3.21.0",
"calckey-js": "^0.0.16", "calckey-js": "^0.0.17",
"eslint": "^8.28.0", "eslint": "^8.28.0",
"execa": "5.1.1", "execa": "5.1.1",
"gulp": "4.0.2", "gulp": "4.0.2",

View file

@ -42,7 +42,7 @@
"blurhash": "1.1.5", "blurhash": "1.1.5",
"bull": "4.10.1", "bull": "4.10.1",
"cacheable-lookup": "7.0.0", "cacheable-lookup": "7.0.0",
"calckey-js": "^0.0.16", "calckey-js": "^0.0.17",
"cbor": "8.1.0", "cbor": "8.1.0",
"chalk": "5.1.2", "chalk": "5.1.2",
"chalk-template": "0.4.0", "chalk-template": "0.4.0",

View file

@ -19,7 +19,7 @@
"blurhash": "1.1.5", "blurhash": "1.1.5",
"broadcast-channel": "4.18.1", "broadcast-channel": "4.18.1",
"browser-image-resizer": "https://github.com/misskey-dev/browser-image-resizer.git#commit=0380d12c8e736788ea7f4e6e985175521ea7b23c", "browser-image-resizer": "https://github.com/misskey-dev/browser-image-resizer.git#commit=0380d12c8e736788ea7f4e6e985175521ea7b23c",
"calckey-js": "^0.0.16", "calckey-js": "^0.0.17",
"chart.js": "4.0.1", "chart.js": "4.0.1",
"chartjs-adapter-date-fns": "2.0.1", "chartjs-adapter-date-fns": "2.0.1",
"chartjs-plugin-gradient": "0.5.1", "chartjs-plugin-gradient": "0.5.1",

View file

@ -47,7 +47,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { i18n } from '@/i18n'; import { i18n } from '@/i18n';
import { acct } from '@/filters/user'; import { acct } from '@/filters/user';
import { $i } from '@/account'; import { $i } from '@/account';

View file

@ -33,7 +33,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from 'vue'; import { computed } from 'vue';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import MkSwitch from '@/components/ui/switch.vue'; import MkSwitch from '@/components/ui/switch.vue';
import MkPagination from '@/components/MkPagination.vue'; import MkPagination from '@/components/MkPagination.vue';
import MkDriveFileThumbnail from '@/components/MkDriveFileThumbnail.vue'; import MkDriveFileThumbnail from '@/components/MkDriveFileThumbnail.vue';

View file

@ -69,7 +69,7 @@ import * as misskey from 'calckey-js';
import insertTextAtCursor from 'insert-text-at-cursor'; import insertTextAtCursor from 'insert-text-at-cursor';
import { length } from 'stringz'; import { length } from 'stringz';
import { toASCII } from 'punycode/'; import { toASCII } from 'punycode/';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { throttle } from 'throttle-debounce'; import { throttle } from 'throttle-debounce';
import XNoteSimple from '@/components/MkNoteSimple.vue'; import XNoteSimple from '@/components/MkNoteSimple.vue';
import XNotePreview from '@/components/MkNotePreview.vue'; import XNotePreview from '@/components/MkNotePreview.vue';

View file

@ -11,7 +11,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from 'vue'; import { computed } from 'vue';
import type { Note } from 'misskey-js/built/entities'; import type { Note } from 'calckey-js/built/entities';
import { pleaseLogin } from '@/scripts/please-login'; import { pleaseLogin } from '@/scripts/please-login';
import * as os from '@/os'; import * as os from '@/os';
import { $i } from '@/account'; import { $i } from '@/account';

View file

@ -5,7 +5,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import type { Note } from 'misskey-js/built/entities'; import type { Note } from 'calckey-js/built/entities';
import Ripple from '@/components/MkRipple.vue'; import Ripple from '@/components/MkRipple.vue';
import { pleaseLogin } from '@/scripts/please-login'; import { pleaseLogin } from '@/scripts/please-login';
import * as os from '@/os'; import * as os from '@/os';

View file

@ -35,7 +35,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { onMounted } from 'vue'; import { onMounted } from 'vue';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import type * as misskey from 'calckey-js'; import type * as misskey from 'calckey-js';
import MkFollowButton from '@/components/MkFollowButton.vue'; import MkFollowButton from '@/components/MkFollowButton.vue';
import { userPage } from '@/filters/user'; import { userPage } from '@/filters/user';

View file

@ -7,7 +7,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { computed, ref, watch } from 'vue'; import { computed, ref, watch } from 'vue';
import { CustomEmoji } from 'misskey-js/built/entities'; import { CustomEmoji } from 'calckey-js/built/entities';
import { getStaticImageUrl } from '@/scripts/get-static-image-url'; import { getStaticImageUrl } from '@/scripts/get-static-image-url';
import { char2filePath } from '@/scripts/twemoji-base'; import { char2filePath } from '@/scripts/twemoji-base';
import { defaultStore } from '@/store'; import { defaultStore } from '@/store';

View file

@ -1,5 +1,5 @@
import * as misskey from 'calckey-js'; import * as misskey from 'calckey-js';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { url } from '@/config'; import { url } from '@/config';
export const acct = (user: misskey.Acct) => { export const acct = (user: misskey.Acct) => {

View file

@ -34,7 +34,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { computed, defineAsyncComponent } from 'vue'; import { computed, defineAsyncComponent } from 'vue';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import MkButton from '@/components/MkButton.vue'; import MkButton from '@/components/MkButton.vue';
import MkInput from '@/components/form/input.vue'; import MkInput from '@/components/form/input.vue';
import MkSelect from '@/components/form/select.vue'; import MkSelect from '@/components/form/select.vue';

View file

@ -5,7 +5,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { } from 'vue'; import { } from 'vue';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import * as os from '@/os'; import * as os from '@/os';
import { mainRouter } from '@/router'; import { mainRouter } from '@/router';
import { i18n } from '@/i18n'; import { i18n } from '@/i18n';

View file

@ -38,7 +38,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { markRaw, onMounted, onUnmounted, watch } from 'vue'; import { markRaw, onMounted, onUnmounted, watch } from 'vue';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { Virtual } from 'swiper'; import { Virtual } from 'swiper';
import { Swiper, SwiperSlide } from 'swiper/vue'; import { Swiper, SwiperSlide } from 'swiper/vue';
import MkButton from '@/components/MkButton.vue'; import MkButton from '@/components/MkButton.vue';

View file

@ -53,7 +53,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { computed, watch, onMounted, nextTick, onBeforeUnmount } from 'vue'; import { computed, watch, onMounted, nextTick, onBeforeUnmount } from 'vue';
import * as Misskey from 'calckey-js'; import * as Misskey from 'calckey-js';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import XMessage from './messaging-room.message.vue'; import XMessage from './messaging-room.message.vue';
import XForm from './messaging-room.form.vue'; import XForm from './messaging-room.form.vue';
import XList from '@/components/MkDateSeparatedList.vue'; import XList from '@/components/MkDateSeparatedList.vue';

View file

@ -46,7 +46,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { watch } from 'vue'; import { watch } from 'vue';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import MkButton from '@/components/MkButton.vue'; import MkButton from '@/components/MkButton.vue';
import MkInput from '@/components/form/input.vue'; import MkInput from '@/components/form/input.vue';
import MkTextarea from '@/components/form/textarea.vue'; import MkTextarea from '@/components/form/textarea.vue';

View file

@ -26,7 +26,7 @@
import { } from 'vue'; import { } from 'vue';
import { noteVisibilities } from 'calckey-js'; import { noteVisibilities } from 'calckey-js';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import * as Misskey from 'calckey-js'; import * as Misskey from 'calckey-js';
import MkButton from '@/components/MkButton.vue'; import MkButton from '@/components/MkButton.vue';
import XPostForm from '@/components/MkPostForm.vue'; import XPostForm from '@/components/MkPostForm.vue';

View file

@ -15,7 +15,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { defineAsyncComponent, computed, inject, onMounted, onUnmounted, watch } from 'vue'; import { defineAsyncComponent, computed, inject, onMounted, onUnmounted, watch } from 'vue';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import * as misskey from 'calckey-js'; import * as misskey from 'calckey-js';
import XFollowList from './follow-list.vue'; import XFollowList from './follow-list.vue';
import * as os from '@/os'; import * as os from '@/os';

View file

@ -15,7 +15,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { defineAsyncComponent, computed, inject, onMounted, onUnmounted, watch } from 'vue'; import { defineAsyncComponent, computed, inject, onMounted, onUnmounted, watch } from 'vue';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import * as misskey from 'calckey-js'; import * as misskey from 'calckey-js';
import XFollowList from './follow-list.vue'; import XFollowList from './follow-list.vue';
import * as os from '@/os'; import * as os from '@/os';

View file

@ -26,7 +26,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { defineAsyncComponent, computed, watch } from 'vue'; import { defineAsyncComponent, computed, watch } from 'vue';
import calcAge from 's-age'; import calcAge from 's-age';
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import type * as misskey from 'calckey-js'; import type * as misskey from 'calckey-js';
import { getScrollPosition } from '@/scripts/scroll'; import { getScrollPosition } from '@/scripts/scroll';
import number from '@/filters/number'; import number from '@/filters/number';

View file

@ -1,4 +1,4 @@
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { host as localHost } from '@/config'; import { host as localHost } from '@/config';
export async function genSearchQuery(v: any, q: string) { export async function genSearchQuery(v: any, q: string) {

View file

@ -1,4 +1,4 @@
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { defineAsyncComponent } from 'vue'; import { defineAsyncComponent } from 'vue';
import { i18n } from '@/i18n'; import { i18n } from '@/i18n';
import copyToClipboard from '@/scripts/copy-to-clipboard'; import copyToClipboard from '@/scripts/copy-to-clipboard';

View file

@ -1,4 +1,4 @@
import * as Acct from 'misskey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { i18n } from '@/i18n'; import { i18n } from '@/i18n';
import * as os from '@/os'; import * as os from '@/os';

View file

@ -1,5 +1,5 @@
import { ref } from 'vue'; import { ref } from 'vue';
import { DriveFile } from 'misskey-js/built/entities'; import { DriveFile } from 'calckey-js/built/entities';
import * as os from '@/os'; import * as os from '@/os';
import { stream } from '@/stream'; import { stream } from '@/stream';
import { i18n } from '@/i18n'; import { i18n } from '@/i18n';

View file

@ -7,9 +7,9 @@
"lint": "eslint --quiet src/**/*.{ts}" "lint": "eslint --quiet src/**/*.{ts}"
}, },
"dependencies": { "dependencies": {
"calckey-js": "^0.0.17",
"esbuild": "^0.15.14", "esbuild": "^0.15.14",
"idb-keyval": "^6.2.0", "idb-keyval": "^6.2.0"
"misskey-js": "0.0.14"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^8.28.0" "eslint": "^8.28.0"