From 39f6c6f4ac715db278281829b3b2ee2ba6e41873 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 2 Jun 2021 14:27:11 -0700 Subject: [PATCH] Explain why AppearanceLayer.imageUrl can be null --- src/server/types/AppearanceLayer.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/server/types/AppearanceLayer.js b/src/server/types/AppearanceLayer.js index 0591ebb..de4a92a 100644 --- a/src/server/types/AppearanceLayer.js +++ b/src/server/types/AppearanceLayer.js @@ -28,6 +28,16 @@ const typeDefs = gql` remoteId: ID! zone: Zone! + + """ + This layer as a single PNG, if available. + + This will sometimes be a Neopets.com URL, if there's an official PNG at the + requested size. + + This might not be available at all, if there's no official PNG, and also + DTI Classic is still converting or failed to convert it from SWF. + """ imageUrl(size: LayerImageSize): String """