Skip to content

Commit 1043e41

Browse files
committed
Merge branch 'preview'
2 parents 1fbdc9c + 0c98b3d commit 1043e41

File tree

33 files changed

+1557
-36
lines changed

33 files changed

+1557
-36
lines changed

lexicons/frontpage/post.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"lexicon": 1,
3+
"id": "fyi.unravel.frontpage.post",
4+
"defs": {
5+
"main": {
6+
"type": "record",
7+
"description": "Record containing a Frontpage post.",
8+
"key": "tid",
9+
"record": {
10+
"type": "object",
11+
"required": ["title", "url", "createdAt"],
12+
"properties": {
13+
"title": {
14+
"type": "string",
15+
"maxLength": 3000,
16+
"maxGraphemes": 300,
17+
"description": "The title of the post."
18+
},
19+
"url": {
20+
"type": "string",
21+
"format": "uri",
22+
"description": "The URL of the post."
23+
},
24+
"createdAt": {
25+
"type": "string",
26+
"format": "datetime",
27+
"description": "Client-declared timestamp when this post was originally created."
28+
}
29+
}
30+
}
31+
}
32+
}
33+
}

lexicons/linkat/board.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"lexicon": 1,
3+
"id": "blue.linkat.board",
4+
"defs": {
5+
"main": {
6+
"type": "record",
7+
"description": "Record containing a cards of your profile.",
8+
"key": "literal:self",
9+
"record": {
10+
"type": "object",
11+
"required": ["cards"],
12+
"properties": {
13+
"cards": {
14+
"type": "array",
15+
"description": "List of cards in the board.",
16+
"items": {
17+
"type": "ref",
18+
"ref": "#card"
19+
}
20+
}
21+
}
22+
}
23+
},
24+
"card": {
25+
"type": "object",
26+
"properties": {
27+
"url": {
28+
"type": "string",
29+
"description": "URL of the link"
30+
},
31+
"text": {
32+
"type": "string",
33+
"description": "Text of the card"
34+
},
35+
"emoji": {
36+
"type": "string",
37+
"description": "Emoji of the card"
38+
}
39+
}
40+
}
41+
}
42+
}

lexicons/whiteWind/defs.json

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"lexicon": 1,
3+
"id": "com.whtwnd.blog.defs",
4+
"defs": {
5+
"blogEntry": {
6+
"type": "object",
7+
"required": ["content"],
8+
"properties": {
9+
"content": {
10+
"type": "string",
11+
"maxLength": 100000
12+
},
13+
"createdAt": {
14+
"type": "string",
15+
"format": "datetime"
16+
}
17+
}
18+
},
19+
"comment": {
20+
"type": "object",
21+
"required": ["content", "entryUri"],
22+
"properties": {
23+
"content": {
24+
"type": "string",
25+
"maxLength": 1000
26+
},
27+
"entryUri": {
28+
"type": "string",
29+
"format": "at-uri"
30+
}
31+
}
32+
},
33+
"ogp": {
34+
"type": "object",
35+
"required": ["url"],
36+
"properties": {
37+
"url": {
38+
"type": "string",
39+
"format": "uri"
40+
},
41+
"width": {
42+
"type": "integer"
43+
},
44+
"height": {
45+
"type": "integer"
46+
}
47+
}
48+
},
49+
"blobMetadata": {
50+
"type": "object",
51+
"required": ["blobref"],
52+
"properties": {
53+
"blobref": {
54+
"type": "blob",
55+
"accept": ["*/*"]
56+
},
57+
"name": {
58+
"type": "string"
59+
}
60+
}
61+
}
62+
}
63+
}

lexicons/whiteWind/entry.json

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"lexicon": 1,
3+
"id": "com.whtwnd.blog.entry",
4+
"defs": {
5+
"main": {
6+
"type": "record",
7+
"description": "A declaration of a post.",
8+
"key": "tid",
9+
"record": {
10+
"type": "object",
11+
"required": ["content"],
12+
"properties": {
13+
"content": {
14+
"type": "string",
15+
"maxLength": 100000
16+
},
17+
"createdAt": {
18+
"type": "string",
19+
"format": "datetime"
20+
},
21+
"title": {
22+
"type": "string",
23+
"maxLength": 1000
24+
},
25+
"ogp": {
26+
"type": "ref",
27+
"ref": "com.whtwnd.blog.defs#ogp"
28+
},
29+
"theme": {
30+
"type": "string",
31+
"enum": ["github-light"]
32+
},
33+
"blobs": {
34+
"type": "array",
35+
"items": {
36+
"type": "ref",
37+
"ref": "com.whtwnd.blog.defs#blobMetadata"
38+
}
39+
},
40+
"isDraft": {
41+
"type": "boolean",
42+
"description": "(DEPRECATED) Marks this entry as draft to tell AppViews not to show it to anyone except for the author"
43+
},
44+
"visibility": {
45+
"type": "string",
46+
"enum": ["public", "url", "author"],
47+
"default": "public",
48+
"description": "Tells the visibility of the article to AppView."
49+
}
50+
}
51+
}
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)