Link bookmarking tool built on aproto (early alpha)
1import "@typelex/emitter";
2
3namespace ing.pinboard.pin.url {
4 @rec("tid")
5 model Main {
6 @doc("type of the pin")
7 @readOnly type?: string = "url";
8
9 @doc("title of the pin")
10 @required
11 title: string;
12
13 @doc("description of the pin")
14 @minGraphemes(1)
15 @maxGraphemes(140)
16 @required
17 description: string;
18
19 @doc("url of the pin")
20 @required
21 url: uri;
22
23 @required
24 createdAt: datetime;
25 }
26}