@curvenote/cli
Version:
CLI Client library for Curvenote
61 lines • 2.77 kB
TypeScript
export declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{
api: import("redux").CombinedState<{
users: Record<string, import("@curvenote/blocks").User>;
teams: Record<string, import("@curvenote/blocks").Team>;
projects: Record<string, import("@curvenote/blocks").Project>;
siteconfigs: Record<string, import("@curvenote/blocks").SiteConfigDTO>;
blocks: Record<string, import("@curvenote/blocks").Block>;
versions: Record<string, import("@curvenote/blocks").ALL_BLOCKS>;
drafts: Record<string, import("@curvenote/blocks").Draft>;
templates: Record<string, import("@curvenote/blocks").TemplateSpec & {
id: string;
}>;
}>;
local: {
projects: Record<string, import("myst-cli").LocalProject>;
affiliations: Record<string, string>;
config: {
currentProjectPath: string | undefined;
currentSitePath: string | undefined;
rawConfigs: Record<string, {
raw: Record<string, any>;
validated: import("myst-cli").ValidatedRawConfig;
}>;
projects: Record<string, Record<string, any>>;
projectParts: Record<string, string[]>;
fileParts: Record<string, string[]>;
sites: Record<string, Record<string, any>>;
filenames: Record<string, string>;
configExtensions?: string[] | undefined;
};
watch: {
files: Record<string, {
title?: string | null | undefined;
short_title?: string | null | undefined;
description?: string | null | undefined;
date?: string | null | undefined;
thumbnail?: string | null | undefined;
thumbnailOptimized?: string | null | undefined;
banner?: string | null | undefined;
bannerOptimized?: string | null | undefined;
tags?: string[] | null | undefined;
sha256?: string | null | undefined;
url?: string | null | undefined;
dataUrl?: string | null | undefined;
localDependencies?: string[] | null | undefined;
}>;
reloading: boolean;
reloadRequested: boolean;
};
links: Record<string, import("myst-cli").ExternalLinkResult>;
warnings: Record<string, import("myst-cli").BuildWarning[]>;
};
oxalink: {
lookup: Record<string, {
path: string;
url: string;
}>;
};
}>, import("redux").AnyAction | import("redux").UnknownAction>;
export type RootState = ReturnType<typeof rootReducer>;
//# sourceMappingURL=reducers.d.ts.map