full diff

us.polhem.skywrite.widget

From
bafyreibchqmi62wpoim6ekan7ae46vu4eesafacsxkh7cs4svzyz22tdpu indexed 2026-11-22 14:47 UTC View this version
To
bafyreigmpxd3pscma5bkcu2a7mmzs4xn3psjxlofglnpcxp4pzkw324oda indexed 2026-11-23 16:55 UTC View this version

Compatibility

breaking 1 breaking change, 9 non-breaking changes.

Breaking changes (1)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "us.polhem.skywrite.widget#listFilter", src: "us.polhem.skywrite.widget#listFilter", tgt: "us.polhem.skywrite.widget#listFilter.field", kind: "prop", name: Some("field") }
Non-breaking changes (9)
  • AddedVertex AddedVertex { vertex_id: "us.polhem.skywrite.widget#collectionRecords.filters" }
  • AddedVertex AddedVertex { vertex_id: "us.polhem.skywrite.widget#collectionRecords.filters:items" }
  • AddedVertex AddedVertex { vertex_id: "us.polhem.skywrite.widget#listFilter" }
  • AddedVertex AddedVertex { vertex_id: "us.polhem.skywrite.widget#listFilter.field" }
  • AddedVertex AddedVertex { vertex_id: "us.polhem.skywrite.widget#listFilter.value" }
  • AddedEdge AddedEdge { src: "us.polhem.skywrite.widget#collectionRecords", tgt: "us.polhem.skywrite.widget#collectionRecords.filters", kind: "prop", name: Some("filters") }
  • AddedEdge AddedEdge { src: "us.polhem.skywrite.widget#collectionRecords.filters", tgt: "us.polhem.skywrite.widget#collectionRecords.filters:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "us.polhem.skywrite.widget#collectionRecords.filters:items", tgt: "us.polhem.skywrite.widget#listFilter", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "us.polhem.skywrite.widget#listFilter", tgt: "us.polhem.skywrite.widget#listFilter.value", kind: "prop", name: Some("value") }

Migration guidance

Added

  • AddedVertex { vertex_id: "us.polhem.skywrite.widget#collectionRecords.filters" }
  • AddedVertex { vertex_id: "us.polhem.skywrite.widget#collectionRecords.filters:items" }
  • AddedVertex { vertex_id: "us.polhem.skywrite.widget#listFilter" }
  • AddedVertex { vertex_id: "us.polhem.skywrite.widget#listFilter.field" }
  • AddedVertex { vertex_id: "us.polhem.skywrite.widget#listFilter.value" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "us.polhem.skywrite.widget#listFilter", src: "us.polhem.skywrite.widget#listFilter", tgt: "us.polhem.skywrite.widget#listFilter.field", kind: "prop", name: Some("field") }
  • Non-breaking: AddedEdge { src: "us.polhem.skywrite.widget#collectionRecords", tgt: "us.polhem.skywrite.widget#collectionRecords.filters", kind: "prop", name: Some("filters") }
  • Non-breaking: AddedEdge { src: "us.polhem.skywrite.widget#collectionRecords.filters", tgt: "us.polhem.skywrite.widget#collectionRecords.filters:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "us.polhem.skywrite.widget#collectionRecords.filters:items", tgt: "us.polhem.skywrite.widget#listFilter", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "us.polhem.skywrite.widget#listFilter", tgt: "us.polhem.skywrite.widget#listFilter.value", kind: "prop", name: Some("value") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "browseAccount": {
55 "description": "A box to open another account's repo, to look at its public records.",
66 "properties": {},
77 "type": "object"
88 },
99 "collectionRecords": {
1010 "description": "A list of records from one collection, in your repo or another account's, sorted as chosen.",
1111 "properties": {
1212 "collection": {
1313 "description": "The collection to list records from, such as app.bsky.feed.post.",
1414 "format": "nsid",
1515 "type": "string"
1616 },
1717 "descending": {
1818 "default": true,
1919 "description": "Whether the largest comes first: newest for dates, highest for numbers, Z to A for text. Records without the field always come last.",
2020 "type": "boolean"
2121 },
22 "filters": {
23 "description": "Show only records that match every filter. Absent: no filtering.",
24 "items": {
25 "ref": "#listFilter",
26 "type": "ref"
27 },
28 "maxLength": 8,
29 "type": "array"
30 },
2231 "limit": {
2332 "default": 5,
2433 "description": "How many records to show.",
2534 "maximum": 50,
2635 "minimum": 1,
2736 "type": "integer"
2837 },
2938 "repo": {
3039 "description": "The account whose records are listed, by handle or DID. Absent: the repo the dashboard is showing (yours, or the one being browsed).",
3140 "format": "at-identifier",
3241 "type": "string"
3342 },
3443 "sortBy": {
3544 "description": "A field of the records to sort by, or a path into one such as 'embed.external.uri'. Dates sort by time and numbers by value. Absent: by record key, which is time order for records keyed by time.",
3645 "maxGraphemes": 64,
3746 "maxLength": 640,
3847 "type": "string"
3948 }
4049 },
4150 "required": [
4251 "collection"
4352 ],
4453 "type": "object"
4554 },
55 "listFilter": {
56 "description": "Records whose field has a value, or has none.",
57 "properties": {
58 "field": {
59 "description": "A field of the records, or a path into one such as 'embed.$type'.",
60 "maxGraphemes": 64,
61 "maxLength": 640,
62 "type": "string"
63 },
64 "value": {
65 "description": "The value to match, written as JSON: \"news\", 3 or true. A list field matches when it has the value. Absent: records without the field.",
66 "maxLength": 1000,
67 "type": "string"
68 }
69 },
70 "required": [
71 "field"
72 ],
73 "type": "object"
74 },
4675 "main": {
4776 "description": "A box on Skywrite's dashboard: what it shows, and its settings. Skywrite's built-in widgets are records in skywrite.polhem.us's repo; widgets someone adds are records in their own repo. The dashboard in us.polhem.skywrite.settings places widgets by their AT URIs.",
4877 "key": "any",
4978 "record": {
5079 "properties": {
5180 "content": {
5281 "description": "What the box shows.",
5382 "refs": [
5483 "#quickCompose",
5584 "#recentDrafts",
5685 "#repoOverview",
5786 "#browseAccount",
5887 "#namespaceCollections",
5988 "#collectionRecords"
6089 ],
6190 "type": "union"
6291 },
6392 "name": {
6493 "description": "The box's heading. Absent: one made from its content, such as 'Quick Compose: Document'.",
6594 "maxGraphemes": 64,
6695 "maxLength": 640,
6796 "minLength": 1,
6897 "type": "string"
6998 }
7099 },
71100 "required": [
72101 "content"
73102 ],
74103 "type": "object"
75104 },
76105 "type": "record"
77106 },
78107 "namespaceCollections": {
79108 "description": "The repo's collections in a namespace, such as every bsky.app collection (app.bsky) or just app.bsky.feed, each with how many records it has.",
80109 "properties": {
81110 "namespace": {
82111 "description": "An NSID prefix, such as 'app.bsky' or 'app.bsky.feed'. Collections whose NSID is the prefix or starts with it and a dot are listed.",
83112 "maxLength": 317,
84113 "type": "string"
85114 }
86115 },
87116 "required": [
88117 "namespace"
89118 ],
90119 "type": "object"
91120 },
92121 "quickCompose": {
93122 "description": "A box to write a new record in, publish straight away or keep as a draft to finish in the editor. Only on your own dashboard.",
94123 "properties": {
95124 "collection": {
96125 "description": "The collection new records are written to, such as app.bsky.feed.post or site.standard.document.",
97126 "format": "nsid",
98127 "type": "string"
99128 }
100129 },
101130 "required": [
102131 "collection"
103132 ],
104133 "type": "object"
105134 },
106135 "recentDrafts": {
107136 "description": "The drafts saved on this device, most recently saved first unless sorted otherwise, to pick up again. Only on your own dashboard.",
108137 "properties": {
109138 "collection": {
110139 "description": "Only drafts in this collection. Absent: drafts in every collection.",
111140 "format": "nsid",
112141 "type": "string"
113142 },
114143 "descending": {
115144 "default": true,
116145 "description": "Whether the newest comes first.",
117146 "type": "boolean"
118147 },
119148 "limit": {
120149 "description": "How many drafts to show. Absent: all of them.",
121150 "maximum": 50,
122151 "minimum": 1,
123152 "type": "integer"
124153 },
125154 "sortBy": {
126155 "default": "updated",
127156 "description": "Which time to sort by: when the draft was last saved (updated), or when it was started (created).",
128157 "knownValues": [
129158 "updated",
130159 "created"
131160 ],
132161 "type": "string"
133162 }
134163 },
135164 "type": "object"
136165 },
137166 "repoOverview": {
138167 "description": "Every app in the repo, with how many collections each has, and your drafts.",
139168 "properties": {},
140169 "type": "object"
141170 }
142171 },
143172 "id": "us.polhem.skywrite.widget",
144173 "lexicon": 1
145174}

Compare other versions