Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
Fix the layout of the empty threads page
Acho Arnold Ewina5b4a9ecc8af
diff --git a/web/app/components/MessageThread.vue b/web/app/components/MessageThread.vueindex 7b538520..17c3f624 100644--- a/web/app/components/MessageThread.vue+++ b/web/app/components/MessageThread.vue@@ -1,17 +1,39 @@<script setup lang="ts">import { useDisplay } from "vuetify";-import { mdiPlus } from "@mdi/js";+import {+ mdiPlus,+ mdiDownload,+ mdiCheckAll,+ mdiCheck,+ mdiAlert,+} from "@mdi/js";import { formatPhoneNumber } from "~/utils/filters";import type { MessageThread } from "~~/shared/types/message-thread";const { mdAndDown } = useDisplay();const threadsStore = useThreadsStore();const phonesStore = usePhonesStore();+const appStore = useAppStore();+const notificationsStore = useNotificationsStore();function getInitials(contact: string): string {const formatted = formatPhoneNumber(contact);return formatted.substring(0, 2);}++function threadDate(date: string): string {+ return new Date(date).toLocaleString(undefined, {+ month: "short",+ day: "numeric",+ });+}++function onInstallApp() {+ notificationsStore.addNotification({+ type: "info",+ message: "Downloading the httpSMS Android App",+ });+}</script><template>@@ -55,6 +77,30 @@ function getInitials(contact: string): string {New Message</v-btn></v-sheet>+ <div+ v-if="phonesStore.phones.length === 0 && !threadsStore.loadingThreads"+ class="px-4 text-center"+ >+ <p>+ Install the mobile app on your android phone to start sending messages.+ You can also+ <a+ href="https://discord.gg/kGk8HVqeEZ"+ target="_blank"+ class="text-decoration-none hover:text-decoration-underline"+ >message us on Discord</a+ >+ to help set things up.+ </p>+ <v-btn+ color="primary"+ :href="appStore.appData.appDownloadUrl"+ @click="onInstallApp"+ >+ <v-icon :icon="mdiDownload" />+ Install App+ </v-btn>+ </div><v-listv-if="!threadsStore.loadingThreads && threadsStore.threads.length > 0"class="pa-0"@@ -78,7 +124,44 @@ function getInitials(contact: string): string {<v-list-item-subtitle class="text-truncate" style="max-width: 250px">{{ thread.last_message_content }}</v-list-item-subtitle>+ <template #append>+ <div class="d-flex flex-column align-end">+ <span class="text-caption text-medium-emphasis">+ {{ threadDate(thread.order_timestamp) }}+ </span>+ <v-icon+ v-if="thread.status === 'expired'"+ color="warning"+ size="small"+ :icon="mdiAlert"+ />+ <v-icon+ v-else-if="thread.status === 'delivered'"+ color="primary"+ size="small"+ :icon="mdiCheckAll"+ />+ <v-icon+ v-else-if="thread.status === 'received'"+ color="success"+ size="small"+ :icon="mdiCheckAll"+ />+ <v-icon+ v-else-if="thread.status === 'sent'"+ size="small"+ :icon="mdiCheck"+ />+ <v-icon+ v-else-if="thread.status === 'failed'"+ color="error"+ size="small"+ :icon="mdiAlert"+ />+ </div>+ </template></v-list-item></v-list></div></template>+diff --git a/web/app/components/MessageThreadHeader.vue b/web/app/components/MessageThreadHeader.vueindex c62dcccc..58e22cbf 100644--- a/web/app/components/MessageThreadHeader.vue+++ b/web/app/components/MessageThreadHeader.vue@@ -83,7 +83,7 @@ async function logout() {<v-sheetclass="pa-4 d-flex":elevation="lgAndUp ? 0 : 2"- :color="lgAndUp ? 'grey-darken-4' : 'black'"+ color="black"><div :class="{ 'px-2': mdAndDown }"><v-toolbar-title>@@ -93,7 +93,7 @@ async function logout() {density="compact":disabled="owners.length === 0"placeholder="Phone Numbers"- :class="{ 'mb-n6': !phonesStore.owner }"+ :class="{ 'mb-n5': !phonesStore.owner }":items="owners":model-value="phonesStore.owner"@update:model-value="onOwnerChanged"diff --git a/web/app/layouts/default.vue b/web/app/layouts/default.vueindex 09a053cb..eb9a1a29 100644--- a/web/app/layouts/default.vue+++ b/web/app/layouts/default.vue@@ -110,6 +110,11 @@ function startPoller() {border-radius: 8px;}}+ .hover\:text-decoration-underline {+ &:hover {+ text-decoration: underline;+ }+ }code.hljs {font-size: 16px;}diff --git a/web/app/middleware/auth.ts b/web/app/middleware/auth.tsindex 6689b8cd..15bbecac 100644--- a/web/app/middleware/auth.ts+++ b/web/app/middleware/auth.ts@@ -2,7 +2,22 @@ import { useAuthStore } from "../stores/auth";export default defineNuxtRouteMiddleware(async (to: { path: string }) => {const authStore = useAuthStore();- await authStore.waitForAuthReady();++ if (!authStore.authStateChanged) {+ await new Promise<void>((resolve) => {+ const stop = watch(+ () => authStore.authStateChanged,+ (changed) => {+ if (changed) {+ stop();+ resolve();+ }+ },+ { immediate: true },+ );+ });+ }+if (authStore.authUser === null) {return navigateTo({ path: "/login", query: { to: to.path } });}diff --git a/web/app/middleware/guest.ts b/web/app/middleware/guest.tsindex bb77bd39..9082bb47 100644--- a/web/app/middleware/guest.ts+++ b/web/app/middleware/guest.ts@@ -1,6 +1,21 @@export default defineNuxtRouteMiddleware(async () => {const authStore = useAuthStore();- await authStore.waitForAuthReady();++ if (!authStore.authStateChanged) {+ await new Promise<void>((resolve) => {+ const stop = watch(+ () => authStore.authStateChanged,+ (changed) => {+ if (changed) {+ stop();+ resolve();+ }+ },+ { immediate: true },+ );+ });+ }+if (authStore.authUser !== null) {return navigateTo("/threads");}diff --git a/web/app/pages/threads/index.vue b/web/app/pages/threads/index.vueindex 16431cb4..06017d20 100644--- a/web/app/pages/threads/index.vue+++ b/web/app/pages/threads/index.vue@@ -21,22 +21,23 @@ onMounted(async () => {<template><VContainer fluid :class="{ 'fill-height': lgAndUp }">- <VRow v-if="lgAndUp" align="center" justify="center">- <div>+ <VRow v-if="lgAndUp" align="center" :class="{ 'fill-height': lgAndUp }" justify="center">+ <div :class="{ 'mt-n16': lgAndUp }"><VImgclass="mx-auto mb-4"+ :class="{ 'mt-n16': lgAndUp }"max-height="400"max-width="90%":src="'/img/person-texting.svg'"/><div class="text-center">- <h3 class="text-headline-medium mt-4">Select a Message</h3>- <p class="text-medium-emphasis">+ <h3 class="text-headline-medium mt-4 mb-0">Select a Message</h3>+ <p class="text-medium-emphasis mt-0">Don't hesitate to<ahref="https://discord.gg/kGk8HVqeEZ"target="_blank"- class="text-decoration-none"+ class="text-decoration-none hover:text-decoration-underline">message us on Discord</a>if you have any questionsdiff --git a/web/app/plugins/firebase.client.ts b/web/app/plugins/firebase.client.tsindex cafbdd41..fbfcb71b 100644--- a/web/app/plugins/firebase.client.ts+++ b/web/app/plugins/firebase.client.ts@@ -9,9 +9,7 @@ export default defineNuxtPlugin(() => {// Skip initialization if no API key is configuredif (!publicConfig.firebaseApiKey) {- console.warn(- "[firebase] No FIREBASE_API_KEY configured. Auth will not work.",- );+ console.warn("[firebase] No FIREBASE_API_KEY configured. Auth will not work.");// Resolve auth readiness so route middleware doesn't hang forever.useAuthStore().onAuthStateChanged(null);return;@@ -27,9 +25,8 @@ export default defineNuxtPlugin(() => {measurementId: publicConfig.firebaseMeasurementId,};- // Initialize Firebase (only once)- const app: FirebaseApp =- getApps().length === 0 ? initializeApp(firebaseConfig) : getApps()[0];+ // Initialise Firebase (only once)+ const app: FirebaseApp = getApps().length === 0 ? initializeApp(firebaseConfig) : getApps()[0]!;const auth = getAuth(app);// Listen for auth state changes and update the auth storediff --git a/web/app/stores/auth.ts b/web/app/stores/auth.tsindex 161324ee..805445fc 100644--- a/web/app/stores/auth.ts+++ b/web/app/stores/auth.ts@@ -14,27 +14,10 @@ export const useAuthStore = defineStore("auth", () => {const user = ref<User | null>(null);const { apiFetch } = useApi();- let resolveReady: (() => void) | null = null;- const authReady = new Promise<void>((resolve) => {- resolveReady = resolve;- });-- function markAuthReady() {- authStateChanged.value = true;- if (resolveReady) {- resolveReady();- resolveReady = null;- }- }-- function waitForAuthReady(): Promise<void> {- return authReady;- }-async function setAuthUserAction(newUser: AuthUser | null | undefined) {const userChanged = newUser?.id !== authUser.value?.id;authUser.value = newUser ?? null;- markAuthReady();+ authStateChanged.value = true;if (userChanged && newUser !== null) {await Promise.all([loadUser(), loadPhones()]);@@ -45,14 +28,14 @@ export const useAuthStore = defineStore("auth", () => {if (firebaseUser == null) {authUser.value = null;user.value = null;- markAuthReady();+ authStateChanged.value = true;setApiKey("");return;}setAuthHeader(await firebaseUser.getIdToken());const { uid, email, displayName } = firebaseUser;authUser.value = { id: uid, email, displayName };- markAuthReady();+ authStateChanged.value = true;}async function onIdTokenChanged(firebaseUser: any) {@@ -124,7 +107,6 @@ export const useAuthStore = defineStore("auth", () => {authStateChanged,authUser,user,- waitForAuthReady,setAuthUserAction,onAuthStateChanged,onIdTokenChanged,diff --git a/web/package.json b/web/package.jsonindex 3b971dee..bdd46fa6 100644--- a/web/package.json+++ b/web/package.json@@ -24,6 +24,7 @@"libphonenumber-js": "^1.13.3","moment": "^2.30.1","nuxt": "^4.4.6",+ "pinia": "^3.0.4","pusher-js": "^8.5.0","qrcode": "^1.5.4","sass": "^1.100.0",diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yamlindex 6af69a42..d803eac3 100644--- a/web/pnpm-lock.yaml+++ b/web/pnpm-lock.yaml@@ -44,6 +44,9 @@ importers:nuxt:specifier: ^4.4.6version: 4.4.6(@babel/[email protected](@babel/[email protected]))(@babel/[email protected](@babel/[email protected]))(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ pinia:+ specifier: ^3.0.4+ version: 3.0.4([email protected])pusher-js:specifier: ^8.5.0version: 8.5.0@@ -1158,48 +1161,56 @@ packages:engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]+ libc: [glibc]'@oxc-minify/[email protected]':resolution: {integrity: sha512-HGzqTov5sAzXyaNfRkQEpl0fRs+PrMYjT8b5jZAw8foQ/qnW+VMWgAr80Q+2j79T5nhXfboSF5SUgB8mcisgHw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]+ libc: [musl]'@oxc-minify/[email protected]':resolution: {integrity: sha512-zpUZ4pmbDBqaZmRYacxeLHUBxA3fs5K7hi1WSXRVMXC4OjWuVcLsNxeavenKF9i0YtP7Q5n2z12Rz7eEnNWoDA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ppc64]os: [linux]+ libc: [glibc]'@oxc-minify/[email protected]':resolution: {integrity: sha512-CYrC4tpW1wolbw/Fox+T0hxW92s1aG/WLi+htkk02JMiCHOWqGQKxUnm37lLiODKR/OwTYht3LB4xNrsS0RtCg==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]+ libc: [glibc]'@oxc-minify/[email protected]':resolution: {integrity: sha512-ZQNur0zujUjNYgjFF4mcNaeEKWuerY9XkaALYtBsHqNetkj55w0ZwCKYfYKLH2JAdyNF2LuS0s7VGgjXP9EvWA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]+ libc: [musl]'@oxc-minify/[email protected]':resolution: {integrity: sha512-tR8oiFSNpcS1mfGY1N3/Hy6TxP2wr5X9FFdn/y8GarN8ST/JMLY5SUiwPiU35NKiC69CDaAsLHXoIKUxK/r8Pw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [s390x]os: [linux]+ libc: [glibc]'@oxc-minify/[email protected]':resolution: {integrity: sha512-KodzbW12zmT/C/w4bGv2aWN7Q5+KVJKbNoAv5hooYeSujj8xSPGWl8pnyj7dJ9nd8j0CVjubEvHQ86rtzV99OA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]+ libc: [glibc]'@oxc-minify/[email protected]':resolution: {integrity: sha512-CNG3/hPE6MxdLikfLq5l0aZMvJ3W5AP1aoVjzQ1Itokv5sbfBcW0fp6Srn8mB86CyAqO9e7dbffZVOWBDVkhgw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]+ libc: [musl]'@oxc-minify/[email protected]':resolution: {integrity: sha512-UyfimTwMLitJ0+5i5fL9M9U4E+DcIQJpGZWbVxxD3Mp9f7CTyQBIHnS68VEGZe+KQL/Y3IIb3AJ7cZB+ICgTVQ==}@@ -1277,48 +1288,56 @@ packages:engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]+ libc: [glibc]'@oxc-parser/[email protected]':resolution: {integrity: sha512-vtPiwmfVTAXzaxDKsOXG+LwgRAA7WEnaeHzhS5z0GE89gAK18KSXnly7Z6saXXq6L3dVMyK44uoTI03zKxrpmw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]+ libc: [musl]'@oxc-parser/[email protected]':resolution: {integrity: sha512-8AW8L7w5cGHSdZPcyZX2yR0+GUODsT15rbRjfdD54rv6DMbtuEB19ysLOpKJlRGfH6UNYNpCHaU1uJWgTWf1/w==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ppc64]os: [linux]+ libc: [glibc]'@oxc-parser/[email protected]':resolution: {integrity: sha512-vvpjkjEOUsPcsYf8evE4MO3aGx9+3wodXEBOicGNnOwTuAik8eBONNkgSdhkGsAblQmfVHJyanRnpxglddTXIA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]+ libc: [glibc]'@oxc-parser/[email protected]':resolution: {integrity: sha512-AqmcNC3fClXX+fxQ6VGEN1667xVFiRBkY0CZmDMSiaeFUsv1+UkBPYYi48IUKcA9/ivvoKNRzQl2I4//kT9F/w==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]+ libc: [musl]'@oxc-parser/[email protected]':resolution: {integrity: sha512-7d3jOMKy7RSQCcDLIci+ySll2FgsOMl/GiRux4q2JNv0zg4EdhFISa9idvrdN/HEUIQQJNg6dmveUeJl2YErGA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [s390x]os: [linux]+ libc: [glibc]'@oxc-parser/[email protected]':resolution: {integrity: sha512-JHK/h95qVqVQ+ITER837kcTdwBDFpFaNnOTYGCP0zdUSX/mLKC7tXOoyrTb6vG7iRPwGlcgBil3v2IjYw1FqJA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]+ libc: [glibc]'@oxc-parser/[email protected]':resolution: {integrity: sha512-b2BO82O8azXAyf7EUgOPKu145nWypbNyk07HbU09fkzhm9lEA5oPvaN/M8Nlo7tOErVTa2WOgS4QbOnxAPXdDQ==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]+ libc: [musl]'@oxc-parser/[email protected]':resolution: {integrity: sha512-GHO9glZaX7LkX/OGfluEPf1yjg+ehiFbUdowbX6uNWOQhmwKWU4m4+nZ9FJkrHNKuxyI1KKertMdGjVKCApKWA==}@@ -1399,48 +1418,56 @@ packages:engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]+ libc: [glibc]'@oxc-transform/[email protected]':resolution: {integrity: sha512-cW0Ab1s0sxfiyP1+gdd94f0vUjwGzJF4F3DepF3VnR9nFTGMmFLugwtrBS3DYjTnbugiUH3Fp+16yys1FhNzIA==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [arm64]os: [linux]+ libc: [musl]'@oxc-transform/[email protected]':resolution: {integrity: sha512-wunAU/lzE1nPGKL47uI0g+4Nsv/12xveOXNu4M70xe85kNBm7mQdMpZIeoVYCxtXew0iHxFKJDT6qK5mYFSA3w==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [ppc64]os: [linux]+ libc: [glibc]'@oxc-transform/[email protected]':resolution: {integrity: sha512-r4sMt4OB4TryDcVWW9KnsXOf/ea7tIGX2QASNrpetzPocsBZqhHIFDbZ8EkBDjmlmWGHg6BgjVx6lLcMXX4Dcw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]+ libc: [glibc]'@oxc-transform/[email protected]':resolution: {integrity: sha512-/rLVLItsBjKrnZFLiGrwRB3fs0dAjXZLqY7F42omvacFJjZsceQ3481oQX1bBs3RwoDDyDy/9ZkIN7kYIkv5Gw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [riscv64]os: [linux]+ libc: [musl]'@oxc-transform/[email protected]':resolution: {integrity: sha512-fUprJgJauI1A7e7cDgY/Z3mwLVtE3aswB4lvS96KpRNDHrwOh8bnCJOWf+0CYveDQzghDVFiZWVDo56pO4Wr9Q==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [s390x]os: [linux]+ libc: [glibc]'@oxc-transform/[email protected]':resolution: {integrity: sha512-XdbvDT1GPNxrTLXSRt4RU2uCH112q3nINTT05DZqTYYcAxaCPImnMoZe2TlBv5j2376Gk+2pcVnJs6xut47aSw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]+ libc: [glibc]'@oxc-transform/[email protected]':resolution: {integrity: sha512-Du2CxlBfC98EV3hOAmLVSUgP0JgqM9F47lRv9v43T4sGPcQVOjs9wffUybGUUraG9unmBZ4dgpMAqlCq0k3dGw==}engines: {node: ^20.19.0 || >=22.12.0}cpu: [x64]os: [linux]+ libc: [musl]'@oxc-transform/[email protected]':resolution: {integrity: sha512-wTj2FkOgNhgdisnA0a15QQksyj6AH2snmpgYgAtj098i477x5LpHHdqfuk60jsA/QHSjmUc6dm4P88yI5GY4xA==}@@ -1500,36 +1527,42 @@ packages:engines: {node: '>= 10.0.0'}cpu: [arm]os: [linux]+ libc: [glibc]'@parcel/[email protected]':resolution: {integrity: sha512-Ve3gUCG57nuUUSyjBq/MAM0CzArtuIOxsBdQ+ftz6ho8n7s1i9E1Nmk/xmP323r2YL0SONs1EuwqBp2u1k5fxg==}engines: {node: '>= 10.0.0'}cpu: [arm]os: [linux]+ libc: [musl]'@parcel/[email protected]':resolution: {integrity: sha512-f2g/DT3NhGPdBmMWYoxixqYr3v/UXcmLOYy16Bx0TM20Tchduwr4EaCbmxh1321TABqPGDpS8D/ggOTaljijOA==}engines: {node: '>= 10.0.0'}cpu: [arm64]os: [linux]+ libc: [glibc]'@parcel/[email protected]':resolution: {integrity: sha512-qb6naMDGlbCwdhLj6hgoVKJl2odL34z2sqkC7Z6kzir8b5W65WYDpLB6R06KabvZdgoHI/zxke4b3zR0wAbDTA==}engines: {node: '>= 10.0.0'}cpu: [arm64]os: [linux]+ libc: [musl]'@parcel/[email protected]':resolution: {integrity: sha512-kbT5wvNQlx7NaGjzPFu8nVIW1rWqV780O7ZtkjuWaPUgpv2NMFpjYERVi0UYj1msZNyCzGlaCWEtzc+exjMGbQ==}engines: {node: '>= 10.0.0'}cpu: [x64]os: [linux]+ libc: [glibc]'@parcel/[email protected]':resolution: {integrity: sha512-1JRFeC+h7RdXwldHzTsmdtYR/Ku8SylLgTU/reMuqdVD7CtLwf0VR1FqeprZ0eHQkO0vqsbvFLXUmYm/uNKJBg==}engines: {node: '>= 10.0.0'}cpu: [x64]os: [linux]+ libc: [musl]'@parcel/[email protected]':resolution: {integrity: sha512-byAiBZ1t3tXQvc8dMD/eoyE7lTXYorhn+6uVW5AC+JGI1KtJC/LvDche5cfUE+qiefH+Ybq0bUCJU0aB1cSHUA==}@@ -1719,66 +1752,79 @@ packages:resolution: {integrity: sha512-EIPRXTVQpHyF8WOo219AD2yEltPehLTcTMz2fn6JsatLYSzQf00hj3rulF+yauOlF9/FtM2WpkT/hJh/KJFGhA==}cpu: [arm]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-J3Yh9PzzF1Ovah2At+lHiGQdsYgArxBbXv/zHfSyaiFQEqvNv7DcW98pCrmdjCZBrqBiKrKKe2V+aaSGWuBe/w==}cpu: [arm]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-BFDEZMYfUvLn37ONE1yMBojPxnMlTFsdyNoqncT0qFq1mAfllL+ATMMJd8TeuVMiX84s1KbcxcZbXInmcO2mRg==}cpu: [arm64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-pc9EYOSlOgdQ2uPl1o9PF6/kLSgaUosia7gOuS8mB69IxJvlclko1MECXysjs5ryez1/5zjYqx3+xYU0TU6R1A==}cpu: [arm64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-NxnomyxYerDh5n4iLrNa+sH+Z+U4BMEE46V2PgQ/hoB909i8gV1M5wPojWg9fk1jWpO3IQnOs20K4wyZuFLEFQ==}cpu: [loong64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-nbJnQ8a3z1mtmrwImCYhc6BGpThAyYVRQxw9uKSKG4wR6aAYno9sVjJ0zaZcW9BPJX1GbrDPf+SvdWjgTuDmnw==}cpu: [loong64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-2EU6acNrQLd8tYvo/LXW535wupT3m6fo7HKo6lr7ktQoItxTyOL1ZCR/GfGCuXl2vR+zmfI6eRXkSemafv+iVg==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-WeBtoMuaMxiiIrO2IYP3xs6GMWkJP2C0EoT8beTLkUPmzV1i/UcOSVw1d5r9KBODtHKilG5yFxsGRnBbK3wJ4A==}cpu: [ppc64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-FJHFfqpKUI3A10WrWKiFbBZ7yVbGT4q4B5o1qKFFojqpaYoh9LrQgqWCmmcxQzVSXYtyB5bzkXrYzlHTs21MYA==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-mcEl6CUT5IAUmQf1m9FYSmVqCJlpQ8r8eyftFUHG8i9OhY7BkBXSUdnLH5DOf0wCOjcP9v/QO93zpmF1SptCCw==}cpu: [riscv64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-ynt3JxVd2w2buzoKDWIyiV1pJW93xlQic1THVLXilz429oijRpSHivZAgp65KBu+cMcgf1eVVjdnTLvPxgCuoQ==}cpu: [s390x]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-Boiz5+MsaROEWDf+GGEwF8VMHGhlUoQMtIPjOgA5fv4osupqTVnJteQNKJwUcnUog2G55jYXH7KZFFiJe0TEzQ==}cpu: [x64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-+qfSY27qIrFfI/Hom04KYFw3GKZSGU4lXus51wsb5EuySfFlWRwjkKWoE9emgRw/ukoT4Udsj4W/+xxG8VbPKg==}cpu: [x64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-VpTfOPHgVXEBeeR8hZ2O0F3aSso+JDWqTWmTmzcQKted54IAdUVbxE+j/MVxUsKa8L20HJhv3vUezVPoquqWjA==}diff --git a/web/shared/types/message-thread.ts b/web/shared/types/message-thread.tsindex e334bc1f..fc5fd68f 100644--- a/web/shared/types/message-thread.ts+++ b/web/shared/types/message-thread.ts@@ -8,5 +8,6 @@ export interface MessageThread {is_archived: boolean;order_timestamp: string;owner: string;+ status: string;updated_at: string;}