atmosphere explorer pds.ls
tool typescript atproto

add greengale search support

handle.invalid 6daae320 f84c03bb

verified
+6
+6
src/utils/app-urls.ts
··· 6 6 Pinksea, 7 7 Blento, 8 8 Popfeed, 9 + GreenGale, 9 10 } 10 11 11 12 export const appName = { ··· 14 15 [App.Pinksea]: "Pinksea", 15 16 [App.Blento]: "Blento", 16 17 [App.Popfeed]: "Popfeed", 18 + [App.GreenGale]: "GreenGale", 17 19 }; 18 20 19 21 export const appList: Record<AppUrl, App> = { ··· 30 32 "pinksea.art": App.Pinksea, 31 33 "blento.app": App.Blento, 32 34 "popfeed.social": App.Popfeed, 35 + "greengale.app": App.GreenGale, 33 36 }; 34 37 35 38 export const appHandleLink: Record<App, (url: string[]) => string> = { ··· 113 116 return `at://${path[2]}/${path[3]}/${path[4]}`; 114 117 } 115 118 return `at://${path[1]}`; 119 + }, 120 + [App.GreenGale]: (path) => { 121 + return `at://${path[0]}/site.standard.document/${path[1]}`; 116 122 }, 117 123 };