Variable PublisherConst

Publisher: IntersectionC<[TypeC<{}>, PartialC<{
    account: IntersectionC<[TypeC<{
        id: StringC;
    }>, PartialC<{
        service: UrlFromStringC;
    }>]>;
    homepage: UrlFromStringC;
    id: StringC;
    logo: UrlFromStringC;
    name: StringC;
    url: UrlFromStringC;
}>]> = ...

The publisher of a docmap

Example

import { PublisherT, Publisher } from '@docmaps/sdk';
import { Validation } from 'io-ts';

const A: Validation<PublisherT> = Publisher.decode({
id: 'https://docmaps-project.github.io/ex/publisher',
logo: 'https://docmaps-project.github.io/ex/publisher/logo',
name: 'DocMaps',
homepage: 'https://docmaps-project.github.io/ex/publisher/homepage',
url: 'https://docmaps-project.github.io/ex/publisher/url',
account: {
id: 'https://docmaps-project.github.io/ex/onlineaccount',
service: 'https://docmaps-project.github.io/ex/onlineaccount/www'
}
});

Since

0.1.0

Generated using TypeDoc