2023-02-16 22:39:57 +00:00
|
|
|
import type { AppMeta } from "@calcom/types/App";
|
2023-01-18 22:30:25 +00:00
|
|
|
|
|
|
|
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];
|
|
|
|
}
|