fragment-dev 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fragment.schema.json +1253 -249
- data/lib/fragment_client/version.rb +1 -1
- data/lib/queries.graphql +252 -0
- metadata +2 -2
data/lib/queries.graphql
CHANGED
@@ -155,6 +155,7 @@ mutation ReverseLedgerEntry(
|
|
155
155
|
$id: ID!
|
156
156
|
) {
|
157
157
|
reverseLedgerEntry(id: $id) {
|
158
|
+
__typename
|
158
159
|
... on ReverseLedgerEntryResult {
|
159
160
|
reversingLedgerEntry {
|
160
161
|
ik
|
@@ -215,6 +216,7 @@ mutation MigrateLedgerEntry(
|
|
215
216
|
id: $id
|
216
217
|
newLedgerEntry: $newLedgerEntry
|
217
218
|
}) {
|
219
|
+
__typename
|
218
220
|
... on MigrateLedgerEntryResult {
|
219
221
|
reversingLedgerEntry {
|
220
222
|
ik
|
@@ -826,6 +828,23 @@ query GetLedgerAccountBalance(
|
|
826
828
|
}
|
827
829
|
}
|
828
830
|
|
831
|
+
query GetLedgerAccountBalanceWithChildRollup(
|
832
|
+
$path: String!
|
833
|
+
$ledgerIk: SafeString!
|
834
|
+
$balanceCurrency: CurrencyMatchInput
|
835
|
+
$balanceAt: LastMoment
|
836
|
+
) {
|
837
|
+
ledgerAccount(ledgerAccount: { ledger: { ik: $ledgerIk }, path: $path }) {
|
838
|
+
id
|
839
|
+
path
|
840
|
+
balance(
|
841
|
+
currency: $balanceCurrency
|
842
|
+
at: $balanceAt
|
843
|
+
)
|
844
|
+
}
|
845
|
+
}
|
846
|
+
|
847
|
+
|
829
848
|
query GetSchema($key: SafeString!, $version: Int) {
|
830
849
|
schema(schema: { key: $key, version: $version }) {
|
831
850
|
key
|
@@ -928,6 +947,239 @@ query ListLedgerEntryGroupBalances(
|
|
928
947
|
}
|
929
948
|
}
|
930
949
|
|
950
|
+
query GetEntryDataMigrations(
|
951
|
+
$ledgerIk: SafeString!
|
952
|
+
$filter: LedgerEntryDataMigrationsFilterSet
|
953
|
+
$after: String
|
954
|
+
$before: String
|
955
|
+
$first: Int
|
956
|
+
$last: Int
|
957
|
+
) {
|
958
|
+
ledger(ledger: { ik: $ledgerIk }) {
|
959
|
+
ledgerEntryDataMigrations(
|
960
|
+
first: $first
|
961
|
+
after: $after
|
962
|
+
before: $before
|
963
|
+
last: $last
|
964
|
+
filter: $filter
|
965
|
+
) {
|
966
|
+
nodes {
|
967
|
+
entryType
|
968
|
+
typeVersion
|
969
|
+
status
|
970
|
+
currentMigration {
|
971
|
+
schemaVersion
|
972
|
+
status
|
973
|
+
}
|
974
|
+
ledgerEntries {
|
975
|
+
nodes {
|
976
|
+
id
|
977
|
+
type
|
978
|
+
posted
|
979
|
+
parameters
|
980
|
+
}
|
981
|
+
pageInfo {
|
982
|
+
hasNextPage
|
983
|
+
endCursor
|
984
|
+
hasPreviousPage
|
985
|
+
startCursor
|
986
|
+
}
|
987
|
+
}
|
988
|
+
history {
|
989
|
+
nodes {
|
990
|
+
schemaVersion
|
991
|
+
status
|
992
|
+
}
|
993
|
+
pageInfo {
|
994
|
+
hasNextPage
|
995
|
+
endCursor
|
996
|
+
hasPreviousPage
|
997
|
+
startCursor
|
998
|
+
}
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
pageInfo {
|
1002
|
+
hasNextPage
|
1003
|
+
endCursor
|
1004
|
+
hasPreviousPage
|
1005
|
+
startCursor
|
1006
|
+
}
|
1007
|
+
}
|
1008
|
+
}
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
query GetEntriesToMigrateForLedgerEntryDataMigration(
|
1012
|
+
$ledgerIk: SafeString!
|
1013
|
+
$entryType: String!
|
1014
|
+
$typeVersion: String!
|
1015
|
+
$after: String
|
1016
|
+
$before: String
|
1017
|
+
$first: Int
|
1018
|
+
$last: Int
|
1019
|
+
) {
|
1020
|
+
ledger(ledger: { ik: $ledgerIk }) {
|
1021
|
+
ledgerEntryDataMigrations(
|
1022
|
+
filter: {
|
1023
|
+
entryType: {
|
1024
|
+
equalTo: $entryType
|
1025
|
+
}
|
1026
|
+
typeVersion: {
|
1027
|
+
equalTo: $typeVersion
|
1028
|
+
}
|
1029
|
+
}
|
1030
|
+
) {
|
1031
|
+
nodes {
|
1032
|
+
ledgerEntries(
|
1033
|
+
first: $first
|
1034
|
+
after: $after
|
1035
|
+
last: $last
|
1036
|
+
before: $before
|
1037
|
+
) {
|
1038
|
+
nodes {
|
1039
|
+
id
|
1040
|
+
ik
|
1041
|
+
type
|
1042
|
+
typeVersion
|
1043
|
+
description
|
1044
|
+
posted
|
1045
|
+
created
|
1046
|
+
parameters
|
1047
|
+
lines {
|
1048
|
+
nodes {
|
1049
|
+
id
|
1050
|
+
amount
|
1051
|
+
account {
|
1052
|
+
path
|
1053
|
+
}
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
}
|
1057
|
+
pageInfo {
|
1058
|
+
hasNextPage
|
1059
|
+
endCursor
|
1060
|
+
hasPreviousPage
|
1061
|
+
startCursor
|
1062
|
+
}
|
1063
|
+
}
|
1064
|
+
}
|
1065
|
+
}
|
1066
|
+
}
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
query GetAccountDataMigrations(
|
1070
|
+
$ledgerIk: SafeString!
|
1071
|
+
$filter: LedgerAccountDataMigrationsFilterSet
|
1072
|
+
$after: String
|
1073
|
+
$before: String
|
1074
|
+
$first: Int
|
1075
|
+
$last: Int
|
1076
|
+
) {
|
1077
|
+
ledger(ledger: { ik: $ledgerIk }) {
|
1078
|
+
ledgerAccountDataMigrations(
|
1079
|
+
first: $first
|
1080
|
+
after: $after
|
1081
|
+
before: $before
|
1082
|
+
last: $last
|
1083
|
+
filter: $filter
|
1084
|
+
) {
|
1085
|
+
nodes {
|
1086
|
+
accountPath
|
1087
|
+
status
|
1088
|
+
currentMigration {
|
1089
|
+
schemaVersion
|
1090
|
+
status
|
1091
|
+
}
|
1092
|
+
ledgerEntries {
|
1093
|
+
nodes {
|
1094
|
+
id
|
1095
|
+
type
|
1096
|
+
posted
|
1097
|
+
parameters
|
1098
|
+
}
|
1099
|
+
pageInfo {
|
1100
|
+
hasNextPage
|
1101
|
+
endCursor
|
1102
|
+
hasPreviousPage
|
1103
|
+
startCursor
|
1104
|
+
}
|
1105
|
+
}
|
1106
|
+
history {
|
1107
|
+
nodes {
|
1108
|
+
schemaVersion
|
1109
|
+
status
|
1110
|
+
}
|
1111
|
+
pageInfo {
|
1112
|
+
hasNextPage
|
1113
|
+
endCursor
|
1114
|
+
hasPreviousPage
|
1115
|
+
startCursor
|
1116
|
+
}
|
1117
|
+
}
|
1118
|
+
}
|
1119
|
+
pageInfo {
|
1120
|
+
hasNextPage
|
1121
|
+
endCursor
|
1122
|
+
hasPreviousPage
|
1123
|
+
startCursor
|
1124
|
+
}
|
1125
|
+
}
|
1126
|
+
}
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
query GetEntriesToMigrateForLedgerAccountDataMigration(
|
1130
|
+
$ledgerIk: SafeString!
|
1131
|
+
$accountPath: String!
|
1132
|
+
$after: String
|
1133
|
+
$before: String
|
1134
|
+
$first: Int
|
1135
|
+
$last: Int
|
1136
|
+
) {
|
1137
|
+
ledger(ledger: { ik: $ledgerIk }) {
|
1138
|
+
ledgerAccountDataMigrations(
|
1139
|
+
filter: {
|
1140
|
+
accountPath: {
|
1141
|
+
equalTo: $accountPath
|
1142
|
+
}
|
1143
|
+
}
|
1144
|
+
) {
|
1145
|
+
nodes {
|
1146
|
+
ledgerEntries(
|
1147
|
+
first: $first
|
1148
|
+
after: $after
|
1149
|
+
last: $last
|
1150
|
+
before: $before
|
1151
|
+
) {
|
1152
|
+
nodes {
|
1153
|
+
id
|
1154
|
+
ik
|
1155
|
+
type
|
1156
|
+
typeVersion
|
1157
|
+
description
|
1158
|
+
posted
|
1159
|
+
created
|
1160
|
+
parameters
|
1161
|
+
lines {
|
1162
|
+
nodes {
|
1163
|
+
id
|
1164
|
+
amount
|
1165
|
+
account {
|
1166
|
+
path
|
1167
|
+
}
|
1168
|
+
}
|
1169
|
+
}
|
1170
|
+
}
|
1171
|
+
pageInfo {
|
1172
|
+
hasNextPage
|
1173
|
+
endCursor
|
1174
|
+
hasPreviousPage
|
1175
|
+
startCursor
|
1176
|
+
}
|
1177
|
+
}
|
1178
|
+
}
|
1179
|
+
}
|
1180
|
+
}
|
1181
|
+
}
|
1182
|
+
|
931
1183
|
mutation CreateCustomCurrency(
|
932
1184
|
$id: SafeString!,
|
933
1185
|
$name: String!,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fragment-dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fragment
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|