@docusaurus/utils-validation 0.0.0-5439 → 0.0.0-5449

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.
@@ -5,19 +5,19 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import Joi from './Joi';
8
- export declare const PluginIdSchema: Joi.StringSchema;
9
- export declare const RemarkPluginsSchema: Joi.ArraySchema;
10
- export declare const RehypePluginsSchema: Joi.ArraySchema;
11
- export declare const AdmonitionsSchema: Joi.AlternativesSchema;
12
- export declare const URISchema: Joi.AlternativesSchema;
13
- export declare const PathnameSchema: Joi.StringSchema;
14
- export declare const RouteBasePathSchema: Joi.AlternativesSchema;
15
- export declare const FrontMatterTagsSchema: Joi.ArraySchema;
8
+ export declare const PluginIdSchema: Joi.StringSchema<string>;
9
+ export declare const RemarkPluginsSchema: Joi.ArraySchema<any[]>;
10
+ export declare const RehypePluginsSchema: Joi.ArraySchema<any[]>;
11
+ export declare const AdmonitionsSchema: Joi.AlternativesSchema<any>;
12
+ export declare const URISchema: Joi.AlternativesSchema<any>;
13
+ export declare const PathnameSchema: Joi.StringSchema<string>;
14
+ export declare const RouteBasePathSchema: Joi.AlternativesSchema<any>;
15
+ export declare const FrontMatterTagsSchema: Joi.ArraySchema<any[]>;
16
16
  export declare const FrontMatterTOCHeadingLevels: {
17
- toc_min_heading_level: Joi.NumberSchema;
18
- toc_max_heading_level: Joi.NumberSchema;
17
+ toc_min_heading_level: Joi.NumberSchema<number>;
18
+ toc_max_heading_level: Joi.NumberSchema<number>;
19
19
  };
20
- export declare type ContentVisibility = {
20
+ export type ContentVisibility = {
21
21
  draft: boolean;
22
22
  unlisted: boolean;
23
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"validationSchemas.d.ts","sourceRoot":"","sources":["../src/validationSchemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,OAAO,GAAG,MAAM,OAAO,CAAC;AAGxB,eAAO,MAAM,cAAc,kBAKE,CAAC;AAe9B,eAAO,MAAM,mBAAmB,iBAAwB,CAAC;AACzD,eAAO,MAAM,mBAAmB,iBAAwB,CAAC;AAQzD,eAAO,MAAM,iBAAiB,wBAsB1B,CAAC;AAIL,eAAO,MAAM,SAAS,wBAmBpB,CAAC;AAEH,eAAO,MAAM,cAAc,kBASxB,CAAC;AAaJ,eAAO,MAAM,mBAAmB,wBAO7B,CAAC;AAeJ,eAAO,MAAM,qBAAqB,iBAK9B,CAAC;AAEL,eAAO,MAAM,2BAA2B;;;CASvC,CAAC;AAEF,oBAAY,iBAAiB,GAAG;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,uBAAuB,qCAgBxB,CAAC"}
1
+ {"version":3,"file":"validationSchemas.d.ts","sourceRoot":"","sources":["../src/validationSchemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,OAAO,GAAG,MAAM,OAAO,CAAC;AAGxB,eAAO,MAAM,cAAc,0BAKE,CAAC;AAe9B,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAQzD,eAAO,MAAM,iBAAiB,6BAsB1B,CAAC;AAIL,eAAO,MAAM,SAAS,6BAmBpB,CAAC;AAEH,eAAO,MAAM,cAAc,0BASxB,CAAC;AAaJ,eAAO,MAAM,mBAAmB,6BAO7B,CAAC;AAeJ,eAAO,MAAM,qBAAqB,wBAK9B,CAAC;AAEL,eAAO,MAAM,2BAA2B;;;CASvC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,uBAAuB,qCAgBxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/utils-validation",
3
- "version": "0.0.0-5439",
3
+ "version": "0.0.0-5449",
4
4
  "description": "Node validation utility functions for Docusaurus packages.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -18,14 +18,14 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/logger": "0.0.0-5439",
22
- "@docusaurus/utils": "0.0.0-5439",
23
- "joi": "^17.6.0",
21
+ "@docusaurus/logger": "0.0.0-5449",
22
+ "@docusaurus/utils": "0.0.0-5449",
23
+ "joi": "^17.7.0",
24
24
  "js-yaml": "^4.1.0",
25
- "tslib": "^2.4.0"
25
+ "tslib": "^2.4.1"
26
26
  },
27
27
  "engines": {
28
28
  "node": ">=16.14"
29
29
  },
30
- "gitHead": "1ab77d04f08d6b0d97d8004b2c5bde18ef5ffe27"
30
+ "gitHead": "46fe5ffd9189c11945c3c150c17c7f048e92b398"
31
31
  }