91a3cb03c1
mkdir apps/web/scripts
mv scripts/{cleanup.sh,ci_package.sh,copy-res.ts,deploy.py,package.sh} apps/web/scripts
And a couple of gitignore tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
17 lines
506 B
TypeScript
17 lines
506 B
TypeScript
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2017 Vector Creations Ltd
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
|
Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
import { IndexedDBStoreWorker } from "matrix-js-sdk/src/indexeddb-worker";
|
|
|
|
const ctx: Worker = self as any;
|
|
|
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
const remoteWorker = new IndexedDBStoreWorker(ctx.postMessage);
|
|
|
|
ctx.onmessage = remoteWorker.onMessage;
|