fix api reports

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2025-09-29 10:53:23 -04:00
committed by Fredrik Adelöw
parent 99ecdbaf95
commit 3bdbba8c00
5 changed files with 18 additions and 17 deletions
@@ -16,20 +16,15 @@
/** @public */
export interface InstanceMetadataServicePluginInfo {
pluginId: string;
modules: {
readonly pluginId: string;
readonly modules: ReadonlyArray<{
moduleId: string;
}[];
}>;
}
/** @internal */
export type DeepReadonly<T> = {
readonly [K in keyof T]: T[K] extends object ? DeepReadonly<T[K]> : T[K];
};
/** @public */
export interface InstanceMetadataService {
getInstalledPlugins: () => Promise<
ReadonlyArray<DeepReadonly<InstanceMetadataServicePluginInfo>>
ReadonlyArray<InstanceMetadataServicePluginInfo>
>;
}