You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,6 +210,24 @@ const transactionSplit = {
210
210
};
211
211
```
212
212
213
+
### TransactionLink
214
+
215
+
Validates links between related transactions, such as transfers recorded in separate accounts.
216
+
217
+
```typescript
218
+
const transactionLink = {
219
+
id: string;
220
+
sourceTransactionId: string;
221
+
destinationTransactionId: string;
222
+
createdAt: string;
223
+
updatedAt: string|null;
224
+
deletedAt?:string|null;
225
+
version?:number;
226
+
};
227
+
```
228
+
229
+
Cross-transaction rules like matching dates, matching amounts, or opposite signs are not enforced by this schema and should be handled in application logic.
0 commit comments