@m-ld/gateway
Version:
m-ld gateway for services
18 lines (17 loc) • 492 B
TypeScript
import { Subject } from '@m-ld/m-ld';
export interface SubdomainSpec {
readonly account: string;
readonly name: string;
readonly useSignatures?: boolean;
}
/**
* Details of a subdomain registered in the Gateway domain
*/
export declare class Subdomain implements SubdomainSpec {
static fromJSON(src: any): Subdomain;
readonly account: string;
readonly name: string;
readonly useSignatures: boolean;
constructor(spec: SubdomainSpec);
toJSON(): Subject;
}