diff --git a/apps/documentation/app/[locale]/[project]/page.tsx b/apps/documentation/app/[locale]/[project]/page.tsx
index d200db8f..30c6caa7 100644
--- a/apps/documentation/app/[locale]/[project]/page.tsx
+++ b/apps/documentation/app/[locale]/[project]/page.tsx
@@ -21,13 +21,13 @@ export default function Page({ params }: PageProps) {
pathSegment: ['index'], // pointing to home page for the project
});
- if (!doc || doc?.content === null) notFound();
+ if (!doc?.content) notFound();
// Frontmatter data of markdown files
const { title, content, lastUpdated } = doc;
return (
-
+
{title}
- {lastUpdated}
+ {lastUpdated}
);
}
diff --git a/apps/documentation/app/[locale]/_components/Navbar/Search/CustomSearchBox.tsx b/apps/documentation/app/[locale]/_components/Navbar/Search/CustomSearchBox.tsx
index bec97a06..a6641830 100644
--- a/apps/documentation/app/[locale]/_components/Navbar/Search/CustomSearchBox.tsx
+++ b/apps/documentation/app/[locale]/_components/Navbar/Search/CustomSearchBox.tsx
@@ -7,9 +7,9 @@ import {
useSearchBox,
} from 'react-instantsearch';
-interface CustomSearchBoxProps extends UseSearchBoxProps {
+type CustomSearchBoxProps = {
placeholder: string;
-}
+} & UseSearchBoxProps;
export default function CustomSearchBox(props: CustomSearchBoxProps) {
const { query, refine } = useSearchBox(props);
@@ -49,7 +49,7 @@ export default function CustomSearchBox(props: CustomSearchBoxProps) {
>
{isSearchStalled ? (
-
+
) : (
)}
diff --git a/apps/documentation/app/[locale]/_components/Navbar/Search/Provider/DialogContext.tsx b/apps/documentation/app/[locale]/_components/Navbar/Search/Provider/DialogContext.tsx
index 2cb320c3..cebe16ca 100644
--- a/apps/documentation/app/[locale]/_components/Navbar/Search/Provider/DialogContext.tsx
+++ b/apps/documentation/app/[locale]/_components/Navbar/Search/Provider/DialogContext.tsx
@@ -7,12 +7,12 @@ type DialogContextType = {
export const DialogContext = createContext({
open: false,
- setOpen: () => {},
+ setOpen: () => undefined,
});
-interface DialogContextProviderProps extends DialogContextType {
+type DialogContextProviderProps = {
children: React.ReactNode;
-}
+} & DialogContextType;
export const DialogContextProvider: React.FC = ({
children,
diff --git a/apps/documentation/app/[locale]/_components/Navbar/languageSwitcher.tsx b/apps/documentation/app/[locale]/_components/Navbar/languageSwitcher.tsx
index 0c3a331f..fa355071 100644
--- a/apps/documentation/app/[locale]/_components/Navbar/languageSwitcher.tsx
+++ b/apps/documentation/app/[locale]/_components/Navbar/languageSwitcher.tsx
@@ -13,9 +13,9 @@ import data from '~/public/sidebar.json';
import { type SidebarData } from '~/types';
import { useLocale } from 'next-intl';
-interface LanguageSwitcherProps {
+type LanguageSwitcherProps = {
width: string;
-}
+};
const LanguageSwitcher = ({ width }: LanguageSwitcherProps) => {
const locale = useLocale();
@@ -43,11 +43,11 @@ const LanguageSwitcher = ({ width }: LanguageSwitcherProps) => {
return (
-))
+));
-CommandInput.displayName = CommandPrimitive.Input.displayName
+CommandInput.displayName = CommandPrimitive.Input.displayName;
const CommandList = React.forwardRef<
React.ElementRef,
@@ -62,12 +62,12 @@ const CommandList = React.forwardRef<
>(({ className, ...props }, ref) => (
-))
+));
-CommandList.displayName = CommandPrimitive.List.displayName
+CommandList.displayName = CommandPrimitive.List.displayName;
const CommandEmpty = React.forwardRef<
React.ElementRef,
@@ -78,9 +78,9 @@ const CommandEmpty = React.forwardRef<
className="py-6 text-center text-sm"
{...props}
/>
-))
+));
-CommandEmpty.displayName = CommandPrimitive.Empty.displayName
+CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
const CommandGroup = React.forwardRef<
React.ElementRef,
@@ -89,14 +89,14 @@ const CommandGroup = React.forwardRef<
-))
+));
-CommandGroup.displayName = CommandPrimitive.Group.displayName
+CommandGroup.displayName = CommandPrimitive.Group.displayName;
const CommandSeparator = React.forwardRef<
React.ElementRef,
@@ -104,11 +104,11 @@ const CommandSeparator = React.forwardRef<
>(({ className, ...props }, ref) => (
-))
-CommandSeparator.displayName = CommandPrimitive.Separator.displayName
+));
+CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
const CommandItem = React.forwardRef<
React.ElementRef,
@@ -117,14 +117,14 @@ const CommandItem = React.forwardRef<
-))
+));
-CommandItem.displayName = CommandPrimitive.Item.displayName
+CommandItem.displayName = CommandPrimitive.Item.displayName;
const CommandShortcut = ({
className,
@@ -133,14 +133,14 @@ const CommandShortcut = ({
return (
- )
-}
-CommandShortcut.displayName = "CommandShortcut"
+ );
+};
+CommandShortcut.displayName = 'CommandShortcut';
export {
Command,
@@ -152,4 +152,4 @@ export {
CommandItem,
CommandShortcut,
CommandSeparator,
-}
+};
diff --git a/apps/documentation/components/ui/input.tsx b/apps/documentation/components/ui/input.tsx
index c2187618..cedab5f3 100644
--- a/apps/documentation/components/ui/input.tsx
+++ b/apps/documentation/components/ui/input.tsx
@@ -2,8 +2,7 @@ import * as React from 'react';
import { cn } from '~/lib/utils';
-export interface InputProps
- extends React.InputHTMLAttributes {}
+export type InputProps = object & React.InputHTMLAttributes;
const Input = React.forwardRef(
({ className, type, ...props }, ref) => {
diff --git a/apps/documentation/lib/algolia-search.mjs b/apps/documentation/lib/algolia-search.mjs
index c299efbf..c39d1617 100644
--- a/apps/documentation/lib/algolia-search.mjs
+++ b/apps/documentation/lib/algolia-search.mjs
@@ -94,6 +94,7 @@ function transformDocsToSearchObjects(articles) {
// Index the files after build
(async function indexAllFiles() {
+ // eslint-disable-next-line no-console
console.log('STARTED INDEXING');
try {
@@ -104,10 +105,12 @@ function transformDocsToSearchObjects(articles) {
const algoliaResponse = await index.saveObjects(transformed);
+ // eslint-disable-next-line no-console
console.log(
`SUCCESSFULLY ADDED ${algoliaResponse.objectIDs.length} RECORDS TO Algolia SEARCH.`,
);
} catch (error) {
+ // eslint-disable-next-line no-console
console.error(error);
}
})();
diff --git a/apps/documentation/lib/helper_functions.ts b/apps/documentation/lib/helper_functions.ts
index 6d53dacd..18662eee 100644
--- a/apps/documentation/lib/helper_functions.ts
+++ b/apps/documentation/lib/helper_functions.ts
@@ -1,6 +1,6 @@
import { locales } from '~/locales.mjs';
import data from '~/public/sidebar.json';
-import { SidebarData, type Folder } from '~/types';
+import { type SidebarData, type Folder } from '~/types';
const sidebarData: SidebarData = JSON.parse(
JSON.stringify(data),
diff --git a/apps/documentation/lib/tableOfContents.ts b/apps/documentation/lib/tableOfContents.ts
index 633de205..252db4ca 100644
--- a/apps/documentation/lib/tableOfContents.ts
+++ b/apps/documentation/lib/tableOfContents.ts
@@ -1,8 +1,8 @@
import { toString } from 'mdast-util-to-string';
import { remark } from 'remark';
-import { Node } from 'unist';
+import { type Node } from 'unist';
import { visit } from 'unist-util-visit';
-import { VFile } from 'vfile';
+import { type VFile } from 'vfile';
import { convertToUrlText } from './helper_functions';
export type HeadingNode = {
@@ -23,7 +23,7 @@ export function headingTree(): (node: Node, file: VFile) => void {
function getHeadingsForTree(root: Node): HeadingNode[] {
const nodes = {};
const output: HeadingNode[] = [];
- const indexMap = {};
+ const indexMap: Record = {};
visit(root, 'heading', (node: HeadingNode) => {
addID(node, nodes);
transformNode(node, output, indexMap);
@@ -44,7 +44,7 @@ function addID(node: HeadingNode, nodes: Record): void {
function transformNode(
node: HeadingNode,
output: HeadingNode[],
- indexMap: Record,
+ indexMap: Record,
): void {
const transformedNode: HeadingNode = {
value: toString(node),
diff --git a/apps/documentation/lib/writeSidebarJson.mjs b/apps/documentation/lib/writeSidebarJson.mjs
index a5898789..55c0c32d 100644
--- a/apps/documentation/lib/writeSidebarJson.mjs
+++ b/apps/documentation/lib/writeSidebarJson.mjs
@@ -144,5 +144,6 @@ try {
'utf-8',
);
} catch (e) {
- console.log('Error writing sidebar data!', e);
+ // eslint-disable-next-line no-console
+ console.error('Error writing sidebar data!', e);
}
diff --git a/apps/documentation/next-sitemap.config.js b/apps/documentation/next-sitemap.config.js
index b5ed0469..1ee493f4 100644
--- a/apps/documentation/next-sitemap.config.js
+++ b/apps/documentation/next-sitemap.config.js
@@ -1,3 +1,4 @@
+/* eslint-disable no-process-env */
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: process.env.SITE_URL || 'https://documentation.networkcanvas.dev',
diff --git a/apps/documentation/public/sitemap-0.xml b/apps/documentation/public/sitemap-0.xml
index c790db7e..6288cae1 100644
--- a/apps/documentation/public/sitemap-0.xml
+++ b/apps/documentation/public/sitemap-0.xml
@@ -1,74 +1,74 @@
-https://documentation.networkcanvas.dev2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/ru2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/fresco2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/ru/desktop2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/ru/fresco2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/tutorials/building-a-protocol2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/tutorials2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/tutorials/using-interviewer2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/tutorials/using-server2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/tutorials/workflows-without-server2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/tutorials/working-with-data2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/tutorials/working-with-rosters2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/reference/irb-best-practices2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/reference/network-canvas-graphml2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/reference/node-labelling2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/reference/protocol-file-format2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/reference/protocol-schema-information2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/reference/security-model2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/reference/testing-strategy2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/reference/variable-types2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/additional-variables2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/codebook2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/field-validation2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/forms2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/input-controls2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/interfaces2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/network-filtering2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/preview-mode2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/prompts2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/resources2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/skip-logic2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/key-concepts/the-protocol-file2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/categorical-bin2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/dyad-census2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/ego-form2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/information2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/large-roster-name-generator2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/name-generator-roster2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/name-generator-using-forms2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/name-generator-using-quick-add2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/narrative2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/ordinal-bin2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/per-alter-edge-form2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/per-alter-form2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/shared2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/small-roster-name-generator2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/sociogram2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/interface-documentation/tie-strength-census2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/how-to/choosing-hardware2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/how-to/configuring-devices2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/how-to/importing-roster-data2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/how-to2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/how-to/pairing2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/how-to/updating-from-beta2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/getting-started/citing-the-software2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/getting-started/contributing-code2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/getting-started/faq2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/getting-started/february-2022-project-update2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/getting-started/installation-guide2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/getting-started/project-overview2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/getting-started/protocol-gallery2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/desktop/getting-started/requests-for-collaboration2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/fresco/third-folder/test2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/fresco/some-notes/notes2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/en/fresco/getting-started/installation2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/ru/desktop/reference/irb-best-practices2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/ru/desktop/how-to/choosing-hardware2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/ru/fresco/third-folder/test2024-02-26T09:04:20.081Zdaily0.7
-https://documentation.networkcanvas.dev/ru/fresco/getting-started/installation2024-02-26T09:04:20.081Zdaily0.7
+https://documentation.networkcanvas.dev2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/ru2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/fresco2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/ru/desktop2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/ru/fresco2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/tutorials/building-a-protocol2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/tutorials2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/tutorials/using-interviewer2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/tutorials/using-server2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/tutorials/workflows-without-server2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/tutorials/working-with-data2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/tutorials/working-with-rosters2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/reference/irb-best-practices2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/reference/network-canvas-graphml2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/reference/node-labelling2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/reference/protocol-file-format2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/reference/protocol-schema-information2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/reference/security-model2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/reference/testing-strategy2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/reference/variable-types2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/additional-variables2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/codebook2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/field-validation2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/forms2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/input-controls2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/interfaces2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/network-filtering2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/preview-mode2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/prompts2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/resources2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/skip-logic2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/key-concepts/the-protocol-file2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/categorical-bin2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/dyad-census2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/ego-form2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/information2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/large-roster-name-generator2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/name-generator-roster2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/name-generator-using-forms2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/name-generator-using-quick-add2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/narrative2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/ordinal-bin2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/per-alter-edge-form2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/per-alter-form2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/shared2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/small-roster-name-generator2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/sociogram2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/interface-documentation/tie-strength-census2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/how-to/choosing-hardware2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/how-to/configuring-devices2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/how-to/importing-roster-data2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/how-to2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/how-to/pairing2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/how-to/updating-from-beta2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/getting-started/citing-the-software2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/getting-started/contributing-code2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/getting-started/faq2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/getting-started/february-2022-project-update2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/getting-started/installation-guide2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/getting-started/project-overview2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/getting-started/protocol-gallery2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/desktop/getting-started/requests-for-collaboration2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/fresco/third-folder/test2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/fresco/some-notes/notes2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/en/fresco/getting-started/installation2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/ru/desktop/reference/irb-best-practices2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/ru/desktop/how-to/choosing-hardware2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/ru/fresco/third-folder/test2024-02-26T12:34:01.117Zdaily0.7
+https://documentation.networkcanvas.dev/ru/fresco/getting-started/installation2024-02-26T12:34:01.117Zdaily0.7
\ No newline at end of file
diff --git a/apps/documentation/tsconfig.json b/apps/documentation/tsconfig.json
index 6235c393..772495d2 100644
--- a/apps/documentation/tsconfig.json
+++ b/apps/documentation/tsconfig.json
@@ -16,6 +16,13 @@
"~/*": ["./*"],
},
},
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
+ "include": [
+ "next-env.d.ts",
+ "**/*.ts",
+ "**/*.mjs",
+ "**/*.js",
+ "**/*.tsx",
+ ".next/types/**/*.ts",
+ ],
"exclude": ["node_modules"],
}
diff --git a/apps/documentation/types.ts b/apps/documentation/types.ts
index dd086e44..b5075d7e 100644
--- a/apps/documentation/types.ts
+++ b/apps/documentation/types.ts
@@ -1,25 +1,23 @@
-export interface Folder {
+export type Folder = {
type: 'folder';
name: string;
language: string;
source: string;
folderPagePath: string | null;
isExpanded: boolean;
- files: Array;
-}
+ files: (DocFile | Folder)[];
+};
-export interface DocFile {
+export type DocFile = {
type: 'file';
name: string;
language: string;
path: string;
source: string;
-}
-
-type LanguageData = {
- [key: string]: Folder[];
};
+type LanguageData = Record;
+
export type SidebarData = LanguageData[];
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
diff --git a/packages/eslint-config-custom/next.js b/packages/eslint-config-custom/next.js
index 4647eb9f..602a78d2 100644
--- a/packages/eslint-config-custom/next.js
+++ b/packages/eslint-config-custom/next.js
@@ -14,6 +14,7 @@ const config = {
"dist/",
".eslintrc.js",
"next.config.js",
+ "**/*.cjs",
],
rules: {
"@next/next/no-img-element": "off",