From 97ea86274d4b16757123aca5f94f2a8038216ccc Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 29 Dec 2021 22:13:09 +0900 Subject: [PATCH 001/151] =?UTF-8?q?enhance:=20pizzax=E3=81=A7streaming?= =?UTF-8?q?=E3=81=AEuser=20storage=20update=E3=82=A4=E3=83=99=E3=83=B3?= =?UTF-8?q?=E3=83=88=E3=82=92=E7=9B=A3=E8=A6=96=E3=81=97=E3=81=A6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20(#8095)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * wip * wip? * ? * streamingのuser storage updateイベントを監視して更新 * 必要な時以外はストレージを更新しない * fix? * wip * fix * fix --- packages/client/src/components/drive.vue | 3 ++- .../client/src/components/follow-button.vue | 3 ++- .../client/src/components/note-detailed.vue | 3 ++- packages/client/src/components/note.vue | 3 ++- .../client/src/components/notification.vue | 5 +++-- .../client/src/components/notifications.vue | 5 +++-- packages/client/src/components/post-form.vue | 4 ++-- .../client/src/components/taskmanager.vue | 9 ++++---- packages/client/src/components/timeline.vue | 21 ++++++++++--------- packages/client/src/init.ts | 3 ++- packages/client/src/os.ts | 2 -- packages/client/src/pages/admin/metrics.vue | 5 +++-- packages/client/src/pages/admin/overview.vue | 3 ++- packages/client/src/pages/admin/queue.vue | 3 ++- packages/client/src/pages/messaging/index.vue | 3 ++- .../pages/messaging/messaging-room.form.vue | 3 ++- .../src/pages/messaging/messaging-room.vue | 3 ++- packages/client/src/pages/reversi/game.vue | 3 ++- packages/client/src/pages/reversi/index.vue | 3 ++- packages/client/src/pizzax.ts | 16 +++++++++++++- packages/client/src/scripts/select-file.ts | 3 ++- packages/client/src/stream.ts | 6 ++++++ packages/client/src/ui/_common_/common.vue | 3 ++- .../src/ui/_common_/stream-indicator.vue | 7 ++++--- packages/client/src/ui/chat/note.vue | 3 ++- packages/client/src/ui/chat/pages/channel.vue | 3 ++- .../client/src/ui/chat/pages/timeline.vue | 11 +++++----- packages/client/src/ui/chat/post-form.vue | 3 ++- packages/client/src/widgets/job-queue.vue | 3 ++- packages/client/src/widgets/photos.vue | 3 ++- .../src/widgets/server-metric/index.vue | 3 ++- 31 files changed, 98 insertions(+), 53 deletions(-) create mode 100644 packages/client/src/stream.ts diff --git a/packages/client/src/components/drive.vue b/packages/client/src/components/drive.vue index 46bcd4255..f8d3d810b 100644 --- a/packages/client/src/components/drive.vue +++ b/packages/client/src/components/drive.vue @@ -53,6 +53,7 @@ import XFolder from './drive.folder.vue'; import XFile from './drive.file.vue'; import MkButton from './ui/button.vue'; import * as os from '@/os'; +import { stream } from '@/stream'; export default defineComponent({ components: { @@ -140,7 +141,7 @@ export default defineComponent({ }); } - this.connection = markRaw(os.stream.useChannel('drive')); + this.connection = markRaw(stream.useChannel('drive')); this.connection.on('fileCreated', this.onStreamDriveFileCreated); this.connection.on('fileUpdated', this.onStreamDriveFileUpdated); diff --git a/packages/client/src/components/follow-button.vue b/packages/client/src/components/follow-button.vue index 713626191..b16b22f26 100644 --- a/packages/client/src/components/follow-button.vue +++ b/packages/client/src/components/follow-button.vue @@ -30,6 +30,7 @@ diff --git a/packages/client/src/components/form/switch.vue b/packages/client/src/components/form/switch.vue index aa9b09215..ac3284e7d 100644 --- a/packages/client/src/components/form/switch.vue +++ b/packages/client/src/components/form/switch.vue @@ -13,7 +13,8 @@ - + +

diff --git a/packages/client/src/components/user-select-dialog.vue b/packages/client/src/components/user-select-dialog.vue index ba2975478..dbef34d54 100644 --- a/packages/client/src/components/user-select-dialog.vue +++ b/packages/client/src/components/user-select-dialog.vue @@ -1,5 +1,5 @@ - From a26ab96021b8eb07eda3a535b318788cab417e6c Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 3 Jan 2022 07:35:02 +0900 Subject: [PATCH 017/151] =?UTF-8?q?enhance:=20=E8=A8=B1=E5=8F=AF=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=E3=83=95=E3=82=A1?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=82=BF=E3=82=A4=E3=83=97=E3=81=A7=E3=81=AF?= =?UTF-8?q?=E3=80=81=E3=82=AA=E3=83=96=E3=82=B8=E3=82=A7=E3=82=AF=E3=83=88?= =?UTF-8?q?=E3=82=B9=E3=83=88=E3=83=AC=E3=83=BC=E3=82=B8=E3=81=AE=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E5=90=8D=E3=81=AB=E6=8B=A1=E5=BC=B5?= =?UTF-8?q?=E5=AD=90=E3=82=92=E4=BB=98=E4=B8=8E=E3=81=97=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=20(#8108)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 許可されていないファイルタイプでは、オブジェクトストレージのファイル名に拡張子を付与しないように * add comment --- packages/backend/src/services/drive/add-file.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/backend/src/services/drive/add-file.ts b/packages/backend/src/services/drive/add-file.ts index 3d53fe8d3..38793412f 100644 --- a/packages/backend/src/services/drive/add-file.ts +++ b/packages/backend/src/services/drive/add-file.ts @@ -50,6 +50,12 @@ async function save(file: DriveFile, path: string, name: string, type: string, h if (type === 'image/vnd.mozilla.apng') ext = '.apng'; } + // 拡張子からContent-Typeを設定してそうな挙動を示すオブジェクトストレージ (upcloud?) も存在するので、 + // 許可されているファイル形式でしか拡張子をつけない + if (!FILE_TYPE_BROWSERSAFE.includes(type)) { + ext = ''; + } + const baseUrl = meta.objectStorageBaseUrl || `${ meta.objectStorageUseSSL ? 'https' : 'http' }://${ meta.objectStorageEndpoint }${ meta.objectStoragePort ? `:${meta.objectStoragePort}` : '' }/${ meta.objectStorageBucket }`; From 9f3045a23439592021258d1c8460da37a2d42f0c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 4 Jan 2022 15:36:14 +0900 Subject: [PATCH 018/151] tweak ui --- packages/client/src/components/chart.vue | 8 +- .../client/src/components/form/section.vue | 7 +- .../client/src/components/form/switch.vue | 2 +- .../client/src/components/global/spacer.vue | 2 +- .../client/src/components/instance-stats.vue | 15 +- packages/client/src/components/key-value.vue | 27 +- packages/client/src/pages/about.vue | 3 +- packages/client/src/pages/admin/instance.vue | 291 ------------------ packages/client/src/pages/admin/metrics.vue | 1 - packages/client/src/pages/admin/overview.vue | 7 +- packages/client/src/pages/instance-info.vue | 230 +++++++------- packages/client/src/pages/user-ap-info.vue | 124 -------- packages/client/src/pages/user-info.vue | 137 +++++---- packages/client/src/router.ts | 1 - 14 files changed, 231 insertions(+), 624 deletions(-) delete mode 100644 packages/client/src/pages/admin/instance.vue delete mode 100644 packages/client/src/pages/user-ap-info.vue diff --git a/packages/client/src/components/chart.vue b/packages/client/src/components/chart.vue index c4d0eb85d..1959271f5 100644 --- a/packages/client/src/components/chart.vue +++ b/packages/client/src/components/chart.vue @@ -170,10 +170,10 @@ export default defineComponent({ aspectRatio: props.aspectRatio || 2.5, layout: { padding: { - left: 16, - right: 16, - top: 16, - bottom: 8, + left: 0, + right: 0, + top: 0, + bottom: 0, }, }, scales: { diff --git a/packages/client/src/components/form/section.vue b/packages/client/src/components/form/section.vue index ab9fbe5fc..c6e34ef1c 100644 --- a/packages/client/src/components/form/section.vue +++ b/packages/client/src/components/form/section.vue @@ -1,5 +1,5 @@ + + diff --git a/packages/client/src/pages/admin/database.vue b/packages/client/src/pages/admin/database.vue index fc9a3e969..c1088afd7 100644 --- a/packages/client/src/pages/admin/database.vue +++ b/packages/client/src/pages/admin/database.vue @@ -1,5 +1,5 @@ - diff --git a/packages/client/src/components/taskmanager.vue b/packages/client/src/components/taskmanager.vue deleted file mode 100644 index c5d2c6d8f..000000000 --- a/packages/client/src/components/taskmanager.vue +++ /dev/null @@ -1,234 +0,0 @@ - - - - - diff --git a/packages/client/src/os.ts b/packages/client/src/os.ts index d9400103f..e6dd4567f 100644 --- a/packages/client/src/os.ts +++ b/packages/client/src/os.ts @@ -4,16 +4,13 @@ import { Component, defineAsyncComponent, markRaw, reactive, Ref, ref } from 'vu import { EventEmitter } from 'eventemitter3'; import insertTextAtCursor from 'insert-text-at-cursor'; import * as Misskey from 'misskey-js'; -import { apiUrl, debug, url } from '@/config'; +import { apiUrl, url } from '@/config'; import MkPostFormDialog from '@/components/post-form-dialog.vue'; import MkWaitingDialog from '@/components/waiting-dialog.vue'; import { resolve } from '@/router'; import { $i } from '@/account'; -import { defaultStore } from '@/store'; export const pendingApiRequestsCount = ref(0); -let apiRequestsCount = 0; // for debug -export const apiRequests = ref([]); // for debug const apiClient = new Misskey.api.APIClient({ origin: url, @@ -26,18 +23,6 @@ export const api = ((endpoint: string, data: Record = {}, token?: s pendingApiRequestsCount.value--; }; - const log = debug ? reactive({ - id: ++apiRequestsCount, - endpoint, - req: markRaw(data), - res: null, - state: 'pending', - }) : null; - if (debug) { - apiRequests.value.push(log); - if (apiRequests.value.length > 128) apiRequests.value.shift(); - } - const promise = new Promise((resolve, reject) => { // Append a credential if ($i) (data as any).i = $i.token; @@ -54,21 +39,10 @@ export const api = ((endpoint: string, data: Record = {}, token?: s if (res.status === 200) { resolve(body); - if (debug) { - log!.res = markRaw(JSON.parse(JSON.stringify(body))); - log!.state = 'success'; - } } else if (res.status === 204) { resolve(); - if (debug) { - log!.state = 'success'; - } } else { reject(body.error); - if (debug) { - log!.res = markRaw(body.error); - log!.state = 'failed'; - } } }).catch(reject); }); diff --git a/packages/client/src/pages/settings/other.vue b/packages/client/src/pages/settings/other.vue index acc1fb4d3..754701383 100644 --- a/packages/client/src/pages/settings/other.vue +++ b/packages/client/src/pages/settings/other.vue @@ -63,11 +63,6 @@ export default defineComponent({ injectFeaturedNote: v }); }, - - taskmanager() { - os.popup(import('@/components/taskmanager.vue'), { - }, {}, 'closed'); - }, } }); From 295752f4ad63693fcf782b4c79bd606db5fd5218 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 7 Jan 2022 16:29:08 +0900 Subject: [PATCH 040/151] refactor(client): use composition api --- packages/client/src/pages/favorites.vue | 34 ++++++++++--------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/packages/client/src/pages/favorites.vue b/packages/client/src/pages/favorites.vue index faab86474..4a2ecb034 100644 --- a/packages/client/src/pages/favorites.vue +++ b/packages/client/src/pages/favorites.vue @@ -6,31 +6,23 @@ - From 44cd849e54088636d43dbcd42171e87a2b0f73b5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 7 Jan 2022 16:34:11 +0900 Subject: [PATCH 041/151] refactor(client): use composition api --- packages/client/src/pages/favorites.vue | 23 +++------------- packages/client/src/pages/featured.vue | 31 +++++++++------------- packages/client/src/pages/mentions.vue | 29 ++++++++------------ packages/client/src/pages/messages.vue | 35 ++++++++++--------------- 4 files changed, 41 insertions(+), 77 deletions(-) diff --git a/packages/client/src/pages/favorites.vue b/packages/client/src/pages/favorites.vue index 4a2ecb034..588b0fa66 100644 --- a/packages/client/src/pages/favorites.vue +++ b/packages/client/src/pages/favorites.vue @@ -1,9 +1,7 @@ - - diff --git a/packages/client/src/pages/featured.vue b/packages/client/src/pages/featured.vue index 0844c0952..efa74ca59 100644 --- a/packages/client/src/pages/featured.vue +++ b/packages/client/src/pages/featured.vue @@ -4,29 +4,22 @@ - diff --git a/packages/client/src/pages/mentions.vue b/packages/client/src/pages/mentions.vue index 691d3bd9a..ea23c6a2f 100644 --- a/packages/client/src/pages/mentions.vue +++ b/packages/client/src/pages/mentions.vue @@ -4,28 +4,21 @@ - diff --git a/packages/client/src/pages/messages.vue b/packages/client/src/pages/messages.vue index 9085af948..448aa0241 100644 --- a/packages/client/src/pages/messages.vue +++ b/packages/client/src/pages/messages.vue @@ -4,31 +4,24 @@ - From 11f90153ac5ee6e707ac91f9c7f184a788fbefac Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 7 Jan 2022 16:48:51 +0900 Subject: [PATCH 042/151] refactor(client): use composition api --- packages/client/src/pages/_loading_.vue | 6 +--- packages/client/src/pages/about.vue | 46 ++++++++----------------- packages/client/src/pages/not-found.vue | 18 ++++------ 3 files changed, 23 insertions(+), 47 deletions(-) diff --git a/packages/client/src/pages/_loading_.vue b/packages/client/src/pages/_loading_.vue index 05c6af1cd..1dd2e46e1 100644 --- a/packages/client/src/pages/_loading_.vue +++ b/packages/client/src/pages/_loading_.vue @@ -2,9 +2,5 @@ - diff --git a/packages/client/src/pages/about.vue b/packages/client/src/pages/about.vue index e9d17feec..a5984c548 100644 --- a/packages/client/src/pages/about.vue +++ b/packages/client/src/pages/about.vue @@ -67,8 +67,8 @@ - diff --git a/packages/client/src/pages/not-found.vue b/packages/client/src/pages/not-found.vue index 92d3f399f..914fdb929 100644 --- a/packages/client/src/pages/not-found.vue +++ b/packages/client/src/pages/not-found.vue @@ -7,19 +7,15 @@ - From 03206623f37517af6e183bf007bda42d793f1f13 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 7 Jan 2022 16:50:35 +0900 Subject: [PATCH 043/151] remove unused components --- .../src/pages/advanced-theme-editor.vue | 349 ------------------ packages/client/src/pages/test.vue | 260 ------------- 2 files changed, 609 deletions(-) delete mode 100644 packages/client/src/pages/advanced-theme-editor.vue delete mode 100644 packages/client/src/pages/test.vue diff --git a/packages/client/src/pages/advanced-theme-editor.vue b/packages/client/src/pages/advanced-theme-editor.vue deleted file mode 100644 index 9c2423131..000000000 --- a/packages/client/src/pages/advanced-theme-editor.vue +++ /dev/null @@ -1,349 +0,0 @@ - - - - - diff --git a/packages/client/src/pages/test.vue b/packages/client/src/pages/test.vue deleted file mode 100644 index d05e00d37..000000000 --- a/packages/client/src/pages/test.vue +++ /dev/null @@ -1,260 +0,0 @@ - - - From a8ccb5ef815d960ce31b4cbc77924235c1ec1e05 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 7 Jan 2022 17:06:47 +0900 Subject: [PATCH 044/151] bye room --- CHANGELOG.md | 10 + CONTRIBUTING.md | 11 - locales/ja-JP.yml | 64 -- .../src/models/entities/user-profile.ts | 1 + .../src/server/api/endpoints/room/show.ts | 160 ---- .../src/server/api/endpoints/room/update.ts | 52 -- .../room/furnitures/banknote/banknote.blend | 3 - .../room/furnitures/banknote/banknote.glb | 3 - .../assets/room/furnitures/banknote/tex.png | 3 - .../assets/room/furnitures/bed/bed.blend | 3 - .../client/assets/room/furnitures/bed/bed.glb | 3 - .../assets/room/furnitures/bin/bin.blend | 3 - .../client/assets/room/furnitures/bin/bin.glb | 3 - .../assets/room/furnitures/book/book.blend | 3 - .../assets/room/furnitures/book/book.glb | 3 - .../assets/room/furnitures/book2/barcode.png | 3 - .../assets/room/furnitures/book2/book2.blend | 3 - .../assets/room/furnitures/book2/book2.glb | 3 - .../room/furnitures/book2/texture.afdesign | 3 - .../assets/room/furnitures/book2/texture.png | 3 - .../assets/room/furnitures/book2/uv.png | 3 - .../cardboard-box/cardboard-box.blend | 3 - .../cardboard-box/cardboard-box.glb | 3 - .../cardboard-box2/cardboard-box2.blend | 3 - .../cardboard-box2/cardboard-box2.glb | 3 - .../furnitures/cardboard-box2/texture.png | 3 - .../room/furnitures/cardboard-box2/uv.png | 3 - .../cardboard-box3/cardboard-box3.blend | 3 - .../cardboard-box3/cardboard-box3.glb | 3 - .../furnitures/cardboard-box3/texture.png | 3 - .../furnitures/cardboard-box3/texture.xcf | 3 - .../room/furnitures/cardboard-box3/uv.png | 3 - .../carpet-stripe/carpet-stripe.blend | 3 - .../carpet-stripe/carpet-stripe.glb | 3 - .../assets/room/furnitures/chair/chair.blend | 3 - .../assets/room/furnitures/chair/chair.glb | 3 - .../room/furnitures/chair2/chair2.blend | 3 - .../assets/room/furnitures/chair2/chair2.glb | 3 - .../room/furnitures/color-box/color-box.blend | 3 - .../room/furnitures/color-box/color-box.glb | 3 - .../room/furnitures/corkboard/corkboard.blend | 3 - .../room/furnitures/corkboard/corkboard.glb | 3 - .../assets/room/furnitures/cube/cube.blend | 3 - .../assets/room/furnitures/cube/cube.glb | 3 - .../furnitures/cup-noodle/cup-noodle.blend | 3 - .../room/furnitures/cup-noodle/cup-noodle.glb | 3 - .../room/furnitures/cup-noodle/noodle.png | 3 - .../assets/room/furnitures/desk/desk.blend | 3 - .../assets/room/furnitures/desk/desk.glb | 3 - .../room/furnitures/doll-ai/doll-ai.blend | 3 - .../room/furnitures/doll-ai/doll-ai.glb | 3 - .../room/furnitures/doll-ai/doll_ai_tex.png | 3 - .../energy-drink/energy-drink.blend | 3 - .../furnitures/energy-drink/energy-drink.glb | 3 - .../furnitures/energy-drink/texture.afdesign | 3 - .../room/furnitures/energy-drink/texture.png | 3 - .../room/furnitures/energy-drink/uv.png | 3 - .../assets/room/furnitures/eraser/cover.png | 3 - .../assets/room/furnitures/eraser/cover.psd | 3 - .../room/furnitures/eraser/eraser-uv.png | 3 - .../room/furnitures/eraser/eraser.blend | 3 - .../assets/room/furnitures/eraser/eraser.glb | 3 - .../facial-tissue/facial-tissue-uv.png | 3 - .../facial-tissue/facial-tissue.blend | 3 - .../facial-tissue/facial-tissue.glb | 3 - .../facial-tissue/facial-tissue.png | 3 - .../facial-tissue/facial-tissue.psd | 3 - .../assets/room/furnitures/fan/fan.blend | 3 - .../client/assets/room/furnitures/fan/fan.glb | 3 - .../holo-display/holo-display.blend | 3 - .../furnitures/holo-display/holo-display.glb | 3 - .../room/furnitures/holo-display/ray-uv.png | 3 - .../room/furnitures/holo-display/ray.png | 3 - .../room/furnitures/keyboard/keyboard.blend | 3 - .../room/furnitures/keyboard/keyboard.glb | 3 - .../room/furnitures/low-table/low-table.blend | 3 - .../room/furnitures/low-table/low-table.glb | 3 - .../assets/room/furnitures/mat/mat.blend | 3 - .../client/assets/room/furnitures/mat/mat.glb | 3 - .../assets/room/furnitures/milk/milk-uv.png | 3 - .../assets/room/furnitures/milk/milk.blend | 3 - .../assets/room/furnitures/milk/milk.glb | 3 - .../assets/room/furnitures/milk/milk.png | 3 - .../assets/room/furnitures/milk/milk.psd | 3 - .../room/furnitures/monitor/monitor.blend | 3 - .../room/furnitures/monitor/monitor.glb | 3 - .../room/furnitures/monitor/monitor.psd | 3 - .../room/furnitures/monitor/screen-uv.png | 3 - .../assets/room/furnitures/monitor/screen.jpg | 3 - .../assets/room/furnitures/moon/moon.blend | 3 - .../assets/room/furnitures/moon/moon.glb | 3 - .../assets/room/furnitures/moon/moon.jpg | 3 - .../room/furnitures/mousepad/mousepad.blend | 3 - .../room/furnitures/mousepad/mousepad.glb | 3 - .../room/furnitures/pc/motherboard-uv.png | 3 - .../room/furnitures/pc/motherboard-uv.psd | 3 - .../assets/room/furnitures/pc/motherboard.jpg | 3 - .../client/assets/room/furnitures/pc/pc.blend | 3 - .../client/assets/room/furnitures/pc/pc.glb | 3 - .../room/furnitures/pencil/pencil.blend | 3 - .../assets/room/furnitures/pencil/pencil.glb | 3 - .../room/furnitures/photoframe/photo-uv.png | 3 - .../room/furnitures/photoframe/photo.jpg | 3 - .../furnitures/photoframe/photoframe.blend | 3 - .../room/furnitures/photoframe/photoframe.glb | 3 - .../assets/room/furnitures/piano/piano.blend | 3 - .../assets/room/furnitures/piano/piano.glb | 3 - .../room/furnitures/pinguin/pinguin.blend | 3 - .../room/furnitures/pinguin/pinguin.glb | 3 - .../room/furnitures/plant/plant-soil-uv.png | 3 - .../room/furnitures/plant/plant-soil.png | 3 - .../room/furnitures/plant/plant-soil.psd | 3 - .../assets/room/furnitures/plant/plant.blend | 3 - .../assets/room/furnitures/plant/plant.glb | 3 - .../room/furnitures/plant2/plant2.blend | 3 - .../assets/room/furnitures/plant2/plant2.glb | 3 - .../assets/room/furnitures/plant2/soil.png | 3 - .../room/furnitures/poster-h/poster-h.blend | 3 - .../room/furnitures/poster-h/poster-h.glb | 3 - .../assets/room/furnitures/poster-h/uv.png | 3 - .../room/furnitures/poster-v/poster-v.blend | 3 - .../room/furnitures/poster-v/poster-v.glb | 3 - .../assets/room/furnitures/poster-v/uv.png | 3 - .../room/furnitures/pudding/pudding.blend | 3 - .../room/furnitures/pudding/pudding.glb | 3 - .../furnitures/rubik-cube/rubik-cube.blend | 3 - .../room/furnitures/rubik-cube/rubik-cube.glb | 3 - .../assets/room/furnitures/server/rack-uv.png | 3 - .../assets/room/furnitures/server/rack.png | 3 - .../room/furnitures/server/server.blend | 3 - .../assets/room/furnitures/server/server.glb | 3 - .../assets/room/furnitures/server/server.png | 3 - .../assets/room/furnitures/server/uv.png | 3 - .../assets/room/furnitures/sofa/sofa.blend | 3 - .../assets/room/furnitures/sofa/sofa.glb | 3 - .../room/furnitures/spiral/spiral.blend | 3 - .../assets/room/furnitures/spiral/spiral.glb | 3 - .../assets/room/furnitures/tv/screen-uv.png | 3 - .../client/assets/room/furnitures/tv/tv.blend | 3 - .../client/assets/room/furnitures/tv/tv.glb | 3 - .../furnitures/wall-clock/wall-clock.blend | 3 - .../room/furnitures/wall-clock/wall-clock.glb | 3 - .../assets/room/rooms/default/default.blend | 3 - .../assets/room/rooms/default/default.glb | 3 - .../assets/room/rooms/washitsu/husuma-uv.png | 3 - .../assets/room/rooms/washitsu/husuma.png | 3 - .../room/rooms/washitsu/tatami-single1600.png | 3 - .../assets/room/rooms/washitsu/tatami-uv.png | 3 - .../room/rooms/washitsu/tatami.afdesign | 3 - .../assets/room/rooms/washitsu/tatami.png | 3 - .../assets/room/rooms/washitsu/washitsu.blend | 3 - .../assets/room/rooms/washitsu/washitsu.glb | 3 - packages/client/src/menu.ts | 6 - packages/client/src/pages/room/preview.vue | 107 --- packages/client/src/pages/room/room.vue | 279 ------- packages/client/src/router.ts | 1 - packages/client/src/scripts/room/furniture.ts | 21 - .../client/src/scripts/room/furnitures.json5 | 407 --------- packages/client/src/scripts/room/room.ts | 775 ------------------ packages/client/src/store.ts | 2 - 160 files changed, 11 insertions(+), 2323 deletions(-) delete mode 100644 packages/backend/src/server/api/endpoints/room/show.ts delete mode 100644 packages/backend/src/server/api/endpoints/room/update.ts delete mode 100644 packages/client/assets/room/furnitures/banknote/banknote.blend delete mode 100644 packages/client/assets/room/furnitures/banknote/banknote.glb delete mode 100644 packages/client/assets/room/furnitures/banknote/tex.png delete mode 100644 packages/client/assets/room/furnitures/bed/bed.blend delete mode 100644 packages/client/assets/room/furnitures/bed/bed.glb delete mode 100644 packages/client/assets/room/furnitures/bin/bin.blend delete mode 100644 packages/client/assets/room/furnitures/bin/bin.glb delete mode 100644 packages/client/assets/room/furnitures/book/book.blend delete mode 100644 packages/client/assets/room/furnitures/book/book.glb delete mode 100644 packages/client/assets/room/furnitures/book2/barcode.png delete mode 100644 packages/client/assets/room/furnitures/book2/book2.blend delete mode 100644 packages/client/assets/room/furnitures/book2/book2.glb delete mode 100644 packages/client/assets/room/furnitures/book2/texture.afdesign delete mode 100644 packages/client/assets/room/furnitures/book2/texture.png delete mode 100644 packages/client/assets/room/furnitures/book2/uv.png delete mode 100644 packages/client/assets/room/furnitures/cardboard-box/cardboard-box.blend delete mode 100644 packages/client/assets/room/furnitures/cardboard-box/cardboard-box.glb delete mode 100644 packages/client/assets/room/furnitures/cardboard-box2/cardboard-box2.blend delete mode 100644 packages/client/assets/room/furnitures/cardboard-box2/cardboard-box2.glb delete mode 100644 packages/client/assets/room/furnitures/cardboard-box2/texture.png delete mode 100644 packages/client/assets/room/furnitures/cardboard-box2/uv.png delete mode 100644 packages/client/assets/room/furnitures/cardboard-box3/cardboard-box3.blend delete mode 100644 packages/client/assets/room/furnitures/cardboard-box3/cardboard-box3.glb delete mode 100644 packages/client/assets/room/furnitures/cardboard-box3/texture.png delete mode 100644 packages/client/assets/room/furnitures/cardboard-box3/texture.xcf delete mode 100644 packages/client/assets/room/furnitures/cardboard-box3/uv.png delete mode 100644 packages/client/assets/room/furnitures/carpet-stripe/carpet-stripe.blend delete mode 100644 packages/client/assets/room/furnitures/carpet-stripe/carpet-stripe.glb delete mode 100644 packages/client/assets/room/furnitures/chair/chair.blend delete mode 100644 packages/client/assets/room/furnitures/chair/chair.glb delete mode 100644 packages/client/assets/room/furnitures/chair2/chair2.blend delete mode 100644 packages/client/assets/room/furnitures/chair2/chair2.glb delete mode 100644 packages/client/assets/room/furnitures/color-box/color-box.blend delete mode 100644 packages/client/assets/room/furnitures/color-box/color-box.glb delete mode 100644 packages/client/assets/room/furnitures/corkboard/corkboard.blend delete mode 100644 packages/client/assets/room/furnitures/corkboard/corkboard.glb delete mode 100644 packages/client/assets/room/furnitures/cube/cube.blend delete mode 100644 packages/client/assets/room/furnitures/cube/cube.glb delete mode 100644 packages/client/assets/room/furnitures/cup-noodle/cup-noodle.blend delete mode 100644 packages/client/assets/room/furnitures/cup-noodle/cup-noodle.glb delete mode 100644 packages/client/assets/room/furnitures/cup-noodle/noodle.png delete mode 100644 packages/client/assets/room/furnitures/desk/desk.blend delete mode 100644 packages/client/assets/room/furnitures/desk/desk.glb delete mode 100644 packages/client/assets/room/furnitures/doll-ai/doll-ai.blend delete mode 100644 packages/client/assets/room/furnitures/doll-ai/doll-ai.glb delete mode 100644 packages/client/assets/room/furnitures/doll-ai/doll_ai_tex.png delete mode 100644 packages/client/assets/room/furnitures/energy-drink/energy-drink.blend delete mode 100644 packages/client/assets/room/furnitures/energy-drink/energy-drink.glb delete mode 100644 packages/client/assets/room/furnitures/energy-drink/texture.afdesign delete mode 100644 packages/client/assets/room/furnitures/energy-drink/texture.png delete mode 100644 packages/client/assets/room/furnitures/energy-drink/uv.png delete mode 100644 packages/client/assets/room/furnitures/eraser/cover.png delete mode 100644 packages/client/assets/room/furnitures/eraser/cover.psd delete mode 100644 packages/client/assets/room/furnitures/eraser/eraser-uv.png delete mode 100644 packages/client/assets/room/furnitures/eraser/eraser.blend delete mode 100644 packages/client/assets/room/furnitures/eraser/eraser.glb delete mode 100644 packages/client/assets/room/furnitures/facial-tissue/facial-tissue-uv.png delete mode 100644 packages/client/assets/room/furnitures/facial-tissue/facial-tissue.blend delete mode 100644 packages/client/assets/room/furnitures/facial-tissue/facial-tissue.glb delete mode 100644 packages/client/assets/room/furnitures/facial-tissue/facial-tissue.png delete mode 100644 packages/client/assets/room/furnitures/facial-tissue/facial-tissue.psd delete mode 100644 packages/client/assets/room/furnitures/fan/fan.blend delete mode 100644 packages/client/assets/room/furnitures/fan/fan.glb delete mode 100644 packages/client/assets/room/furnitures/holo-display/holo-display.blend delete mode 100644 packages/client/assets/room/furnitures/holo-display/holo-display.glb delete mode 100644 packages/client/assets/room/furnitures/holo-display/ray-uv.png delete mode 100644 packages/client/assets/room/furnitures/holo-display/ray.png delete mode 100644 packages/client/assets/room/furnitures/keyboard/keyboard.blend delete mode 100644 packages/client/assets/room/furnitures/keyboard/keyboard.glb delete mode 100644 packages/client/assets/room/furnitures/low-table/low-table.blend delete mode 100644 packages/client/assets/room/furnitures/low-table/low-table.glb delete mode 100644 packages/client/assets/room/furnitures/mat/mat.blend delete mode 100644 packages/client/assets/room/furnitures/mat/mat.glb delete mode 100644 packages/client/assets/room/furnitures/milk/milk-uv.png delete mode 100644 packages/client/assets/room/furnitures/milk/milk.blend delete mode 100644 packages/client/assets/room/furnitures/milk/milk.glb delete mode 100644 packages/client/assets/room/furnitures/milk/milk.png delete mode 100644 packages/client/assets/room/furnitures/milk/milk.psd delete mode 100644 packages/client/assets/room/furnitures/monitor/monitor.blend delete mode 100644 packages/client/assets/room/furnitures/monitor/monitor.glb delete mode 100644 packages/client/assets/room/furnitures/monitor/monitor.psd delete mode 100644 packages/client/assets/room/furnitures/monitor/screen-uv.png delete mode 100644 packages/client/assets/room/furnitures/monitor/screen.jpg delete mode 100644 packages/client/assets/room/furnitures/moon/moon.blend delete mode 100644 packages/client/assets/room/furnitures/moon/moon.glb delete mode 100644 packages/client/assets/room/furnitures/moon/moon.jpg delete mode 100644 packages/client/assets/room/furnitures/mousepad/mousepad.blend delete mode 100644 packages/client/assets/room/furnitures/mousepad/mousepad.glb delete mode 100644 packages/client/assets/room/furnitures/pc/motherboard-uv.png delete mode 100644 packages/client/assets/room/furnitures/pc/motherboard-uv.psd delete mode 100644 packages/client/assets/room/furnitures/pc/motherboard.jpg delete mode 100644 packages/client/assets/room/furnitures/pc/pc.blend delete mode 100644 packages/client/assets/room/furnitures/pc/pc.glb delete mode 100644 packages/client/assets/room/furnitures/pencil/pencil.blend delete mode 100644 packages/client/assets/room/furnitures/pencil/pencil.glb delete mode 100644 packages/client/assets/room/furnitures/photoframe/photo-uv.png delete mode 100644 packages/client/assets/room/furnitures/photoframe/photo.jpg delete mode 100644 packages/client/assets/room/furnitures/photoframe/photoframe.blend delete mode 100644 packages/client/assets/room/furnitures/photoframe/photoframe.glb delete mode 100644 packages/client/assets/room/furnitures/piano/piano.blend delete mode 100644 packages/client/assets/room/furnitures/piano/piano.glb delete mode 100644 packages/client/assets/room/furnitures/pinguin/pinguin.blend delete mode 100644 packages/client/assets/room/furnitures/pinguin/pinguin.glb delete mode 100644 packages/client/assets/room/furnitures/plant/plant-soil-uv.png delete mode 100644 packages/client/assets/room/furnitures/plant/plant-soil.png delete mode 100644 packages/client/assets/room/furnitures/plant/plant-soil.psd delete mode 100644 packages/client/assets/room/furnitures/plant/plant.blend delete mode 100644 packages/client/assets/room/furnitures/plant/plant.glb delete mode 100644 packages/client/assets/room/furnitures/plant2/plant2.blend delete mode 100644 packages/client/assets/room/furnitures/plant2/plant2.glb delete mode 100644 packages/client/assets/room/furnitures/plant2/soil.png delete mode 100644 packages/client/assets/room/furnitures/poster-h/poster-h.blend delete mode 100644 packages/client/assets/room/furnitures/poster-h/poster-h.glb delete mode 100644 packages/client/assets/room/furnitures/poster-h/uv.png delete mode 100644 packages/client/assets/room/furnitures/poster-v/poster-v.blend delete mode 100644 packages/client/assets/room/furnitures/poster-v/poster-v.glb delete mode 100644 packages/client/assets/room/furnitures/poster-v/uv.png delete mode 100644 packages/client/assets/room/furnitures/pudding/pudding.blend delete mode 100644 packages/client/assets/room/furnitures/pudding/pudding.glb delete mode 100644 packages/client/assets/room/furnitures/rubik-cube/rubik-cube.blend delete mode 100644 packages/client/assets/room/furnitures/rubik-cube/rubik-cube.glb delete mode 100644 packages/client/assets/room/furnitures/server/rack-uv.png delete mode 100644 packages/client/assets/room/furnitures/server/rack.png delete mode 100644 packages/client/assets/room/furnitures/server/server.blend delete mode 100644 packages/client/assets/room/furnitures/server/server.glb delete mode 100644 packages/client/assets/room/furnitures/server/server.png delete mode 100644 packages/client/assets/room/furnitures/server/uv.png delete mode 100644 packages/client/assets/room/furnitures/sofa/sofa.blend delete mode 100644 packages/client/assets/room/furnitures/sofa/sofa.glb delete mode 100644 packages/client/assets/room/furnitures/spiral/spiral.blend delete mode 100644 packages/client/assets/room/furnitures/spiral/spiral.glb delete mode 100644 packages/client/assets/room/furnitures/tv/screen-uv.png delete mode 100644 packages/client/assets/room/furnitures/tv/tv.blend delete mode 100644 packages/client/assets/room/furnitures/tv/tv.glb delete mode 100644 packages/client/assets/room/furnitures/wall-clock/wall-clock.blend delete mode 100644 packages/client/assets/room/furnitures/wall-clock/wall-clock.glb delete mode 100644 packages/client/assets/room/rooms/default/default.blend delete mode 100644 packages/client/assets/room/rooms/default/default.glb delete mode 100644 packages/client/assets/room/rooms/washitsu/husuma-uv.png delete mode 100644 packages/client/assets/room/rooms/washitsu/husuma.png delete mode 100644 packages/client/assets/room/rooms/washitsu/tatami-single1600.png delete mode 100644 packages/client/assets/room/rooms/washitsu/tatami-uv.png delete mode 100644 packages/client/assets/room/rooms/washitsu/tatami.afdesign delete mode 100644 packages/client/assets/room/rooms/washitsu/tatami.png delete mode 100644 packages/client/assets/room/rooms/washitsu/washitsu.blend delete mode 100644 packages/client/assets/room/rooms/washitsu/washitsu.glb delete mode 100644 packages/client/src/pages/room/preview.vue delete mode 100644 packages/client/src/pages/room/room.vue delete mode 100644 packages/client/src/scripts/room/furniture.ts delete mode 100644 packages/client/src/scripts/room/furnitures.json5 delete mode 100644 packages/client/src/scripts/room/room.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fd61442e..99ab40f76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ --> +## 12.x.x (unreleased) + +### Changes +- Room機能が削除されました + - 後日別リポジトリとして復活予定です + +### Improvements + +### Bugfixes + ## 12.101.1 (2021/12/29) ### Bugfixes diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a16a76abc..c7a4773bc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -90,17 +90,6 @@ Misskey uses Vue(v3) as its front-end framework. **When creating a new component, please use the Composition API (with [setup sugar](https://v3.vuejs.org/api/sfc-script-setup.html) and [ref sugar](https://github.com/vuejs/rfcs/discussions/369)) instead of the Options API.** Some of the existing components are implemented in the Options API, but it is an old implementation. Refactors that migrate those components to the Composition API are also welcome. -## Adding MisskeyRoom items -* Use English for material, object and texture names. -* Use meter for unit of length. -* Your PR should include all source files (e.g. `.png`, `.blend`) of your models (for later editing). -* Your PR must include the glTF binary files (`.glb`) of your models. -* Add a locale key `room.furnitures.YOUR_ITEM` at [`/locales/ja-JP.yml`](/locales/ja-JP.yml). -* Add a furniture definition at [`src/client/scripts/room/furnitures.json5`](src/client/scripts/room/furnitures.json5). - -If you have no experience on 3D modeling, we suggest to use the free 3DCG software [Blender](https://www.blender.org/). -You can find information on glTF 2.0 at [glTF 2.0 — Blender Manual]( https://docs.blender.org/manual/en/dev/addons/io_scene_gltf2.html). - ## Notes ### How to resolve conflictions occurred at yarn.lock? diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 74964e366..5ba09c4a8 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -537,7 +537,6 @@ yourAccountSuspendedDescription: "このアカウントは、サーバーの利 menu: "メニュー" divider: "分割線" addItem: "項目を追加" -rooms: "ルーム" relays: "リレー" addRelay: "リレーの追加" inboxUrl: "inboxのURL" @@ -1362,69 +1361,6 @@ _timelines: social: "ソーシャル" global: "グローバル" -_rooms: - roomOf: "{user}のルーム" - addFurniture: "家具を置く" - translate: "移動" - rotate: "回転" - exit: "戻る" - remove: "しまう" - clear: "片付け" - clearConfirm: "全ての家具をしまいますか?" - leaveConfirm: "未保存の変更があります、移動しますか?" - chooseImage: "画像を選択" - roomType: "部屋のタイプ" - carpetColor: "床の色" - _roomType: - default: "デフォルト" - washitsu: "和室" - _furnitures: - milk: "牛乳パック" - bed: "ベッド" - low-table: "ローテーブル" - desk: "デスク" - chair: "チェア" - chair2: "チェア2" - fan: "換気扇" - pc: "パソコン" - plant: "観葉植物" - plant2: "観葉植物2" - eraser: "消しゴム" - pencil: "鉛筆" - pudding: "プリン" - cardboard-box: "段ボール箱" - cardboard-box2: "段ボール箱2" - cardboard-box3: "段ボール箱3" - book: "本" - book2: "本2" - piano: "ピアノ" - facial-tissue: "ティッシュボックス" - server: "サーバー" - moon: "月" - corkboard: "コルクボード" - mousepad: "マウスパッド" - monitor: "モニター" - keyboard: "キーボード" - carpet-stripe: "カーペット(縞)" - mat: "マット" - color-box: "カラーボックス" - wall-clock: "壁掛け時計" - photoframe: "額縁" - cube: "キューブ" - tv: "テレビ" - pinguin: "ピンギン" - rubik-cube: "ルービックキューブ" - poster-h: "ポスター(横長)" - poster-v: "ポスター(縦長)" - sofa: "ソファ" - spiral: "螺旋階段" - bin: "ゴミ箱" - cup-noodle: "カップ麺" - holo-display: "ホログラフィックディスプレイ" - energy-drink: "エナジードリンク" - doll-ai: "藍ちゃん人形" - banknote: "札束" - _pages: newPage: "ページの作成" editPage: "ページの編集" diff --git a/packages/backend/src/models/entities/user-profile.ts b/packages/backend/src/models/entities/user-profile.ts index eb8cdadd1..d8317de8d 100644 --- a/packages/backend/src/models/entities/user-profile.ts +++ b/packages/backend/src/models/entities/user-profile.ts @@ -124,6 +124,7 @@ export class UserProfile { }) public clientData: Record; + // TODO: そのうち消す @Column('jsonb', { default: {}, comment: 'The room data of the User.', diff --git a/packages/backend/src/server/api/endpoints/room/show.ts b/packages/backend/src/server/api/endpoints/room/show.ts deleted file mode 100644 index a7193372f..000000000 --- a/packages/backend/src/server/api/endpoints/room/show.ts +++ /dev/null @@ -1,160 +0,0 @@ -import $ from 'cafy'; -import define from '../../define'; -import { ApiError } from '../../error'; -import { Users, UserProfiles } from '@/models/index'; -import { ID } from '@/misc/cafy-id'; -import { toPunyNullable } from '@/misc/convert-host'; - -export const meta = { - tags: ['room'], - - requireCredential: false as const, - - params: { - userId: { - validator: $.optional.type(ID), - }, - - username: { - validator: $.optional.str, - }, - - host: { - validator: $.optional.nullable.str, - }, - }, - - errors: { - noSuchUser: { - message: 'No such user.', - code: 'NO_SUCH_USER', - id: '7ad3fa3e-5e12-42f0-b23a-f3d13f10ee4b', - }, - }, - - res: { - type: 'object' as const, - optional: false as const, nullable: false as const, - properties: { - roomType: { - type: 'string' as const, - optional: false as const, nullable: false as const, - enum: ['default', 'washitsu'], - }, - furnitures: { - type: 'array' as const, - optional: false as const, nullable: false as const, - items: { - type: 'object' as const, - optional: false as const, nullable: false as const, - properties: { - id: { - type: 'string' as const, - optional: false as const, nullable: false as const, - }, - type: { - type: 'string' as const, - optional: false as const, nullable: false as const, - }, - props: { - type: 'object' as const, - optional: true as const, nullable: false as const, - }, - position: { - type: 'object' as const, - optional: false as const, nullable: false as const, - properties: { - x: { - type: 'number' as const, - optional: false as const, nullable: false as const, - }, - y: { - type: 'number' as const, - optional: false as const, nullable: false as const, - }, - z: { - type: 'number' as const, - optional: false as const, nullable: false as const, - }, - }, - }, - rotation: { - type: 'object' as const, - optional: false as const, nullable: false as const, - properties: { - x: { - type: 'number' as const, - optional: false as const, nullable: false as const, - }, - y: { - type: 'number' as const, - optional: false as const, nullable: false as const, - }, - z: { - type: 'number' as const, - optional: false as const, nullable: false as const, - }, - }, - }, - }, - }, - }, - carpetColor: { - type: 'string' as const, - optional: false as const, nullable: false as const, - format: 'hex', - example: '#85CAF0', - }, - }, - }, -}; - -// eslint-disable-next-line import/no-default-export -export default define(meta, async (ps, me) => { - const user = await Users.findOne(ps.userId != null - ? { id: ps.userId } - : { usernameLower: ps.username!.toLowerCase(), host: toPunyNullable(ps.host) }); - - if (user == null) { - throw new ApiError(meta.errors.noSuchUser); - } - - const profile = await UserProfiles.findOneOrFail(user.id); - - if (profile.room.furnitures == null) { - await UserProfiles.update(user.id, { - room: { - furnitures: [], - ...profile.room, - }, - }); - - profile.room.furnitures = []; - } - - if (profile.room.roomType == null) { - const initialType = 'default'; - await UserProfiles.update(user.id, { - room: { - roomType: initialType as any, - ...profile.room, - }, - }); - - profile.room.roomType = initialType; - } - - if (profile.room.carpetColor == null) { - const initialColor = '#85CAF0'; - await UserProfiles.update(user.id, { - room: { - carpetColor: initialColor as any, - ...profile.room, - }, - }); - - profile.room.carpetColor = initialColor; - } - - return profile.room; -}); diff --git a/packages/backend/src/server/api/endpoints/room/update.ts b/packages/backend/src/server/api/endpoints/room/update.ts deleted file mode 100644 index e2b18a8ab..000000000 --- a/packages/backend/src/server/api/endpoints/room/update.ts +++ /dev/null @@ -1,52 +0,0 @@ -import $ from 'cafy'; -import { publishMainStream } from '@/services/stream'; -import define from '../../define'; -import { Users, UserProfiles } from '@/models/index'; - -export const meta = { - tags: ['room'], - - requireCredential: true as const, - - params: { - room: { - validator: $.obj({ - furnitures: $.arr($.obj({ - id: $.str, - type: $.str, - position: $.obj({ - x: $.num, - y: $.num, - z: $.num, - }), - rotation: $.obj({ - x: $.num, - y: $.num, - z: $.num, - }), - props: $.optional.nullable.obj(), - })), - roomType: $.str, - carpetColor: $.str, - }), - }, - }, -}; - -// eslint-disable-next-line import/no-default-export -export default define(meta, async (ps, user) => { - await UserProfiles.update(user.id, { - room: ps.room as any, - }); - - const iObj = await Users.pack(user.id, user, { - detail: true, - includeSecrets: true, - }); - - // Publish meUpdated event - publishMainStream(user.id, 'meUpdated', iObj); - - // TODO: レスポンスがおかしいと思う by YuzuRyo61 - return iObj; -}); diff --git a/packages/client/assets/room/furnitures/banknote/banknote.blend b/packages/client/assets/room/furnitures/banknote/banknote.blend deleted file mode 100644 index 1d95d4529..000000000 --- a/packages/client/assets/room/furnitures/banknote/banknote.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83fe0c2cb351af77b571da1b109a21e66019be7d015aa7ab72068978d8414595 -size 716076 diff --git a/packages/client/assets/room/furnitures/banknote/banknote.glb b/packages/client/assets/room/furnitures/banknote/banknote.glb deleted file mode 100644 index ad11b113d..000000000 --- a/packages/client/assets/room/furnitures/banknote/banknote.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b43eceacb3b291919700415e2871e901fa76c596392244479180af27216ff153 -size 48988 diff --git a/packages/client/assets/room/furnitures/banknote/tex.png b/packages/client/assets/room/furnitures/banknote/tex.png deleted file mode 100644 index 7a7a6def4..000000000 --- a/packages/client/assets/room/furnitures/banknote/tex.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:572d3fcbf996ef1393e41b732d3f8c6d99a64bc45542170e2111916bd901df0e -size 43794 diff --git a/packages/client/assets/room/furnitures/bed/bed.blend b/packages/client/assets/room/furnitures/bed/bed.blend deleted file mode 100644 index d29f77477..000000000 --- a/packages/client/assets/room/furnitures/bed/bed.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:15ccf449b85d73ef668a7742b6d1c7123c622061685644ba3acd7a179cb2abea -size 573584 diff --git a/packages/client/assets/room/furnitures/bed/bed.glb b/packages/client/assets/room/furnitures/bed/bed.glb deleted file mode 100644 index deed11583..000000000 --- a/packages/client/assets/room/furnitures/bed/bed.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b29c807a0128c4e11e8acf2c523f8932102491a9d25fffad08ac2e46d2accdb7 -size 8944 diff --git a/packages/client/assets/room/furnitures/bin/bin.blend b/packages/client/assets/room/furnitures/bin/bin.blend deleted file mode 100644 index 085ab7d69..000000000 --- a/packages/client/assets/room/furnitures/bin/bin.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30a73e9b039288782b943fa3bd7115cb9133335156f59773308dc87a6d3afaa9 -size 695512 diff --git a/packages/client/assets/room/furnitures/bin/bin.glb b/packages/client/assets/room/furnitures/bin/bin.glb deleted file mode 100644 index d103e011d..000000000 --- a/packages/client/assets/room/furnitures/bin/bin.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:922de39569c278efb41ff7946be65f41db3009d63e510ff90bbeafb0cbf2e846 -size 22140 diff --git a/packages/client/assets/room/furnitures/book/book.blend b/packages/client/assets/room/furnitures/book/book.blend deleted file mode 100644 index c3414b35d..000000000 --- a/packages/client/assets/room/furnitures/book/book.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82b4157520423c3c3f400bf2773814530083fcb978b2777e5b20fe7945807cd3 -size 511864 diff --git a/packages/client/assets/room/furnitures/book/book.glb b/packages/client/assets/room/furnitures/book/book.glb deleted file mode 100644 index e4267889f..000000000 --- a/packages/client/assets/room/furnitures/book/book.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b0018d07eb02779d2d4df30832cf5dea8093f2e7c8e192c022088b81e2309f3 -size 4304 diff --git a/packages/client/assets/room/furnitures/book2/barcode.png b/packages/client/assets/room/furnitures/book2/barcode.png deleted file mode 100644 index 3060216c3..000000000 --- a/packages/client/assets/room/furnitures/book2/barcode.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0315c2c837d5aacd0dcc0fa39be488718001d88f93eef7c473e85296c0253e85 -size 3505 diff --git a/packages/client/assets/room/furnitures/book2/book2.blend b/packages/client/assets/room/furnitures/book2/book2.blend deleted file mode 100644 index 69d04347d..000000000 --- a/packages/client/assets/room/furnitures/book2/book2.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8add369aaa438e5ca9dda18240b2b132485af5e737629f0ec955f35266b27b1 -size 521456 diff --git a/packages/client/assets/room/furnitures/book2/book2.glb b/packages/client/assets/room/furnitures/book2/book2.glb deleted file mode 100644 index 398bcbde9..000000000 --- a/packages/client/assets/room/furnitures/book2/book2.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:013351dfcbfa131ffe1df7d6fe01085f72ba3fd01fa5492ed1f68927a4ede0e8 -size 82920 diff --git a/packages/client/assets/room/furnitures/book2/texture.afdesign b/packages/client/assets/room/furnitures/book2/texture.afdesign deleted file mode 100644 index b352ea18c..000000000 --- a/packages/client/assets/room/furnitures/book2/texture.afdesign +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f63668362fe42fde57e982c7211fdcca0af9791d646db3bd1ae18aca7e63733b -size 875434 diff --git a/packages/client/assets/room/furnitures/book2/texture.png b/packages/client/assets/room/furnitures/book2/texture.png deleted file mode 100644 index e17aac0bf..000000000 --- a/packages/client/assets/room/furnitures/book2/texture.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8d1e783d043aba4d11be9098aa4e394375a517ebcf6a967d2a6dfcc064b0cfe -size 61019 diff --git a/packages/client/assets/room/furnitures/book2/uv.png b/packages/client/assets/room/furnitures/book2/uv.png deleted file mode 100644 index 854afddef..000000000 --- a/packages/client/assets/room/furnitures/book2/uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b28aae9b328e153cfe9b3ba77785d1b6c25507abb541c0b38856b007dd8c51c2 -size 8611 diff --git a/packages/client/assets/room/furnitures/cardboard-box/cardboard-box.blend b/packages/client/assets/room/furnitures/cardboard-box/cardboard-box.blend deleted file mode 100644 index 4d0af51ee..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box/cardboard-box.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65f5cac6531dc9b862c37f03998038f924f15bb8a71c709f73c2b0dcced74430 -size 515036 diff --git a/packages/client/assets/room/furnitures/cardboard-box/cardboard-box.glb b/packages/client/assets/room/furnitures/cardboard-box/cardboard-box.glb deleted file mode 100644 index 8b80cff8e..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box/cardboard-box.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56b4c466557325b1a2e301f0f241e9e7b1698ab2b01800a9f2d264f330c87de2 -size 4568 diff --git a/packages/client/assets/room/furnitures/cardboard-box2/cardboard-box2.blend b/packages/client/assets/room/furnitures/cardboard-box2/cardboard-box2.blend deleted file mode 100644 index b241853e6..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box2/cardboard-box2.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e23e45111feb3947b2d1dec2fc7a084b4fb0c24f9bb316f99a415f565e7e6f35 -size 545788 diff --git a/packages/client/assets/room/furnitures/cardboard-box2/cardboard-box2.glb b/packages/client/assets/room/furnitures/cardboard-box2/cardboard-box2.glb deleted file mode 100644 index 844bf0c17..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box2/cardboard-box2.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c6e8ccda401f74612e46635879d218bcef7bf9eabf3ab855e4d3ab87a33e87b -size 24084 diff --git a/packages/client/assets/room/furnitures/cardboard-box2/texture.png b/packages/client/assets/room/furnitures/cardboard-box2/texture.png deleted file mode 100644 index e42a35341..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box2/texture.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e22b6e1536524e61af923e820c646375da2e4c51a8022aa27d3cd66778c47012 -size 16879 diff --git a/packages/client/assets/room/furnitures/cardboard-box2/uv.png b/packages/client/assets/room/furnitures/cardboard-box2/uv.png deleted file mode 100644 index 75c4d9faf..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box2/uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:018cc95f86fedb0b6009ab72b5dc7d22d63ca8044a995560305cde4764c82f4e -size 4630 diff --git a/packages/client/assets/room/furnitures/cardboard-box3/cardboard-box3.blend b/packages/client/assets/room/furnitures/cardboard-box3/cardboard-box3.blend deleted file mode 100644 index 4a401ebd4..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box3/cardboard-box3.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a9d8aec2b62d5b83c0c208f3fedbc9869e5bfcf88db36a88d8eb222287f3d28 -size 547868 diff --git a/packages/client/assets/room/furnitures/cardboard-box3/cardboard-box3.glb b/packages/client/assets/room/furnitures/cardboard-box3/cardboard-box3.glb deleted file mode 100644 index 10b8f258d..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box3/cardboard-box3.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e894027574234de83b4cd00c793b03f6a61928c206d2360e8b8797e354e89f03 -size 23668 diff --git a/packages/client/assets/room/furnitures/cardboard-box3/texture.png b/packages/client/assets/room/furnitures/cardboard-box3/texture.png deleted file mode 100644 index 71682dde6..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box3/texture.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5cc095b8fdd976444a167f1d390fdc03d8c1b8a5fda1002605e01fcfebb67905 -size 16204 diff --git a/packages/client/assets/room/furnitures/cardboard-box3/texture.xcf b/packages/client/assets/room/furnitures/cardboard-box3/texture.xcf deleted file mode 100644 index 50c9a6ddb..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box3/texture.xcf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6b5379f1e847686aeae3cb3d427e9bb36b28ea3641097b2c83441379a0d551f -size 242066 diff --git a/packages/client/assets/room/furnitures/cardboard-box3/uv.png b/packages/client/assets/room/furnitures/cardboard-box3/uv.png deleted file mode 100644 index 39349c56f..000000000 --- a/packages/client/assets/room/furnitures/cardboard-box3/uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:97108bd40e8fcf8606a111c0edeb207b36a74ac04cf768ba9875159a6ccc8374 -size 3598 diff --git a/packages/client/assets/room/furnitures/carpet-stripe/carpet-stripe.blend b/packages/client/assets/room/furnitures/carpet-stripe/carpet-stripe.blend deleted file mode 100644 index f38c7b382..000000000 --- a/packages/client/assets/room/furnitures/carpet-stripe/carpet-stripe.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c67916c00bbb2238fd8801bd33ddd8619aaf2f58a53da8dd5b4c096279487613 -size 481784 diff --git a/packages/client/assets/room/furnitures/carpet-stripe/carpet-stripe.glb b/packages/client/assets/room/furnitures/carpet-stripe/carpet-stripe.glb deleted file mode 100644 index 9970d95bc..000000000 --- a/packages/client/assets/room/furnitures/carpet-stripe/carpet-stripe.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1885b00a8c0a89d2e3900ef050ab6fa7fdb09f8b210708d566dc8ea2478ca8f4 -size 4956 diff --git a/packages/client/assets/room/furnitures/chair/chair.blend b/packages/client/assets/room/furnitures/chair/chair.blend deleted file mode 100644 index 723d3e930..000000000 --- a/packages/client/assets/room/furnitures/chair/chair.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:88e68d22f3aca5ca26a2511dbbb99720d882081f89dee424379b2641d4479014 -size 500696 diff --git a/packages/client/assets/room/furnitures/chair/chair.glb b/packages/client/assets/room/furnitures/chair/chair.glb deleted file mode 100644 index 6a70ec971..000000000 --- a/packages/client/assets/room/furnitures/chair/chair.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fda0768a319578ba7a672d8ca6ca950998e1f84ba35e4b0e15a4808a5f1fddd4 -size 4252 diff --git a/packages/client/assets/room/furnitures/chair2/chair2.blend b/packages/client/assets/room/furnitures/chair2/chair2.blend deleted file mode 100644 index a8bc3c0f6..000000000 --- a/packages/client/assets/room/furnitures/chair2/chair2.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe61ce7c2c55624aab45345ef014b23437f4b30a30f251ab7e8967b18bb9f760 -size 523036 diff --git a/packages/client/assets/room/furnitures/chair2/chair2.glb b/packages/client/assets/room/furnitures/chair2/chair2.glb deleted file mode 100644 index b7a8d57f0..000000000 --- a/packages/client/assets/room/furnitures/chair2/chair2.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:086182612b99abb5f710d5794caab88a858e8b8e9756f1b14c2e002cf330cc6b -size 6140 diff --git a/packages/client/assets/room/furnitures/color-box/color-box.blend b/packages/client/assets/room/furnitures/color-box/color-box.blend deleted file mode 100644 index 492609d74..000000000 --- a/packages/client/assets/room/furnitures/color-box/color-box.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:894eec14bb5cfd5ef12222c741f740b0a183748aefc2803d16e5afda52387677 -size 631168 diff --git a/packages/client/assets/room/furnitures/color-box/color-box.glb b/packages/client/assets/room/furnitures/color-box/color-box.glb deleted file mode 100644 index b4ff5818b..000000000 --- a/packages/client/assets/room/furnitures/color-box/color-box.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd09a7d9b7b3430d375bb4d670740b28a3ecb43c0013d8611abf2c4408ca2116 -size 7492 diff --git a/packages/client/assets/room/furnitures/corkboard/corkboard.blend b/packages/client/assets/room/furnitures/corkboard/corkboard.blend deleted file mode 100644 index f0b32a1f2..000000000 --- a/packages/client/assets/room/furnitures/corkboard/corkboard.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a7f3e3c3716f284a89f09392f50c4a8c9988ef9905f08749c08e5e6b93d58a2 -size 565404 diff --git a/packages/client/assets/room/furnitures/corkboard/corkboard.glb b/packages/client/assets/room/furnitures/corkboard/corkboard.glb deleted file mode 100644 index 42b5bbd81..000000000 --- a/packages/client/assets/room/furnitures/corkboard/corkboard.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9036429f384589d5154960ba23852a031d3b8c67e21f983879335ae71895dc57 -size 7180 diff --git a/packages/client/assets/room/furnitures/cube/cube.blend b/packages/client/assets/room/furnitures/cube/cube.blend deleted file mode 100644 index 3e39d13b2..000000000 --- a/packages/client/assets/room/furnitures/cube/cube.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acda43ccfbc21f46076a14cb12a22f1d246244835922015541f6f4930012893b -size 646184 diff --git a/packages/client/assets/room/furnitures/cube/cube.glb b/packages/client/assets/room/furnitures/cube/cube.glb deleted file mode 100644 index e7582ade5..000000000 --- a/packages/client/assets/room/furnitures/cube/cube.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f70817e90861ddc17173e79986f5ac02447635c0cc6edd8eec8f8eabd685678a -size 188392 diff --git a/packages/client/assets/room/furnitures/cup-noodle/cup-noodle.blend b/packages/client/assets/room/furnitures/cup-noodle/cup-noodle.blend deleted file mode 100644 index 634d9b968..000000000 --- a/packages/client/assets/room/furnitures/cup-noodle/cup-noodle.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe74414b9ee97aa5e7c4277a55fa2b435f88e9a433836b6ab6f7492d28bffbc7 -size 855164 diff --git a/packages/client/assets/room/furnitures/cup-noodle/cup-noodle.glb b/packages/client/assets/room/furnitures/cup-noodle/cup-noodle.glb deleted file mode 100644 index 6bebc35b0..000000000 --- a/packages/client/assets/room/furnitures/cup-noodle/cup-noodle.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e3049adb1616d738128742ede31ac73fccb7f3f9a7847985b8c33bdd74b967b -size 318332 diff --git a/packages/client/assets/room/furnitures/cup-noodle/noodle.png b/packages/client/assets/room/furnitures/cup-noodle/noodle.png deleted file mode 100644 index 360dffd4c..000000000 --- a/packages/client/assets/room/furnitures/cup-noodle/noodle.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:79d46dbef576aa8cb1ad71d985ad3fbb0c7e6a0e0f0cb2842b4b0b80155bde5b -size 297154 diff --git a/packages/client/assets/room/furnitures/desk/desk.blend b/packages/client/assets/room/furnitures/desk/desk.blend deleted file mode 100644 index 500e42ef9..000000000 --- a/packages/client/assets/room/furnitures/desk/desk.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a69dcce9ae9e36d023681d6ef5662b90150f97a7feeca496483963285f4d4718 -size 541980 diff --git a/packages/client/assets/room/furnitures/desk/desk.glb b/packages/client/assets/room/furnitures/desk/desk.glb deleted file mode 100644 index 553fdce70..000000000 --- a/packages/client/assets/room/furnitures/desk/desk.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5225fd9d3b6888182b6a68e79178cf56354687124db3ffc75f2de0ccaca3459b -size 10184 diff --git a/packages/client/assets/room/furnitures/doll-ai/doll-ai.blend b/packages/client/assets/room/furnitures/doll-ai/doll-ai.blend deleted file mode 100644 index 17d0dcefb..000000000 --- a/packages/client/assets/room/furnitures/doll-ai/doll-ai.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a981e56af39840b0356ff84a367fb69be3374695c9ba5a9fa9150016c513560 -size 1155028 diff --git a/packages/client/assets/room/furnitures/doll-ai/doll-ai.glb b/packages/client/assets/room/furnitures/doll-ai/doll-ai.glb deleted file mode 100644 index d82587be8..000000000 --- a/packages/client/assets/room/furnitures/doll-ai/doll-ai.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4066cc164c9cb6d3b4aefb4a59e628cf3fb468f13263838f9b02b80af3fd6035 -size 112160 diff --git a/packages/client/assets/room/furnitures/doll-ai/doll_ai_tex.png b/packages/client/assets/room/furnitures/doll-ai/doll_ai_tex.png deleted file mode 100644 index 3633b1f66..000000000 --- a/packages/client/assets/room/furnitures/doll-ai/doll_ai_tex.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b8dc0107717c04c07774a4abafea11b16a269914d4441cf0a95ab30c2e79e09 -size 10712 diff --git a/packages/client/assets/room/furnitures/energy-drink/energy-drink.blend b/packages/client/assets/room/furnitures/energy-drink/energy-drink.blend deleted file mode 100644 index ca586fe11..000000000 --- a/packages/client/assets/room/furnitures/energy-drink/energy-drink.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bce900486f2ec4b146ba783aa367e97ba726945cc03c55ec61cc808f9313e7fc -size 724764 diff --git a/packages/client/assets/room/furnitures/energy-drink/energy-drink.glb b/packages/client/assets/room/furnitures/energy-drink/energy-drink.glb deleted file mode 100644 index f07d2f696..000000000 --- a/packages/client/assets/room/furnitures/energy-drink/energy-drink.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2dada764e73fa2ad36f8687bd8a723bb4975564ef7133051fdd08d25be7e8daf -size 145836 diff --git a/packages/client/assets/room/furnitures/energy-drink/texture.afdesign b/packages/client/assets/room/furnitures/energy-drink/texture.afdesign deleted file mode 100644 index 0cdabe2a0..000000000 --- a/packages/client/assets/room/furnitures/energy-drink/texture.afdesign +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d866ba40bdf8d3003e5d3a8513380c1fdabd50e3e48133d9da75493152d4bf07 -size 824566 diff --git a/packages/client/assets/room/furnitures/energy-drink/texture.png b/packages/client/assets/room/furnitures/energy-drink/texture.png deleted file mode 100644 index 41956382f..000000000 --- a/packages/client/assets/room/furnitures/energy-drink/texture.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1276fa7989fce26b53c3e46856f4b7e5578b7b9ebce58e9b882c92b2901ba3c8 -size 127510 diff --git a/packages/client/assets/room/furnitures/energy-drink/uv.png b/packages/client/assets/room/furnitures/energy-drink/uv.png deleted file mode 100644 index 03789d28e..000000000 --- a/packages/client/assets/room/furnitures/energy-drink/uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e104f38826828dd785bd793da10faae58bafd98a96b0f4ae4a2ecf97063fd8be -size 22142 diff --git a/packages/client/assets/room/furnitures/eraser/cover.png b/packages/client/assets/room/furnitures/eraser/cover.png deleted file mode 100644 index ec41b03ea..000000000 --- a/packages/client/assets/room/furnitures/eraser/cover.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c1df07561fce6169ae1c7eeece2a98f173f8c07dceeb9bcd29b42c8ddb4047e7 -size 8336 diff --git a/packages/client/assets/room/furnitures/eraser/cover.psd b/packages/client/assets/room/furnitures/eraser/cover.psd deleted file mode 100644 index 9e02d8714..000000000 --- a/packages/client/assets/room/furnitures/eraser/cover.psd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12d9201023121b13d2b3a19530e8d1252f09a7a00676f644456f35d6d720174a -size 219123 diff --git a/packages/client/assets/room/furnitures/eraser/eraser-uv.png b/packages/client/assets/room/furnitures/eraser/eraser-uv.png deleted file mode 100644 index 6006360f1..000000000 --- a/packages/client/assets/room/furnitures/eraser/eraser-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ffd2d61abf5a8ccc3e8d11d66103f80c17cb755f0c9badddc88b4fa53e0b78a -size 11164 diff --git a/packages/client/assets/room/furnitures/eraser/eraser.blend b/packages/client/assets/room/furnitures/eraser/eraser.blend deleted file mode 100644 index 7f2cd84c3..000000000 --- a/packages/client/assets/room/furnitures/eraser/eraser.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c68e2a5505488f81acd5fb852b59c0f5d8803870be279b3852351007df544e76 -size 527996 diff --git a/packages/client/assets/room/furnitures/eraser/eraser.glb b/packages/client/assets/room/furnitures/eraser/eraser.glb deleted file mode 100644 index 82787c52a..000000000 --- a/packages/client/assets/room/furnitures/eraser/eraser.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61d06064718cc9e3c076dbd2b4d2945600074585716acda49c29cf51d8613dd3 -size 15748 diff --git a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue-uv.png b/packages/client/assets/room/furnitures/facial-tissue/facial-tissue-uv.png deleted file mode 100644 index d34d42ba0..000000000 --- a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce6e482349c98659b38b62bf565b47e1c0176990c8fc84920e2462edd8b52482 -size 4470 diff --git a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.blend b/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.blend deleted file mode 100644 index 8d1bb2dfe..000000000 --- a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b7b7737cff040c95291d6707569f8aa03a7aa5e52b0c15f0b8e1082d0346f7e7 -size 533220 diff --git a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.glb b/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.glb deleted file mode 100644 index c76a1dae7..000000000 --- a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e59f36a617f6b8f7bea5a1ae7e8830a58e2cc549796a6054190523a7211d89f0 -size 8332 diff --git a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.png b/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.png deleted file mode 100644 index f635c627f..000000000 --- a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f8c82f59ac0bfca0bfb10945811182749e8f34aaaa86a89d58307645b161435 -size 688 diff --git a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.psd b/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.psd deleted file mode 100644 index 733fc38ee..000000000 --- a/packages/client/assets/room/furnitures/facial-tissue/facial-tissue.psd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c4786393a8c9236f8d7f37d59987827005663a4a474bd4956a1e29cb8ac26ab -size 111968 diff --git a/packages/client/assets/room/furnitures/fan/fan.blend b/packages/client/assets/room/furnitures/fan/fan.blend deleted file mode 100644 index b1882b468..000000000 --- a/packages/client/assets/room/furnitures/fan/fan.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23dc5ce38f127c0a840839ce8e47708e3ef1765242a28455fd883e6dbd081d66 -size 772732 diff --git a/packages/client/assets/room/furnitures/fan/fan.glb b/packages/client/assets/room/furnitures/fan/fan.glb deleted file mode 100644 index e872ec6e3..000000000 --- a/packages/client/assets/room/furnitures/fan/fan.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65593e078bbb6861788cade8525b170364243780e2abf522f190691b4c87c46c -size 51612 diff --git a/packages/client/assets/room/furnitures/holo-display/holo-display.blend b/packages/client/assets/room/furnitures/holo-display/holo-display.blend deleted file mode 100644 index d68ee2163..000000000 --- a/packages/client/assets/room/furnitures/holo-display/holo-display.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:17aa9c7d7ce954bca59e408cd3b3b0f7b0d31de84fd1071e960951331cf3cdb7 -size 788456 diff --git a/packages/client/assets/room/furnitures/holo-display/holo-display.glb b/packages/client/assets/room/furnitures/holo-display/holo-display.glb deleted file mode 100644 index 5e1c5c736..000000000 --- a/packages/client/assets/room/furnitures/holo-display/holo-display.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:722007c0bd4f708eed7b822f92d57657ebb6061f9309439b3021e0b51207fdc8 -size 148928 diff --git a/packages/client/assets/room/furnitures/holo-display/ray-uv.png b/packages/client/assets/room/furnitures/holo-display/ray-uv.png deleted file mode 100644 index b1865bc00..000000000 --- a/packages/client/assets/room/furnitures/holo-display/ray-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f49fe38d1e4c100896e881144b78d36001376760b12943485448b21460f6dd5 -size 20901 diff --git a/packages/client/assets/room/furnitures/holo-display/ray.png b/packages/client/assets/room/furnitures/holo-display/ray.png deleted file mode 100644 index b16aac8c4..000000000 --- a/packages/client/assets/room/furnitures/holo-display/ray.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d567d13d3d2d061c74dbcc3ffbb8b332a671807e20839764c6a6d56326a7a609 -size 104293 diff --git a/packages/client/assets/room/furnitures/keyboard/keyboard.blend b/packages/client/assets/room/furnitures/keyboard/keyboard.blend deleted file mode 100644 index 4b869ead4..000000000 --- a/packages/client/assets/room/furnitures/keyboard/keyboard.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b11fabed75497140328006c5c7c0be1f31e11222c6b0b488c75457ad31266b7 -size 1005588 diff --git a/packages/client/assets/room/furnitures/keyboard/keyboard.glb b/packages/client/assets/room/furnitures/keyboard/keyboard.glb deleted file mode 100644 index 4acc8175d..000000000 --- a/packages/client/assets/room/furnitures/keyboard/keyboard.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aee2c2a48cfe9cc328412d738722f0ce0cab9cc4d7dc4ebe31c526248849f269 -size 132360 diff --git a/packages/client/assets/room/furnitures/low-table/low-table.blend b/packages/client/assets/room/furnitures/low-table/low-table.blend deleted file mode 100644 index 2dd52b263..000000000 --- a/packages/client/assets/room/furnitures/low-table/low-table.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7daed384e1c2e124f1c4f24a61b3de81e891a1831246fb9680418b9a4a4ff7b5 -size 497336 diff --git a/packages/client/assets/room/furnitures/low-table/low-table.glb b/packages/client/assets/room/furnitures/low-table/low-table.glb deleted file mode 100644 index 4f00633ca..000000000 --- a/packages/client/assets/room/furnitures/low-table/low-table.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a233469453c623733b34ec4812a8ce2212d90e5f80922d2b4361fdec6d1bb852 -size 2364 diff --git a/packages/client/assets/room/furnitures/mat/mat.blend b/packages/client/assets/room/furnitures/mat/mat.blend deleted file mode 100644 index 4071fee17..000000000 --- a/packages/client/assets/room/furnitures/mat/mat.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e3e76888ad544ef6b08cefef5d3dbf0f197f847dd49ded0b116e3cab887390db -size 489304 diff --git a/packages/client/assets/room/furnitures/mat/mat.glb b/packages/client/assets/room/furnitures/mat/mat.glb deleted file mode 100644 index f443fd812..000000000 --- a/packages/client/assets/room/furnitures/mat/mat.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:191fc3f4da2323cce9148168e9e324f640a1143036a39b22905fa77ee98225c2 -size 1700 diff --git a/packages/client/assets/room/furnitures/milk/milk-uv.png b/packages/client/assets/room/furnitures/milk/milk-uv.png deleted file mode 100644 index 47bf99fc9..000000000 --- a/packages/client/assets/room/furnitures/milk/milk-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:04c6709a2fb7a64c91746826a2ad32df37b48c6d9d1817abc8534f3154966475 -size 16577 diff --git a/packages/client/assets/room/furnitures/milk/milk.blend b/packages/client/assets/room/furnitures/milk/milk.blend deleted file mode 100644 index 09edab85d..000000000 --- a/packages/client/assets/room/furnitures/milk/milk.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6cd53f03bc3693a02f4e39687f208ac00dccb4bfbdbf322ad7bbae0e64bce340 -size 539836 diff --git a/packages/client/assets/room/furnitures/milk/milk.glb b/packages/client/assets/room/furnitures/milk/milk.glb deleted file mode 100644 index e8b39ebf9..000000000 --- a/packages/client/assets/room/furnitures/milk/milk.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f3d012ad177ecb771bab7a9e746800ed09a31db9b6106632c4777a97544301a6 -size 8456 diff --git a/packages/client/assets/room/furnitures/milk/milk.png b/packages/client/assets/room/furnitures/milk/milk.png deleted file mode 100644 index 6bd085022..000000000 --- a/packages/client/assets/room/furnitures/milk/milk.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dea0f1ffe01f47c17a5d37a17cd641bea9611a827128db8f5dfb1ab9648a4d89 -size 658 diff --git a/packages/client/assets/room/furnitures/milk/milk.psd b/packages/client/assets/room/furnitures/milk/milk.psd deleted file mode 100644 index f606cd52c..000000000 --- a/packages/client/assets/room/furnitures/milk/milk.psd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e68dd2bcf0f4b0794b1acea8e38d8f38ff83c3c9c1ac68c3112845c3ed9cba9 -size 125415 diff --git a/packages/client/assets/room/furnitures/monitor/monitor.blend b/packages/client/assets/room/furnitures/monitor/monitor.blend deleted file mode 100644 index 08621e856..000000000 --- a/packages/client/assets/room/furnitures/monitor/monitor.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9232f4ce34dc57607ae61aa186c7d825e17fe527ce9ac44237013524ce351804 -size 586820 diff --git a/packages/client/assets/room/furnitures/monitor/monitor.glb b/packages/client/assets/room/furnitures/monitor/monitor.glb deleted file mode 100644 index 6b7718935..000000000 --- a/packages/client/assets/room/furnitures/monitor/monitor.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f2ea45916b49fd9ffdc09bc8a4d1e23b99e810e8224572947cd68b2fd9a49c9 -size 35300 diff --git a/packages/client/assets/room/furnitures/monitor/monitor.psd b/packages/client/assets/room/furnitures/monitor/monitor.psd deleted file mode 100644 index 4bc2c729c..000000000 --- a/packages/client/assets/room/furnitures/monitor/monitor.psd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d825d08c1f18906f3a16137a9fc7a25a057517a85971f9782363559cf121b5b0 -size 3692204 diff --git a/packages/client/assets/room/furnitures/monitor/screen-uv.png b/packages/client/assets/room/furnitures/monitor/screen-uv.png deleted file mode 100644 index 17b9ea333..000000000 --- a/packages/client/assets/room/furnitures/monitor/screen-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e46d7799e60df44f554abb551672a574051e1e59bea990245e4b7b25819b53f0 -size 1495 diff --git a/packages/client/assets/room/furnitures/monitor/screen.jpg b/packages/client/assets/room/furnitures/monitor/screen.jpg deleted file mode 100644 index 38312e831..000000000 --- a/packages/client/assets/room/furnitures/monitor/screen.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1422820708bc1d10c78fc2982208851b01d75c534819f2a72fca7386c088672 -size 24842 diff --git a/packages/client/assets/room/furnitures/moon/moon.blend b/packages/client/assets/room/furnitures/moon/moon.blend deleted file mode 100644 index d899afb66..000000000 --- a/packages/client/assets/room/furnitures/moon/moon.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc9289bebf658662e17b537f4004894861de229a0ca2b81aa47388cc18885bc6 -size 725536 diff --git a/packages/client/assets/room/furnitures/moon/moon.glb b/packages/client/assets/room/furnitures/moon/moon.glb deleted file mode 100644 index f675d0d27..000000000 --- a/packages/client/assets/room/furnitures/moon/moon.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c8e31e99fc62a29b493749f6b94fa46c8284e76bd758f8324ad1d617843cb1f -size 122112 diff --git a/packages/client/assets/room/furnitures/moon/moon.jpg b/packages/client/assets/room/furnitures/moon/moon.jpg deleted file mode 100644 index ad88e8280..000000000 --- a/packages/client/assets/room/furnitures/moon/moon.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aee8e7be3e53fb80c75f44c1aed8293641d5a506dec9a0dcc7329bb0e1c72b55 -size 87151 diff --git a/packages/client/assets/room/furnitures/mousepad/mousepad.blend b/packages/client/assets/room/furnitures/mousepad/mousepad.blend deleted file mode 100644 index 036d13acd..000000000 --- a/packages/client/assets/room/furnitures/mousepad/mousepad.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4097bfccab88175370b49a6daa8cf54dcf205eeb15e4c1d44d194f7d80db4545 -size 495008 diff --git a/packages/client/assets/room/furnitures/mousepad/mousepad.glb b/packages/client/assets/room/furnitures/mousepad/mousepad.glb deleted file mode 100644 index 55dfd155f..000000000 --- a/packages/client/assets/room/furnitures/mousepad/mousepad.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d98174d1f2b2981d1c0c6b74e97caf9fc99fec996da05b8a804a32ebb8c46c7a -size 4360 diff --git a/packages/client/assets/room/furnitures/pc/motherboard-uv.png b/packages/client/assets/room/furnitures/pc/motherboard-uv.png deleted file mode 100644 index dd390834b..000000000 --- a/packages/client/assets/room/furnitures/pc/motherboard-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ecc74391bdbe47b7fea3ea04dca5d19a814b0b18ede6fbc429005945081ba96 -size 2920 diff --git a/packages/client/assets/room/furnitures/pc/motherboard-uv.psd b/packages/client/assets/room/furnitures/pc/motherboard-uv.psd deleted file mode 100644 index 5c713c38c..000000000 --- a/packages/client/assets/room/furnitures/pc/motherboard-uv.psd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f954199f4edec36aed779b0fc961d04689f11957e872af3ba6f5cefd5997735 -size 7131432 diff --git a/packages/client/assets/room/furnitures/pc/motherboard.jpg b/packages/client/assets/room/furnitures/pc/motherboard.jpg deleted file mode 100644 index f36a5f09f..000000000 --- a/packages/client/assets/room/furnitures/pc/motherboard.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:18025d82ce87b69521213214396640b416c30674c00118d4a460abc7801c32ce -size 64600 diff --git a/packages/client/assets/room/furnitures/pc/pc.blend b/packages/client/assets/room/furnitures/pc/pc.blend deleted file mode 100644 index cfa3d417f..000000000 --- a/packages/client/assets/room/furnitures/pc/pc.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:881e55e5ea3865aee9c25431c71333ffc676ed21b6d64353762f459942fbcc29 -size 818152 diff --git a/packages/client/assets/room/furnitures/pc/pc.glb b/packages/client/assets/room/furnitures/pc/pc.glb deleted file mode 100644 index 1d24ac276..000000000 --- a/packages/client/assets/room/furnitures/pc/pc.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:449583fc86a14ef45f944f521f0a451a4bb2f9fd13504d74c115b0270cae13a8 -size 103620 diff --git a/packages/client/assets/room/furnitures/pencil/pencil.blend b/packages/client/assets/room/furnitures/pencil/pencil.blend deleted file mode 100644 index 5830e254c..000000000 --- a/packages/client/assets/room/furnitures/pencil/pencil.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c398fb62ca47b5c3a28dc3e1b6be4be033103d47b89a50747f52c2c15b41098 -size 683032 diff --git a/packages/client/assets/room/furnitures/pencil/pencil.glb b/packages/client/assets/room/furnitures/pencil/pencil.glb deleted file mode 100644 index f14504941..000000000 --- a/packages/client/assets/room/furnitures/pencil/pencil.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e07e8d7fdc061604bcb94a4fbbd7350a0dbad5eff4805204133c5f0af432e0ca -size 7788 diff --git a/packages/client/assets/room/furnitures/photoframe/photo-uv.png b/packages/client/assets/room/furnitures/photoframe/photo-uv.png deleted file mode 100644 index 9cb8b5b50..000000000 --- a/packages/client/assets/room/furnitures/photoframe/photo-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f047514bb100e9c38a0b13f96dcbc6faf576b36d02ec620fb9719c875bb8a3ab -size 2639 diff --git a/packages/client/assets/room/furnitures/photoframe/photo.jpg b/packages/client/assets/room/furnitures/photoframe/photo.jpg deleted file mode 100644 index 1b58b1bdd..000000000 --- a/packages/client/assets/room/furnitures/photoframe/photo.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:977a6f693e554bc44f66b6a6c3500f763bc7fe3422766ade0d4ded5a548b3ece -size 30500 diff --git a/packages/client/assets/room/furnitures/photoframe/photoframe.blend b/packages/client/assets/room/furnitures/photoframe/photoframe.blend deleted file mode 100644 index 5e6b7e2bc..000000000 --- a/packages/client/assets/room/furnitures/photoframe/photoframe.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cfac50eea15c1856c1da46adbbe5e9553a8a791cb2b45bdf2085d11c6f98a719 -size 551416 diff --git a/packages/client/assets/room/furnitures/photoframe/photoframe.glb b/packages/client/assets/room/furnitures/photoframe/photoframe.glb deleted file mode 100644 index 0743635ff..000000000 --- a/packages/client/assets/room/furnitures/photoframe/photoframe.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3c8230e48a2d992e7c65d002bff6c354fb3ddd4abfbafda986e4da918d457f5 -size 37612 diff --git a/packages/client/assets/room/furnitures/piano/piano.blend b/packages/client/assets/room/furnitures/piano/piano.blend deleted file mode 100644 index bfc08201c..000000000 --- a/packages/client/assets/room/furnitures/piano/piano.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:46118c3e67e8da35293804ada926f6e894b5d5e38f5bda147ccfa84c03a97ea9 -size 713228 diff --git a/packages/client/assets/room/furnitures/piano/piano.glb b/packages/client/assets/room/furnitures/piano/piano.glb deleted file mode 100644 index da65c7c71..000000000 --- a/packages/client/assets/room/furnitures/piano/piano.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3eaf2446b3c9feba2d42bc65d5c494dc8221d63b62641bfe17e44820cb97314a -size 73320 diff --git a/packages/client/assets/room/furnitures/pinguin/pinguin.blend b/packages/client/assets/room/furnitures/pinguin/pinguin.blend deleted file mode 100644 index b558d9fbd..000000000 --- a/packages/client/assets/room/furnitures/pinguin/pinguin.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bfbb89a044ad8902b553b2935fce483b62b1e8e256484801fb02eb6a6a459fc0 -size 778976 diff --git a/packages/client/assets/room/furnitures/pinguin/pinguin.glb b/packages/client/assets/room/furnitures/pinguin/pinguin.glb deleted file mode 100644 index 4262fa35d..000000000 --- a/packages/client/assets/room/furnitures/pinguin/pinguin.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4faee287c94213d0a4fa3705298c4cedcb2325605ed92171862d9b0e867f4d74 -size 60172 diff --git a/packages/client/assets/room/furnitures/plant/plant-soil-uv.png b/packages/client/assets/room/furnitures/plant/plant-soil-uv.png deleted file mode 100644 index 745abeb1f..000000000 --- a/packages/client/assets/room/furnitures/plant/plant-soil-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b89e7ebdd871531f0ea7288147e008fc6028ed8550e9efa27a33e01832c48f82 -size 4509 diff --git a/packages/client/assets/room/furnitures/plant/plant-soil.png b/packages/client/assets/room/furnitures/plant/plant-soil.png deleted file mode 100644 index 1f1c9cd12..000000000 --- a/packages/client/assets/room/furnitures/plant/plant-soil.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0efcacf02545955138d6b77e93c1fe0f50a7ead27fbf33c5ca26d5a3135b03fd -size 10852 diff --git a/packages/client/assets/room/furnitures/plant/plant-soil.psd b/packages/client/assets/room/furnitures/plant/plant-soil.psd deleted file mode 100644 index 475223756..000000000 --- a/packages/client/assets/room/furnitures/plant/plant-soil.psd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:be4adb11ca27fca4e50c8e464d6f0355df3dfecd3dbf7b3b59c028d9bc6860c3 -size 390188 diff --git a/packages/client/assets/room/furnitures/plant/plant.blend b/packages/client/assets/room/furnitures/plant/plant.blend deleted file mode 100644 index 1194cbe66..000000000 --- a/packages/client/assets/room/furnitures/plant/plant.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25ca98b542b8cfc603b44d457d09c121407e91839ae418386ac5c80b2bab572e -size 604488 diff --git a/packages/client/assets/room/furnitures/plant/plant.glb b/packages/client/assets/room/furnitures/plant/plant.glb deleted file mode 100644 index 668ced52d..000000000 --- a/packages/client/assets/room/furnitures/plant/plant.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e096bae7ddda7eabf6714785a09d9ac25c1096ce3dc292eb8877209504d4899b -size 27664 diff --git a/packages/client/assets/room/furnitures/plant2/plant2.blend b/packages/client/assets/room/furnitures/plant2/plant2.blend deleted file mode 100644 index c1e480975..000000000 --- a/packages/client/assets/room/furnitures/plant2/plant2.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23f6471d3adb31d2a74f70f353deeed037a7b22625d7a45ca99a6f1980024be9 -size 1060816 diff --git a/packages/client/assets/room/furnitures/plant2/plant2.glb b/packages/client/assets/room/furnitures/plant2/plant2.glb deleted file mode 100644 index c994c7c8c..000000000 --- a/packages/client/assets/room/furnitures/plant2/plant2.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03e9638fd2f24dca928e8dccab9528f32e085660a2734348018a5448ec8b70bc -size 133212 diff --git a/packages/client/assets/room/furnitures/plant2/soil.png b/packages/client/assets/room/furnitures/plant2/soil.png deleted file mode 100644 index 1f1c9cd12..000000000 --- a/packages/client/assets/room/furnitures/plant2/soil.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0efcacf02545955138d6b77e93c1fe0f50a7ead27fbf33c5ca26d5a3135b03fd -size 10852 diff --git a/packages/client/assets/room/furnitures/poster-h/poster-h.blend b/packages/client/assets/room/furnitures/poster-h/poster-h.blend deleted file mode 100644 index c7cf70009..000000000 --- a/packages/client/assets/room/furnitures/poster-h/poster-h.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:039f7a2b65fb905c46c4736732362dbb6c64b7cb3617faf8c5ad9c913079ec89 -size 667604 diff --git a/packages/client/assets/room/furnitures/poster-h/poster-h.glb b/packages/client/assets/room/furnitures/poster-h/poster-h.glb deleted file mode 100644 index 934f87fe0..000000000 --- a/packages/client/assets/room/furnitures/poster-h/poster-h.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87308bdcb4e98c61a5e53460347fae2dc018decf50c6584ced794a8f192c2c1b -size 1280 diff --git a/packages/client/assets/room/furnitures/poster-h/uv.png b/packages/client/assets/room/furnitures/poster-h/uv.png deleted file mode 100644 index b38de42e2..000000000 --- a/packages/client/assets/room/furnitures/poster-h/uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f9ef234cd0f5e4931829f7f895c735b40d5c8056559a3368ce4c4d5fb11ce6ab -size 3786 diff --git a/packages/client/assets/room/furnitures/poster-v/poster-v.blend b/packages/client/assets/room/furnitures/poster-v/poster-v.blend deleted file mode 100644 index a166ec7d1..000000000 --- a/packages/client/assets/room/furnitures/poster-v/poster-v.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7cb8d48ff1603f0218e2af2cafdc7fbcca56b83e6d2ef1a39c385ccb3ec481f9 -size 650740 diff --git a/packages/client/assets/room/furnitures/poster-v/poster-v.glb b/packages/client/assets/room/furnitures/poster-v/poster-v.glb deleted file mode 100644 index 40a649b4b..000000000 --- a/packages/client/assets/room/furnitures/poster-v/poster-v.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b44189cfa637c6297aa554ffe05024f240456de820658140d7f5e1a3e92bd5f0 -size 1280 diff --git a/packages/client/assets/room/furnitures/poster-v/uv.png b/packages/client/assets/room/furnitures/poster-v/uv.png deleted file mode 100644 index 232797fa8..000000000 --- a/packages/client/assets/room/furnitures/poster-v/uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b0be86931a37ba76d1ac5e6fcbcff823b68f7daeada6e86d1b9175e5e6713382 -size 3795 diff --git a/packages/client/assets/room/furnitures/pudding/pudding.blend b/packages/client/assets/room/furnitures/pudding/pudding.blend deleted file mode 100644 index 7158460ef..000000000 --- a/packages/client/assets/room/furnitures/pudding/pudding.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:741b69f79bebf9c3eef976db2ff58cbfc0d0928629d8fb92f929c1a16596b54d -size 694784 diff --git a/packages/client/assets/room/furnitures/pudding/pudding.glb b/packages/client/assets/room/furnitures/pudding/pudding.glb deleted file mode 100644 index 6a0ab36b5..000000000 --- a/packages/client/assets/room/furnitures/pudding/pudding.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2256f5143f5dceebb3e18b04ecf2ff8664cfe0515a2f562adafce169305133d -size 10612 diff --git a/packages/client/assets/room/furnitures/rubik-cube/rubik-cube.blend b/packages/client/assets/room/furnitures/rubik-cube/rubik-cube.blend deleted file mode 100644 index b0b3e0282..000000000 --- a/packages/client/assets/room/furnitures/rubik-cube/rubik-cube.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0fe55c423b8757b54f75a21acc205de741cb145874fc8cb9faccd891a6262eea -size 745960 diff --git a/packages/client/assets/room/furnitures/rubik-cube/rubik-cube.glb b/packages/client/assets/room/furnitures/rubik-cube/rubik-cube.glb deleted file mode 100644 index b7f35471f..000000000 --- a/packages/client/assets/room/furnitures/rubik-cube/rubik-cube.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:340684678592e28c95db89e413b3cab18d4ace5dc677acc8e7659a40c8b80ebd -size 67688 diff --git a/packages/client/assets/room/furnitures/server/rack-uv.png b/packages/client/assets/room/furnitures/server/rack-uv.png deleted file mode 100644 index 5b108dbe7..000000000 --- a/packages/client/assets/room/furnitures/server/rack-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:15f330da365faa78eb88d35fd5c7c7dbbe64554dedf6a09c536da45264b00b2c -size 6705 diff --git a/packages/client/assets/room/furnitures/server/rack.png b/packages/client/assets/room/furnitures/server/rack.png deleted file mode 100644 index 0ed71b77e..000000000 --- a/packages/client/assets/room/furnitures/server/rack.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ef1386cd4c204d510ff0138dd31fc39c4cc58ed7da2b03f235383c33fd00604 -size 7046 diff --git a/packages/client/assets/room/furnitures/server/server.blend b/packages/client/assets/room/furnitures/server/server.blend deleted file mode 100644 index 63b2b8c5e..000000000 --- a/packages/client/assets/room/furnitures/server/server.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd9217f211f78447fbf82c7b431f94bbb6fb64996e8fe2abc40dbd8e5a28ad69 -size 684372 diff --git a/packages/client/assets/room/furnitures/server/server.glb b/packages/client/assets/room/furnitures/server/server.glb deleted file mode 100644 index d142b162d..000000000 --- a/packages/client/assets/room/furnitures/server/server.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2847517cf2f45e0d60e05d346320e5147461632dd99bbfee4fbbdf461e722ad0 -size 149480 diff --git a/packages/client/assets/room/furnitures/server/server.png b/packages/client/assets/room/furnitures/server/server.png deleted file mode 100644 index f3b9f954b..000000000 --- a/packages/client/assets/room/furnitures/server/server.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d0631505d68b6cef0acb3620931994c147e76a19f309b223f1d163b8ac24fa1 -size 116866 diff --git a/packages/client/assets/room/furnitures/server/uv.png b/packages/client/assets/room/furnitures/server/uv.png deleted file mode 100644 index 440d7f850..000000000 --- a/packages/client/assets/room/furnitures/server/uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd723b7663b235aff7fd73527839af194de44b1e9f19203eac014bd3e68978c8 -size 4012 diff --git a/packages/client/assets/room/furnitures/sofa/sofa.blend b/packages/client/assets/room/furnitures/sofa/sofa.blend deleted file mode 100644 index d6ce7a7a8..000000000 --- a/packages/client/assets/room/furnitures/sofa/sofa.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b9d07ae7ca263c52232bf88ae917c2f49ed9f38a247175171e6e693d02e406e -size 711488 diff --git a/packages/client/assets/room/furnitures/sofa/sofa.glb b/packages/client/assets/room/furnitures/sofa/sofa.glb deleted file mode 100644 index a25da2d85..000000000 --- a/packages/client/assets/room/furnitures/sofa/sofa.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9908f4ff53f1496c2209b01b346db4577016b059d43d906a4affe9b114871dde -size 37656 diff --git a/packages/client/assets/room/furnitures/spiral/spiral.blend b/packages/client/assets/room/furnitures/spiral/spiral.blend deleted file mode 100644 index 6e38f7a7e..000000000 --- a/packages/client/assets/room/furnitures/spiral/spiral.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86eebb0e8f9234badf1756144f048995e790e16d54847b25018efa05a0eb410c -size 1241416 diff --git a/packages/client/assets/room/furnitures/spiral/spiral.glb b/packages/client/assets/room/furnitures/spiral/spiral.glb deleted file mode 100644 index 310d37443..000000000 --- a/packages/client/assets/room/furnitures/spiral/spiral.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4d2aff8f090a1ce393ccc37b9efbd9504cddc71d2e82453a3d5cf84d6c7ce851 -size 251788 diff --git a/packages/client/assets/room/furnitures/tv/screen-uv.png b/packages/client/assets/room/furnitures/tv/screen-uv.png deleted file mode 100644 index 0347b7184..000000000 --- a/packages/client/assets/room/furnitures/tv/screen-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c66f573bd8b55a230c011ff10413e4544025c74b72aa1c263477ebbe11f8df6 -size 3792 diff --git a/packages/client/assets/room/furnitures/tv/tv.blend b/packages/client/assets/room/furnitures/tv/tv.blend deleted file mode 100644 index 29042aed7..000000000 --- a/packages/client/assets/room/furnitures/tv/tv.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49a76fbe08f8cbe581d917d4e267ae35e37bc6ee43307ed39b394b334ecb6dc7 -size 587640 diff --git a/packages/client/assets/room/furnitures/tv/tv.glb b/packages/client/assets/room/furnitures/tv/tv.glb deleted file mode 100644 index a82b9497c..000000000 --- a/packages/client/assets/room/furnitures/tv/tv.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba430e92df220721d8665977957963ffc5d2265094dc017623a6fc2c0dba3db6 -size 8580 diff --git a/packages/client/assets/room/furnitures/wall-clock/wall-clock.blend b/packages/client/assets/room/furnitures/wall-clock/wall-clock.blend deleted file mode 100644 index 297bca096..000000000 --- a/packages/client/assets/room/furnitures/wall-clock/wall-clock.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c311d9471f14b26a35de4a068a6772c63439788a3826fea8d4672de7909d3d95 -size 574128 diff --git a/packages/client/assets/room/furnitures/wall-clock/wall-clock.glb b/packages/client/assets/room/furnitures/wall-clock/wall-clock.glb deleted file mode 100644 index ab7eddea8..000000000 --- a/packages/client/assets/room/furnitures/wall-clock/wall-clock.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d74cccebf9fee11716e379913bf92fdf0f7cb899fb4bdf146903da9c893a7f9a -size 47848 diff --git a/packages/client/assets/room/rooms/default/default.blend b/packages/client/assets/room/rooms/default/default.blend deleted file mode 100644 index cdd716b0b..000000000 --- a/packages/client/assets/room/rooms/default/default.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98e8f50c0f456faf7601e699a7865782381faba56c357e33a1a491f1e0c622ed -size 618364 diff --git a/packages/client/assets/room/rooms/default/default.glb b/packages/client/assets/room/rooms/default/default.glb deleted file mode 100644 index 7c4a6b945..000000000 --- a/packages/client/assets/room/rooms/default/default.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:027d6c86e3cc4617adad8555ef94d7165ee0dbc4a38260e2bfbc107b8f2734b7 -size 12280 diff --git a/packages/client/assets/room/rooms/washitsu/husuma-uv.png b/packages/client/assets/room/rooms/washitsu/husuma-uv.png deleted file mode 100644 index 8a649a384..000000000 --- a/packages/client/assets/room/rooms/washitsu/husuma-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41e32ed334283982fbc93b086dcae1860dfbe3df0d7a702d0e82555eb8acd0f0 -size 4037 diff --git a/packages/client/assets/room/rooms/washitsu/husuma.png b/packages/client/assets/room/rooms/washitsu/husuma.png deleted file mode 100644 index 68d6f93c3..000000000 --- a/packages/client/assets/room/rooms/washitsu/husuma.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:956b41d22c1820d184c51e2dcffa858a54038e48157ac1b108adc9160dd3e7fe -size 2539 diff --git a/packages/client/assets/room/rooms/washitsu/tatami-single1600.png b/packages/client/assets/room/rooms/washitsu/tatami-single1600.png deleted file mode 100644 index cb97c12e1..000000000 --- a/packages/client/assets/room/rooms/washitsu/tatami-single1600.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1f9d9007bfd97c844bd0aba622adb87d8654265554b6fdbb9e66b245fb978e5 -size 1173343 diff --git a/packages/client/assets/room/rooms/washitsu/tatami-uv.png b/packages/client/assets/room/rooms/washitsu/tatami-uv.png deleted file mode 100644 index 9c53ba99f..000000000 --- a/packages/client/assets/room/rooms/washitsu/tatami-uv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:17bea45d2e494d6158583beb5d9124e5af532028f729dfe14b79a9457b8a414b -size 4075 diff --git a/packages/client/assets/room/rooms/washitsu/tatami.afdesign b/packages/client/assets/room/rooms/washitsu/tatami.afdesign deleted file mode 100644 index 5ce6206e7..000000000 --- a/packages/client/assets/room/rooms/washitsu/tatami.afdesign +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:288912fa868a162258a314b108beda8e85a6faebfa9103dfab9fb8a96e5ee71d -size 2501804 diff --git a/packages/client/assets/room/rooms/washitsu/tatami.png b/packages/client/assets/room/rooms/washitsu/tatami.png deleted file mode 100644 index 9528e72d3..000000000 --- a/packages/client/assets/room/rooms/washitsu/tatami.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:09f5b41cfb2322d135b58d9a034368a65a5af3fd39782706365a2470d01aa57e -size 313722 diff --git a/packages/client/assets/room/rooms/washitsu/washitsu.blend b/packages/client/assets/room/rooms/washitsu/washitsu.blend deleted file mode 100644 index 40e61285f..000000000 --- a/packages/client/assets/room/rooms/washitsu/washitsu.blend +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:236a2bf548e309cd6eeb34efd91632a8c75c2019703c9ac634b3f66b45a74370 -size 664000 diff --git a/packages/client/assets/room/rooms/washitsu/washitsu.glb b/packages/client/assets/room/rooms/washitsu/washitsu.glb deleted file mode 100644 index 09d28db44..000000000 --- a/packages/client/assets/room/rooms/washitsu/washitsu.glb +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:148217d1fe7602645840f68dc834abc21ebaa2ad03ae3c9135776259ecd7ec95 -size 415180 diff --git a/packages/client/src/menu.ts b/packages/client/src/menu.ts index bd155ba16..ea6f801fe 100644 --- a/packages/client/src/menu.ts +++ b/packages/client/src/menu.ts @@ -173,12 +173,6 @@ export const menuDef = reactive({ icon: 'fas fa-terminal', to: '/scratchpad', }, - rooms: { - title: 'rooms', - icon: 'fas fa-door-closed', - show: computed(() => $i != null), - to: computed(() => `/@${$i.username}/room`), - }, ui: { title: 'switchUi', icon: 'fas fa-columns', diff --git a/packages/client/src/pages/room/preview.vue b/packages/client/src/pages/room/preview.vue deleted file mode 100644 index b0e600d4f..000000000 --- a/packages/client/src/pages/room/preview.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/packages/client/src/pages/room/room.vue b/packages/client/src/pages/room/room.vue deleted file mode 100644 index eb85d39dc..000000000 --- a/packages/client/src/pages/room/room.vue +++ /dev/null @@ -1,279 +0,0 @@ - - - - - diff --git a/packages/client/src/router.ts b/packages/client/src/router.ts index 2a07ff37c..a5ae1177e 100644 --- a/packages/client/src/router.ts +++ b/packages/client/src/router.ts @@ -20,7 +20,6 @@ const defaultRoutes = [ { path: '/@:acct/:page?', name: 'user', component: page('user/index'), props: route => ({ acct: route.params.acct, page: route.params.page || 'index' }) }, { path: '/@:user/pages/:page', component: page('page'), props: route => ({ pageName: route.params.page, username: route.params.user }) }, { path: '/@:user/pages/:pageName/view-source', component: page('page-editor/page-editor'), props: route => ({ initUser: route.params.user, initPageName: route.params.pageName }) }, - { path: '/@:acct/room', props: true, component: page('room/room') }, { path: '/settings/:page(.*)?', name: 'settings', component: page('settings/index'), props: route => ({ initialPage: route.params.page || null }) }, { path: '/reset-password/:token?', component: page('reset-password'), props: route => ({ token: route.params.token }) }, { path: '/signup-complete/:code', component: page('signup-complete'), props: route => ({ code: route.params.code }) }, diff --git a/packages/client/src/scripts/room/furniture.ts b/packages/client/src/scripts/room/furniture.ts deleted file mode 100644 index 7734e3266..000000000 --- a/packages/client/src/scripts/room/furniture.ts +++ /dev/null @@ -1,21 +0,0 @@ -export type RoomInfo = { - roomType: string; - carpetColor: string; - furnitures: Furniture[]; -}; - -export type Furniture = { - id: string; // 同じ家具が複数ある場合にそれぞれを識別するためのIDであり、家具IDではない - type: string; // こっちが家具ID(chairとか) - position: { - x: number; - y: number; - z: number; - }; - rotation: { - x: number; - y: number; - z: number; - }; - props?: Record; -}; diff --git a/packages/client/src/scripts/room/furnitures.json5 b/packages/client/src/scripts/room/furnitures.json5 deleted file mode 100644 index 4a4099410..000000000 --- a/packages/client/src/scripts/room/furnitures.json5 +++ /dev/null @@ -1,407 +0,0 @@ -// 家具メタデータ - -// 家具IDはglbファイル及びそのディレクトリ名と一致する必要があります - -// 家具にはユーザーが設定できるプロパティを設定可能です: -// -// props: { -// : -// } -// -// proptype一覧: -// * image ... 画像選択ダイアログを出し、その画像のURLが格納されます -// * color ... 色選択コントロールを出し、選択された色が格納されます - -// 家具にカスタムテクスチャを適用できるようにするには、textureプロパティに以下の追加の情報を含めます: -// 便宜上そのUVのどの部分にカスタムテクスチャを貼り合わせるかのエリアをテクスチャエリアと呼びます。 -// UVは1024*1024だと仮定します。 -// -// : { -// prop: <プロパティ名>, -// uv: { -// x: <テクスチャエリアX座標>, -// y: <テクスチャエリアY座標>, -// width: <テクスチャエリアの幅>, -// height: <テクスチャエリアの高さ>, -// }, -// } -// -// には、カスタムテクスチャを適用したいメッシュ名を指定します -// <プロパティ名>には、カスタムテクスチャとして使用する画像を格納するプロパティ(前述)名を指定します - -// 家具にカスタムカラーを適用できるようにするには、colorプロパティに以下の追加の情報を含めます: -// -// : <プロパティ名> -// -// には、カスタムカラーを適用したいマテリアル名を指定します -// <プロパティ名>には、カスタムカラーとして使用する色を格納するプロパティ(前述)名を指定します - -[ - { - id: "milk", - place: "floor" - }, - { - id: "bed", - place: "floor" - }, - { - id: "low-table", - place: "floor", - props: { - color: 'color' - }, - color: { - Table: 'color' - } - }, - { - id: "desk", - place: "floor", - props: { - color: 'color' - }, - color: { - Board: 'color' - } - }, - { - id: "chair", - place: "floor", - props: { - color: 'color' - }, - color: { - Chair: 'color' - } - }, - { - id: "chair2", - place: "floor", - props: { - color1: 'color', - color2: 'color' - }, - color: { - Cushion: 'color1', - Leg: 'color2' - } - }, - { - id: "fan", - place: "wall" - }, - { - id: "pc", - place: "floor" - }, - { - id: "plant", - place: "floor" - }, - { - id: "plant2", - place: "floor" - }, - { - id: "eraser", - place: "floor" - }, - { - id: "pencil", - place: "floor" - }, - { - id: "pudding", - place: "floor" - }, - { - id: "cardboard-box", - place: "floor" - }, - { - id: "cardboard-box2", - place: "floor" - }, - { - id: "cardboard-box3", - place: "floor" - }, - { - id: "book", - place: "floor", - props: { - color: 'color' - }, - color: { - Cover: 'color' - } - }, - { - id: "book2", - place: "floor" - }, - { - id: "piano", - place: "floor" - }, - { - id: "facial-tissue", - place: "floor" - }, - { - id: "server", - place: "floor" - }, - { - id: "moon", - place: "floor" - }, - { - id: "corkboard", - place: "wall" - }, - { - id: "mousepad", - place: "floor", - props: { - color: 'color' - }, - color: { - Pad: 'color' - } - }, - { - id: "monitor", - place: "floor", - props: { - screen: 'image' - }, - texture: { - Screen: { - prop: 'screen', - uv: { - x: 0, - y: 434, - width: 1024, - height: 588, - }, - }, - }, - }, - { - id: "tv", - place: "floor", - props: { - screen: 'image' - }, - texture: { - Screen: { - prop: 'screen', - uv: { - x: 0, - y: 434, - width: 1024, - height: 588, - }, - }, - }, - }, - { - id: "keyboard", - place: "floor" - }, - { - id: "carpet-stripe", - place: "floor", - props: { - color1: 'color', - color2: 'color' - }, - color: { - CarpetAreaA: 'color1', - CarpetAreaB: 'color2' - }, - }, - { - id: "mat", - place: "floor", - props: { - color: 'color' - }, - color: { - Mat: 'color' - } - }, - { - id: "color-box", - place: "floor", - props: { - color: 'color' - }, - color: { - main: 'color' - } - }, - { - id: "wall-clock", - place: "wall" - }, - { - id: "cube", - place: "floor", - props: { - color: 'color' - }, - color: { - Cube: 'color' - } - }, - { - id: "photoframe", - place: "wall", - props: { - photo: 'image', - color: 'color' - }, - texture: { - Photo: { - prop: 'photo', - uv: { - x: 0, - y: 342, - width: 1024, - height: 683, - }, - }, - }, - color: { - Frame: 'color' - } - }, - { - id: "pinguin", - place: "floor", - props: { - body: 'color', - belly: 'color' - }, - color: { - Body: 'body', - Belly: 'belly', - } - }, - { - id: "rubik-cube", - place: "floor", - }, - { - id: "poster-h", - place: "wall", - props: { - picture: 'image' - }, - texture: { - Poster: { - prop: 'picture', - uv: { - x: 0, - y: 277, - width: 1024, - height: 745, - }, - }, - }, - }, - { - id: "poster-v", - place: "wall", - props: { - picture: 'image' - }, - texture: { - Poster: { - prop: 'picture', - uv: { - x: 0, - y: 0, - width: 745, - height: 1024, - }, - }, - }, - }, - { - id: "sofa", - place: "floor", - props: { - color: 'color' - }, - color: { - Sofa: 'color' - } - }, - { - id: "spiral", - place: "floor", - props: { - color: 'color' - }, - color: { - Step: 'color' - } - }, - { - id: "bin", - place: "floor", - props: { - color: 'color' - }, - color: { - Bin: 'color' - } - }, - { - id: "cup-noodle", - place: "floor" - }, - { - id: "holo-display", - place: "floor", - props: { - image: 'image' - }, - texture: { - Image_Front: { - prop: 'image', - uv: { - x: 0, - y: 0, - width: 1024, - height: 1024, - }, - }, - Image_Back: { - prop: 'image', - uv: { - x: 0, - y: 0, - width: 1024, - height: 1024, - }, - }, - }, - }, - { - id: 'energy-drink', - place: "floor", - }, - { - id: 'doll-ai', - place: "floor", - }, - { - id: 'banknote', - place: "floor", - }, -] diff --git a/packages/client/src/scripts/room/room.ts b/packages/client/src/scripts/room/room.ts deleted file mode 100644 index 7e04bec64..000000000 --- a/packages/client/src/scripts/room/room.ts +++ /dev/null @@ -1,775 +0,0 @@ -import autobind from 'autobind-decorator'; -import { v4 as uuid } from 'uuid'; -import * as THREE from 'three'; -import { GLTFLoader, GLTF } from 'three/examples/jsm/loaders/GLTFLoader'; -import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'; -import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer.js'; -import { RenderPass } from 'three/examples/jsm/postprocessing/RenderPass.js'; -import { ShaderPass } from 'three/examples/jsm/postprocessing/ShaderPass.js'; -import { BloomPass } from 'three/examples/jsm/postprocessing/BloomPass.js'; -import { FXAAShader } from 'three/examples/jsm/shaders/FXAAShader.js'; -import { TransformControls } from 'three/examples/jsm/controls/TransformControls.js'; -import { Furniture, RoomInfo } from './furniture'; -import { query as urlQuery } from '@/scripts/url'; -const furnitureDefs = require('./furnitures.json5'); - -THREE.ImageUtils.crossOrigin = ''; - -type Options = { - graphicsQuality: Room['graphicsQuality']; - onChangeSelect: Room['onChangeSelect']; - useOrthographicCamera: boolean; -}; - -/** - * MisskeyRoom Core Engine - */ -export class Room { - private clock: THREE.Clock; - private scene: THREE.Scene; - private renderer: THREE.WebGLRenderer; - private camera: THREE.PerspectiveCamera | THREE.OrthographicCamera; - private controls: OrbitControls; - private composer: EffectComposer; - private mixers: THREE.AnimationMixer[] = []; - private furnitureControl: TransformControls; - private roomInfo: RoomInfo; - private graphicsQuality: 'cheep' | 'low' | 'medium' | 'high' | 'ultra'; - private roomObj: THREE.Object3D; - private objects: THREE.Object3D[] = []; - private selectedObject: THREE.Object3D = null; - private onChangeSelect: Function; - private isTransformMode = false; - private renderFrameRequestId: number; - - private get canvas(): HTMLCanvasElement { - return this.renderer.domElement; - } - - private get furnitures(): Furniture[] { - return this.roomInfo.furnitures; - } - - private set furnitures(furnitures: Furniture[]) { - this.roomInfo.furnitures = furnitures; - } - - private get enableShadow() { - return this.graphicsQuality != 'cheep'; - } - - private get usePostFXs() { - return this.graphicsQuality !== 'cheep' && this.graphicsQuality !== 'low'; - } - - private get shadowQuality() { - return ( - this.graphicsQuality === 'ultra' ? 16384 : - this.graphicsQuality === 'high' ? 8192 : - this.graphicsQuality === 'medium' ? 4096 : - this.graphicsQuality === 'low' ? 1024 : - 0); // cheep - } - - constructor(user, isMyRoom, roomInfo: RoomInfo, container: Element, options: Options) { - this.roomInfo = roomInfo; - this.graphicsQuality = options.graphicsQuality; - this.onChangeSelect = options.onChangeSelect; - - this.clock = new THREE.Clock(true); - - //#region Init a scene - this.scene = new THREE.Scene(); - - const width = container.clientWidth; - const height = container.clientHeight; - - //#region Init a renderer - this.renderer = new THREE.WebGLRenderer({ - antialias: false, - stencil: false, - alpha: false, - powerPreference: - this.graphicsQuality === 'ultra' ? 'high-performance' : - this.graphicsQuality === 'high' ? 'high-performance' : - this.graphicsQuality === 'medium' ? 'default' : - this.graphicsQuality === 'low' ? 'low-power' : - 'low-power' // cheep - }); - - this.renderer.setPixelRatio(window.devicePixelRatio); - this.renderer.setSize(width, height); - this.renderer.autoClear = false; - this.renderer.setClearColor(new THREE.Color(0x051f2d)); - this.renderer.shadowMap.enabled = this.enableShadow; - this.renderer.shadowMap.type = - this.graphicsQuality === 'ultra' ? THREE.PCFSoftShadowMap : - this.graphicsQuality === 'high' ? THREE.PCFSoftShadowMap : - this.graphicsQuality === 'medium' ? THREE.PCFShadowMap : - this.graphicsQuality === 'low' ? THREE.BasicShadowMap : - THREE.BasicShadowMap; // cheep - - container.insertBefore(this.canvas, container.firstChild); - //#endregion - - //#region Init a camera - this.camera = options.useOrthographicCamera - ? new THREE.OrthographicCamera( - width / - 2, width / 2, height / 2, height / - 2, -10, 10) - : new THREE.PerspectiveCamera(45, width / height); - - if (options.useOrthographicCamera) { - this.camera.position.x = 2; - this.camera.position.y = 2; - this.camera.position.z = 2; - this.camera.zoom = 100; - this.camera.updateProjectionMatrix(); - } else { - this.camera.position.x = 5; - this.camera.position.y = 2; - this.camera.position.z = 5; - } - - this.scene.add(this.camera); - //#endregion - - //#region AmbientLight - const ambientLight = new THREE.AmbientLight(0xffffff, 1); - this.scene.add(ambientLight); - //#endregion - - if (this.graphicsQuality !== 'cheep') { - //#region Room light - const roomLight = new THREE.SpotLight(0xffffff, 0.1); - - roomLight.position.set(0, 8, 0); - roomLight.castShadow = this.enableShadow; - roomLight.shadow.bias = -0.0001; - roomLight.shadow.mapSize.width = this.shadowQuality; - roomLight.shadow.mapSize.height = this.shadowQuality; - roomLight.shadow.camera.near = 0.1; - roomLight.shadow.camera.far = 9; - roomLight.shadow.camera.fov = 45; - - this.scene.add(roomLight); - //#endregion - } - - //#region Out light - const outLight1 = new THREE.SpotLight(0xffffff, 0.4); - outLight1.position.set(9, 3, -2); - outLight1.castShadow = this.enableShadow; - outLight1.shadow.bias = -0.001; // アクネ、アーチファクト対策 その代わりピーターパンが発生する可能性がある - outLight1.shadow.mapSize.width = this.shadowQuality; - outLight1.shadow.mapSize.height = this.shadowQuality; - outLight1.shadow.camera.near = 6; - outLight1.shadow.camera.far = 15; - outLight1.shadow.camera.fov = 45; - this.scene.add(outLight1); - - const outLight2 = new THREE.SpotLight(0xffffff, 0.2); - outLight2.position.set(-2, 3, 9); - outLight2.castShadow = false; - outLight2.shadow.bias = -0.001; // アクネ、アーチファクト対策 その代わりピーターパンが発生する可能性がある - outLight2.shadow.camera.near = 6; - outLight2.shadow.camera.far = 15; - outLight2.shadow.camera.fov = 45; - this.scene.add(outLight2); - //#endregion - - //#region Init a controller - this.controls = new OrbitControls(this.camera, this.canvas); - - this.controls.target.set(0, 1, 0); - this.controls.enableZoom = true; - this.controls.enablePan = isMyRoom; - this.controls.minPolarAngle = 0; - this.controls.maxPolarAngle = Math.PI / 2; - this.controls.minAzimuthAngle = 0; - this.controls.maxAzimuthAngle = Math.PI / 2; - this.controls.enableDamping = true; - this.controls.dampingFactor = 0.2; - //#endregion - - //#region POST FXs - if (!this.usePostFXs) { - this.composer = null; - } else { - const renderTarget = new THREE.WebGLRenderTarget(width, height, { - minFilter: THREE.LinearFilter, - magFilter: THREE.LinearFilter, - format: THREE.RGBFormat, - stencilBuffer: false, - }); - - const fxaa = new ShaderPass(FXAAShader); - fxaa.uniforms['resolution'].value = new THREE.Vector2(1 / width, 1 / height); - fxaa.renderToScreen = true; - - this.composer = new EffectComposer(this.renderer, renderTarget); - this.composer.addPass(new RenderPass(this.scene, this.camera)); - if (this.graphicsQuality === 'ultra') { - this.composer.addPass(new BloomPass(0.25, 30, 128.0, 512)); - } - this.composer.addPass(fxaa); - } - //#endregion - //#endregion - - //#region Label - //#region Avatar - const avatarUrl = `/proxy/?${urlQuery({ url: user.avatarUrl })}`; - - const textureLoader = new THREE.TextureLoader(); - textureLoader.crossOrigin = 'anonymous'; - - const iconTexture = textureLoader.load(avatarUrl); - iconTexture.wrapS = THREE.RepeatWrapping; - iconTexture.wrapT = THREE.RepeatWrapping; - iconTexture.anisotropy = 16; - - const avatarMaterial = new THREE.MeshBasicMaterial({ - map: iconTexture, - side: THREE.DoubleSide, - alphaTest: 0.5 - }); - - const iconGeometry = new THREE.PlaneGeometry(1, 1); - - const avatarObject = new THREE.Mesh(iconGeometry, avatarMaterial); - avatarObject.position.set(-3, 2.5, 2); - avatarObject.rotation.y = Math.PI / 2; - avatarObject.castShadow = false; - - this.scene.add(avatarObject); - //#endregion - - //#region Username - const name = user.username; - - new THREE.FontLoader().load('/assets/fonts/helvetiker_regular.typeface.json', font => { - const nameGeometry = new THREE.TextGeometry(name, { - size: 0.5, - height: 0, - curveSegments: 8, - font: font, - bevelThickness: 0, - bevelSize: 0, - bevelEnabled: false - }); - - const nameMaterial = new THREE.MeshLambertMaterial({ - color: 0xffffff - }); - - const nameObject = new THREE.Mesh(nameGeometry, nameMaterial); - nameObject.position.set(-3, 2.25, 1.25); - nameObject.rotation.y = Math.PI / 2; - nameObject.castShadow = false; - - this.scene.add(nameObject); - }); - //#endregion - //#endregion - - //#region Interaction - if (isMyRoom) { - this.furnitureControl = new TransformControls(this.camera, this.canvas); - this.scene.add(this.furnitureControl); - - // Hover highlight - this.canvas.onmousemove = this.onmousemove; - - // Click - this.canvas.onmousedown = this.onmousedown; - } - //#endregion - - //#region Init room - this.loadRoom(); - //#endregion - - //#region Load furnitures - for (const furniture of this.furnitures) { - this.loadFurniture(furniture).then(obj => { - this.scene.add(obj.scene); - this.objects.push(obj.scene); - }); - } - //#endregion - - // Start render - if (this.usePostFXs) { - this.renderWithPostFXs(); - } else { - this.renderWithoutPostFXs(); - } - } - - @autobind - private renderWithoutPostFXs() { - this.renderFrameRequestId = - window.requestAnimationFrame(this.renderWithoutPostFXs); - - // Update animations - const clock = this.clock.getDelta(); - for (const mixer of this.mixers) { - mixer.update(clock); - } - - this.controls.update(); - this.renderer.render(this.scene, this.camera); - } - - @autobind - private renderWithPostFXs() { - this.renderFrameRequestId = - window.requestAnimationFrame(this.renderWithPostFXs); - - // Update animations - const clock = this.clock.getDelta(); - for (const mixer of this.mixers) { - mixer.update(clock); - } - - this.controls.update(); - this.renderer.clear(); - this.composer.render(); - } - - @autobind - private loadRoom() { - const type = this.roomInfo.roomType; - new GLTFLoader().load(`/client-assets/room/rooms/${type}/${type}.glb`, gltf => { - gltf.scene.traverse(child => { - if (!(child instanceof THREE.Mesh)) return; - - child.receiveShadow = this.enableShadow; - - child.material = new THREE.MeshLambertMaterial({ - color: (child.material as THREE.MeshStandardMaterial).color, - map: (child.material as THREE.MeshStandardMaterial).map, - name: (child.material as THREE.MeshStandardMaterial).name, - }); - - // 異方性フィルタリング - if ((child.material as THREE.MeshLambertMaterial).map && this.graphicsQuality !== 'cheep') { - (child.material as THREE.MeshLambertMaterial).map.minFilter = THREE.LinearMipMapLinearFilter; - (child.material as THREE.MeshLambertMaterial).map.magFilter = THREE.LinearMipMapLinearFilter; - (child.material as THREE.MeshLambertMaterial).map.anisotropy = 8; - } - }); - - gltf.scene.position.set(0, 0, 0); - - this.scene.add(gltf.scene); - this.roomObj = gltf.scene; - if (this.roomInfo.roomType === 'default') { - this.applyCarpetColor(); - } - }); - } - - @autobind - private loadFurniture(furniture: Furniture) { - const def = furnitureDefs.find(d => d.id === furniture.type); - return new Promise((res, rej) => { - const loader = new GLTFLoader(); - loader.load(`/client-assets/room/furnitures/${furniture.type}/${furniture.type}.glb`, gltf => { - const model = gltf.scene; - - // Load animation - if (gltf.animations.length > 0) { - const mixer = new THREE.AnimationMixer(model); - this.mixers.push(mixer); - for (const clip of gltf.animations) { - mixer.clipAction(clip).play(); - } - } - - model.name = furniture.id; - model.position.x = furniture.position.x; - model.position.y = furniture.position.y; - model.position.z = furniture.position.z; - model.rotation.x = furniture.rotation.x; - model.rotation.y = furniture.rotation.y; - model.rotation.z = furniture.rotation.z; - - model.traverse(child => { - if (!(child instanceof THREE.Mesh)) return; - child.castShadow = this.enableShadow; - child.receiveShadow = this.enableShadow; - (child.material as THREE.MeshStandardMaterial).metalness = 0; - - // 異方性フィルタリング - if ((child.material as THREE.MeshStandardMaterial).map && this.graphicsQuality !== 'cheep') { - (child.material as THREE.MeshStandardMaterial).map.minFilter = THREE.LinearMipMapLinearFilter; - (child.material as THREE.MeshStandardMaterial).map.magFilter = THREE.LinearMipMapLinearFilter; - (child.material as THREE.MeshStandardMaterial).map.anisotropy = 8; - } - }); - - if (def.color) { // カスタムカラー - this.applyCustomColor(model); - } - - if (def.texture) { // カスタムテクスチャ - this.applyCustomTexture(model); - } - - res(gltf); - }, null, rej); - }); - } - - @autobind - private applyCarpetColor() { - this.roomObj.traverse(child => { - if (!(child instanceof THREE.Mesh)) return; - if (child.material && - (child.material as THREE.MeshStandardMaterial).name && - (child.material as THREE.MeshStandardMaterial).name === 'Carpet' - ) { - const colorHex = parseInt(this.roomInfo.carpetColor.substr(1), 16); - (child.material as THREE.MeshStandardMaterial).color.setHex(colorHex); - } - }); - } - - @autobind - private applyCustomColor(model: THREE.Object3D) { - const furniture = this.furnitures.find(furniture => furniture.id === model.name); - const def = furnitureDefs.find(d => d.id === furniture.type); - if (def.color == null) return; - model.traverse(child => { - if (!(child instanceof THREE.Mesh)) return; - for (const t of Object.keys(def.color)) { - if (!child.material || - !(child.material as THREE.MeshStandardMaterial).name || - (child.material as THREE.MeshStandardMaterial).name !== t - ) continue; - - const prop = def.color[t]; - const val = furniture.props ? furniture.props[prop] : undefined; - - if (val == null) continue; - - const colorHex = parseInt(val.substr(1), 16); - (child.material as THREE.MeshStandardMaterial).color.setHex(colorHex); - } - }); - } - - @autobind - private applyCustomTexture(model: THREE.Object3D) { - const furniture = this.furnitures.find(furniture => furniture.id === model.name); - const def = furnitureDefs.find(d => d.id === furniture.type); - if (def.texture == null) return; - - model.traverse(child => { - if (!(child instanceof THREE.Mesh)) return; - for (const t of Object.keys(def.texture)) { - if (child.name !== t) continue; - - const prop = def.texture[t].prop; - const val = furniture.props ? furniture.props[prop] : undefined; - - if (val == null) continue; - - const canvas = document.createElement('canvas'); - canvas.height = 1024; - canvas.width = 1024; - - child.material = new THREE.MeshLambertMaterial({ - emissive: 0x111111, - side: THREE.DoubleSide, - alphaTest: 0.5, - }); - - const img = new Image(); - img.crossOrigin = 'anonymous'; - img.onload = () => { - const uvInfo = def.texture[t].uv; - - const ctx = canvas.getContext('2d'); - ctx.drawImage(img, - 0, 0, img.width, img.height, - uvInfo.x, uvInfo.y, uvInfo.width, uvInfo.height); - - const texture = new THREE.Texture(canvas); - texture.wrapS = THREE.RepeatWrapping; - texture.wrapT = THREE.RepeatWrapping; - texture.anisotropy = 16; - texture.flipY = false; - - (child.material as THREE.MeshLambertMaterial).map = texture; - (child.material as THREE.MeshLambertMaterial).needsUpdate = true; - (child.material as THREE.MeshLambertMaterial).map.needsUpdate = true; - }; - img.src = val; - } - }); - } - - @autobind - private onmousemove(ev: MouseEvent) { - if (this.isTransformMode) return; - - const rect = (ev.target as HTMLElement).getBoundingClientRect(); - const x = ((ev.clientX - rect.left) / rect.width) * 2 - 1; - const y = -((ev.clientY - rect.top) / rect.height) * 2 + 1; - const pos = new THREE.Vector2(x, y); - - this.camera.updateMatrixWorld(); - - const raycaster = new THREE.Raycaster(); - raycaster.setFromCamera(pos, this.camera); - - const intersects = raycaster.intersectObjects(this.objects, true); - - for (const object of this.objects) { - if (this.isSelectedObject(object)) continue; - object.traverse(child => { - if (child instanceof THREE.Mesh) { - (child.material as THREE.MeshStandardMaterial).emissive.setHex(0x000000); - } - }); - } - - if (intersects.length > 0) { - const intersected = this.getRoot(intersects[0].object); - if (this.isSelectedObject(intersected)) return; - intersected.traverse(child => { - if (child instanceof THREE.Mesh) { - (child.material as THREE.MeshStandardMaterial).emissive.setHex(0x191919); - } - }); - } - } - - @autobind - private onmousedown(ev: MouseEvent) { - if (this.isTransformMode) return; - if (ev.target !== this.canvas || ev.button !== 0) return; - - const rect = (ev.target as HTMLElement).getBoundingClientRect(); - const x = ((ev.clientX - rect.left) / rect.width) * 2 - 1; - const y = -((ev.clientY - rect.top) / rect.height) * 2 + 1; - const pos = new THREE.Vector2(x, y); - - this.camera.updateMatrixWorld(); - - const raycaster = new THREE.Raycaster(); - raycaster.setFromCamera(pos, this.camera); - - const intersects = raycaster.intersectObjects(this.objects, true); - - for (const object of this.objects) { - object.traverse(child => { - if (child instanceof THREE.Mesh) { - (child.material as THREE.MeshStandardMaterial).emissive.setHex(0x000000); - } - }); - } - - if (intersects.length > 0) { - const selectedObj = this.getRoot(intersects[0].object); - this.selectFurniture(selectedObj); - } else { - this.selectedObject = null; - this.onChangeSelect(null); - } - } - - @autobind - private getRoot(obj: THREE.Object3D): THREE.Object3D { - let found = false; - let x = obj.parent; - while (!found) { - if (x.parent.parent == null) { - found = true; - } else { - x = x.parent; - } - } - return x; - } - - @autobind - private isSelectedObject(obj: THREE.Object3D): boolean { - if (this.selectedObject == null) { - return false; - } else { - return obj.name === this.selectedObject.name; - } - } - - @autobind - private selectFurniture(obj: THREE.Object3D) { - this.selectedObject = obj; - this.onChangeSelect(obj); - obj.traverse(child => { - if (child instanceof THREE.Mesh) { - (child.material as THREE.MeshStandardMaterial).emissive.setHex(0xff0000); - } - }); - } - - /** - * 家具の移動/回転モードにします - * @param type 移動か回転か - */ - @autobind - public enterTransformMode(type: 'translate' | 'rotate') { - this.isTransformMode = true; - this.furnitureControl.setMode(type); - this.furnitureControl.attach(this.selectedObject); - this.controls.enableRotate = false; - } - - /** - * 家具の移動/回転モードを終了します - */ - @autobind - public exitTransformMode() { - this.isTransformMode = false; - this.furnitureControl.detach(); - this.controls.enableRotate = true; - } - - /** - * 家具プロパティを更新します - * @param key プロパティ名 - * @param value 値 - */ - @autobind - public updateProp(key: string, value: any) { - const furniture = this.furnitures.find(furniture => furniture.id === this.selectedObject.name); - if (furniture.props == null) furniture.props = {}; - furniture.props[key] = value; - this.applyCustomColor(this.selectedObject); - this.applyCustomTexture(this.selectedObject); - } - - /** - * 部屋に家具を追加します - * @param type 家具の種類 - */ - @autobind - public addFurniture(type: string) { - const furniture = { - id: uuid(), - type: type, - position: { - x: 0, - y: 0, - z: 0, - }, - rotation: { - x: 0, - y: 0, - z: 0, - }, - }; - - this.furnitures.push(furniture); - - this.loadFurniture(furniture).then(obj => { - this.scene.add(obj.scene); - this.objects.push(obj.scene); - }); - } - - /** - * 現在選択されている家具を部屋から削除します - */ - @autobind - public removeFurniture() { - this.exitTransformMode(); - const obj = this.selectedObject; - this.scene.remove(obj); - this.objects = this.objects.filter(object => object.name !== obj.name); - this.furnitures = this.furnitures.filter(furniture => furniture.id !== obj.name); - this.selectedObject = null; - this.onChangeSelect(null); - } - - /** - * 全ての家具を部屋から削除します - */ - @autobind - public removeAllFurnitures() { - this.exitTransformMode(); - for (const obj of this.objects) { - this.scene.remove(obj); - } - this.objects = []; - this.furnitures = []; - this.selectedObject = null; - this.onChangeSelect(null); - } - - /** - * 部屋の床の色を変更します - * @param color 色 - */ - @autobind - public updateCarpetColor(color: string) { - this.roomInfo.carpetColor = color; - this.applyCarpetColor(); - } - - /** - * 部屋の種類を変更します - * @param type 種類 - */ - @autobind - public changeRoomType(type: string) { - this.roomInfo.roomType = type; - this.scene.remove(this.roomObj); - this.loadRoom(); - } - - /** - * 部屋データを取得します - */ - @autobind - public getRoomInfo() { - for (const obj of this.objects) { - const furniture = this.furnitures.find(f => f.id === obj.name); - furniture.position.x = obj.position.x; - furniture.position.y = obj.position.y; - furniture.position.z = obj.position.z; - furniture.rotation.x = obj.rotation.x; - furniture.rotation.y = obj.rotation.y; - furniture.rotation.z = obj.rotation.z; - } - - return this.roomInfo; - } - - /** - * 選択されている家具を取得します - */ - @autobind - public getSelectedObject() { - return this.selectedObject; - } - - @autobind - public findFurnitureById(id: string) { - return this.furnitures.find(furniture => furniture.id === id); - } - - /** - * レンダリングを終了します - */ - @autobind - public destroy() { - // Stop render loop - window.cancelAnimationFrame(this.renderFrameRequestId); - - this.controls.dispose(); - this.scene.dispose(); - } -} diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts index dc9c3b7b9..f2732c57d 100644 --- a/packages/client/src/store.ts +++ b/packages/client/src/store.ts @@ -257,8 +257,6 @@ export class ColdDeviceStorage { sound_channel: { type: 'syuilo/square-pico', volume: 1 }, sound_reversiPutBlack: { type: 'syuilo/kick', volume: 0.3 }, sound_reversiPutWhite: { type: 'syuilo/snare', volume: 0.3 }, - roomGraphicsQuality: 'medium' as 'cheep' | 'low' | 'medium' | 'high' | 'ultra', - roomUseOrthographicCamera: true, }; public static watchers = []; From 817647a78f2ba043bc811bec8b460cb3ee502cea Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 8 Jan 2022 20:30:01 +0900 Subject: [PATCH 045/151] =?UTF-8?q?refactor:=20Widget=E3=81=AEcomposition?= =?UTF-8?q?=20api=E7=A7=BB=E8=A1=8C=20(#8125)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * wip * wip * wip * wip * wip * wip * fix --- packages/client/src/components/widgets.vue | 79 ++++--- packages/client/src/scripts/form.ts | 30 ++- packages/client/src/widgets/activity.vue | 131 +++++------ packages/client/src/widgets/aichan.vue | 94 ++++---- packages/client/src/widgets/aiscript.vue | 176 ++++++++------- packages/client/src/widgets/button.vue | 151 +++++++------ packages/client/src/widgets/calendar.vue | 148 ++++++------ packages/client/src/widgets/clock.vue | 73 +++--- packages/client/src/widgets/define.ts | 75 ------- packages/client/src/widgets/digital-clock.vue | 123 +++++----- packages/client/src/widgets/federation.vue | 108 +++++---- packages/client/src/widgets/job-queue.vue | 188 ++++++++-------- packages/client/src/widgets/memo.vue | 98 ++++---- packages/client/src/widgets/notifications.vue | 95 ++++---- packages/client/src/widgets/online-users.vue | 80 ++++--- packages/client/src/widgets/photos.vue | 125 ++++++----- packages/client/src/widgets/post-form.vue | 38 ++-- packages/client/src/widgets/rss.vue | 107 +++++---- .../src/widgets/server-metric/index.vue | 123 +++++----- packages/client/src/widgets/slideshow.vue | 210 +++++++++--------- packages/client/src/widgets/timeline.vue | 201 +++++++++-------- packages/client/src/widgets/trends.vue | 86 +++---- packages/client/src/widgets/widget.ts | 71 ++++++ 23 files changed, 1389 insertions(+), 1221 deletions(-) delete mode 100644 packages/client/src/widgets/define.ts create mode 100644 packages/client/src/widgets/widget.ts diff --git a/packages/client/src/components/widgets.vue b/packages/client/src/components/widgets.vue index 12f712925..ccde5fbe5 100644 --- a/packages/client/src/components/widgets.vue +++ b/packages/client/src/components/widgets.vue @@ -10,7 +10,7 @@ {{ $ts.close }} @@ -18,7 +18,7 @@
- +
@@ -28,7 +28,7 @@ diff --git a/packages/client/src/scripts/form.ts b/packages/client/src/scripts/form.ts index 7bf6cec45..7f321cc0a 100644 --- a/packages/client/src/scripts/form.ts +++ b/packages/client/src/scripts/form.ts @@ -21,11 +21,39 @@ export type FormItem = { default: string | null; hidden?: boolean; enum: string[]; +} | { + label?: string; + type: 'radio'; + default: unknown | null; + hidden?: boolean; + options: { + label: string; + value: unknown; + }[]; +} | { + label?: string; + type: 'object'; + default: Record | null; + hidden: true; } | { label?: string; type: 'array'; default: unknown[] | null; - hidden?: boolean; + hidden: true; }; export type Form = Record; + +type GetItemType = + Item['type'] extends 'string' ? string : + Item['type'] extends 'number' ? number : + Item['type'] extends 'boolean' ? boolean : + Item['type'] extends 'radio' ? unknown : + Item['type'] extends 'enum' ? string : + Item['type'] extends 'array' ? unknown[] : + Item['type'] extends 'object' ? Record + : never; + +export type GetFormResultType = { + [P in keyof F]: GetItemType; +}; diff --git a/packages/client/src/widgets/activity.vue b/packages/client/src/widgets/activity.vue index d322f4758..acbbb7a97 100644 --- a/packages/client/src/widgets/activity.vue +++ b/packages/client/src/widgets/activity.vue @@ -1,82 +1,89 @@ - diff --git a/packages/client/src/widgets/aichan.vue b/packages/client/src/widgets/aichan.vue index 891b7454d..03e394b97 100644 --- a/packages/client/src/widgets/aichan.vue +++ b/packages/client/src/widgets/aichan.vue @@ -1,51 +1,65 @@ - diff --git a/packages/client/src/widgets/aiscript.vue b/packages/client/src/widgets/aiscript.vue index 46c5094ee..0a5c0d614 100644 --- a/packages/client/src/widgets/aiscript.vue +++ b/packages/client/src/widgets/aiscript.vue @@ -1,9 +1,9 @@ - diff --git a/packages/client/src/widgets/button.vue b/packages/client/src/widgets/button.vue index e98570862..a33afd6e7 100644 --- a/packages/client/src/widgets/button.vue +++ b/packages/client/src/widgets/button.vue @@ -1,90 +1,99 @@ - diff --git a/packages/client/src/widgets/calendar.vue b/packages/client/src/widgets/calendar.vue index c8b52d7af..d16d3424b 100644 --- a/packages/client/src/widgets/calendar.vue +++ b/packages/client/src/widgets/calendar.vue @@ -1,5 +1,5 @@ - diff --git a/packages/client/src/widgets/clock.vue b/packages/client/src/widgets/clock.vue index 6ca7ecd43..6acb10d74 100644 --- a/packages/client/src/widgets/clock.vue +++ b/packages/client/src/widgets/clock.vue @@ -1,45 +1,56 @@ - diff --git a/packages/client/src/widgets/define.ts b/packages/client/src/widgets/define.ts deleted file mode 100644 index 08a346d97..000000000 --- a/packages/client/src/widgets/define.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { defineComponent } from 'vue'; -import { throttle } from 'throttle-debounce'; -import { Form } from '@/scripts/form'; -import * as os from '@/os'; - -export default function (data: { - name: string; - props?: () => T; -}) { - return defineComponent({ - props: { - widget: { - type: Object, - required: false - }, - settingCallback: { - required: false - } - }, - - emits: ['updateProps'], - - data() { - return { - props: this.widget ? JSON.parse(JSON.stringify(this.widget.data)) : {}, - save: throttle(3000, () => { - this.$emit('updateProps', this.props); - }), - }; - }, - - computed: { - id(): string { - return this.widget ? this.widget.id : null; - }, - }, - - created() { - this.mergeProps(); - - this.$watch('props', () => { - this.mergeProps(); - }, { deep: true }); - - if (this.settingCallback) this.settingCallback(this.setting); - }, - - methods: { - mergeProps() { - if (data.props) { - const defaultProps = data.props(); - for (const prop of Object.keys(defaultProps)) { - if (this.props.hasOwnProperty(prop)) continue; - this.props[prop] = defaultProps[prop].default; - } - } - }, - - async setting() { - const form = data.props(); - for (const item of Object.keys(form)) { - form[item].default = this.props[item]; - } - const { canceled, result } = await os.form(data.name, form); - if (canceled) return; - - for (const key of Object.keys(result)) { - this.props[key] = result[key]; - } - - this.save(); - }, - } - }); -} diff --git a/packages/client/src/widgets/digital-clock.vue b/packages/client/src/widgets/digital-clock.vue index fbf632d2d..637b0368b 100644 --- a/packages/client/src/widgets/digital-clock.vue +++ b/packages/client/src/widgets/digital-clock.vue @@ -1,73 +1,84 @@ - diff --git a/packages/client/src/widgets/federation.vue b/packages/client/src/widgets/federation.vue index 736a91c52..5d53b683b 100644 --- a/packages/client/src/widgets/federation.vue +++ b/packages/client/src/widgets/federation.vue @@ -1,5 +1,5 @@ - diff --git a/packages/client/src/widgets/job-queue.vue b/packages/client/src/widgets/job-queue.vue index 1b7c71de6..4a2a3cf23 100644 --- a/packages/client/src/widgets/job-queue.vue +++ b/packages/client/src/widgets/job-queue.vue @@ -1,134 +1,146 @@ - diff --git a/packages/client/src/widgets/memo.vue b/packages/client/src/widgets/memo.vue index 9b51ada22..3dfc6eb5f 100644 --- a/packages/client/src/widgets/memo.vue +++ b/packages/client/src/widgets/memo.vue @@ -1,5 +1,5 @@ - diff --git a/packages/client/src/widgets/notifications.vue b/packages/client/src/widgets/notifications.vue index 568705b66..8cf29c927 100644 --- a/packages/client/src/widgets/notifications.vue +++ b/packages/client/src/widgets/notifications.vue @@ -1,65 +1,68 @@ - diff --git a/packages/client/src/widgets/online-users.vue b/packages/client/src/widgets/online-users.vue index 5b889f481..2d4768869 100644 --- a/packages/client/src/widgets/online-users.vue +++ b/packages/client/src/widgets/online-users.vue @@ -1,48 +1,60 @@ - diff --git a/packages/client/src/widgets/photos.vue b/packages/client/src/widgets/photos.vue index 7a0b54027..8f948dc64 100644 --- a/packages/client/src/widgets/photos.vue +++ b/packages/client/src/widgets/photos.vue @@ -1,5 +1,5 @@ - diff --git a/packages/client/src/widgets/post-form.vue b/packages/client/src/widgets/post-form.vue index 6de0574cc..51aa8fcf6 100644 --- a/packages/client/src/widgets/post-form.vue +++ b/packages/client/src/widgets/post-form.vue @@ -2,22 +2,34 @@ - diff --git a/packages/client/src/widgets/rss.vue b/packages/client/src/widgets/rss.vue index b2dc77854..aa8205458 100644 --- a/packages/client/src/widgets/rss.vue +++ b/packages/client/src/widgets/rss.vue @@ -1,7 +1,7 @@ - diff --git a/packages/client/src/widgets/server-metric/index.vue b/packages/client/src/widgets/server-metric/index.vue index 107b75090..2caa73fa7 100644 --- a/packages/client/src/widgets/server-metric/index.vue +++ b/packages/client/src/widgets/server-metric/index.vue @@ -1,21 +1,22 @@ - diff --git a/packages/client/src/widgets/slideshow.vue b/packages/client/src/widgets/slideshow.vue index 0909bda67..ac0c6c9e0 100644 --- a/packages/client/src/widgets/slideshow.vue +++ b/packages/client/src/widgets/slideshow.vue @@ -1,126 +1,116 @@ - diff --git a/packages/client/src/widgets/timeline.vue b/packages/client/src/widgets/timeline.vue index aee6a35b1..fa700cc8e 100644 --- a/packages/client/src/widgets/timeline.vue +++ b/packages/client/src/widgets/timeline.vue @@ -1,116 +1,129 @@ - diff --git a/packages/client/src/widgets/trends.vue b/packages/client/src/widgets/trends.vue index ffad93c02..3905daa67 100644 --- a/packages/client/src/widgets/trends.vue +++ b/packages/client/src/widgets/trends.vue @@ -1,5 +1,5 @@ - diff --git a/packages/client/src/widgets/widget.ts b/packages/client/src/widgets/widget.ts new file mode 100644 index 000000000..81239bfb3 --- /dev/null +++ b/packages/client/src/widgets/widget.ts @@ -0,0 +1,71 @@ +import { reactive, watch } from 'vue'; +import { throttle } from 'throttle-debounce'; +import { Form, GetFormResultType } from '@/scripts/form'; +import * as os from '@/os'; + +export type Widget

> = { + id: string; + data: Partial

; +}; + +export type WidgetComponentProps

> = { + widget?: Widget

; +}; + +export type WidgetComponentEmits

> = { + (e: 'updateProps', props: P); +}; + +export type WidgetComponentExpose = { + name: string; + id: string | null; + configure: () => void; +}; + +export const useWidgetPropsManager = >( + name: string, + propsDef: F, + props: Readonly>>, + emit: WidgetComponentEmits>, +): { + widgetProps: GetFormResultType; + save: () => void; + configure: () => void; +} => { + const widgetProps = reactive(props.widget ? JSON.parse(JSON.stringify(props.widget.data)) : {}); + + const mergeProps = () => { + for (const prop of Object.keys(propsDef)) { + if (widgetProps.hasOwnProperty(prop)) continue; + widgetProps[prop] = propsDef[prop].default; + } + }; + watch(widgetProps, () => { + mergeProps(); + }, { deep: true, immediate: true, }); + + const save = throttle(3000, () => { + emit('updateProps', widgetProps) + }); + + const configure = async () => { + const form = JSON.parse(JSON.stringify(propsDef)); + for (const item of Object.keys(form)) { + form[item].default = widgetProps[item]; + } + const { canceled, result } = await os.form(name, form); + if (canceled) return; + + for (const key of Object.keys(result)) { + widgetProps[key] = result[key]; + } + + save(); + }; + + return { + widgetProps, + save, + configure, + }; +}; From 9535127c2620ea9d3c693ef0465a509b58a3253f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 9 Jan 2022 00:00:27 +0900 Subject: [PATCH 046/151] fix --- packages/client/src/widgets/rss.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/widgets/rss.vue b/packages/client/src/widgets/rss.vue index aa8205458..7a2272d74 100644 --- a/packages/client/src/widgets/rss.vue +++ b/packages/client/src/widgets/rss.vue @@ -50,7 +50,7 @@ const items = ref([]); const fetching = ref(true); const tick = () => { - fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.props.url}`, {}).then(res => { + fetch(`https://api.rss2json.com/v1/api.json?rss_url=${widgetProps.url}`, {}).then(res => { res.json().then(feed => { items.value = feed.items; fetching.value = false; From a9262113c3e08073065bc1507f8081a0c3f89d13 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 9 Jan 2022 18:50:03 +0900 Subject: [PATCH 047/151] bye chat ui --- CHANGELOG.md | 1 + packages/client/src/init.ts | 1 - packages/client/src/menu.ts | 7 - .../src/ui/chat/date-separated-list.vue | 157 --- packages/client/src/ui/chat/header-clock.vue | 62 - packages/client/src/ui/chat/index.vue | 463 ------- packages/client/src/ui/chat/note-header.vue | 99 -- packages/client/src/ui/chat/note-preview.vue | 112 -- packages/client/src/ui/chat/note.sub.vue | 137 -- packages/client/src/ui/chat/note.vue | 1143 ----------------- packages/client/src/ui/chat/notes.vue | 94 -- packages/client/src/ui/chat/pages/channel.vue | 259 ---- .../client/src/ui/chat/pages/timeline.vue | 222 ---- packages/client/src/ui/chat/post-form.vue | 770 ----------- packages/client/src/ui/chat/side.vue | 157 --- packages/client/src/ui/chat/store.ts | 17 - .../client/src/ui/chat/sub-note-content.vue | 62 - packages/client/src/ui/chat/widgets.vue | 62 - 18 files changed, 1 insertion(+), 3824 deletions(-) delete mode 100644 packages/client/src/ui/chat/date-separated-list.vue delete mode 100644 packages/client/src/ui/chat/header-clock.vue delete mode 100644 packages/client/src/ui/chat/index.vue delete mode 100644 packages/client/src/ui/chat/note-header.vue delete mode 100644 packages/client/src/ui/chat/note-preview.vue delete mode 100644 packages/client/src/ui/chat/note.sub.vue delete mode 100644 packages/client/src/ui/chat/note.vue delete mode 100644 packages/client/src/ui/chat/notes.vue delete mode 100644 packages/client/src/ui/chat/pages/channel.vue delete mode 100644 packages/client/src/ui/chat/pages/timeline.vue delete mode 100644 packages/client/src/ui/chat/post-form.vue delete mode 100644 packages/client/src/ui/chat/side.vue delete mode 100644 packages/client/src/ui/chat/store.ts delete mode 100644 packages/client/src/ui/chat/sub-note-content.vue delete mode 100644 packages/client/src/ui/chat/widgets.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ab40f76..501e5cad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ ### Changes - Room機能が削除されました - 後日別リポジトリとして復活予定です +- Chat UIが削除されました ### Improvements diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 2263b4ca3..af70aec70 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -172,7 +172,6 @@ const app = createApp(await ( !$i ? import('@/ui/visitor.vue') : ui === 'deck' ? import('@/ui/deck.vue') : ui === 'desktop' ? import('@/ui/desktop.vue') : - ui === 'chat' ? import('@/ui/chat/index.vue') : ui === 'classic' ? import('@/ui/classic.vue') : import('@/ui/universal.vue') ).then(x => x.default)); diff --git a/packages/client/src/menu.ts b/packages/client/src/menu.ts index ea6f801fe..98a892d56 100644 --- a/packages/client/src/menu.ts +++ b/packages/client/src/menu.ts @@ -198,13 +198,6 @@ export const menuDef = reactive({ localStorage.setItem('ui', 'classic'); unisonReload(); } - }, { - text: 'Chat (β)', - active: ui === 'chat', - action: () => { - localStorage.setItem('ui', 'chat'); - unisonReload(); - } }, /*{ text: i18n.locale.desktop + ' (β)', active: ui === 'desktop', diff --git a/packages/client/src/ui/chat/date-separated-list.vue b/packages/client/src/ui/chat/date-separated-list.vue deleted file mode 100644 index 1a36aca6d..000000000 --- a/packages/client/src/ui/chat/date-separated-list.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/header-clock.vue b/packages/client/src/ui/chat/header-clock.vue deleted file mode 100644 index 3488289c2..000000000 --- a/packages/client/src/ui/chat/header-clock.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/index.vue b/packages/client/src/ui/chat/index.vue deleted file mode 100644 index f66ab4dce..000000000 --- a/packages/client/src/ui/chat/index.vue +++ /dev/null @@ -1,463 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/note-header.vue b/packages/client/src/ui/chat/note-header.vue deleted file mode 100644 index 5f87fdd14..000000000 --- a/packages/client/src/ui/chat/note-header.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/note-preview.vue b/packages/client/src/ui/chat/note-preview.vue deleted file mode 100644 index c28591815..000000000 --- a/packages/client/src/ui/chat/note-preview.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/note.sub.vue b/packages/client/src/ui/chat/note.sub.vue deleted file mode 100644 index b61b7521a..000000000 --- a/packages/client/src/ui/chat/note.sub.vue +++ /dev/null @@ -1,137 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/note.vue b/packages/client/src/ui/chat/note.vue deleted file mode 100644 index fa5faa4ec..000000000 --- a/packages/client/src/ui/chat/note.vue +++ /dev/null @@ -1,1143 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/notes.vue b/packages/client/src/ui/chat/notes.vue deleted file mode 100644 index 51d4afcf5..000000000 --- a/packages/client/src/ui/chat/notes.vue +++ /dev/null @@ -1,94 +0,0 @@ - - - diff --git a/packages/client/src/ui/chat/pages/channel.vue b/packages/client/src/ui/chat/pages/channel.vue deleted file mode 100644 index 2755cc92b..000000000 --- a/packages/client/src/ui/chat/pages/channel.vue +++ /dev/null @@ -1,259 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/pages/timeline.vue b/packages/client/src/ui/chat/pages/timeline.vue deleted file mode 100644 index f67d33339..000000000 --- a/packages/client/src/ui/chat/pages/timeline.vue +++ /dev/null @@ -1,222 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/post-form.vue b/packages/client/src/ui/chat/post-form.vue deleted file mode 100644 index 0f0409665..000000000 --- a/packages/client/src/ui/chat/post-form.vue +++ /dev/null @@ -1,770 +0,0 @@ -