(feat): migrate ttp to mtp
(wip): crypto migration
This commit is contained in:
parent
4e69b8ef77
commit
930663d495
30 changed files with 559 additions and 749 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { z } from "zod";
|
||||
import { mtp } from "@tensamin/shared/data";
|
||||
|
||||
export type RawMessages = z.infer<typeof mtp.messages_get.response>["messages"];
|
||||
export type RawMessages = z.infer<typeof mtp.MessagesGet.response>["Messages"];
|
||||
|
||||
export type RawMessage = RawMessages[number];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue