1- # TODO: change to accountId
21type awsBilling {
32 id : String ! @id @search (by : [hash ])
4- account : String ! @id @search (by : [hash ])
3+ accountId : String ! @id @search (by : [hash ])
54 totalCostMonthToDate : awsTotalBillingInfo
65 totalCostLast30Days : awsTotalBillingInfo
76 monthToDateDailyAverage : [awsServiceBillingInfo ]
@@ -10,25 +9,25 @@ type awsBilling {
109 last30Days : [awsServiceBillingInfo ]
1110}
1211
13- type awsServiceBillingInfo
12+ type awsServiceBillingInfo
1413 @generate (
1514 query : { get : false , query : false , aggregate : false }
1615 mutation : { add : false , delete : false }
1716 subscription : false
1817 ) {
19- name : String ! @search (by : [hash ])
20- cost : Float @search
21- currency : String @search (by : [hash , regexp ])
22- formattedCost : String @search (by : [hash , regexp ])
23- }
18+ name : String ! @search (by : [hash ])
19+ cost : Float @search
20+ currency : String @search (by : [hash , regexp ])
21+ formattedCost : String @search (by : [hash , regexp ])
22+ }
2423
2524type awsTotalBillingInfo
2625 @generate (
2726 query : { get : false , query : false , aggregate : false }
2827 mutation : { add : false , delete : false }
2928 subscription : false
3029 ) {
31- cost : Float @search
32- currency : String @search (by : [hash , regexp ])
33- formattedCost : String @search (by : [hash , regexp ])
34- }
30+ cost : Float @search
31+ currency : String @search (by : [hash , regexp ])
32+ formattedCost : String @search (by : [hash , regexp ])
33+ }
0 commit comments