@feast-dev/feast-ui
Version:
Web UI for the [Feast Feature Store](https://feast.dev/)
55 lines • 1.7 kB
TypeScript
import React from "react";
import { z } from "zod";
declare const ProjectsListSchema: z.ZodObject<{
default: z.ZodOptional<z.ZodString>;
projects: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
registryPath: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
registryPath: string;
description?: string | undefined;
}, {
name: string;
id: string;
registryPath: string;
description?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
projects: {
name: string;
id: string;
registryPath: string;
description?: string | undefined;
}[];
default?: string | undefined;
}, {
projects: {
name: string;
id: string;
registryPath: string;
description?: string | undefined;
}[];
default?: string | undefined;
}>;
type ProjectsListType = z.infer<typeof ProjectsListSchema>;
interface ProjectsListContextInterface {
projectsListPromise: Promise<any>;
isCustom: boolean;
}
declare const ProjectListContext: React.Context<ProjectsListContextInterface | undefined>;
declare const useLoadProjectsList: () => import("react-query").UseQueryResult<{
projects: {
name: string;
id: string;
registryPath: string;
description?: string | undefined;
}[];
default?: string | undefined;
} | undefined, unknown>;
export { ProjectListContext, ProjectsListSchema, useLoadProjectsList };
export type { ProjectsListType, ProjectsListContextInterface };
//# sourceMappingURL=ProjectListContext.d.ts.map