mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-14 03:12:30 -04:00
* finally * should be working? * fix types * fix types * Wouldn't it be nice if Metro would just work * idk * try harder Metro * potentially fix bundling issues * idk, maybe fix it? * fix metro * update podfile.lock * bruh * bruhz * tailwind is drunk again --------- Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
48 lines
1.3 KiB
TypeScript
48 lines
1.3 KiB
TypeScript
// import { queryClient, rspcClient } from './utils/rspc';
|
|
|
|
// function test(fn: () => Promise<void>) {
|
|
// return async () => {
|
|
// await fn();
|
|
// queryClient.invalidateQueries();
|
|
// };
|
|
// }
|
|
|
|
// const wait = (ms: number) => new Promise((res) => setTimeout(res, ms));
|
|
|
|
// export const tests = {
|
|
// three: {
|
|
// name: 'Three',
|
|
// run: test(async () => {
|
|
// const [db1, db2, db3] = await Promise.all([
|
|
// rspcClient.mutation(['createDatabase', ' ']),
|
|
// rspcClient.mutation(['createDatabase', ' ']),
|
|
// rspcClient.mutation(['createDatabase', ' '])
|
|
// ]);
|
|
|
|
// const dbs = await rspcClient.query(['dbs', 'cringe']);
|
|
|
|
// for (const db of dbs) {
|
|
// await rspcClient.mutation(['file_path.create', db]);
|
|
// }
|
|
|
|
// for (const db of dbs) {
|
|
// await rspcClient.mutation(['pullOperations', db]);
|
|
// }
|
|
|
|
// await rspcClient.mutation(['file_path.create', dbs[0]]);
|
|
// await rspcClient.mutation(['file_path.create', dbs[0]]);
|
|
|
|
// for (const db of dbs) {
|
|
// await rspcClient.mutation(['pullOperations', db]);
|
|
// }
|
|
|
|
// await rspcClient.mutation(['pullOperations', dbs[1]]);
|
|
// await rspcClient.mutation(['pullOperations', dbs[1]]);
|
|
// await rspcClient.mutation(['pullOperations', dbs[1]]);
|
|
// await rspcClient.mutation(['pullOperations', dbs[1]]);
|
|
// })
|
|
// }
|
|
// };
|
|
|
|
export {};
|