Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update site config to allow project specific markdown pages (#407) #408

Merged
merged 2 commits into from
Oct 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion packages/data-explorer-ui/src/config/entities.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TabProps as MTabProps, ThemeOptions } from "@mui/material";
import { TabProps as MTabProps, Theme, ThemeOptions } from "@mui/material";
import { ColumnSort } from "@tanstack/react-table";
import { JSXElementConstructor, ReactNode } from "react";
import { CategoryKey, SelectedFilterValue } from "../common/entities";
Expand Down Expand Up @@ -286,6 +286,8 @@ export interface SiteConfig {
authentication?: AuthenticationConfig;
browserURL: string;
categoryGroupConfigs?: CategoryGroupConfig[];
contentDir?: string;
contentThemeOptionsFn?: ThemeOptionsFn;
dataSource: DataSourceConfig;
entities: EntityConfig[];
explorerTitle: HeroTitle;
Expand Down Expand Up @@ -341,6 +343,12 @@ export interface TerraAuthConfig {
terraProfileEndpoint: string;
}

/**
* Theme options function.
* Defines theme options, and provides a reference to the specified theme.
*/
export type ThemeOptionsFn = (theme: Theme) => ThemeOptions;

/**
* View context.
*/
Expand Down
Loading