full diff

fyi.opensocial.listDrafts

From
bafyreid2jvinjczepom5mxpq4cwzaiors3l5kgrauaytlq4hdoqnm327i4 indexed 2026-10-16 15:02 UTC View this version
To
bafyreigykuzebj5iptwbesmpsswiaku5p34vpwzop7dqw4l63enaeracze indexed 2026-10-17 05:44 UTC View this version

Compatibility

breaking 3 breaking changes, 11 non-breaking changes.

Breaking changes (3)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "fyi.opensocial.listDrafts#draftFile", src: "fyi.opensocial.listDrafts#draftFile", tgt: "fyi.opensocial.listDrafts#draftFile.n", kind: "prop", name: Some("n") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "fyi.opensocial.listDrafts#draftFile", src: "fyi.opensocial.listDrafts#draftFile", tgt: "fyi.opensocial.listDrafts#draftFile.size", kind: "prop", name: Some("size") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "fyi.opensocial.listDrafts#draftFile", src: "fyi.opensocial.listDrafts#draftFile", tgt: "fyi.opensocial.listDrafts#draftFile.type", kind: "prop", name: Some("type") }
Non-breaking changes (11)
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile.alt" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile.n" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile.size" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile.type" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftView.files" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftView.files:items" }
  • AddedEdge AddedEdge { src: "fyi.opensocial.listDrafts#draftFile", tgt: "fyi.opensocial.listDrafts#draftFile.alt", kind: "prop", name: Some("alt") }
  • AddedEdge AddedEdge { src: "fyi.opensocial.listDrafts#draftView", tgt: "fyi.opensocial.listDrafts#draftView.files", kind: "prop", name: Some("files") }
  • AddedEdge AddedEdge { src: "fyi.opensocial.listDrafts#draftView.files", tgt: "fyi.opensocial.listDrafts#draftView.files:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "fyi.opensocial.listDrafts#draftView.files:items", tgt: "fyi.opensocial.listDrafts#draftFile", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile" }
  • AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile.alt" }
  • AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile.n" }
  • AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile.size" }
  • AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftFile.type" }
  • AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftView.files" }
  • AddedVertex { vertex_id: "fyi.opensocial.listDrafts#draftView.files:items" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "fyi.opensocial.listDrafts#draftFile", src: "fyi.opensocial.listDrafts#draftFile", tgt: "fyi.opensocial.listDrafts#draftFile.n", kind: "prop", name: Some("n") }
  • Breaking: RequiredEdgeAdded { vertex_id: "fyi.opensocial.listDrafts#draftFile", src: "fyi.opensocial.listDrafts#draftFile", tgt: "fyi.opensocial.listDrafts#draftFile.size", kind: "prop", name: Some("size") }
  • Breaking: RequiredEdgeAdded { vertex_id: "fyi.opensocial.listDrafts#draftFile", src: "fyi.opensocial.listDrafts#draftFile", tgt: "fyi.opensocial.listDrafts#draftFile.type", kind: "prop", name: Some("type") }
  • Non-breaking: AddedEdge { src: "fyi.opensocial.listDrafts#draftFile", tgt: "fyi.opensocial.listDrafts#draftFile.alt", kind: "prop", name: Some("alt") }
  • Non-breaking: AddedEdge { src: "fyi.opensocial.listDrafts#draftView", tgt: "fyi.opensocial.listDrafts#draftView.files", kind: "prop", name: Some("files") }
  • Non-breaking: AddedEdge { src: "fyi.opensocial.listDrafts#draftView.files", tgt: "fyi.opensocial.listDrafts#draftView.files:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "fyi.opensocial.listDrafts#draftView.files:items", tgt: "fyi.opensocial.listDrafts#draftFile", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
4 "draftFile": {
5 "properties": {
6 "alt": {
7 "description": "What it shows, in words.",
8 "type": "string"
9 },
10 "n": {
11 "description": "Its number, from 1.",
12 "minimum": 1,
13 "type": "integer"
14 },
15 "size": {
16 "description": "How big it is, in bytes.",
17 "type": "integer"
18 },
19 "type": {
20 "description": "Its MIME type.",
21 "type": "string"
22 }
23 },
24 "required": [
25 "n",
26 "type",
27 "size"
28 ],
29 "type": "object"
30 },
431 "draftView": {
532 "properties": {
633 "asGroup": {
734 "description": "Added as the group, by whoever adds it and may.",
835 "type": "boolean"
936 },
1037 "by": {
1138 "description": "The AI app that left it, by the name it gave.",
1239 "type": "string"
1340 },
1441 "collection": {
1542 "format": "nsid",
1643 "type": "string"
1744 },
1845 "createdAt": {
1946 "format": "datetime",
2047 "type": "string"
2148 },
49 "files": {
50 "description": "The files it brings, in order: each read with getDraftFile, by its number.",
51 "items": {
52 "ref": "#draftFile",
53 "type": "ref"
54 },
55 "type": "array"
56 },
2257 "id": {
2358 "type": "string"
2459 },
2560 "page": {
2661 "description": "Its tab's page makes it into what it keeps.",
2762 "type": "boolean"
2863 },
2964 "record": {
3065 "type": "unknown"
3166 },
3267 "remove": {
3368 "description": "It removes that one, rather than changing it.",
3469 "type": "boolean"
3570 },
3671 "replaces": {
3772 "description": "The one it changes, or removes: the record's address, or, for its tab's page to change, as the page names one.",
3873 "type": "string"
3974 },
4075 "space": {
4176 "description": "The space it goes in, added.",
4277 "type": "string"
4378 },
4479 "tab": {
4580 "description": "Its tab's namespace.",
4681 "type": "string"
4782 },
4883 "title": {
4984 "type": "string"
5085 },
5186 "was": {
5287 "description": "What the one it changes or removes is called.",
5388 "type": "string"
5489 }
5590 },
5691 "required": [
5792 "id",
5893 "tab",
5994 "collection",
6095 "title",
6196 "record",
6297 "createdAt"
6398 ],
6499 "type": "object"
65100 },
66101 "main": {
67102 "description": "The drafts your assistant left for you in the group's tabs, waiting for you to add or let go: each with the space it goes in, added as you, or for its tab's page to make into what it keeps (page).",
68103 "output": {
69104 "encoding": "application/json",
70105 "schema": {
71106 "properties": {
72107 "drafts": {
73108 "items": {
74109 "ref": "#draftView",
75110 "type": "ref"
76111 },
77112 "type": "array"
78113 }
79114 },
80115 "required": [
81116 "drafts"
82117 ],
83118 "type": "object"
84119 }
85120 },
86121 "parameters": {
87122 "properties": {
88123 "group": {
89124 "format": "did",
90125 "type": "string"
91126 }
92127 },
93128 "required": [
94129 "group"
95130 ],
96131 "type": "params"
97132 },
98133 "type": "query"
99134 }
100135 },
101136 "id": "fyi.opensocial.listDrafts",
102137 "lexicon": 1
103138}

Compare other versions