@redocly/portal-plugin-async-api 1.5.0-next.1 → 1.5.0-next.3
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.
- package/CHANGELOG.md +43 -0
- package/lib/.tsbuildinfo +1 -1
- package/lib/plugin.d.ts +1 -1
- package/lib/template.d.ts +1 -1
- package/lib/template.js +1 -2
- package/lib/template.js.map +1 -1
- package/package.json +7 -6
- package/src/plugin.ts +3 -3
- package/src/template.tsx +2 -4
- package/tsconfig.json +1 -1
package/lib/plugin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ExternalPlugin } from '@redocly/realm/dist/server/
|
|
1
|
+
import type { ExternalPlugin } from '@redocly/realm/dist/server/types';
|
|
2
2
|
export default function asyncAPIDocsPlugin(): ExternalPlugin;
|
package/lib/template.d.ts
CHANGED
package/lib/template.js
CHANGED
|
@@ -2,8 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import AsyncApiComponent from '@asyncapi/react-component';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { Breadcrumbs as ThemeBreadcrumbs } from '@redocly/theme';
|
|
5
|
-
|
|
6
|
-
import { usePageSharedData } from '@portal/hooks';
|
|
5
|
+
import { usePageSharedData } from '@redocly/realm/dist/client/app/hooks';
|
|
7
6
|
import '@asyncapi/react-component/styles/default.css';
|
|
8
7
|
import { StylesProvider } from './styles';
|
|
9
8
|
function AsyncApiDocs({ pageProps }) {
|
package/lib/template.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.js","sourceRoot":"","sources":["../src/template.tsx"],"names":[],"mappings":";AAAA,OAAO,iBAAiB,MAAM,2BAA2B,CAAC;AAC1D,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,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C,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,eAAe,GAAI,IAC3D,CAClB,CAAC;AACJ,CAAC;AAED,eAAe,YAAY,CAAC;AAE5B,MAAM,WAAW,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;;CAE3C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/portal-plugin-async-api",
|
|
3
|
-
"version": "1.5.0-next.
|
|
3
|
+
"version": "1.5.0-next.3",
|
|
4
4
|
"description": "Async API plugin for Redocly products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -37,11 +37,12 @@
|
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react": "^18.0.0",
|
|
39
39
|
"react-dom": "^18.0.0",
|
|
40
|
-
"@redocly/realm": "0.122.0-next.
|
|
41
|
-
"@redocly/redoc": "0.122.0-next.
|
|
42
|
-
"@redocly/redoc-reef": "0.122.0-next.
|
|
43
|
-
"@redocly/redoc-revel": "0.122.0-next.
|
|
44
|
-
"@redocly/theme": "0.54.0-next.
|
|
40
|
+
"@redocly/realm": "0.122.0-next.3",
|
|
41
|
+
"@redocly/redoc": "0.122.0-next.3",
|
|
42
|
+
"@redocly/redoc-reef": "0.122.0-next.3",
|
|
43
|
+
"@redocly/redoc-revel": "0.122.0-next.3",
|
|
44
|
+
"@redocly/theme": "0.54.0-next.3",
|
|
45
|
+
"@redocly/config": "0.24.1"
|
|
45
46
|
},
|
|
46
47
|
"peerDependenciesMeta": {
|
|
47
48
|
"@redocly/realm": {
|
package/src/plugin.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { AvroSchemaParser } from '@asyncapi/avro-schema-parser';
|
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
|
|
5
5
|
import type { AsyncAPIDocumentInterface } from '@asyncapi/parser';
|
|
6
|
-
import type { PageStaticData } from '@redocly/
|
|
7
|
-
import type { Feature } from '@redocly/realm/dist/
|
|
6
|
+
import type { PageStaticData } from '@redocly/config';
|
|
7
|
+
import type { Feature } from '@redocly/realm/dist/types';
|
|
8
8
|
import type {
|
|
9
9
|
GetStaticDataFn,
|
|
10
10
|
PageRouteDetails,
|
|
11
11
|
ExternalPlugin,
|
|
12
|
-
} from '@redocly/realm/dist/server/
|
|
12
|
+
} from '@redocly/realm/dist/server/types';
|
|
13
13
|
import type { AsyncApiDocsSettings } from './config';
|
|
14
14
|
|
|
15
15
|
import { asyncApiDocsConfigSchema } from './config.js';
|
package/src/template.tsx
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import AsyncApiComponent from '@asyncapi/react-component';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { Breadcrumbs as ThemeBreadcrumbs } from '@redocly/theme';
|
|
4
|
+
import { usePageSharedData } from '@redocly/realm/dist/client/app/hooks';
|
|
4
5
|
|
|
5
6
|
import type { ConfigInterface, AsyncApiProps } from '@asyncapi/react-component';
|
|
6
|
-
import type { PageProps } from '@redocly/
|
|
7
|
+
import type { PageProps } from '@redocly/config';
|
|
7
8
|
import type { AsyncApiDocsSettings } from './config';
|
|
8
9
|
|
|
9
|
-
// @ts-ignore has no exported member error
|
|
10
|
-
import { usePageSharedData } from '@portal/hooks';
|
|
11
|
-
|
|
12
10
|
import '@asyncapi/react-component/styles/default.css';
|
|
13
11
|
import { StylesProvider } from './styles';
|
|
14
12
|
|