Commit 4590894
committed
feat: add graphql to the five rest-only admin methods
adminLogout, adminSession, adminMeta, fgaGetModel and fgaReset were
rest-only even though each has a GraphQL op on the server -- the SDK
simply carried no query for them. All five now work over both protocols.
adminMeta and fgaGetModel keep their REST unwrap: the gateway nests the
payload under admin_meta / model while the GraphQL ops return the object
directly.
That leaves adminSignup, updateEnv and generateJWTKeys as the only
graphql-only methods; they are the only admin operations with no proto RPC.1 parent a6bef89 commit 4590894
1 file changed
Lines changed: 32 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
272 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
273 | 277 | | |
274 | 278 | | |
275 | 279 | | |
276 | 280 | | |
277 | 281 | | |
278 | 282 | | |
279 | 283 | | |
280 | | - | |
281 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
282 | 290 | | |
283 | 291 | | |
284 | 292 | | |
| |||
287 | 295 | | |
288 | 296 | | |
289 | 297 | | |
290 | | - | |
291 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
292 | 306 | | |
293 | 307 | | |
294 | 308 | | |
| |||
667 | 681 | | |
668 | 682 | | |
669 | 683 | | |
670 | | - | |
671 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
672 | 690 | | |
673 | 691 | | |
674 | 692 | | |
| |||
790 | 808 | | |
791 | 809 | | |
792 | 810 | | |
793 | | - | |
794 | | - | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
795 | 817 | | |
796 | 818 | | |
797 | 819 | | |
| |||
0 commit comments