@stoplight/elements-core 7.5.9 → 7.5.13
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/components/Docs/story-helper.d.ts +1 -1
- package/components/TryIt/Body/FormDataBody.d.ts +3 -1
- package/components/TryIt/Body/request-body-utils.d.ts +3 -2
- package/components/TryIt/Parameters/ParameterEditor.d.ts +3 -0
- package/core.css +87 -0
- package/index.esm.js +55 -21
- package/index.js +55 -21
- package/index.mjs +55 -21
- package/package.json +5 -5
- package/styles.min.css +1 -1
- package/utils/guards.d.ts +1 -1
- package/utils/http-spec/IServer.d.ts +1 -1
package/utils/guards.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export declare function isSMDASTRoot(maybeAst: unknown): maybeAst is IMarkdownVi
|
|
|
5
5
|
export declare function isJSONSchema(maybeSchema: unknown): maybeSchema is JSONSchema7;
|
|
6
6
|
export declare function isHttpService(maybeHttpService: unknown): maybeHttpService is IHttpService;
|
|
7
7
|
export declare function isHttpOperation(maybeHttpOperation: unknown): maybeHttpOperation is IHttpOperation;
|
|
8
|
-
export declare function isProperUrl(url: string):
|
|
8
|
+
export declare function isProperUrl(url: string): boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IServer } from '@stoplight/types';
|
|
2
2
|
export declare const getServersToDisplay: (originalServers: IServer[], mockUrl?: string | undefined) => IServer[];
|
|
3
|
-
export declare const getServerUrlWithDefaultValues: (server: IServer) => string;
|
|
3
|
+
export declare const getServerUrlWithDefaultValues: (server: IServer) => string | null;
|