Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Reference.Implementation

type Implementation = {
dataRoot: {
domain: (username: string) => string;
lookup: (username: string) => Promise<CID | null>;
update: (cid: CID, proof: Ucan) => Promise<{
success: boolean;
}
>
;
}
;
didRoot: {
lookup: (username: string) => Promise<string>;
}
;
dns: {
lookupDnsLink: (domain: string) => Promise<string | null>;
lookupTxtRecord: (domain: string) => Promise<string | null>;
}
;
repositories: {
cidLog: CIDLog.Repo;
ucans: Ucans.Repo;
}
;
}
;

§Type

§
{
dataRoot: {
domain: (username: string) => string;
lookup: (username: string) => Promise<CID | null>;
update: (cid: CID, proof: Ucan) => Promise<{
success: boolean;
}
>
;
}
;
didRoot: {
lookup: (username: string) => Promise<string>;
}
;
dns: {
lookupDnsLink: (domain: string) => Promise<string | null>;
lookupTxtRecord: (domain: string) => Promise<string | null>;
}
;
repositories: {
cidLog: CIDLog.Repo;
ucans: Ucans.Repo;
}
;
}
[src]