+8
-5
atproto_api/lexicons/repo.json
+8
-5
atproto_api/lexicons/repo.json
···
12
"required": [
13
"name",
14
"knot",
15
-
"owner",
16
"createdAt"
17
],
18
"properties": {
19
"name": {
20
"type": "string",
21
"description": "name of the repo"
22
-
},
23
-
"owner": {
24
-
"type": "string",
25
-
"format": "did"
26
},
27
"knot": {
28
"type": "string",
···
41
"type": "string",
42
"format": "uri",
43
"description": "source of the repo"
44
},
45
"createdAt": {
46
"type": "string",
···
12
"required": [
13
"name",
14
"knot",
15
"createdAt"
16
],
17
"properties": {
18
"name": {
19
"type": "string",
20
"description": "name of the repo"
21
},
22
"knot": {
23
"type": "string",
···
36
"type": "string",
37
"format": "uri",
38
"description": "source of the repo"
39
+
},
40
+
"labels": {
41
+
"type": "array",
42
+
"description": "List of labels that this repo subscribes to",
43
+
"items": {
44
+
"type": "string",
45
+
"format": "at-uri"
46
+
}
47
},
48
"createdAt": {
49
"type": "string",
+3
-1
atproto_api/src/sh/tangled/repo.rs
+3
-1
atproto_api/src/sh/tangled/repo.rs
···
9
pub description: core::option::Option<String>,
10
///knot where the repo was created
11
pub knot: String,
12
///name of the repo
13
pub name: String,
14
-
pub owner: atrium_api::types::string::Did,
15
///source of the repo
16
#[serde(skip_serializing_if = "core::option::Option::is_none")]
17
pub source: core::option::Option<String>,
···
9
pub description: core::option::Option<String>,
10
///knot where the repo was created
11
pub knot: String,
12
+
///List of labels that this repo subscribes to
13
+
#[serde(skip_serializing_if = "core::option::Option::is_none")]
14
+
pub labels: core::option::Option<Vec<String>>,
15
///name of the repo
16
pub name: String,
17
///source of the repo
18
#[serde(skip_serializing_if = "core::option::Option::is_none")]
19
pub source: core::option::Option<String>,