refactor(media): use UUID instead of ID for media retrieval in GraphQL

Fixes #1760
This commit is contained in:
Massedil
2025-05-21 23:05:09 +02:00
committed by setop
parent 1b2c55508e
commit a50681c9ac
27 changed files with 171 additions and 103 deletions

View File

@@ -63,6 +63,12 @@ defmodule Mobilizon.GraphQL.Schema do
field(:id, :id)
end
@desc "A struct containing the uuid of the deleted object"
object :deleted_object_by_uuid do
meta(:authorize, :all)
field(:uuid, :uuid)
end
@desc "A JWT and the associated user ID"
object :login do
meta(:authorize, :all)