@redocly/realm 0.136.0-next.2 → 0.136.0-next.4
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 +27 -0
- package/dist/cli/eject/ejectComponent.d.ts +1 -1
- package/dist/cli/eject/ejectTheme.d.ts +1 -1
- package/dist/cli/eject/themeOperations.d.ts +2 -2
- package/dist/client/TestProvider.d.ts +1 -1
- package/dist/client/app/ConditionalLink.d.ts +1 -1
- package/dist/client/app/hooks/catalog/useCatalogFilter.d.ts +1 -1
- package/dist/client/app/hooks/catalog/useFetchCatalogEntities.d.ts +1 -1
- package/dist/client/app/hooks/catalog/useFetchCatalogEntitiesRelations.d.ts +2 -2
- package/dist/client/app/hooks/catalog/useFetchCatalogEntityRevisions.d.ts +1 -1
- package/dist/client/app/hooks/codeHighlight/useCodeHighlight.d.ts +1 -6
- package/dist/client/app/pages/DevLogin/DevLoginForm.d.ts +1 -1
- package/dist/client/app/useGlobalData.d.ts +1 -1
- package/dist/client/app/usePreloadHistory.d.ts +2 -2
- package/dist/client/app/usePreloadHistory.js +1 -1
- package/dist/client/app/utils/loadAndNavigate.d.ts +1 -1
- package/dist/client/app/utils/loadAndNavigate.js +1 -1
- package/dist/client/browser-entry.js +2 -2
- package/dist/client/providers/page-data/hooks.d.ts +2 -2
- package/dist/client/providers/post-message/use-post-message.d.ts +1 -1
- package/dist/markdoc/helpers/get-operation/get-operation.d.ts +1 -1
- package/dist/markdoc/tags/index.d.ts +48 -2
- package/dist/server/api-routes/helpers/read-stream-with-size-limit.d.ts +1 -1
- package/dist/server/api-routes/run-api-routes-worker.d.ts +1 -1
- package/dist/server/persistence/cache/mappers/create-cache-db-record.d.ts +1 -1
- package/dist/server/persistence/file-hashes/mappers/create-file-hash-db-record.d.ts +1 -1
- package/dist/server/persistence/kv/mappers/create-kv-db-record.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/catalog-entities-diff-publisher.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/catalog-entities-revisions-pruner.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/database/catalog-entities-service.d.ts +5 -5
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-attributes-db-record.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-db-record.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-db-record-from-file-schema.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/remote-publish-lock-service.d.ts +3 -3
- package/dist/server/plugins/catalog-entities/database/repositories/bffEntities/bff-entities-read-repository.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/database/repositories/common/filters-repository.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/common/revision-repository.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/entities/entities-read-repository.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/entities/entities-write-repository.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/database/repositories/entityAttributes/entity-attributes-write-repository.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/relations/relations-read-repository.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/base.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/fs-entities-extractor.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/utils/get-not-accessible-catalog-resources.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/utils/openapi-component-content-extractor.d.ts +1 -1
- package/dist/server/plugins/dev-onboarding/index.d.ts +1 -1
- package/dist/server/plugins/dev-onboarding/template/components/RevokeAPIKey.d.ts +1 -1
- package/dist/server/plugins/dev-onboarding/template/components/RollAPIKey.d.ts +1 -1
- package/dist/server/plugins/graphql-docs/search/ai/utils.d.ts +1 -1
- package/dist/server/plugins/markdown/markdoc/markdoc-options.d.ts +9 -9
- package/dist/server/plugins/markdown/utils/resolve-markdown-template.d.ts +1 -1
- package/dist/server/plugins/mcp/codemode/prompts.js +1 -1
- package/dist/server/plugins/mcp/docs-mcp/tool-schemas.js +1 -1
- package/dist/server/plugins/mcp/docs-mcp/tools/openapi/constants.d.ts +2 -0
- package/dist/server/plugins/mcp/docs-mcp/tools/openapi/constants.js +1 -0
- package/dist/server/plugins/mcp/docs-mcp/tools/openapi/get-endpoint-info.js +1 -1
- package/dist/server/plugins/mcp/docs-mcp/tools/openapi/get-security-schemes.js +1 -1
- package/dist/server/plugins/mcp/docs-mcp/tools/openapi/utils.d.ts +1 -1
- package/dist/server/plugins/mcp/docs-mcp/tools/openapi/utils.js +1 -1
- package/dist/server/plugins/mcp/docs-mcp/utils.d.ts +2 -2
- package/dist/server/plugins/mcp/gateway-mcp/fetch/fetch-bridge.d.ts +1 -1
- package/dist/server/plugins/mcp/servers/docs-server.d.ts +1 -1
- package/dist/server/plugins/mcp/workers/mcp-tool-telemetry.d.ts +2 -2
- package/dist/server/plugins/scorecard-classic/compute-scorecard.d.ts +1 -1
- package/dist/server/plugins/scorecard-classic/index.d.ts +1 -1
- package/dist/server/plugins/scorecard-classic/template/components.d.ts +1 -1
- package/dist/server/plugins/scorecard-classic/template/useData.d.ts +1 -1
- package/dist/server/plugins/search/ai-indexer/prepare-semantic-documents.d.ts +1 -1
- package/dist/server/plugins/search/engines/search-engine.d.ts +1 -1
- package/dist/server/plugins/search/llmstxt/index.d.ts +1 -1
- package/dist/server/plugins/sidebars/index.d.ts +1 -1
- package/dist/server/providers/database/database-path-generator.d.ts +2 -2
- package/dist/server/providers/database/utils/storage-limit-validator.d.ts +1 -1
- package/dist/server/sandbox/sandbox.js +2 -2
- package/dist/server/ssr/render.js +1 -1
- package/dist/server/ssr/server-side-props/get-default-static-props.d.ts +1 -1
- package/dist/server/ssr/server-side-props/get-server-props-from-user-handler.d.ts +1 -1
- package/dist/server/ssr/template.d.ts +1 -1
- package/dist/server/utils/sandbox-context.d.ts +1 -1
- package/dist/server/web-server/auth.d.ts +1 -1
- package/dist/server/web-server/middleware/catalogAuthMiddleware.d.ts +1 -1
- package/dist/server/web-server/routes/auth.js +1 -1
- package/dist/server/web-server/routes/catalog/helpers/has-access-to-entity.d.ts +1 -1
- package/dist/server/web-server/routes/catalog/helpers/upsert-pages-stats.d.ts +1 -1
- package/dist/server/web-server/routes/feedback.d.ts +1 -1
- package/dist/server/web-server/routes/helpers/process-redirects.d.ts +1 -1
- package/dist/server/web-server/routes/mcp-routes/utils/build-agent-card.d.ts +1 -1
- package/dist/server/web-server/utils/prepare-list-response.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @redocly/realm
|
|
2
2
|
|
|
3
|
+
## 0.136.0-next.4
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d0133f4af19: Updated the `react-router-dom` peer dependency from `^6.30.3` to `^7.18.1`.
|
|
8
|
+
`@redocly/theme` v6 is no longer supported.
|
|
9
|
+
Consumers that render `@redocly/theme` components directly must provide a `react-router-dom` v7 instance.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [d0133f4af19]
|
|
14
|
+
- @redocly/theme@0.68.0-next.2
|
|
15
|
+
- @redocly/asyncapi-docs@1.13.0-next.4
|
|
16
|
+
- @redocly/graphql-docs@1.13.0-next.4
|
|
17
|
+
- @redocly/openapi-docs@3.24.0-next.4
|
|
18
|
+
- @redocly/portal-plugin-mock-server@0.21.0-next.4
|
|
19
|
+
|
|
20
|
+
## 0.136.0-next.3
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [0ca40bb3a4f]
|
|
25
|
+
- @redocly/openapi-docs@3.24.0-next.3
|
|
26
|
+
- @redocly/asyncapi-docs@1.13.0-next.3
|
|
27
|
+
- @redocly/graphql-docs@1.13.0-next.3
|
|
28
|
+
- @redocly/portal-plugin-mock-server@0.21.0-next.3
|
|
29
|
+
|
|
3
30
|
## 0.136.0-next.2
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { EjectComponentOptions, EjectOptions } from '../../types/index.js';
|
|
2
|
-
export default function ejectComponent({ pathToThemeFolder, pathToPortalCustomThemeFolder, componentToEject, theme }: EjectComponentOptions, options: EjectOptions): Promise<void>;
|
|
2
|
+
export default function ejectComponent({ pathToThemeFolder, pathToPortalCustomThemeFolder, componentToEject, theme, }: EjectComponentOptions, options: EjectOptions): Promise<void>;
|
|
3
3
|
//# sourceMappingURL=ejectComponent.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { EjectThemeOptions, EjectOptions } from '../../types/index.js';
|
|
2
|
-
export default function ejectTheme({ pathToThemeFolder, pathToPortalCustomThemeFolder, theme }: EjectThemeOptions, options: EjectOptions): Promise<void>;
|
|
2
|
+
export default function ejectTheme({ pathToThemeFolder, pathToPortalCustomThemeFolder, theme, }: EjectThemeOptions, options: EjectOptions): Promise<void>;
|
|
3
3
|
//# sourceMappingURL=ejectTheme.d.ts.map
|
|
@@ -14,14 +14,14 @@ export declare function getThemeFiles(pathToThemeFolder: string, options?: {
|
|
|
14
14
|
export declare function getEjectedFiles(customThemeFiles: string[], themeFiles: string[]): string[];
|
|
15
15
|
export declare function copyThemeComponent(portalCustomThemeDir: string, pathToThemeFolder: string, componentToCopy: string): string;
|
|
16
16
|
export declare function copyComponentAndReport(componentToCopy: string, copyFrom: string, copyTo: string, options?: EjectOptions): void;
|
|
17
|
-
export declare function copyComponent({ componentToCopy, ejectedFiles, copyFrom, copyTo, options }: {
|
|
17
|
+
export declare function copyComponent({ componentToCopy, ejectedFiles, copyFrom, copyTo, options, }: {
|
|
18
18
|
componentToCopy: string;
|
|
19
19
|
ejectedFiles?: string[];
|
|
20
20
|
copyFrom: string;
|
|
21
21
|
copyTo: string;
|
|
22
22
|
options?: EjectOptions;
|
|
23
23
|
}): Promise<void>;
|
|
24
|
-
export declare function copyComponentsFromList({ componentList, ejectedComponents, pathToThemeFolder, pathToPortalCustomThemeFolder, options }: {
|
|
24
|
+
export declare function copyComponentsFromList({ componentList, ejectedComponents, pathToThemeFolder, pathToPortalCustomThemeFolder, options, }: {
|
|
25
25
|
componentList: string[];
|
|
26
26
|
ejectedComponents: string[];
|
|
27
27
|
pathToThemeFolder: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ResolvedPageData } from '../types/index.js';
|
|
3
|
-
export declare function TestProvider({ children, customPageData }: React.PropsWithChildren<{
|
|
3
|
+
export declare function TestProvider({ children, customPageData, }: React.PropsWithChildren<{
|
|
4
4
|
customPageData?: Partial<ResolvedPageData>;
|
|
5
5
|
}>): React.JSX.Element;
|
|
6
6
|
//# sourceMappingURL=TestProvider.d.ts.map
|
|
@@ -13,7 +13,7 @@ export declare function useCatalogFilter(config?: CatalogEntityConfig, serverFil
|
|
|
13
13
|
type?: 'select' | 'checkboxes' | 'date-range';
|
|
14
14
|
hide?: boolean;
|
|
15
15
|
label?: string;
|
|
16
|
-
options: import("@redocly/theme
|
|
16
|
+
options: import("@redocly/theme").FilterResult[];
|
|
17
17
|
toggleOption: (value: string) => void;
|
|
18
18
|
selectOption: (value: string) => void;
|
|
19
19
|
selectedOptions: FilterState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BffCatalogEntityList, CatalogApiParams } from '@redocly/theme/core/types';
|
|
2
2
|
export declare function useFetchCatalogEntities({ limit, filter, sort, search }?: CatalogApiParams, initialEntitiesList?: BffCatalogEntityList): {
|
|
3
3
|
query: import("@tanstack/react-query").DefinedUseInfiniteQueryResult<import("@tanstack/react-query").InfiniteData<BffCatalogEntityList, unknown>, Error>;
|
|
4
|
-
items: import("@redocly/theme
|
|
4
|
+
items: import("@redocly/theme").BffCatalogEntity[];
|
|
5
5
|
total: number;
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=useFetchCatalogEntities.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { BffCatalogRelatedEntityList, CatalogApiParams } from '@redocly/theme/core/types';
|
|
2
|
-
export declare function useFetchCatalogEntitiesRelations({ entityKey, limit, filter, sort, search }: CatalogApiParams & {
|
|
2
|
+
export declare function useFetchCatalogEntitiesRelations({ entityKey, limit, filter, sort, search, }: CatalogApiParams & {
|
|
3
3
|
entityKey: string;
|
|
4
4
|
}, initialRelationsList?: BffCatalogRelatedEntityList): {
|
|
5
5
|
query: import("@tanstack/react-query").DefinedUseInfiniteQueryResult<import("@tanstack/react-query").InfiniteData<BffCatalogRelatedEntityList, unknown>, Error>;
|
|
6
|
-
items: import("@redocly/theme
|
|
6
|
+
items: import("@redocly/theme").BffCatalogRelatedEntity[];
|
|
7
7
|
total: number;
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=useFetchCatalogEntitiesRelations.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query';
|
|
2
2
|
import type { BffCatalogEntityRevision, BffCatalogEntityRevisionList } from '@redocly/theme/core/types';
|
|
3
|
-
export declare function useFetchCatalogEntityRevisions({ entityKey, version }: {
|
|
3
|
+
export declare function useFetchCatalogEntityRevisions({ entityKey, version, }: {
|
|
4
4
|
entityKey: string;
|
|
5
5
|
version?: string | null;
|
|
6
6
|
}): {
|
|
@@ -6,11 +6,6 @@ export declare const highlight: (rawContent: string, language: string | undefine
|
|
|
6
6
|
customTransformer?: ShikiTransformer;
|
|
7
7
|
} | undefined) => string;
|
|
8
8
|
export declare function useCodeHighlight(): {
|
|
9
|
-
highlight:
|
|
10
|
-
withLineNumbers?: boolean;
|
|
11
|
-
startLineNumber?: number;
|
|
12
|
-
highlight?: string;
|
|
13
|
-
customTransformer?: ShikiTransformer;
|
|
14
|
-
} | undefined) => string;
|
|
9
|
+
highlight: typeof highlight;
|
|
15
10
|
};
|
|
16
11
|
//# sourceMappingURL=useCodeHighlight.d.ts.map
|
|
@@ -6,6 +6,6 @@ type DevLoginFormProps = {
|
|
|
6
6
|
onSubmit: () => void;
|
|
7
7
|
teams: Array<string>;
|
|
8
8
|
};
|
|
9
|
-
export declare function DevLoginForm({ teams, formState: { values, errors }, setFormState, onSubmit }: DevLoginFormProps): React.JSX.Element;
|
|
9
|
+
export declare function DevLoginForm({ teams, formState: { values, errors }, setFormState, onSubmit, }: DevLoginFormProps): React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=DevLoginForm.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function useGlobalData(): import("../../types/
|
|
1
|
+
export declare function useGlobalData(): import("../../types/global-data").GlobalData;
|
|
2
2
|
//# sourceMappingURL=useGlobalData.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { To,
|
|
1
|
+
import type { To, Location } from 'react-router-dom';
|
|
2
2
|
export declare function usePreloadHistory(): {
|
|
3
|
-
push: (location: To) => Promise<
|
|
3
|
+
push: (location: To) => Promise<void>;
|
|
4
4
|
location: Location;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=usePreloadHistory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useMemo as
|
|
1
|
+
import{useMemo as s,useCallback as n}from"react";import{useLocation as r,useNavigate as i}from"react-router-dom";function m(){const o=i(),a=n(async e=>{await window.__LOADER.load(e),await o(e)},[o]),t=r();return s(()=>({push:a,location:t}),[t,a])}export{m as usePreloadHistory};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NavigateFunction, NavigateOptions } from 'react-router-dom';
|
|
2
2
|
export type HistoryOrigin = 'pm' | 'browser';
|
|
3
|
-
export declare function loadAndNavigate({ navigate, to, origin, options }: {
|
|
3
|
+
export declare function loadAndNavigate({ navigate, to, origin, options, }: {
|
|
4
4
|
navigate: NavigateFunction;
|
|
5
5
|
to: string;
|
|
6
6
|
origin?: HistoryOrigin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isLocalLink as f}from"../../../utils/path/is-local-link.js";import{isAuthRoutePath as m}from"../../../utils/auth/is-auth-route-path.js";import{withLoadProgress as u}from"./withLoadProgress";import{scrollToAnchor as p}from"./scroll-to-anchor";let s;async function A({navigate:
|
|
1
|
+
import{isLocalLink as f}from"../../../utils/path/is-local-link.js";import{isAuthRoutePath as m}from"../../../utils/auth/is-auth-route-path.js";import{withLoadProgress as u}from"./withLoadProgress";import{scrollToAnchor as p}from"./scroll-to-anchor";let s;async function A({navigate:t,to:o,origin:a="browser",options:c}){o===""&&(o="/"),s=o;const{pathname:e,hash:d,search:i}=new URL(o,window.location.origin+window.location.pathname),n=decodeURIComponent(d),l=decodeURIComponent(window.location.hash);if(m(e)){window.location.href=o;return}const w=window.__LOADER,r=await u(w.tryLoad(e,void 0,i));if(r?.redirectTo){if(!f(r.redirectTo)){window.location.href=r.redirectTo;return}return A({navigate:t,to:r.redirectTo,origin:a,options:c})}if(r&&s===o){if((e!==window.location.pathname||i!==window.location.search||n!==l)&&t({pathname:e,search:i,hash:n},{...c,state:{origin:a},flushSync:!0}),r.props?.disableAutoScroll)return;requestAnimationFrame(()=>{if(n){const h=n.slice(1);p(h)}else window.scrollTo(0,0)})}}export{A as loadAndNavigate};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{telemetry as
|
|
1
|
+
import{telemetry as p}from"./app/telemetry/index.js";p.init({otel:{isProd:process.env.NODE_ENV==="production",serviceVersion:`${P}@${process.env.REDOCLY_PORTAL_VERSION}`,version:"1.0.0",collectorTraceUrl:new URL(e(L.OTEL_TRACES),location.origin).toString(),serviceName:"realm-ui",tracerName:"client-telemetry"},disabled:!_});import o from"react";import{hydrateRoot as s}from"react-dom/client";import{RouterProvider as m,createBrowserRouter as d}from"react-router-dom";import{HelmetProvider as f}from"@dr.pogodin/react-helmet";import{StyleSheetManager as E}from"styled-components";import{getLocaleFromPathname as u,withoutPathPrefix as R,withPathPrefix as e}from"@redocly/theme/core/utils";import{ServerRoutes as L}from"../constants/api";import{DEFAULT_LOCALE_PLACEHOLDER as O}from"../constants/common";import{CLIENT_TELEMETRY_ENABLED as _}from"./constants/common.js";import{shouldForwardProp as D}from"../utils/should-forward-prop.js";import"./polyfills";import{PACKAGE_NAME as P,PRODUCT_NAME as h}from"../config/product-gates";import{App as g,routes as A}from"./App";import{Loader as x,useRefresh as N,globalData as t}from"./runtime/loader";import{initL10n as b}from"./app/l10n/initL10n";function v(){return N(),o.createElement(f,{context:{}},o.createElement(E,{shouldForwardProp:D},o.createElement(g,null)))}function T(){t?.removeAttribution&&process.env.REDOCLY_PORTAL_VERSION?console.log(`
|
|
2
2
|
%c Version: ${process.env.REDOCLY_PORTAL_VERSION} %c
|
|
3
3
|
`,"background:#ffffff ; padding: 1px; border:1px solid #0044D4; border-radius: 3px; color: #0044D4","background:transparent"):process.env.REDOCLY_PORTAL_VERSION&&console.log(`
|
|
4
4
|
%c Redocly ${h} %c ${process.env.REDOCLY_PORTAL_VERSION} %c
|
|
5
5
|
|
|
6
6
|
%chttps://redocly.com
|
|
7
|
-
`,"background:#0044D4 ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff; border:1px solid #0044D4","background:#ffffff ; padding: 1px; border:1px solid #0044D4; border-radius: 0 3px 3px 0; color: #0044D4","background:transparent","font-size: 10px; font-style: italic;")}async function C(){process.env.NODE_ENV!=="production"&&import("./runtime/ws-client").then(l=>l.listenWs()),await
|
|
7
|
+
`,"background:#0044D4 ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff; border:1px solid #0044D4","background:#ffffff ; padding: 1px; border:1px solid #0044D4; border-radius: 0 3px 3px 0; color: #0044D4","background:transparent","font-size: 10px; font-style: italic;")}async function C(){process.env.NODE_ENV!=="production"&&import("./runtime/ws-client").then(l=>l.listenWs()),await x.load(window.location.pathname,void 0,window.location.search),T();const r=t?.l10n,n=r?.locales||[],i=r?.defaultLocale||O,a=u(R(location.pathname),i,n);await b(r,a);const c=d([{Component:v,path:e("/*"),children:A}]);s(document.getElementById("app_root"),o.createElement(m,{router:c}))}C();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PageProps, ResolvedNavItem, CatalogEntityConfig } from '@redocly/config';
|
|
2
2
|
import type { SidebarConnectedEntity } from '@redocly/theme/core/types';
|
|
3
3
|
export * from './use-page-shared-data';
|
|
4
|
-
export declare function usePageData(): import("../../../types
|
|
4
|
+
export declare function usePageData(): import("../../../types").ResolvedPageData | null;
|
|
5
5
|
export declare function usePageProps<T extends object>(): PageProps & T;
|
|
6
6
|
export declare function usePageVersions(): {
|
|
7
7
|
versions: {
|
|
@@ -28,5 +28,5 @@ export declare function useSidebarSiblingsData(): {
|
|
|
28
28
|
prevPage?: undefined;
|
|
29
29
|
nextPage?: undefined;
|
|
30
30
|
} | undefined;
|
|
31
|
-
export declare function usePageDataLoader(): import("../../../types
|
|
31
|
+
export declare function usePageDataLoader(): import("../../../types").ResolvedPageData | undefined;
|
|
32
32
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -4,7 +4,7 @@ import type { RedocConfig } from '@redocly/config';
|
|
|
4
4
|
export declare function getOperation(store: {
|
|
5
5
|
definition: OpenAPIDefinition;
|
|
6
6
|
options: RedocConfig;
|
|
7
|
-
}, { operationId, pointer }: OperationIdentifier, options: Options, { exampleKey, mimeType, environments, environment, requestBody }: {
|
|
7
|
+
}, { operationId, pointer }: OperationIdentifier, options: Options, { exampleKey, mimeType, environments, environment, requestBody, }: {
|
|
8
8
|
exampleKey?: string;
|
|
9
9
|
mimeType?: string;
|
|
10
10
|
environments?: Record<string, Record<string, string>>;
|
|
@@ -1,9 +1,55 @@
|
|
|
1
|
+
import { jsonSchema } from './json-schema.js';
|
|
2
|
+
import { openApiCodeSample } from './openapi-code-sample.js';
|
|
3
|
+
import { openApiExample } from './openapi-example.js';
|
|
4
|
+
import { replayOpenApi } from './replay-openapi.js';
|
|
5
|
+
import { openApiResponseSample } from './openapi-response-sample.js';
|
|
6
|
+
import { jsonExample } from './json-example.js';
|
|
1
7
|
declare const _default: {
|
|
2
|
-
[
|
|
8
|
+
[jsonSchema.tagName]: import("@markdoc/markdoc").Schema & {
|
|
3
9
|
attributes?: Record<string, import("@markdoc/markdoc").SchemaAttribute & {
|
|
4
10
|
resolver?: string;
|
|
5
11
|
}>;
|
|
6
|
-
renderForLlms?: import("@redocly/theme/
|
|
12
|
+
renderForLlms?: import("@redocly/theme/markdoc/tags/types").RenderForLlmsFn;
|
|
13
|
+
} & {
|
|
14
|
+
dynamicComponentLib?: string;
|
|
15
|
+
};
|
|
16
|
+
[openApiCodeSample.tagName]: import("@markdoc/markdoc").Schema & {
|
|
17
|
+
attributes?: Record<string, import("@markdoc/markdoc").SchemaAttribute & {
|
|
18
|
+
resolver?: string;
|
|
19
|
+
}>;
|
|
20
|
+
renderForLlms?: import("@redocly/theme/markdoc/tags/types").RenderForLlmsFn;
|
|
21
|
+
} & {
|
|
22
|
+
dynamicComponentLib?: string;
|
|
23
|
+
};
|
|
24
|
+
[openApiExample.tagName]: import("@markdoc/markdoc").Schema & {
|
|
25
|
+
attributes?: Record<string, import("@markdoc/markdoc").SchemaAttribute & {
|
|
26
|
+
resolver?: string;
|
|
27
|
+
}>;
|
|
28
|
+
renderForLlms?: import("@redocly/theme/markdoc/tags/types").RenderForLlmsFn;
|
|
29
|
+
} & {
|
|
30
|
+
dynamicComponentLib?: string;
|
|
31
|
+
};
|
|
32
|
+
[replayOpenApi.tagName]: import("@markdoc/markdoc").Schema & {
|
|
33
|
+
attributes?: Record<string, import("@markdoc/markdoc").SchemaAttribute & {
|
|
34
|
+
resolver?: string;
|
|
35
|
+
}>;
|
|
36
|
+
renderForLlms?: import("@redocly/theme/markdoc/tags/types").RenderForLlmsFn;
|
|
37
|
+
} & {
|
|
38
|
+
dynamicComponentLib?: string;
|
|
39
|
+
};
|
|
40
|
+
[openApiResponseSample.tagName]: import("@markdoc/markdoc").Schema & {
|
|
41
|
+
attributes?: Record<string, import("@markdoc/markdoc").SchemaAttribute & {
|
|
42
|
+
resolver?: string;
|
|
43
|
+
}>;
|
|
44
|
+
renderForLlms?: import("@redocly/theme/markdoc/tags/types").RenderForLlmsFn;
|
|
45
|
+
} & {
|
|
46
|
+
dynamicComponentLib?: string;
|
|
47
|
+
};
|
|
48
|
+
[jsonExample.tagName]: import("@markdoc/markdoc").Schema & {
|
|
49
|
+
attributes?: Record<string, import("@markdoc/markdoc").SchemaAttribute & {
|
|
50
|
+
resolver?: string;
|
|
51
|
+
}>;
|
|
52
|
+
renderForLlms?: import("@redocly/theme/markdoc/tags/types").RenderForLlmsFn;
|
|
7
53
|
} & {
|
|
8
54
|
dynamicComponentLib?: string;
|
|
9
55
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function readStreamWithSizeLimit({ stream, maxSizeMB, onSizeExceededErrorHandler }: {
|
|
1
|
+
export declare function readStreamWithSizeLimit({ stream, maxSizeMB, onSizeExceededErrorHandler, }: {
|
|
2
2
|
stream: ReadableStream<Uint8Array>;
|
|
3
3
|
maxSizeMB: number;
|
|
4
4
|
onSizeExceededErrorHandler: () => never;
|
|
@@ -2,7 +2,7 @@ import type { Context } from 'hono';
|
|
|
2
2
|
import type { ApiRoute } from '../types';
|
|
3
3
|
import type { Store } from '../store.js';
|
|
4
4
|
export declare function runApiRoutesWorker(route: ApiRoute, ctx: Context, store: Store): Promise<Response>;
|
|
5
|
-
export declare function sendTelemetryErrorMessage({ requestHandlerId, error }: {
|
|
5
|
+
export declare function sendTelemetryErrorMessage({ requestHandlerId, error, }: {
|
|
6
6
|
requestHandlerId: string;
|
|
7
7
|
error: Error;
|
|
8
8
|
}): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DatabaseCacheDto } from '../../../providers/database/databases/sqlite-db/schemas/cache-table.js';
|
|
2
|
-
export declare function createCacheDbRecord({ key, value, namespace, ttlInSeconds }: {
|
|
2
|
+
export declare function createCacheDbRecord({ key, value, namespace, ttlInSeconds, }: {
|
|
3
3
|
key: string;
|
|
4
4
|
value: Record<string, unknown> | unknown[];
|
|
5
5
|
namespace: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FileType, FileHashStatus } from '../types.js';
|
|
2
2
|
import type { DatabaseFileHashDto } from '../../../providers/database/databases/sqlite-db/schemas/file-hashes-table.js';
|
|
3
|
-
export declare function createFileHashDbRecord({ id, fileType, filePath, hash, status }: {
|
|
3
|
+
export declare function createFileHashDbRecord({ id, fileType, filePath, hash, status, }: {
|
|
4
4
|
id?: string;
|
|
5
5
|
fileType: FileType;
|
|
6
6
|
filePath: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { KvValue, KvKey } from '@redocly/config';
|
|
2
2
|
import type { DatabaseKvDbInsertSchema } from '../../../providers/database/databases/sqlite-db/schemas/kv-table.js';
|
|
3
3
|
export declare const KV_KEY_SEPARATOR = "\u0001";
|
|
4
|
-
export declare function createKvDbRecord({ key, value, ttlInSeconds }: {
|
|
4
|
+
export declare function createKvDbRecord({ key, value, ttlInSeconds, }: {
|
|
5
5
|
key: KvKey;
|
|
6
6
|
value: KvValue;
|
|
7
7
|
ttlInSeconds?: number;
|
|
@@ -10,7 +10,7 @@ export type PublishDiffResult = {
|
|
|
10
10
|
};
|
|
11
11
|
export declare class CatalogEntitiesDiffPublisher {
|
|
12
12
|
#private;
|
|
13
|
-
static publishDiff({ runId, localConnection, remoteConnection, scopeFiles, chunkSize }: {
|
|
13
|
+
static publishDiff({ runId, localConnection, remoteConnection, scopeFiles, chunkSize, }: {
|
|
14
14
|
runId: string;
|
|
15
15
|
localConnection: DatabaseConnection;
|
|
16
16
|
remoteConnection: DatabaseConnection;
|
package/dist/server/plugins/catalog-entities/database/catalog-entities-revisions-pruner.d.ts
CHANGED
|
@@ -9,12 +9,12 @@ export type PruneLocalRevisionsResult = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare class CatalogEntitiesRevisionsPruner {
|
|
11
11
|
#private;
|
|
12
|
-
static pruneLocalRevisions({ localConnection, maxRevisions, vacuumThreshold }: {
|
|
12
|
+
static pruneLocalRevisions({ localConnection, maxRevisions, vacuumThreshold, }: {
|
|
13
13
|
localConnection: DatabaseConnection;
|
|
14
14
|
maxRevisions: number;
|
|
15
15
|
vacuumThreshold?: number;
|
|
16
16
|
}): Promise<PruneLocalRevisionsResult>;
|
|
17
|
-
static confirmPrunedFiles({ localConnection, sourceFiles }: {
|
|
17
|
+
static confirmPrunedFiles({ localConnection, sourceFiles, }: {
|
|
18
18
|
localConnection: DatabaseConnection;
|
|
19
19
|
sourceFiles: string[];
|
|
20
20
|
}): Promise<void>;
|
|
@@ -18,7 +18,7 @@ export declare class CatalogEntitiesService extends BaseService<CatalogEntitiesR
|
|
|
18
18
|
static getInstance(options: ServiceInstanceOptions): Promise<CatalogEntitiesService>;
|
|
19
19
|
sync(): Promise<void>;
|
|
20
20
|
transaction<T>(...args: Parameters<TransactionsManager['transaction']>): Promise<T>;
|
|
21
|
-
getEntities({ paginationParams, rbacTeams, excludedTypes, excludedEntities }: {
|
|
21
|
+
getEntities({ paginationParams, rbacTeams, excludedTypes, excludedEntities, }: {
|
|
22
22
|
paginationParams: PaginationParams;
|
|
23
23
|
rbacTeams?: string[];
|
|
24
24
|
excludedTypes?: string[];
|
|
@@ -33,13 +33,13 @@ export declare class CatalogEntitiesService extends BaseService<CatalogEntitiesR
|
|
|
33
33
|
getCatalogFilters(params: CatalogFiltersParams): Promise<Record<string, import("./repositories/types.js").FilterOption[]>>;
|
|
34
34
|
getEntityRelationById(id: string): Promise<EntityRelationReadModelSchema | null>;
|
|
35
35
|
getEntitiesRelations(paginationParams?: PaginationParams): Promise<ListResponseResult<EntityRelationReadModelSchema>>;
|
|
36
|
-
getEntitiesWithRelations({ paginationParams, rbacTeams, excludedTypes, excludedEntities }: {
|
|
36
|
+
getEntitiesWithRelations({ paginationParams, rbacTeams, excludedTypes, excludedEntities, }: {
|
|
37
37
|
paginationParams: PaginationParams;
|
|
38
38
|
rbacTeams?: string[];
|
|
39
39
|
excludedTypes?: string[];
|
|
40
40
|
excludedEntities?: string[];
|
|
41
41
|
}): Promise<BffCatalogEntityList>;
|
|
42
|
-
getEntityWithRelationsByKey({ entityKey, filter, rbacTeams, excludedTypes, excludedEntities }: {
|
|
42
|
+
getEntityWithRelationsByKey({ entityKey, filter, rbacTeams, excludedTypes, excludedEntities, }: {
|
|
43
43
|
entityKey: string;
|
|
44
44
|
filter?: {
|
|
45
45
|
revision?: string | null;
|
|
@@ -49,7 +49,7 @@ export declare class CatalogEntitiesService extends BaseService<CatalogEntitiesR
|
|
|
49
49
|
excludedTypes?: string[];
|
|
50
50
|
excludedEntities?: string[];
|
|
51
51
|
}): Promise<BffCatalogEntity | null>;
|
|
52
|
-
getRelatedEntities({ entityKey, paginationParams, rbacTeams, excludedTypes, excludedEntities }: {
|
|
52
|
+
getRelatedEntities({ entityKey, paginationParams, rbacTeams, excludedTypes, excludedEntities, }: {
|
|
53
53
|
entityKey: string;
|
|
54
54
|
paginationParams: PaginationParams;
|
|
55
55
|
rbacTeams?: string[];
|
|
@@ -76,7 +76,7 @@ export declare class CatalogEntitiesService extends BaseService<CatalogEntitiesR
|
|
|
76
76
|
createEntitiesRelations(entities: EntityRelationDtoSchema[]): Promise<BulkSyncResult<EntityRelationReadModelSchema>>;
|
|
77
77
|
updateEntityRelation(incomingRelationData: Partial<EntityRelationDtoSchema>, relationToBeUpdated: EntityRelationReadModelSchema): Promise<EntityRelationReadModelSchema | null>;
|
|
78
78
|
deleteEntityRelation(id: string): Promise<string | null>;
|
|
79
|
-
softDeleteEntitiesWithRelations({ filter, revision, fileHash }: {
|
|
79
|
+
softDeleteEntitiesWithRelations({ filter, revision, fileHash, }: {
|
|
80
80
|
filter: Filter;
|
|
81
81
|
revision: string;
|
|
82
82
|
fileHash: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DatabaseEntityAttributesDto } from '../../../../providers/database/databases/sqlite-db/schemas/entities-attributes-table.js';
|
|
2
|
-
export declare function createEntityAttributesDbRecord({ rbacTeams, entityKey, organizationId, projectId }: {
|
|
2
|
+
export declare function createEntityAttributesDbRecord({ rbacTeams, entityKey, organizationId, projectId, }: {
|
|
3
3
|
rbacTeams: string[];
|
|
4
4
|
entityKey: string;
|
|
5
5
|
organizationId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EntityBaseFileSchema } from '@redocly/config';
|
|
2
2
|
import type { DatabaseEntityDto } from '../../../../providers/database/databases/sqlite-db/schemas/entities-table.js';
|
|
3
|
-
export declare function createEntityDbRecord({ entity, organizationId, projectId, source, sourceFile, fileHash }: {
|
|
3
|
+
export declare function createEntityDbRecord({ entity, organizationId, projectId, source, sourceFile, fileHash, }: {
|
|
4
4
|
entity: EntityBaseFileSchema & {
|
|
5
5
|
id?: string;
|
|
6
6
|
createdAt?: string;
|
|
@@ -10,6 +10,6 @@ type CreateEntityRelationDbRecordFromFileSchemaParams = {
|
|
|
10
10
|
organizationId: string;
|
|
11
11
|
projectId: string;
|
|
12
12
|
};
|
|
13
|
-
export declare function createEntityRelationDbRecordFromFileSchema({ relation, sourceFile, fileHash, sourceKey, sourceVersion, sourceRevision, organizationId, projectId }: CreateEntityRelationDbRecordFromFileSchemaParams): DatabaseEntityRelationDto;
|
|
13
|
+
export declare function createEntityRelationDbRecordFromFileSchema({ relation, sourceFile, fileHash, sourceKey, sourceVersion, sourceRevision, organizationId, projectId, }: CreateEntityRelationDbRecordFromFileSchemaParams): DatabaseEntityRelationDto;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=create-entity-relation-db-record-from-file-schema.d.ts.map
|
|
@@ -3,17 +3,17 @@ export declare const INTERNAL_CATALOG_PUBLISH_CACHE_NAMESPACE = "catalog-publish
|
|
|
3
3
|
export declare const INTERNAL_CATALOG_PUBLISH_KEY_PREFIX = "catalog-entities::publisher";
|
|
4
4
|
export declare class RemotePublishLockService {
|
|
5
5
|
#private;
|
|
6
|
-
static getInternalCacheValue({ remoteConnection, key }: {
|
|
6
|
+
static getInternalCacheValue({ remoteConnection, key, }: {
|
|
7
7
|
remoteConnection: DatabaseConnection;
|
|
8
8
|
key: string;
|
|
9
9
|
}): Promise<string | null>;
|
|
10
|
-
static upsertInternalCacheValue({ remoteConnection, key, value, ttl }: {
|
|
10
|
+
static upsertInternalCacheValue({ remoteConnection, key, value, ttl, }: {
|
|
11
11
|
remoteConnection: DatabaseConnection;
|
|
12
12
|
key: string;
|
|
13
13
|
value: string;
|
|
14
14
|
ttl?: number | null;
|
|
15
15
|
}): Promise<void>;
|
|
16
|
-
static runUnderRemotePublishLock<T>({ runId, remoteConnection, run }: {
|
|
16
|
+
static runUnderRemotePublishLock<T>({ runId, remoteConnection, run, }: {
|
|
17
17
|
runId: string;
|
|
18
18
|
remoteConnection: DatabaseConnection;
|
|
19
19
|
run: () => Promise<T>;
|
|
@@ -5,13 +5,13 @@ import type { ListResult } from '../types.js';
|
|
|
5
5
|
export declare class BffEntitiesReadRepository {
|
|
6
6
|
#private;
|
|
7
7
|
constructor(db: DatabaseClient);
|
|
8
|
-
getEntitiesWithRelations({ paginationParams, rbacTeams, excludedEntities, excludedTypes }: {
|
|
8
|
+
getEntitiesWithRelations({ paginationParams, rbacTeams, excludedEntities, excludedTypes, }: {
|
|
9
9
|
paginationParams: PaginationParams;
|
|
10
10
|
rbacTeams?: string[];
|
|
11
11
|
excludedEntities?: string[];
|
|
12
12
|
excludedTypes?: string[];
|
|
13
13
|
}): Promise<ListResult<BffCatalogEntity>>;
|
|
14
|
-
getEntityWithRelationsByKey({ entityKey, filter, rbacTeams, excludedTypes, excludedEntities }: {
|
|
14
|
+
getEntityWithRelationsByKey({ entityKey, filter, rbacTeams, excludedTypes, excludedEntities, }: {
|
|
15
15
|
entityKey: string;
|
|
16
16
|
filter?: {
|
|
17
17
|
revision?: string | null;
|
package/dist/server/plugins/catalog-entities/database/repositories/common/filters-repository.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import type { CatalogFiltersParams, FilterOption } from '../types.js';
|
|
|
3
3
|
export declare class FiltersRepository {
|
|
4
4
|
#private;
|
|
5
5
|
constructor(db: DatabaseClient);
|
|
6
|
-
getCatalogFilters({ entitiesTypes, emptyFilters, rbacTeams, excludedTypes, excludedEntities }: CatalogFiltersParams): Promise<Record<string, FilterOption[]>>;
|
|
6
|
+
getCatalogFilters({ entitiesTypes, emptyFilters, rbacTeams, excludedTypes, excludedEntities, }: CatalogFiltersParams): Promise<Record<string, FilterOption[]>>;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=filters-repository.d.ts.map
|
package/dist/server/plugins/catalog-entities/database/repositories/common/revision-repository.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { EntityRevisionSummary } from '../../../schemas/read-model-schemas.
|
|
|
3
3
|
export declare class RevisionRepository {
|
|
4
4
|
#private;
|
|
5
5
|
constructor(db: DatabaseClient);
|
|
6
|
-
getCurrentRevisionInfo({ key, version, revision }: {
|
|
6
|
+
getCurrentRevisionInfo({ key, version, revision, }: {
|
|
7
7
|
key: string;
|
|
8
8
|
version: string | null;
|
|
9
9
|
revision: string | null;
|
|
@@ -7,7 +7,7 @@ import type { GetEntityByIdParams } from '../../../types/params';
|
|
|
7
7
|
export declare class EntitiesReadRepository {
|
|
8
8
|
#private;
|
|
9
9
|
constructor(db: DatabaseClient);
|
|
10
|
-
getEntities({ paginationParams, rbacTeams, excludedTypes, excludedEntities }: {
|
|
10
|
+
getEntities({ paginationParams, rbacTeams, excludedTypes, excludedEntities, }: {
|
|
11
11
|
paginationParams: PaginationParams;
|
|
12
12
|
rbacTeams?: string[];
|
|
13
13
|
excludedTypes?: string[];
|
|
@@ -7,10 +7,10 @@ import type { ScorecardsStatus } from '../../../entities/types';
|
|
|
7
7
|
export declare class EntitiesWriteRepository {
|
|
8
8
|
#private;
|
|
9
9
|
constructor(db: DatabaseClient, organizationId: string, projectId: string);
|
|
10
|
-
createEntity({ entity, source, fileHash, sourceFile, isRootEntity, isDeleted, rbacTeams, errorOnSkip, revision }: CreateEntityParams): Promise<EntityReadModelSchema | null>;
|
|
10
|
+
createEntity({ entity, source, fileHash, sourceFile, isRootEntity, isDeleted, rbacTeams, errorOnSkip, revision, }: CreateEntityParams): Promise<EntityReadModelSchema | null>;
|
|
11
11
|
updateEntity(incomingEntity: Partial<EntityDtoSchema>, entityToBeUpdated: EntityReadModelSchema): Promise<EntityReadModelSchema | null>;
|
|
12
12
|
setEntitiesAsOutdated(filter: Filter): Promise<void>;
|
|
13
|
-
softDeleteEntitiesWithRelations({ filter, revision, fileHash }: {
|
|
13
|
+
softDeleteEntitiesWithRelations({ filter, revision, fileHash, }: {
|
|
14
14
|
filter: Filter;
|
|
15
15
|
revision: string;
|
|
16
16
|
fileHash: string;
|
|
@@ -2,7 +2,7 @@ import type { DatabaseClient } from '../../../../../providers/database/client.js
|
|
|
2
2
|
export declare class EntityAttributesWriteRepository {
|
|
3
3
|
#private;
|
|
4
4
|
constructor(db: DatabaseClient);
|
|
5
|
-
upsertEntityAttributes({ entityKey, rbacTeams, organizationId, projectId }: {
|
|
5
|
+
upsertEntityAttributes({ entityKey, rbacTeams, organizationId, projectId, }: {
|
|
6
6
|
entityKey: string;
|
|
7
7
|
rbacTeams: string[];
|
|
8
8
|
organizationId: string;
|
|
@@ -13,7 +13,7 @@ export declare class RelationsReadRepository {
|
|
|
13
13
|
direction: 'outgoing' | 'incoming';
|
|
14
14
|
priority: number;
|
|
15
15
|
}[]>;
|
|
16
|
-
getRelatedEntities({ key, paginationParams, rbacTeams, excludedTypes, excludedEntities }: {
|
|
16
|
+
getRelatedEntities({ key, paginationParams, rbacTeams, excludedTypes, excludedEntities, }: {
|
|
17
17
|
key: string;
|
|
18
18
|
paginationParams: PaginationParams;
|
|
19
19
|
rbacTeams?: string[];
|
package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/base.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare abstract class BaseApiEntitiesExtractor<BundledApiDefinition exte
|
|
|
29
29
|
* @param customKey - Optional custom key from x-redocly-catalog-key
|
|
30
30
|
* @param extensionPattern - Optional regex to strip file extension (default: any extension)
|
|
31
31
|
*/
|
|
32
|
-
protected resolveEntityKey({ realRelativePath, customKey, extensionPattern }: {
|
|
32
|
+
protected resolveEntityKey({ realRelativePath, customKey, extensionPattern, }: {
|
|
33
33
|
realRelativePath: string;
|
|
34
34
|
customKey?: string | null;
|
|
35
35
|
extensionPattern?: RegExp;
|
package/dist/server/plugins/catalog-entities/extensions/extractors/fs-entities-extractor.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { CatalogEntitiesService } from '../../database/catalog-entities-ser
|
|
|
4
4
|
import type { EntitiesCatalogConfig } from '@redocly/config';
|
|
5
5
|
export declare class FsEntitiesExtractor {
|
|
6
6
|
#private;
|
|
7
|
-
constructor({ fileHashManager, context, catalogEntitiesService, catalogConfig, shouldCalculateEntities }: {
|
|
7
|
+
constructor({ fileHashManager, context, catalogEntitiesService, catalogConfig, shouldCalculateEntities, }: {
|
|
8
8
|
fileHashManager: HashManager;
|
|
9
9
|
context: LifecycleContext;
|
|
10
10
|
catalogEntitiesService: CatalogEntitiesService;
|
package/dist/server/plugins/catalog-entities/utils/get-not-accessible-catalog-resources.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RedoclyConfig } from '@redocly/config';
|
|
2
|
-
export declare function getNotAccessibleCatalogResources({ rbacConfig, currentRbacTeams, accessLevel }: {
|
|
2
|
+
export declare function getNotAccessibleCatalogResources({ rbacConfig, currentRbacTeams, accessLevel, }: {
|
|
3
3
|
rbacConfig: RedoclyConfig['rbac'];
|
|
4
4
|
currentRbacTeams: string[];
|
|
5
5
|
accessLevel?: 'READ' | 'WRITE';
|
|
@@ -4,7 +4,7 @@ import type { Logger } from '../../../tools/notifiers/logger.js';
|
|
|
4
4
|
export declare class OpenapiComponentContentExtractor {
|
|
5
5
|
#private;
|
|
6
6
|
constructor(logger: Logger);
|
|
7
|
-
extract({ component, definition, openapiOperation, visitedRefs }: {
|
|
7
|
+
extract({ component, definition, openapiOperation, visitedRefs, }: {
|
|
8
8
|
component: OpenAPIResponse | OpenAPIRequestBody;
|
|
9
9
|
definition: BundledDefinition;
|
|
10
10
|
openapiOperation: OpenAPIOperation;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LifecyclePluginInstance, PluginOptions } from '../../types';
|
|
2
|
-
export declare function apiKeyMgmtPlugin({ contentDir: _ }: PluginOptions): Promise<LifecyclePluginInstance>;
|
|
2
|
+
export declare function apiKeyMgmtPlugin({ contentDir: _, }: PluginOptions): Promise<LifecyclePluginInstance>;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Credential } from '../../api/types';
|
|
3
|
-
export default function RevokeAPIKey({ apiKey: { expiresAt, clientId, clientSecret, id: apiKeyId } }: {
|
|
3
|
+
export default function RevokeAPIKey({ apiKey: { expiresAt, clientId, clientSecret, id: apiKeyId }, }: {
|
|
4
4
|
apiKey: Credential;
|
|
5
5
|
}): React.JSX.Element;
|
|
6
6
|
export declare const ButtonsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|