Use my vendored jmap-client-ts

This allows me to modify the client in-place and get immediate feedback
that it's working.

There's likely a better way to do this. I'm not a node developer.
This commit is contained in:
Eli Ribble 2024-08-30 10:14:05 -07:00
parent 3aebdb471a
commit d8ee3d5f0f
5 changed files with 15 additions and 11 deletions

View file

@ -3,8 +3,8 @@
* None of the dependencies should leak, in types or otherwise
*/
import * as base64 from "base-64";
import * as jmapclient from "jmap-client-ts";
import { FetchTransport } from "jmap-client-ts/lib/utils/fetch-transport";
import * as jmapclient from "./jmap-client-ts/src";
import { FetchTransport } from "./jmap-client-ts/src/utils/fetch-transport";
import { IAccount, IEmail, IEmailStub, IMailbox, ISession } from "./types";

View file

@ -1,4 +1,4 @@
import client from "jmap-client-ts/lib/types";
import * as client from "./jmap-client-ts/src/types";
export interface IEmailStub {
from: Array<client.IEmailAddress> | null;