*.organized-content.mdx -> *.section.mdx
This commit is contained in:
parent
f51ac01550
commit
02184d2a3b
|
@ -13,22 +13,22 @@ import AltTab, {
|
|||
|
||||
import Name, {
|
||||
metadata as nameOrganizedContentMetadata,
|
||||
} from "../content/playground/constitution/name.organized-content.mdx";
|
||||
} from "../content/playground/constitution/name.section.mdx";
|
||||
import Purpose, {
|
||||
metadata as purposeOrganizedContentMetadata,
|
||||
} from "../content/playground/constitution/purpose.organized-content.mdx";
|
||||
} from "../content/playground/constitution/purpose.section.mdx";
|
||||
import Membership, {
|
||||
metadata as membershipOrganizedContentMetadata,
|
||||
} from "../content/playground/constitution/membership.organized-content.mdx";
|
||||
} from "../content/playground/constitution/membership.section.mdx";
|
||||
import Officers, {
|
||||
metadata as officersOrganizedContentMetadata,
|
||||
} from "../content/playground/constitution/officers.organized-content.mdx";
|
||||
} from "../content/playground/constitution/officers.section.mdx";
|
||||
import Duties, {
|
||||
metadata as dutiesOrganizedContentMetadata,
|
||||
} from "../content/playground/constitution/duties-of-officers.organized-content.mdx";
|
||||
} from "../content/playground/constitution/duties-of-officers.section.mdx";
|
||||
import ExecutiveCouncil, {
|
||||
metadata as executiveCouncilOrganizedContentMetadata,
|
||||
} from "../content/playground/constitution/executive-council.organized-content.mdx";
|
||||
} from "../content/playground/constitution/executive-council.section.mdx";
|
||||
|
||||
import UnavailableContent, {
|
||||
metadata as unavailableMetadata,
|
||||
|
|
|
@ -49,16 +49,16 @@ declare module "*.team-member.mdx" {
|
|||
export default ReactComponent;
|
||||
}
|
||||
|
||||
declare module "*.organized-content.mdx" {
|
||||
declare module "*.section.mdx" {
|
||||
import { ComponentType } from "react";
|
||||
|
||||
interface OrganizedContentMetadata {
|
||||
interface SectionMetadata {
|
||||
title: string;
|
||||
id: string;
|
||||
}
|
||||
|
||||
const ReactComponent: ComponentType;
|
||||
|
||||
export const metadata: OrganizedContentMetadata;
|
||||
export const metadata: SectionMetadata;
|
||||
export default ReactComponent;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue