@mui/internal-docs-infra 0.10.1-canary.6 → 0.10.1-canary.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -56,7 +56,7 @@ export interface SitemapSectionData {
|
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Orama schema property types
|
|
59
|
-
* See: https://docs.orama.com/docs/orama-js/usage/create#schema-properties-and-types
|
|
59
|
+
* See: <https://docs.orama.com/docs/orama-js/usage/create#schema-properties-and-types>
|
|
60
60
|
*/
|
|
61
61
|
export type OramaSchemaType = 'string' | 'number' | 'boolean' | 'string[]' | 'number[]' | 'boolean[]' | `vector[${number}]`;
|
|
62
62
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-docs-infra",
|
|
3
|
-
"version": "0.10.1-canary.
|
|
3
|
+
"version": "0.10.1-canary.7",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "MUI Infra - internal documentation creation tools.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -643,5 +643,5 @@
|
|
|
643
643
|
"bin": {
|
|
644
644
|
"docs-infra": "./cli/index.mjs"
|
|
645
645
|
},
|
|
646
|
-
"gitSha": "
|
|
646
|
+
"gitSha": "38a586faaccee1b655da0047f227fe82038494e8"
|
|
647
647
|
}
|
|
@@ -15,7 +15,7 @@ export interface CreateLoadServerSitemapOptions {
|
|
|
15
15
|
export type LoadServerSitemap = (url: string) => Promise<Sitemap>;
|
|
16
16
|
/**
|
|
17
17
|
* Creates the default Orama schema for search indexing.
|
|
18
|
-
* See: https://docs.orama.com/docs/orama-js/usage/create#schema-properties-and-types
|
|
18
|
+
* See: <https://docs.orama.com/docs/orama-js/usage/create#schema-properties-and-types>
|
|
19
19
|
*/
|
|
20
20
|
export declare function createSitemapSchema(): Sitemap['schema'];
|
|
21
21
|
/**
|
|
@@ -34,6 +34,6 @@ export declare const loadServerSitemap: LoadServerSitemap;
|
|
|
34
34
|
* 4. Returns a Sitemap object with schema and page data
|
|
35
35
|
*
|
|
36
36
|
* @param options - Configuration options for the loader
|
|
37
|
-
* @returns LoadServerSitemap function that takes a file URL and returns Promise<Sitemap
|
|
37
|
+
* @returns LoadServerSitemap function that takes a file URL and returns `Promise<Sitemap>`
|
|
38
38
|
*/
|
|
39
39
|
export declare function createLoadServerSitemap(options?: CreateLoadServerSitemapOptions): LoadServerSitemap;
|
|
@@ -14,7 +14,7 @@ import { parseCreateFactoryCall } from "../loadPrecomputedCodeHighlighter/parseC
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Creates the default Orama schema for search indexing.
|
|
17
|
-
* See: https://docs.orama.com/docs/orama-js/usage/create#schema-properties-and-types
|
|
17
|
+
* See: <https://docs.orama.com/docs/orama-js/usage/create#schema-properties-and-types>
|
|
18
18
|
*/
|
|
19
19
|
export function createSitemapSchema() {
|
|
20
20
|
return {
|
|
@@ -45,7 +45,7 @@ export const loadServerSitemap = createLoadServerSitemap();
|
|
|
45
45
|
* 4. Returns a Sitemap object with schema and page data
|
|
46
46
|
*
|
|
47
47
|
* @param options - Configuration options for the loader
|
|
48
|
-
* @returns LoadServerSitemap function that takes a file URL and returns Promise<Sitemap
|
|
48
|
+
* @returns LoadServerSitemap function that takes a file URL and returns `Promise<Sitemap>`
|
|
49
49
|
*/
|
|
50
50
|
export function createLoadServerSitemap(options = {}) {
|
|
51
51
|
return async function loadSitemap(url) {
|