(wip): migrate ttp to mtp
Some checks failed
/ build-web (push) Failing after 3m4s
/ build-desktop (linux) (push) Failing after 3m15s
/ build-mobile (push) Failing after 9m7s
/ release (push) Has been skipped

This commit is contained in:
Alois 2026-07-02 21:05:50 +02:00
commit 20018f09a9
163 changed files with 8342 additions and 2609 deletions

View file

@ -14,7 +14,7 @@
"build": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@tensamin/ttp": "workspace:*",
"@tensamin/mtp": "workspace:*",
"@tensamin/shared": "workspace:*",
"@tensamin/storage": "workspace:*",
"react": "^19.2.0",

View file

@ -1,7 +1,7 @@
import * as React from "react";
import { useTTP } from "@tensamin/ttp";
import { useMTP } from "@tensamin/mtp";
import { ttp as schemas } from "@tensamin/shared/data";
import { mtp as schemas } from "@tensamin/shared/data";
import type z from "zod";
export type User = z.infer<typeof schemas.get_user_data.response>;
@ -23,7 +23,7 @@ export default function UserProvider(props: { children: React.ReactNode }) {
{},
);
const { send } = useTTP();
const { send } = useMTP();
/**
* Executes get.