From a0763483b06006c206293f1d6714f7b74463876a Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 29 Aug 2025 15:50:37 +0200 Subject: [PATCH] [Glitch] Rename `unknown` quote policy value to `unsupported_policy` Port 4fa203e69ebde6e8f142158800d90e5daacc87fe to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/api_types/quotes.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/api_types/quotes.ts b/app/javascript/flavours/glitch/api_types/quotes.ts index 58cce1e257..b4fe380d52 100644 --- a/app/javascript/flavours/glitch/api_types/quotes.ts +++ b/app/javascript/flavours/glitch/api_types/quotes.ts @@ -1,7 +1,11 @@ import type { ApiStatusJSON } from './statuses'; export type ApiQuoteState = 'accepted' | 'pending' | 'revoked' | 'unauthorized'; -export type ApiQuotePolicy = 'public' | 'followers' | 'nobody' | 'unknown'; +export type ApiQuotePolicy = + | 'public' + | 'followers' + | 'nobody' + | 'unsupported_policy'; export type ApiUserQuotePolicy = 'automatic' | 'manual' | 'denied' | 'unknown'; interface ApiQuoteEmptyJSON {