@redocly/config 0.44.0 → 0.44.1

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.
@@ -0,0 +1,14 @@
1
+ import type { ComponentType } from 'react';
2
+ import type { FromSchema } from 'json-schema-to-ts';
3
+ import type { Schema, ConfigFunction } from '@markdoc/markdoc/dist/src/types';
4
+ import type { asyncapiConfigSchema } from '../asyncapi-config-schema';
5
+ export type AsyncApiConfigTypes = FromSchema<typeof asyncapiConfigSchema> & {
6
+ markdocOptions?: {
7
+ tags: Record<string, Schema>;
8
+ nodes: Record<string, Schema>;
9
+ components: Record<string, ComponentType>;
10
+ variables?: Record<string, any>;
11
+ partials?: Record<string, any>;
12
+ functions?: Record<string, ConfigFunction>;
13
+ };
14
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=asyncapi-types.js.map
@@ -8,6 +8,7 @@ import type { productConfigSchema, productGoogleAnalyticsConfigSchema, markdownC
8
8
  import type { scorecardsConfigSchema } from '../scorecards-config-schema';
9
9
  import type { reuniteConfigSchema } from '../reunite-config-schema';
10
10
  import type { optionalEmailSettings, reasonsSettings } from '../feedback-config-schema';
11
+ import type { AsyncApiConfigTypes } from './asyncapi-types';
11
12
  /**
12
13
  * @deprecated left for backwards compatibility. To be removed in Realm 1.0
13
14
  */
@@ -16,6 +17,7 @@ export type ThemeConfig = Omit<FromSchema<typeof themeConfigSchema>, 'openapi'>
16
17
  };
17
18
  export type RedocConfig = RedocConfigTypes;
18
19
  export type GraphQLConfig = GraphQLConfigTypes;
20
+ export type AsyncApiConfig = AsyncApiConfigTypes;
19
21
  export type ProductConfig = FromSchema<typeof productConfigSchema>;
20
22
  export type ProductGoogleAnalyticsConfig = FromSchema<typeof productGoogleAnalyticsConfigSchema>;
21
23
  export type MarkdownConfig = FromSchema<typeof markdownConfigSchema>;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.44.0",
3
+ "version": "0.44.1",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
7
7
  "types": "./lib/index.d.ts",
8
8
  "devDependencies": {
9
9
  "@markdoc/markdoc": "0.5.2",
10
- "@redocly/openapi-core": "2.19.2",
10
+ "@redocly/openapi-core": "2.20.4",
11
11
  "@types/node": "22.18.13",
12
12
  "@types/react": "^19.2.7",
13
13
  "@vitest/coverage-v8": "4.0.10",