feat(app): fetch root manifest

This commit is contained in:
Pihkaal
2024-05-30 23:55:08 +02:00
parent 186580cccb
commit 69091f6ea4
4 changed files with 53 additions and 29 deletions

View File

@@ -1,4 +1,4 @@
import { KittyContextProps } from "~/context/KittyContext";
import { type KittyContextProps } from "~/context/KittyContext";
export type Prettify<T> = NonNullable<{ [K in keyof T]: T[K] }>;
@@ -7,9 +7,7 @@ export type InnerKittyProps<T extends (...args: any[]) => any> = Prettify<
Parameters<T>[0] & KittyContextProps
>;
export type Manifest = {
projects: Array<{
name: string;
files: Array<string>;
}>;
export type RootManifest = {
files: Array<string>;
projects: Array<string>;
};