From 4247a3114a3ce7ce1e5d79f47719a03608710578 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Thu, 12 Sep 2024 17:05:13 +1200 Subject: [PATCH] Move everything to src folder... it had to happen --- package.json | 2 +- {d2m => src/d2m}/actions/add-reaction.js | 0 {d2m => src/d2m}/actions/announce-thread.js | 0 {d2m => src/d2m}/actions/create-room.js | 0 {d2m => src/d2m}/actions/create-room.test.js | 0 {d2m => src/d2m}/actions/create-space.js | 0 {d2m => src/d2m}/actions/create-space.test.js | 0 {d2m => src/d2m}/actions/delete-message.js | 0 {d2m => src/d2m}/actions/edit-message.js | 0 {d2m => src/d2m}/actions/expression.js | 0 {d2m => src/d2m}/actions/lottie.js | 0 {d2m => src/d2m}/actions/register-pk-user.js | 0 {d2m => src/d2m}/actions/register-user.js | 0 {d2m => src/d2m}/actions/register-user.test.js | 0 {d2m => src/d2m}/actions/remove-reaction.js | 0 {d2m => src/d2m}/actions/retrigger.js | 0 {d2m => src/d2m}/actions/send-message.js | 0 {d2m => src/d2m}/actions/speedbump.js | 0 {d2m => src/d2m}/actions/update-pins.js | 0 {d2m => src/d2m}/converters/edit-to-changes.js | 0 {d2m => src/d2m}/converters/edit-to-changes.test.js | 0 {d2m => src/d2m}/converters/emoji-to-key.js | 0 {d2m => src/d2m}/converters/emoji-to-key.test.js | 0 {d2m => src/d2m}/converters/lottie.js | 0 {d2m => src/d2m}/converters/lottie.test.js | 0 .../d2m}/converters/message-to-event.embeds.test.js | 0 {d2m => src/d2m}/converters/message-to-event.js | 0 .../d2m}/converters/message-to-event.pk.test.js | 0 .../d2m}/converters/message-to-event.test.js | 0 {d2m => src/d2m}/converters/pins-to-list.js | 0 {d2m => src/d2m}/converters/pins-to-list.test.js | 0 {d2m => src/d2m}/converters/remove-reaction.js | 0 {d2m => src/d2m}/converters/remove-reaction.test.js | 0 {d2m => src/d2m}/converters/rlottie-wasm.js | 0 {d2m => src/d2m}/converters/rlottie-wasm.license | 0 {d2m => src/d2m}/converters/rlottie-wasm.wasm | Bin .../d2m}/converters/thread-to-announcement.js | 0 .../d2m}/converters/thread-to-announcement.test.js | 0 {d2m => src/d2m}/converters/user-to-mxid.js | 0 {d2m => src/d2m}/converters/user-to-mxid.test.js | 0 {d2m => src/d2m}/discord-client.js | 0 {d2m => src/d2m}/discord-packets.js | 0 {d2m => src/d2m}/event-dispatcher.js | 0 {db => src/db}/migrate.js | 0 {db => src/db}/migrations/.baby | 0 {db => src/db}/migrations/0001-schema.sql | 0 .../migrations/0002-optimise-profile-content.sql | 0 .../migrations/0002-optimise-profile-content.up.js | 0 .../migrations/0003-distinguish-column-names.sql | 0 {db => src/db}/migrations/0004-auto-emoji-guild.sql | 0 .../db}/migrations/0005-clear-member-cache.sql | 0 .../db}/migrations/0006-add-privacy-to-space.sql | 0 .../0007-split-part-and-reaction-part.sql | 0 .../0008-add-last-bridged-pin-timestamp.sql | 0 {db => src/db}/migrations/0009-add-speedbump-id.sql | 0 {db => src/db}/migrations/0010-add-sim-proxy.sql | 0 .../0011-move-bridge-bot-to-real-id.up.js | 0 {db => src/db}/migrations/0012-add-member-power.sql | 0 {db => src/db}/orm-defs.d.ts | 0 {db => src/db}/orm-defs.js | 0 {db => src/db}/orm.js | 0 {db => src/db}/orm.test.js | 0 {discord => src/discord}/discord-command-handler.js | 0 {discord => src/discord}/interactions/bridge.js | 0 {discord => src/discord}/interactions/invite.js | 0 .../discord}/interactions/matrix-info.js | 0 .../discord}/interactions/permissions.js | 0 {discord => src/discord}/interactions/reactions.js | 0 {discord => src/discord}/register-interactions.js | 0 {discord => src/discord}/utils.js | 0 {discord => src/discord}/utils.test.js | 0 {m2d => src/m2d}/actions/add-reaction.js | 0 {m2d => src/m2d}/actions/channel-webhook.js | 0 {m2d => src/m2d}/actions/emoji-sheet.js | 0 {m2d => src/m2d}/actions/redact.js | 0 {m2d => src/m2d}/actions/send-event.js | 0 {m2d => src/m2d}/converters/emoji-sheet.js | 0 {m2d => src/m2d}/converters/emoji-sheet.test.js | 0 {m2d => src/m2d}/converters/emoji.js | 0 {m2d => src/m2d}/converters/event-to-message.js | 0 .../m2d}/converters/event-to-message.test.js | 0 {m2d => src/m2d}/converters/utils.js | 0 {m2d => src/m2d}/converters/utils.test.js | 0 {m2d => src/m2d}/event-dispatcher.js | 0 {matrix => src/matrix}/api.js | 0 {matrix => src/matrix}/api.test.js | 0 {matrix => src/matrix}/appservice.js | 0 {matrix => src/matrix}/file.js | 0 {matrix => src/matrix}/file.test.js | 0 {matrix => src/matrix}/kstate.js | 0 {matrix => src/matrix}/kstate.test.js | 0 {matrix => src/matrix}/matrix-command-handler.js | 0 {matrix => src/matrix}/mreq.js | 0 {matrix => src/matrix}/power.js | 0 {matrix => src/matrix}/power.test.js | 0 {matrix => src/matrix}/read-registration.js | 0 {matrix => src/matrix}/read-registration.test.js | 0 {matrix => src/matrix}/txnid.js | 0 {matrix => src/matrix}/txnid.test.js | 0 passthrough.js => src/passthrough.js | 0 stdin.js => src/stdin.js | 0 types.d.ts => src/types.d.ts | 0 types.js => src/types.js | 0 103 files changed, 1 insertion(+), 1 deletion(-) rename {d2m => src/d2m}/actions/add-reaction.js (100%) rename {d2m => src/d2m}/actions/announce-thread.js (100%) rename {d2m => src/d2m}/actions/create-room.js (100%) rename {d2m => src/d2m}/actions/create-room.test.js (100%) rename {d2m => src/d2m}/actions/create-space.js (100%) rename {d2m => src/d2m}/actions/create-space.test.js (100%) rename {d2m => src/d2m}/actions/delete-message.js (100%) rename {d2m => src/d2m}/actions/edit-message.js (100%) rename {d2m => src/d2m}/actions/expression.js (100%) rename {d2m => src/d2m}/actions/lottie.js (100%) rename {d2m => src/d2m}/actions/register-pk-user.js (100%) rename {d2m => src/d2m}/actions/register-user.js (100%) rename {d2m => src/d2m}/actions/register-user.test.js (100%) rename {d2m => src/d2m}/actions/remove-reaction.js (100%) rename {d2m => src/d2m}/actions/retrigger.js (100%) rename {d2m => src/d2m}/actions/send-message.js (100%) rename {d2m => src/d2m}/actions/speedbump.js (100%) rename {d2m => src/d2m}/actions/update-pins.js (100%) rename {d2m => src/d2m}/converters/edit-to-changes.js (100%) rename {d2m => src/d2m}/converters/edit-to-changes.test.js (100%) rename {d2m => src/d2m}/converters/emoji-to-key.js (100%) rename {d2m => src/d2m}/converters/emoji-to-key.test.js (100%) rename {d2m => src/d2m}/converters/lottie.js (100%) rename {d2m => src/d2m}/converters/lottie.test.js (100%) rename {d2m => src/d2m}/converters/message-to-event.embeds.test.js (100%) rename {d2m => src/d2m}/converters/message-to-event.js (100%) rename {d2m => src/d2m}/converters/message-to-event.pk.test.js (100%) rename {d2m => src/d2m}/converters/message-to-event.test.js (100%) rename {d2m => src/d2m}/converters/pins-to-list.js (100%) rename {d2m => src/d2m}/converters/pins-to-list.test.js (100%) rename {d2m => src/d2m}/converters/remove-reaction.js (100%) rename {d2m => src/d2m}/converters/remove-reaction.test.js (100%) rename {d2m => src/d2m}/converters/rlottie-wasm.js (100%) rename {d2m => src/d2m}/converters/rlottie-wasm.license (100%) rename {d2m => src/d2m}/converters/rlottie-wasm.wasm (100%) mode change 100755 => 100644 rename {d2m => src/d2m}/converters/thread-to-announcement.js (100%) rename {d2m => src/d2m}/converters/thread-to-announcement.test.js (100%) rename {d2m => src/d2m}/converters/user-to-mxid.js (100%) rename {d2m => src/d2m}/converters/user-to-mxid.test.js (100%) rename {d2m => src/d2m}/discord-client.js (100%) rename {d2m => src/d2m}/discord-packets.js (100%) rename {d2m => src/d2m}/event-dispatcher.js (100%) rename {db => src/db}/migrate.js (100%) rename {db => src/db}/migrations/.baby (100%) rename {db => src/db}/migrations/0001-schema.sql (100%) rename {db => src/db}/migrations/0002-optimise-profile-content.sql (100%) rename {db => src/db}/migrations/0002-optimise-profile-content.up.js (100%) rename {db => src/db}/migrations/0003-distinguish-column-names.sql (100%) rename {db => src/db}/migrations/0004-auto-emoji-guild.sql (100%) rename {db => src/db}/migrations/0005-clear-member-cache.sql (100%) rename {db => src/db}/migrations/0006-add-privacy-to-space.sql (100%) rename {db => src/db}/migrations/0007-split-part-and-reaction-part.sql (100%) rename {db => src/db}/migrations/0008-add-last-bridged-pin-timestamp.sql (100%) rename {db => src/db}/migrations/0009-add-speedbump-id.sql (100%) rename {db => src/db}/migrations/0010-add-sim-proxy.sql (100%) rename {db => src/db}/migrations/0011-move-bridge-bot-to-real-id.up.js (100%) rename {db => src/db}/migrations/0012-add-member-power.sql (100%) rename {db => src/db}/orm-defs.d.ts (100%) rename {db => src/db}/orm-defs.js (100%) rename {db => src/db}/orm.js (100%) rename {db => src/db}/orm.test.js (100%) rename {discord => src/discord}/discord-command-handler.js (100%) rename {discord => src/discord}/interactions/bridge.js (100%) rename {discord => src/discord}/interactions/invite.js (100%) rename {discord => src/discord}/interactions/matrix-info.js (100%) rename {discord => src/discord}/interactions/permissions.js (100%) rename {discord => src/discord}/interactions/reactions.js (100%) rename {discord => src/discord}/register-interactions.js (100%) rename {discord => src/discord}/utils.js (100%) rename {discord => src/discord}/utils.test.js (100%) rename {m2d => src/m2d}/actions/add-reaction.js (100%) rename {m2d => src/m2d}/actions/channel-webhook.js (100%) rename {m2d => src/m2d}/actions/emoji-sheet.js (100%) rename {m2d => src/m2d}/actions/redact.js (100%) rename {m2d => src/m2d}/actions/send-event.js (100%) rename {m2d => src/m2d}/converters/emoji-sheet.js (100%) rename {m2d => src/m2d}/converters/emoji-sheet.test.js (100%) rename {m2d => src/m2d}/converters/emoji.js (100%) rename {m2d => src/m2d}/converters/event-to-message.js (100%) rename {m2d => src/m2d}/converters/event-to-message.test.js (100%) rename {m2d => src/m2d}/converters/utils.js (100%) rename {m2d => src/m2d}/converters/utils.test.js (100%) rename {m2d => src/m2d}/event-dispatcher.js (100%) rename {matrix => src/matrix}/api.js (100%) rename {matrix => src/matrix}/api.test.js (100%) rename {matrix => src/matrix}/appservice.js (100%) rename {matrix => src/matrix}/file.js (100%) rename {matrix => src/matrix}/file.test.js (100%) rename {matrix => src/matrix}/kstate.js (100%) rename {matrix => src/matrix}/kstate.test.js (100%) rename {matrix => src/matrix}/matrix-command-handler.js (100%) rename {matrix => src/matrix}/mreq.js (100%) rename {matrix => src/matrix}/power.js (100%) rename {matrix => src/matrix}/power.test.js (100%) rename {matrix => src/matrix}/read-registration.js (100%) rename {matrix => src/matrix}/read-registration.test.js (100%) rename {matrix => src/matrix}/txnid.js (100%) rename {matrix => src/matrix}/txnid.test.js (100%) rename passthrough.js => src/passthrough.js (100%) rename stdin.js => src/stdin.js (100%) rename types.d.ts => src/types.d.ts (100%) rename types.js => src/types.js (100%) diff --git a/package.json b/package.json index 8c800e1..8fccd08 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,6 @@ "addbot": "node addbot.js", "test": "cross-env FORCE_COLOR=true supertape --no-check-assertions-count --format tap test/test.js | tap-dot", "test-slow": "cross-env FORCE_COLOR=true supertape --no-check-assertions-count --format tap --no-worker test/test.js -- --slow | tap-dot", - "cover": "c8 --skip-full -x db/migrations -x matrix/file.js -x matrix/api.js -x matrix/mreq.js -x d2m/converters/rlottie-wasm.js -r html -r text supertape --no-check-assertions-count --format fail --no-worker test/test.js -- --slow" + "cover": "c8 -o test/coverage --skip-full -x db/migrations -x matrix/file.js -x matrix/api.js -x matrix/mreq.js -x d2m/converters/rlottie-wasm.js -r html -r text supertape --no-check-assertions-count --format fail --no-worker test/test.js -- --slow" } } diff --git a/d2m/actions/add-reaction.js b/src/d2m/actions/add-reaction.js similarity index 100% rename from d2m/actions/add-reaction.js rename to src/d2m/actions/add-reaction.js diff --git a/d2m/actions/announce-thread.js b/src/d2m/actions/announce-thread.js similarity index 100% rename from d2m/actions/announce-thread.js rename to src/d2m/actions/announce-thread.js diff --git a/d2m/actions/create-room.js b/src/d2m/actions/create-room.js similarity index 100% rename from d2m/actions/create-room.js rename to src/d2m/actions/create-room.js diff --git a/d2m/actions/create-room.test.js b/src/d2m/actions/create-room.test.js similarity index 100% rename from d2m/actions/create-room.test.js rename to src/d2m/actions/create-room.test.js diff --git a/d2m/actions/create-space.js b/src/d2m/actions/create-space.js similarity index 100% rename from d2m/actions/create-space.js rename to src/d2m/actions/create-space.js diff --git a/d2m/actions/create-space.test.js b/src/d2m/actions/create-space.test.js similarity index 100% rename from d2m/actions/create-space.test.js rename to src/d2m/actions/create-space.test.js diff --git a/d2m/actions/delete-message.js b/src/d2m/actions/delete-message.js similarity index 100% rename from d2m/actions/delete-message.js rename to src/d2m/actions/delete-message.js diff --git a/d2m/actions/edit-message.js b/src/d2m/actions/edit-message.js similarity index 100% rename from d2m/actions/edit-message.js rename to src/d2m/actions/edit-message.js diff --git a/d2m/actions/expression.js b/src/d2m/actions/expression.js similarity index 100% rename from d2m/actions/expression.js rename to src/d2m/actions/expression.js diff --git a/d2m/actions/lottie.js b/src/d2m/actions/lottie.js similarity index 100% rename from d2m/actions/lottie.js rename to src/d2m/actions/lottie.js diff --git a/d2m/actions/register-pk-user.js b/src/d2m/actions/register-pk-user.js similarity index 100% rename from d2m/actions/register-pk-user.js rename to src/d2m/actions/register-pk-user.js diff --git a/d2m/actions/register-user.js b/src/d2m/actions/register-user.js similarity index 100% rename from d2m/actions/register-user.js rename to src/d2m/actions/register-user.js diff --git a/d2m/actions/register-user.test.js b/src/d2m/actions/register-user.test.js similarity index 100% rename from d2m/actions/register-user.test.js rename to src/d2m/actions/register-user.test.js diff --git a/d2m/actions/remove-reaction.js b/src/d2m/actions/remove-reaction.js similarity index 100% rename from d2m/actions/remove-reaction.js rename to src/d2m/actions/remove-reaction.js diff --git a/d2m/actions/retrigger.js b/src/d2m/actions/retrigger.js similarity index 100% rename from d2m/actions/retrigger.js rename to src/d2m/actions/retrigger.js diff --git a/d2m/actions/send-message.js b/src/d2m/actions/send-message.js similarity index 100% rename from d2m/actions/send-message.js rename to src/d2m/actions/send-message.js diff --git a/d2m/actions/speedbump.js b/src/d2m/actions/speedbump.js similarity index 100% rename from d2m/actions/speedbump.js rename to src/d2m/actions/speedbump.js diff --git a/d2m/actions/update-pins.js b/src/d2m/actions/update-pins.js similarity index 100% rename from d2m/actions/update-pins.js rename to src/d2m/actions/update-pins.js diff --git a/d2m/converters/edit-to-changes.js b/src/d2m/converters/edit-to-changes.js similarity index 100% rename from d2m/converters/edit-to-changes.js rename to src/d2m/converters/edit-to-changes.js diff --git a/d2m/converters/edit-to-changes.test.js b/src/d2m/converters/edit-to-changes.test.js similarity index 100% rename from d2m/converters/edit-to-changes.test.js rename to src/d2m/converters/edit-to-changes.test.js diff --git a/d2m/converters/emoji-to-key.js b/src/d2m/converters/emoji-to-key.js similarity index 100% rename from d2m/converters/emoji-to-key.js rename to src/d2m/converters/emoji-to-key.js diff --git a/d2m/converters/emoji-to-key.test.js b/src/d2m/converters/emoji-to-key.test.js similarity index 100% rename from d2m/converters/emoji-to-key.test.js rename to src/d2m/converters/emoji-to-key.test.js diff --git a/d2m/converters/lottie.js b/src/d2m/converters/lottie.js similarity index 100% rename from d2m/converters/lottie.js rename to src/d2m/converters/lottie.js diff --git a/d2m/converters/lottie.test.js b/src/d2m/converters/lottie.test.js similarity index 100% rename from d2m/converters/lottie.test.js rename to src/d2m/converters/lottie.test.js diff --git a/d2m/converters/message-to-event.embeds.test.js b/src/d2m/converters/message-to-event.embeds.test.js similarity index 100% rename from d2m/converters/message-to-event.embeds.test.js rename to src/d2m/converters/message-to-event.embeds.test.js diff --git a/d2m/converters/message-to-event.js b/src/d2m/converters/message-to-event.js similarity index 100% rename from d2m/converters/message-to-event.js rename to src/d2m/converters/message-to-event.js diff --git a/d2m/converters/message-to-event.pk.test.js b/src/d2m/converters/message-to-event.pk.test.js similarity index 100% rename from d2m/converters/message-to-event.pk.test.js rename to src/d2m/converters/message-to-event.pk.test.js diff --git a/d2m/converters/message-to-event.test.js b/src/d2m/converters/message-to-event.test.js similarity index 100% rename from d2m/converters/message-to-event.test.js rename to src/d2m/converters/message-to-event.test.js diff --git a/d2m/converters/pins-to-list.js b/src/d2m/converters/pins-to-list.js similarity index 100% rename from d2m/converters/pins-to-list.js rename to src/d2m/converters/pins-to-list.js diff --git a/d2m/converters/pins-to-list.test.js b/src/d2m/converters/pins-to-list.test.js similarity index 100% rename from d2m/converters/pins-to-list.test.js rename to src/d2m/converters/pins-to-list.test.js diff --git a/d2m/converters/remove-reaction.js b/src/d2m/converters/remove-reaction.js similarity index 100% rename from d2m/converters/remove-reaction.js rename to src/d2m/converters/remove-reaction.js diff --git a/d2m/converters/remove-reaction.test.js b/src/d2m/converters/remove-reaction.test.js similarity index 100% rename from d2m/converters/remove-reaction.test.js rename to src/d2m/converters/remove-reaction.test.js diff --git a/d2m/converters/rlottie-wasm.js b/src/d2m/converters/rlottie-wasm.js similarity index 100% rename from d2m/converters/rlottie-wasm.js rename to src/d2m/converters/rlottie-wasm.js diff --git a/d2m/converters/rlottie-wasm.license b/src/d2m/converters/rlottie-wasm.license similarity index 100% rename from d2m/converters/rlottie-wasm.license rename to src/d2m/converters/rlottie-wasm.license diff --git a/d2m/converters/rlottie-wasm.wasm b/src/d2m/converters/rlottie-wasm.wasm old mode 100755 new mode 100644 similarity index 100% rename from d2m/converters/rlottie-wasm.wasm rename to src/d2m/converters/rlottie-wasm.wasm diff --git a/d2m/converters/thread-to-announcement.js b/src/d2m/converters/thread-to-announcement.js similarity index 100% rename from d2m/converters/thread-to-announcement.js rename to src/d2m/converters/thread-to-announcement.js diff --git a/d2m/converters/thread-to-announcement.test.js b/src/d2m/converters/thread-to-announcement.test.js similarity index 100% rename from d2m/converters/thread-to-announcement.test.js rename to src/d2m/converters/thread-to-announcement.test.js diff --git a/d2m/converters/user-to-mxid.js b/src/d2m/converters/user-to-mxid.js similarity index 100% rename from d2m/converters/user-to-mxid.js rename to src/d2m/converters/user-to-mxid.js diff --git a/d2m/converters/user-to-mxid.test.js b/src/d2m/converters/user-to-mxid.test.js similarity index 100% rename from d2m/converters/user-to-mxid.test.js rename to src/d2m/converters/user-to-mxid.test.js diff --git a/d2m/discord-client.js b/src/d2m/discord-client.js similarity index 100% rename from d2m/discord-client.js rename to src/d2m/discord-client.js diff --git a/d2m/discord-packets.js b/src/d2m/discord-packets.js similarity index 100% rename from d2m/discord-packets.js rename to src/d2m/discord-packets.js diff --git a/d2m/event-dispatcher.js b/src/d2m/event-dispatcher.js similarity index 100% rename from d2m/event-dispatcher.js rename to src/d2m/event-dispatcher.js diff --git a/db/migrate.js b/src/db/migrate.js similarity index 100% rename from db/migrate.js rename to src/db/migrate.js diff --git a/db/migrations/.baby b/src/db/migrations/.baby similarity index 100% rename from db/migrations/.baby rename to src/db/migrations/.baby diff --git a/db/migrations/0001-schema.sql b/src/db/migrations/0001-schema.sql similarity index 100% rename from db/migrations/0001-schema.sql rename to src/db/migrations/0001-schema.sql diff --git a/db/migrations/0002-optimise-profile-content.sql b/src/db/migrations/0002-optimise-profile-content.sql similarity index 100% rename from db/migrations/0002-optimise-profile-content.sql rename to src/db/migrations/0002-optimise-profile-content.sql diff --git a/db/migrations/0002-optimise-profile-content.up.js b/src/db/migrations/0002-optimise-profile-content.up.js similarity index 100% rename from db/migrations/0002-optimise-profile-content.up.js rename to src/db/migrations/0002-optimise-profile-content.up.js diff --git a/db/migrations/0003-distinguish-column-names.sql b/src/db/migrations/0003-distinguish-column-names.sql similarity index 100% rename from db/migrations/0003-distinguish-column-names.sql rename to src/db/migrations/0003-distinguish-column-names.sql diff --git a/db/migrations/0004-auto-emoji-guild.sql b/src/db/migrations/0004-auto-emoji-guild.sql similarity index 100% rename from db/migrations/0004-auto-emoji-guild.sql rename to src/db/migrations/0004-auto-emoji-guild.sql diff --git a/db/migrations/0005-clear-member-cache.sql b/src/db/migrations/0005-clear-member-cache.sql similarity index 100% rename from db/migrations/0005-clear-member-cache.sql rename to src/db/migrations/0005-clear-member-cache.sql diff --git a/db/migrations/0006-add-privacy-to-space.sql b/src/db/migrations/0006-add-privacy-to-space.sql similarity index 100% rename from db/migrations/0006-add-privacy-to-space.sql rename to src/db/migrations/0006-add-privacy-to-space.sql diff --git a/db/migrations/0007-split-part-and-reaction-part.sql b/src/db/migrations/0007-split-part-and-reaction-part.sql similarity index 100% rename from db/migrations/0007-split-part-and-reaction-part.sql rename to src/db/migrations/0007-split-part-and-reaction-part.sql diff --git a/db/migrations/0008-add-last-bridged-pin-timestamp.sql b/src/db/migrations/0008-add-last-bridged-pin-timestamp.sql similarity index 100% rename from db/migrations/0008-add-last-bridged-pin-timestamp.sql rename to src/db/migrations/0008-add-last-bridged-pin-timestamp.sql diff --git a/db/migrations/0009-add-speedbump-id.sql b/src/db/migrations/0009-add-speedbump-id.sql similarity index 100% rename from db/migrations/0009-add-speedbump-id.sql rename to src/db/migrations/0009-add-speedbump-id.sql diff --git a/db/migrations/0010-add-sim-proxy.sql b/src/db/migrations/0010-add-sim-proxy.sql similarity index 100% rename from db/migrations/0010-add-sim-proxy.sql rename to src/db/migrations/0010-add-sim-proxy.sql diff --git a/db/migrations/0011-move-bridge-bot-to-real-id.up.js b/src/db/migrations/0011-move-bridge-bot-to-real-id.up.js similarity index 100% rename from db/migrations/0011-move-bridge-bot-to-real-id.up.js rename to src/db/migrations/0011-move-bridge-bot-to-real-id.up.js diff --git a/db/migrations/0012-add-member-power.sql b/src/db/migrations/0012-add-member-power.sql similarity index 100% rename from db/migrations/0012-add-member-power.sql rename to src/db/migrations/0012-add-member-power.sql diff --git a/db/orm-defs.d.ts b/src/db/orm-defs.d.ts similarity index 100% rename from db/orm-defs.d.ts rename to src/db/orm-defs.d.ts diff --git a/db/orm-defs.js b/src/db/orm-defs.js similarity index 100% rename from db/orm-defs.js rename to src/db/orm-defs.js diff --git a/db/orm.js b/src/db/orm.js similarity index 100% rename from db/orm.js rename to src/db/orm.js diff --git a/db/orm.test.js b/src/db/orm.test.js similarity index 100% rename from db/orm.test.js rename to src/db/orm.test.js diff --git a/discord/discord-command-handler.js b/src/discord/discord-command-handler.js similarity index 100% rename from discord/discord-command-handler.js rename to src/discord/discord-command-handler.js diff --git a/discord/interactions/bridge.js b/src/discord/interactions/bridge.js similarity index 100% rename from discord/interactions/bridge.js rename to src/discord/interactions/bridge.js diff --git a/discord/interactions/invite.js b/src/discord/interactions/invite.js similarity index 100% rename from discord/interactions/invite.js rename to src/discord/interactions/invite.js diff --git a/discord/interactions/matrix-info.js b/src/discord/interactions/matrix-info.js similarity index 100% rename from discord/interactions/matrix-info.js rename to src/discord/interactions/matrix-info.js diff --git a/discord/interactions/permissions.js b/src/discord/interactions/permissions.js similarity index 100% rename from discord/interactions/permissions.js rename to src/discord/interactions/permissions.js diff --git a/discord/interactions/reactions.js b/src/discord/interactions/reactions.js similarity index 100% rename from discord/interactions/reactions.js rename to src/discord/interactions/reactions.js diff --git a/discord/register-interactions.js b/src/discord/register-interactions.js similarity index 100% rename from discord/register-interactions.js rename to src/discord/register-interactions.js diff --git a/discord/utils.js b/src/discord/utils.js similarity index 100% rename from discord/utils.js rename to src/discord/utils.js diff --git a/discord/utils.test.js b/src/discord/utils.test.js similarity index 100% rename from discord/utils.test.js rename to src/discord/utils.test.js diff --git a/m2d/actions/add-reaction.js b/src/m2d/actions/add-reaction.js similarity index 100% rename from m2d/actions/add-reaction.js rename to src/m2d/actions/add-reaction.js diff --git a/m2d/actions/channel-webhook.js b/src/m2d/actions/channel-webhook.js similarity index 100% rename from m2d/actions/channel-webhook.js rename to src/m2d/actions/channel-webhook.js diff --git a/m2d/actions/emoji-sheet.js b/src/m2d/actions/emoji-sheet.js similarity index 100% rename from m2d/actions/emoji-sheet.js rename to src/m2d/actions/emoji-sheet.js diff --git a/m2d/actions/redact.js b/src/m2d/actions/redact.js similarity index 100% rename from m2d/actions/redact.js rename to src/m2d/actions/redact.js diff --git a/m2d/actions/send-event.js b/src/m2d/actions/send-event.js similarity index 100% rename from m2d/actions/send-event.js rename to src/m2d/actions/send-event.js diff --git a/m2d/converters/emoji-sheet.js b/src/m2d/converters/emoji-sheet.js similarity index 100% rename from m2d/converters/emoji-sheet.js rename to src/m2d/converters/emoji-sheet.js diff --git a/m2d/converters/emoji-sheet.test.js b/src/m2d/converters/emoji-sheet.test.js similarity index 100% rename from m2d/converters/emoji-sheet.test.js rename to src/m2d/converters/emoji-sheet.test.js diff --git a/m2d/converters/emoji.js b/src/m2d/converters/emoji.js similarity index 100% rename from m2d/converters/emoji.js rename to src/m2d/converters/emoji.js diff --git a/m2d/converters/event-to-message.js b/src/m2d/converters/event-to-message.js similarity index 100% rename from m2d/converters/event-to-message.js rename to src/m2d/converters/event-to-message.js diff --git a/m2d/converters/event-to-message.test.js b/src/m2d/converters/event-to-message.test.js similarity index 100% rename from m2d/converters/event-to-message.test.js rename to src/m2d/converters/event-to-message.test.js diff --git a/m2d/converters/utils.js b/src/m2d/converters/utils.js similarity index 100% rename from m2d/converters/utils.js rename to src/m2d/converters/utils.js diff --git a/m2d/converters/utils.test.js b/src/m2d/converters/utils.test.js similarity index 100% rename from m2d/converters/utils.test.js rename to src/m2d/converters/utils.test.js diff --git a/m2d/event-dispatcher.js b/src/m2d/event-dispatcher.js similarity index 100% rename from m2d/event-dispatcher.js rename to src/m2d/event-dispatcher.js diff --git a/matrix/api.js b/src/matrix/api.js similarity index 100% rename from matrix/api.js rename to src/matrix/api.js diff --git a/matrix/api.test.js b/src/matrix/api.test.js similarity index 100% rename from matrix/api.test.js rename to src/matrix/api.test.js diff --git a/matrix/appservice.js b/src/matrix/appservice.js similarity index 100% rename from matrix/appservice.js rename to src/matrix/appservice.js diff --git a/matrix/file.js b/src/matrix/file.js similarity index 100% rename from matrix/file.js rename to src/matrix/file.js diff --git a/matrix/file.test.js b/src/matrix/file.test.js similarity index 100% rename from matrix/file.test.js rename to src/matrix/file.test.js diff --git a/matrix/kstate.js b/src/matrix/kstate.js similarity index 100% rename from matrix/kstate.js rename to src/matrix/kstate.js diff --git a/matrix/kstate.test.js b/src/matrix/kstate.test.js similarity index 100% rename from matrix/kstate.test.js rename to src/matrix/kstate.test.js diff --git a/matrix/matrix-command-handler.js b/src/matrix/matrix-command-handler.js similarity index 100% rename from matrix/matrix-command-handler.js rename to src/matrix/matrix-command-handler.js diff --git a/matrix/mreq.js b/src/matrix/mreq.js similarity index 100% rename from matrix/mreq.js rename to src/matrix/mreq.js diff --git a/matrix/power.js b/src/matrix/power.js similarity index 100% rename from matrix/power.js rename to src/matrix/power.js diff --git a/matrix/power.test.js b/src/matrix/power.test.js similarity index 100% rename from matrix/power.test.js rename to src/matrix/power.test.js diff --git a/matrix/read-registration.js b/src/matrix/read-registration.js similarity index 100% rename from matrix/read-registration.js rename to src/matrix/read-registration.js diff --git a/matrix/read-registration.test.js b/src/matrix/read-registration.test.js similarity index 100% rename from matrix/read-registration.test.js rename to src/matrix/read-registration.test.js diff --git a/matrix/txnid.js b/src/matrix/txnid.js similarity index 100% rename from matrix/txnid.js rename to src/matrix/txnid.js diff --git a/matrix/txnid.test.js b/src/matrix/txnid.test.js similarity index 100% rename from matrix/txnid.test.js rename to src/matrix/txnid.test.js diff --git a/passthrough.js b/src/passthrough.js similarity index 100% rename from passthrough.js rename to src/passthrough.js diff --git a/stdin.js b/src/stdin.js similarity index 100% rename from stdin.js rename to src/stdin.js diff --git a/types.d.ts b/src/types.d.ts similarity index 100% rename from types.d.ts rename to src/types.d.ts diff --git a/types.js b/src/types.js similarity index 100% rename from types.js rename to src/types.js