···2828 },
2929 "description": "Payloads to compute for each found reference."
3030 },
3131- "sources": {
3232- "type": "array",
3333- "items": {
3434- "type": "string"
3535- },
3636- "description": "Record paths into the inner response restricting which references get payloads. All references are enriched when omitted."
3737- },
3831 "viewer": {
3932 "type": "string",
4033 "format": "did",
···6659 "description": "The xrpc parameter does not name a query this server can execute"
6760 },
6861 {
6969- "name": "InvalidSourcePath",
7070- "description": "A sources entry is not a valid record path"
6262+ "name": "InvalidTargetPath",
6363+ "description": "A targets entry is not a valid record path"
7164 },
7265 {
7366 "name": "InvalidLinkDescriptor",
···9386 "com.bad-example.identity.miniDoc"
9487 ],
9588 "description": "NSID of the payload type to produce, which also defines the payload's shape. Results land at data[ref][source][type]."
8989+ },
9090+ "targets": {
9191+ "type": "array",
9292+ "items": {
9393+ "type": "string"
9494+ },
9595+ "description": "Record paths into the inner response selecting references for this payload. All references are considered when omitted."
9696 }
9797 }
9898 }
···77 /*#__PURE__*/ v.literal("sh.tangled.query.enrichResponse#linkDescriptor"),
88 ),
99 /**
1010- * Link source: collection whose records are linked, a colon, then an index-backed path (subject or .repo).
1010+ * Collection whose records are linked, a colon, then an index-backed path (subject or .repo).
1111 */
1212 source: /*#__PURE__*/ v.string(),
1313+ /**
1414+ * Record paths into the inner response selecting references for this payload. All references are considered when omitted.
1515+ */
1616+ targets: /*#__PURE__*/ v.optional(
1717+ /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()),
1818+ ),
1319 /**
1420 * NSID of the payload type to produce, which also defines the payload's shape. Results land at data[ref][source][type].
1521 */
···3844 * Parameters for the inner query, exactly as it declares them.
3945 */
4046 params: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
4141- /**
4242- * Record paths into the inner response restricting which references get payloads. All references are enriched when omitted.
4343- */
4444- sources: /*#__PURE__*/ v.optional(
4545- /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()),
4646- ),
4747 /**
4848 * DID whose own relation to each reference is looked up for viewer payloads. Required when any descriptor requests one.
4949 */