19 lines
552 B
TypeScript
19 lines
552 B
TypeScript
import { AppMeta } from "@calcom/types/App";
|
|
|
|
import { appStoreMetadata as rawAppStoreMetadata } from "./apps.metadata.generated";
|
|
|
|
type RawAppStoreMetaData = typeof rawAppStoreMetadata;
|
|
type AppStoreMetaData = {
|
|
[key in keyof RawAppStoreMetaData]: AppMeta;
|
|
};
|
|
|
|
export const appStoreMetadata = {} as AppStoreMetaData;
|
|
|
|
for (const [key, value] of Object.entries(rawAppStoreMetadata)) {
|
|
appStoreMetadata[key as keyof typeof appStoreMetadata] = {
|
|
appData: null,
|
|
__template: "",
|
|
...value,
|
|
} as AppStoreMetaData[keyof AppStoreMetaData];
|
|
}
|