( id: string, )
| 34 | }; |
| 35 | |
| 36 | export const getRegistryEntry = async ( |
| 37 | id: string, |
| 38 | ): Promise<PluginRegistryEntry | undefined> => { |
| 39 | const value = await store.get<PluginRegistryEntry | undefined>(keyFor(id)); |
| 40 | if (value) { |
| 41 | return value; |
| 42 | } |
| 43 | return undefined; |
| 44 | }; |
| 45 | |
| 46 | export const upsertRegistryEntry = async ( |
| 47 | entry: PluginRegistryEntry, |
no test coverage detected