Skip to content

Commit f19fdf8

Browse files
authored
Merge pull request #256 from JoinColony/feat/2214-edit-streams-using-motions
Feat: Edit streams using motions
2 parents 8a38896 + 8c2397d commit f19fdf8

18 files changed

+745
-123
lines changed

src/graphql/fragments/expenditures.graphql

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,36 @@ fragment ExpenditureSlot on ExpenditureSlot {
4040
networkFee
4141
}
4242
}
43+
44+
fragment StreamingPayment on StreamingPayment {
45+
id
46+
startTime
47+
endTime
48+
tokenAddress
49+
amount
50+
interval
51+
metadata {
52+
...StreamingPaymentMetadata
53+
}
54+
claims {
55+
amount
56+
timestamp
57+
}
58+
}
59+
60+
fragment StreamingPaymentMetadata on StreamingPaymentMetadata {
61+
id
62+
endCondition
63+
changelog {
64+
transactionHash
65+
oldEndCondition
66+
newEndCondition
67+
}
68+
}
69+
70+
fragment StreamingPaymentChanges on StreamingPaymentChanges {
71+
startTime
72+
endTime
73+
interval
74+
amount
75+
}

src/graphql/fragments/motions.graphql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ fragment ColonyMotion on ColonyMotion {
4949
}
5050
isDecision
5151
transactionHash
52+
streamingPaymentId
53+
pendingStreamingPaymentMetadataId
5254
}
5355

5456
fragment VoterRecord on VoterRecord {

0 commit comments

Comments
 (0)