@scalar/oas-utils 0.2.122 → 0.2.124
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 +17 -0
- package/dist/entities/cookie/cookie.d.ts +4 -4
- package/dist/entities/cookie/cookie.js +1 -1
- package/dist/entities/cookie/index.d.ts +1 -1
- package/dist/entities/cookie/index.d.ts.map +1 -1
- package/dist/entities/environment/environment.d.ts +2 -2
- package/dist/entities/environment/environment.js +1 -1
- package/dist/entities/environment/index.d.ts +1 -1
- package/dist/entities/environment/index.d.ts.map +1 -1
- package/dist/entities/hotkeys/index.d.ts +1 -1
- package/dist/entities/hotkeys/index.d.ts.map +1 -1
- package/dist/entities/shared/index.d.ts +1 -1
- package/dist/entities/shared/index.d.ts.map +1 -1
- package/dist/entities/shared/index.js +1 -1
- package/dist/entities/shared/utility.d.ts +0 -16
- package/dist/entities/shared/utility.d.ts.map +1 -1
- package/dist/entities/shared/utility.js +1 -8
- package/dist/entities/spec/collection.d.ts +40 -24
- package/dist/entities/spec/collection.d.ts.map +1 -1
- package/dist/entities/spec/collection.js +9 -2
- package/dist/entities/spec/index.d.ts +10 -11
- package/dist/entities/spec/index.d.ts.map +1 -1
- package/dist/entities/spec/index.js +8 -8
- package/dist/entities/spec/operation.d.ts +23 -23
- package/dist/entities/spec/operation.d.ts.map +1 -1
- package/dist/entities/spec/parameters.d.ts +6 -6
- package/dist/entities/spec/request-examples.d.ts +244 -244
- package/dist/entities/spec/request-examples.d.ts.map +1 -1
- package/dist/entities/spec/request-examples.js +6 -71
- package/dist/entities/spec/requests.d.ts +47 -47
- package/dist/entities/spec/requests.d.ts.map +1 -1
- package/dist/entities/spec/requests.js +3 -2
- package/dist/entities/spec/security.d.ts +39 -39
- package/dist/entities/spec/security.d.ts.map +1 -1
- package/dist/entities/spec/security.js +4 -4
- package/dist/entities/spec/server.d.ts +99 -28
- package/dist/entities/spec/server.d.ts.map +1 -1
- package/dist/entities/spec/server.js +1 -1
- package/dist/entities/spec/spec-objects.d.ts +3 -3
- package/dist/entities/spec/spec-objects.js +1 -1
- package/dist/entities/spec/x-scalar-environments.d.ts +9 -9
- package/dist/entities/spec/x-scalar-secrets.d.ts +4 -4
- package/dist/entities/workspace/index.d.ts +1 -1
- package/dist/entities/workspace/index.d.ts.map +1 -1
- package/dist/entities/workspace/workspace.d.ts +18 -18
- package/dist/entities/workspace/workspace.js +1 -1
- package/dist/helpers/{createHash.d.ts → create-hash.d.ts} +1 -1
- package/dist/helpers/create-hash.d.ts.map +1 -0
- package/dist/helpers/ensure-protocol.js +1 -1
- package/dist/helpers/{fetchSpecFromUrl.d.ts → fetch-spec-from-url.d.ts} +1 -1
- package/dist/helpers/fetch-spec-from-url.d.ts.map +1 -0
- package/dist/helpers/{fetchSpecFromUrl.js → fetch-spec-from-url.js} +1 -1
- package/dist/helpers/{fetchWithProxyFallback.d.ts → fetch-with-proxy-fallback.d.ts} +1 -1
- package/dist/helpers/fetch-with-proxy-fallback.d.ts.map +1 -0
- package/dist/helpers/{fetchWithProxyFallback.js → fetch-with-proxy-fallback.js} +1 -1
- package/dist/helpers/find-variables.d.ts +5 -0
- package/dist/helpers/find-variables.d.ts.map +1 -0
- package/dist/helpers/{findVariables.js → find-variables.js} +1 -1
- package/dist/helpers/{httpMethods.d.ts → http-methods.d.ts} +2 -2
- package/dist/helpers/http-methods.d.ts.map +1 -0
- package/dist/helpers/{httpStatusCodes.d.ts → http-status-codes.d.ts} +1 -1
- package/dist/helpers/http-status-codes.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +27 -26
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +21 -20
- package/dist/helpers/{isLocalUrl.d.ts → is-local-url.d.ts} +1 -1
- package/dist/helpers/is-local-url.d.ts.map +1 -0
- package/dist/helpers/{isValidUrl.d.ts → is-valid-url.d.ts} +1 -1
- package/dist/helpers/is-valid-url.d.ts.map +1 -0
- package/dist/helpers/{iterateTitle.d.ts → iterate-title.d.ts} +1 -1
- package/dist/helpers/iterate-title.d.ts.map +1 -0
- package/dist/helpers/{makeUrlAbsolute.d.ts → make-url-absolute.d.ts} +1 -1
- package/dist/helpers/make-url-absolute.d.ts.map +1 -0
- package/dist/helpers/merge-urls.d.ts.map +1 -1
- package/dist/helpers/merge-urls.js +2 -2
- package/dist/helpers/{normalizeMimeTypeObject.d.ts → normalize-mime-type-object.d.ts} +1 -1
- package/dist/helpers/normalize-mime-type-object.d.ts.map +1 -0
- package/dist/helpers/{normalizeMimeTypeObject.js → normalize-mime-type-object.js} +1 -1
- package/dist/helpers/{normalizeMimeType.d.ts → normalize-mime-type.d.ts} +1 -1
- package/dist/helpers/normalize-mime-type.d.ts.map +1 -0
- package/dist/helpers/parse.js +1 -1
- package/dist/helpers/{prettyPrintJson.d.ts → pretty-print-json.d.ts} +1 -1
- package/dist/helpers/pretty-print-json.d.ts.map +1 -0
- package/dist/helpers/{redirectToProxy.d.ts → redirect-to-proxy.d.ts} +1 -1
- package/dist/helpers/redirect-to-proxy.d.ts.map +1 -0
- package/dist/helpers/{redirectToProxy.js → redirect-to-proxy.js} +2 -2
- package/dist/helpers/{regexHelpers.d.ts → regex-helpers.d.ts} +1 -1
- package/dist/helpers/regex-helpers.d.ts.map +1 -0
- package/dist/helpers/{replaceVariables.d.ts → replace-variables.d.ts} +1 -1
- package/dist/helpers/replace-variables.d.ts.map +1 -0
- package/dist/helpers/{shouldIgnoreEntity.d.ts → should-ignore-entity.d.ts} +3 -2
- package/dist/helpers/should-ignore-entity.d.ts.map +1 -0
- package/dist/helpers/{ssrState.d.ts → ssr-state.d.ts} +1 -1
- package/dist/helpers/ssr-state.d.ts.map +1 -0
- package/dist/helpers/string.d.ts.map +1 -1
- package/dist/helpers/string.js +1 -1
- package/dist/migrations/index.d.ts +3 -3
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/local-storage.d.ts +1 -1
- package/dist/migrations/local-storage.d.ts.map +1 -1
- package/dist/migrations/migrator.d.ts +1 -1
- package/dist/migrations/migrator.d.ts.map +1 -1
- package/dist/migrations/semver.js +1 -1
- package/dist/migrations/v-2.1.0/migration.d.ts +2 -2
- package/dist/migrations/v-2.1.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.1.0/migration.js +1 -1
- package/dist/migrations/v-2.2.0/migration.d.ts +2 -2
- package/dist/migrations/v-2.2.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.3.0/migration.d.ts +2 -2
- package/dist/migrations/v-2.3.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.4.0/migration.d.ts +2 -2
- package/dist/migrations/v-2.4.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.5.0/migration.d.ts +2 -2
- package/dist/migrations/v-2.5.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.5.0/migration.js +3 -3
- package/dist/migrations/v-2.5.0/types.generated.d.ts +9 -4
- package/dist/migrations/v-2.5.0/types.generated.d.ts.map +1 -1
- package/dist/spec-getters/{getExampleFromSchema.d.ts → get-example-from-schema.d.ts} +1 -1
- package/dist/spec-getters/get-example-from-schema.d.ts.map +1 -0
- package/dist/spec-getters/{getParametersFromOperation.d.ts → get-parameters-from-operation.d.ts} +1 -1
- package/dist/spec-getters/get-parameters-from-operation.d.ts.map +1 -0
- package/dist/spec-getters/{getParametersFromOperation.js → get-parameters-from-operation.js} +1 -1
- package/dist/spec-getters/{getRequestBodyFromOperation.d.ts → get-request-body-from-operation.d.ts} +2 -2
- package/dist/spec-getters/get-request-body-from-operation.d.ts.map +1 -0
- package/dist/spec-getters/{getRequestBodyFromOperation.js → get-request-body-from-operation.js} +7 -7
- package/dist/spec-getters/{getServerVariableExamples.d.ts → get-server-variable-examples.d.ts} +2 -2
- package/dist/spec-getters/get-server-variable-examples.d.ts.map +1 -0
- package/dist/spec-getters/index.d.ts +4 -4
- package/dist/spec-getters/index.d.ts.map +1 -1
- package/dist/spec-getters/index.js +4 -4
- package/dist/transforms/import-spec.d.ts +9 -5
- package/dist/transforms/import-spec.d.ts.map +1 -1
- package/dist/transforms/import-spec.js +39 -29
- package/dist/transforms/index.d.ts +1 -1
- package/dist/transforms/index.d.ts.map +1 -1
- package/dist/transforms/index.js +1 -1
- package/package.json +5 -43
- package/dist/diff/diff.d.ts +0 -13
- package/dist/diff/diff.d.ts.map +0 -1
- package/dist/diff/diff.js +0 -41
- package/dist/diff/index.d.ts +0 -2
- package/dist/diff/index.d.ts.map +0 -1
- package/dist/diff/index.js +0 -1
- package/dist/entities/index.d.ts +0 -2
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/entities/index.js +0 -1
- package/dist/helpers/createHash.d.ts.map +0 -1
- package/dist/helpers/fetchSpecFromUrl.d.ts.map +0 -1
- package/dist/helpers/fetchWithProxyFallback.d.ts.map +0 -1
- package/dist/helpers/findVariables.d.ts +0 -5
- package/dist/helpers/findVariables.d.ts.map +0 -1
- package/dist/helpers/httpMethods.d.ts.map +0 -1
- package/dist/helpers/httpStatusCodes.d.ts.map +0 -1
- package/dist/helpers/isLocalUrl.d.ts.map +0 -1
- package/dist/helpers/isValidUrl.d.ts.map +0 -1
- package/dist/helpers/iterateTitle.d.ts.map +0 -1
- package/dist/helpers/makeUrlAbsolute.d.ts.map +0 -1
- package/dist/helpers/normalizeMimeType.d.ts.map +0 -1
- package/dist/helpers/normalizeMimeTypeObject.d.ts.map +0 -1
- package/dist/helpers/prettyPrintJson.d.ts.map +0 -1
- package/dist/helpers/redirectToProxy.d.ts.map +0 -1
- package/dist/helpers/regexHelpers.d.ts.map +0 -1
- package/dist/helpers/replaceVariables.d.ts.map +0 -1
- package/dist/helpers/shouldIgnoreEntity.d.ts.map +0 -1
- package/dist/helpers/ssrState.d.ts.map +0 -1
- package/dist/migrations/v-0.0.0/index.d.ts +0 -2
- package/dist/migrations/v-0.0.0/index.d.ts.map +0 -1
- package/dist/migrations/v-0.0.0/index.js +0 -1
- package/dist/migrations/v-2.1.0/index.d.ts +0 -3
- package/dist/migrations/v-2.1.0/index.d.ts.map +0 -1
- package/dist/migrations/v-2.1.0/index.js +0 -1
- package/dist/migrations/v-2.2.0/index.d.ts +0 -3
- package/dist/migrations/v-2.2.0/index.d.ts.map +0 -1
- package/dist/migrations/v-2.2.0/index.js +0 -1
- package/dist/migrations/v-2.3.0/index.d.ts +0 -3
- package/dist/migrations/v-2.3.0/index.d.ts.map +0 -1
- package/dist/migrations/v-2.3.0/index.js +0 -1
- package/dist/migrations/v-2.4.0/index.d.ts +0 -3
- package/dist/migrations/v-2.4.0/index.d.ts.map +0 -1
- package/dist/migrations/v-2.4.0/index.js +0 -1
- package/dist/migrations/v-2.5.0/index.d.ts +0 -3
- package/dist/migrations/v-2.5.0/index.d.ts.map +0 -1
- package/dist/migrations/v-2.5.0/index.js +0 -1
- package/dist/spec-getters/getExampleFromSchema.d.ts.map +0 -1
- package/dist/spec-getters/getParametersFromOperation.d.ts.map +0 -1
- package/dist/spec-getters/getRequestBodyFromOperation.d.ts.map +0 -1
- package/dist/spec-getters/getServerVariableExamples.d.ts.map +0 -1
- /package/dist/helpers/{createHash.js → create-hash.js} +0 -0
- /package/dist/helpers/{httpMethods.js → http-methods.js} +0 -0
- /package/dist/helpers/{httpStatusCodes.js → http-status-codes.js} +0 -0
- /package/dist/helpers/{isLocalUrl.js → is-local-url.js} +0 -0
- /package/dist/helpers/{isValidUrl.js → is-valid-url.js} +0 -0
- /package/dist/helpers/{iterateTitle.js → iterate-title.js} +0 -0
- /package/dist/helpers/{makeUrlAbsolute.js → make-url-absolute.js} +0 -0
- /package/dist/helpers/{normalizeMimeType.js → normalize-mime-type.js} +0 -0
- /package/dist/helpers/{prettyPrintJson.js → pretty-print-json.js} +0 -0
- /package/dist/helpers/{regexHelpers.js → regex-helpers.js} +0 -0
- /package/dist/helpers/{replaceVariables.js → replace-variables.js} +0 -0
- /package/dist/helpers/{shouldIgnoreEntity.js → should-ignore-entity.js} +0 -0
- /package/dist/helpers/{ssrState.js → ssr-state.js} +0 -0
- /package/dist/spec-getters/{getExampleFromSchema.js → get-example-from-schema.js} +0 -0
- /package/dist/spec-getters/{getServerVariableExamples.js → get-server-variable-examples.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @scalar/oas-utils
|
|
2
2
|
|
|
3
|
+
## 0.2.124
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0de80ae: feat: added auth to collection page
|
|
8
|
+
|
|
9
|
+
## 0.2.123
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 52f6f4c: chore: updated oas-utils to use stricter node tsconfig
|
|
14
|
+
- Updated dependencies [8efedf3]
|
|
15
|
+
- Updated dependencies [82a4ba8]
|
|
16
|
+
- Updated dependencies [57feba6]
|
|
17
|
+
- @scalar/types@0.1.4
|
|
18
|
+
- @scalar/themes@0.9.82
|
|
19
|
+
|
|
3
20
|
## 0.2.122
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -9,17 +9,17 @@ export declare const cookieSchema: z.ZodObject<{
|
|
|
9
9
|
/** Indicates the path that must exist in the requested URL for the browser to send the Cookie header. */
|
|
10
10
|
path: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
value: string;
|
|
13
12
|
uid: string & z.BRAND<"cookie">;
|
|
14
13
|
name: string;
|
|
15
|
-
|
|
14
|
+
value: string;
|
|
16
15
|
domain?: string | undefined;
|
|
17
|
-
}, {
|
|
18
16
|
path?: string | undefined;
|
|
19
|
-
|
|
17
|
+
}, {
|
|
20
18
|
uid?: string | undefined;
|
|
21
19
|
name?: string | undefined;
|
|
20
|
+
value?: string | undefined;
|
|
22
21
|
domain?: string | undefined;
|
|
22
|
+
path?: string | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
/**
|
|
25
25
|
* Cookies
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { type Cookie, cookieSchema } from './cookie.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/cookie/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/cookie/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -6,15 +6,15 @@ export declare const environmentSchema: z.ZodObject<{
|
|
|
6
6
|
value: z.ZodDefault<z.ZodString>;
|
|
7
7
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
value: string;
|
|
10
9
|
uid: string & z.BRAND<"environment">;
|
|
11
10
|
name: string;
|
|
11
|
+
value: string;
|
|
12
12
|
color: string;
|
|
13
13
|
isDefault?: boolean | undefined;
|
|
14
14
|
}, {
|
|
15
|
-
value?: string | undefined;
|
|
16
15
|
uid?: string | undefined;
|
|
17
16
|
name?: string | undefined;
|
|
17
|
+
value?: string | undefined;
|
|
18
18
|
color?: string | undefined;
|
|
19
19
|
isDefault?: boolean | undefined;
|
|
20
20
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { type Environment, environmentSchema } from './environment.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/environment/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/environment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { type HotkeyEventName, type KeydownKey, HOTKEY_EVENT_NAMES, KEYDOWN_KEYS } from './hotkeys.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/hotkeys/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/hotkeys/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,UAAU,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { type SelectedSecuritySchemeUids, selectedSecuritySchemeUidSchema, } from './utility.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAC/B,+BAA+B,GAChC,MAAM,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { selectedSecuritySchemeUidSchema } from './utility.js';
|
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/** Generates a default value */
|
|
3
|
-
export declare const nanoidSchema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4
|
-
/** UID format for objects */
|
|
5
|
-
export type Nanoid = z.infer<typeof nanoidSchema>;
|
|
6
|
-
/** All of our Zod brands for entities, used to brand nanoidSchemas. */
|
|
7
|
-
export type ENTITY_BRANDS = {
|
|
8
|
-
COLLECTION: 'collection';
|
|
9
|
-
COOKIE: 'cookie';
|
|
10
|
-
ENVIRONMENT: 'environment';
|
|
11
|
-
EXAMPLE: 'example';
|
|
12
|
-
OPERATION: 'operation';
|
|
13
|
-
SECURITY_SCHEME: 'securityScheme';
|
|
14
|
-
SERVER: 'server';
|
|
15
|
-
TAG: 'tag';
|
|
16
|
-
WORKSPACE: 'workspace';
|
|
17
|
-
};
|
|
18
2
|
/** Schema for selectedSecuritySchemeUids */
|
|
19
3
|
export declare const selectedSecuritySchemeUidSchema: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodBranded<z.ZodString, "securityScheme">, z.ZodArray<z.ZodBranded<z.ZodString, "securityScheme">, "many">]>, "many">>;
|
|
20
4
|
export type SelectedSecuritySchemeUids = z.infer<typeof selectedSecuritySchemeUidSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../src/entities/shared/utility.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,
|
|
1
|
+
{"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../src/entities/shared/utility.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,4CAA4C;AAC5C,eAAO,MAAM,+BAA+B,8JAM9B,CAAA;AAEd,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { nanoid } from 'nanoid';
|
|
2
1
|
import { z } from 'zod';
|
|
3
2
|
|
|
4
|
-
/** Generates a default value */
|
|
5
|
-
const nanoidSchema = z
|
|
6
|
-
.string()
|
|
7
|
-
.min(7)
|
|
8
|
-
.optional()
|
|
9
|
-
.default(() => nanoid());
|
|
10
3
|
/** Schema for selectedSecuritySchemeUids */
|
|
11
4
|
const selectedSecuritySchemeUidSchema = z
|
|
12
5
|
.union([
|
|
@@ -16,4 +9,4 @@ const selectedSecuritySchemeUidSchema = z
|
|
|
16
9
|
.array()
|
|
17
10
|
.default([]);
|
|
18
11
|
|
|
19
|
-
export {
|
|
12
|
+
export { selectedSecuritySchemeUidSchema };
|
|
@@ -146,33 +146,33 @@ export declare const oasCollectionSchema: z.ZodObject<{
|
|
|
146
146
|
default: string;
|
|
147
147
|
description?: string | undefined;
|
|
148
148
|
}, {
|
|
149
|
-
default?: string | undefined;
|
|
150
149
|
description?: string | undefined;
|
|
150
|
+
default?: string | undefined;
|
|
151
151
|
}>, z.ZodString]>>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
variables: Record<string, string | {
|
|
154
154
|
default: string;
|
|
155
155
|
description?: string | undefined;
|
|
156
156
|
}>;
|
|
157
|
-
description?: string | undefined;
|
|
158
157
|
color?: string | undefined;
|
|
158
|
+
description?: string | undefined;
|
|
159
159
|
}, {
|
|
160
160
|
variables: Record<string, string | {
|
|
161
|
-
default?: string | undefined;
|
|
162
161
|
description?: string | undefined;
|
|
162
|
+
default?: string | undefined;
|
|
163
163
|
}>;
|
|
164
|
-
description?: string | undefined;
|
|
165
164
|
color?: string | undefined;
|
|
165
|
+
description?: string | undefined;
|
|
166
166
|
}>>>;
|
|
167
167
|
'x-scalar-secrets': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
168
168
|
description: z.ZodOptional<z.ZodString>;
|
|
169
169
|
example: z.ZodOptional<z.ZodString>;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
example?: string | undefined;
|
|
172
171
|
description?: string | undefined;
|
|
173
|
-
}, {
|
|
174
172
|
example?: string | undefined;
|
|
173
|
+
}, {
|
|
175
174
|
description?: string | undefined;
|
|
175
|
+
example?: string | undefined;
|
|
176
176
|
}>>>;
|
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
|
178
178
|
type: "collection";
|
|
@@ -209,12 +209,12 @@ export declare const oasCollectionSchema: z.ZodObject<{
|
|
|
209
209
|
default: string;
|
|
210
210
|
description?: string | undefined;
|
|
211
211
|
}>;
|
|
212
|
-
description?: string | undefined;
|
|
213
212
|
color?: string | undefined;
|
|
213
|
+
description?: string | undefined;
|
|
214
214
|
}> | undefined;
|
|
215
215
|
'x-scalar-secrets'?: Record<string, {
|
|
216
|
-
example?: string | undefined;
|
|
217
216
|
description?: string | undefined;
|
|
217
|
+
example?: string | undefined;
|
|
218
218
|
}> | undefined;
|
|
219
219
|
}, {
|
|
220
220
|
type?: "collection" | undefined;
|
|
@@ -232,15 +232,15 @@ export declare const oasCollectionSchema: z.ZodObject<{
|
|
|
232
232
|
'x-scalar-active-environment'?: string | undefined;
|
|
233
233
|
'x-scalar-environments'?: Record<string, {
|
|
234
234
|
variables: Record<string, string | {
|
|
235
|
-
default?: string | undefined;
|
|
236
235
|
description?: string | undefined;
|
|
236
|
+
default?: string | undefined;
|
|
237
237
|
}>;
|
|
238
|
-
description?: string | undefined;
|
|
239
238
|
color?: string | undefined;
|
|
239
|
+
description?: string | undefined;
|
|
240
240
|
}> | undefined;
|
|
241
241
|
'x-scalar-secrets'?: Record<string, {
|
|
242
|
-
example?: string | undefined;
|
|
243
242
|
description?: string | undefined;
|
|
243
|
+
example?: string | undefined;
|
|
244
244
|
}> | undefined;
|
|
245
245
|
}>;
|
|
246
246
|
export declare const extendedCollectionSchema: z.ZodObject<{
|
|
@@ -274,6 +274,12 @@ export declare const extendedCollectionSchema: z.ZodObject<{
|
|
|
274
274
|
watchMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
275
275
|
/** Keeps track of which integration is associated with the specific collection */
|
|
276
276
|
integration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
|
+
/**
|
|
278
|
+
* Selected authentication will be set at the collection level instead of the request level
|
|
279
|
+
*
|
|
280
|
+
* @default false
|
|
281
|
+
*/
|
|
282
|
+
useCollectionSecurity: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
277
283
|
/**
|
|
278
284
|
* Status of the watcher from above
|
|
279
285
|
*
|
|
@@ -289,6 +295,7 @@ export declare const extendedCollectionSchema: z.ZodObject<{
|
|
|
289
295
|
requests: (string & z.BRAND<"operation">)[];
|
|
290
296
|
tags: (string & z.BRAND<"tag">)[];
|
|
291
297
|
watchMode: boolean;
|
|
298
|
+
useCollectionSecurity: boolean;
|
|
292
299
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
293
300
|
selectedServerUid?: (string & z.BRAND<"server">) | undefined;
|
|
294
301
|
documentUrl?: string | undefined;
|
|
@@ -305,6 +312,7 @@ export declare const extendedCollectionSchema: z.ZodObject<{
|
|
|
305
312
|
documentUrl?: string | undefined;
|
|
306
313
|
watchMode?: boolean | undefined;
|
|
307
314
|
integration?: string | null | undefined;
|
|
315
|
+
useCollectionSecurity?: boolean | undefined;
|
|
308
316
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
309
317
|
}>;
|
|
310
318
|
export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -454,33 +462,33 @@ export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
454
462
|
default: string;
|
|
455
463
|
description?: string | undefined;
|
|
456
464
|
}, {
|
|
457
|
-
default?: string | undefined;
|
|
458
465
|
description?: string | undefined;
|
|
466
|
+
default?: string | undefined;
|
|
459
467
|
}>, z.ZodString]>>;
|
|
460
468
|
}, "strip", z.ZodTypeAny, {
|
|
461
469
|
variables: Record<string, string | {
|
|
462
470
|
default: string;
|
|
463
471
|
description?: string | undefined;
|
|
464
472
|
}>;
|
|
465
|
-
description?: string | undefined;
|
|
466
473
|
color?: string | undefined;
|
|
474
|
+
description?: string | undefined;
|
|
467
475
|
}, {
|
|
468
476
|
variables: Record<string, string | {
|
|
469
|
-
default?: string | undefined;
|
|
470
477
|
description?: string | undefined;
|
|
478
|
+
default?: string | undefined;
|
|
471
479
|
}>;
|
|
472
|
-
description?: string | undefined;
|
|
473
480
|
color?: string | undefined;
|
|
481
|
+
description?: string | undefined;
|
|
474
482
|
}>>>;
|
|
475
483
|
'x-scalar-secrets': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
476
484
|
description: z.ZodOptional<z.ZodString>;
|
|
477
485
|
example: z.ZodOptional<z.ZodString>;
|
|
478
486
|
}, "strip", z.ZodTypeAny, {
|
|
479
|
-
example?: string | undefined;
|
|
480
487
|
description?: string | undefined;
|
|
481
|
-
}, {
|
|
482
488
|
example?: string | undefined;
|
|
489
|
+
}, {
|
|
483
490
|
description?: string | undefined;
|
|
491
|
+
example?: string | undefined;
|
|
484
492
|
}>>>;
|
|
485
493
|
}, {
|
|
486
494
|
uid: z.ZodBranded<z.ZodDefault<z.ZodOptional<z.ZodString>>, "collection">;
|
|
@@ -513,6 +521,12 @@ export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
513
521
|
watchMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
514
522
|
/** Keeps track of which integration is associated with the specific collection */
|
|
515
523
|
integration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
524
|
+
/**
|
|
525
|
+
* Selected authentication will be set at the collection level instead of the request level
|
|
526
|
+
*
|
|
527
|
+
* @default false
|
|
528
|
+
*/
|
|
529
|
+
useCollectionSecurity: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
516
530
|
/**
|
|
517
531
|
* Status of the watcher from above
|
|
518
532
|
*
|
|
@@ -520,8 +534,8 @@ export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
520
534
|
*/
|
|
521
535
|
watchModeStatus: z.ZodDefault<z.ZodOptional<z.ZodEnum<["IDLE", "WATCHING", "ERROR"]>>>;
|
|
522
536
|
}>, "strip", z.ZodTypeAny, {
|
|
523
|
-
type: "collection";
|
|
524
537
|
uid: string & z.BRAND<"collection">;
|
|
538
|
+
type: "collection";
|
|
525
539
|
children: ((string & z.BRAND<"tag">) | (string & z.BRAND<"operation">))[];
|
|
526
540
|
openapi: string;
|
|
527
541
|
info: {
|
|
@@ -549,6 +563,7 @@ export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
549
563
|
requests: (string & z.BRAND<"operation">)[];
|
|
550
564
|
tags: (string & z.BRAND<"tag">)[];
|
|
551
565
|
watchMode: boolean;
|
|
566
|
+
useCollectionSecurity: boolean;
|
|
552
567
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
553
568
|
externalDocs?: {
|
|
554
569
|
url: string;
|
|
@@ -563,19 +578,19 @@ export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
563
578
|
default: string;
|
|
564
579
|
description?: string | undefined;
|
|
565
580
|
}>;
|
|
566
|
-
description?: string | undefined;
|
|
567
581
|
color?: string | undefined;
|
|
582
|
+
description?: string | undefined;
|
|
568
583
|
}> | undefined;
|
|
569
584
|
'x-scalar-secrets'?: Record<string, {
|
|
570
|
-
example?: string | undefined;
|
|
571
585
|
description?: string | undefined;
|
|
586
|
+
example?: string | undefined;
|
|
572
587
|
}> | undefined;
|
|
573
588
|
selectedServerUid?: (string & z.BRAND<"server">) | undefined;
|
|
574
589
|
documentUrl?: string | undefined;
|
|
575
590
|
integration?: string | null | undefined;
|
|
576
591
|
}, {
|
|
577
|
-
type?: "collection" | undefined;
|
|
578
592
|
uid?: string | undefined;
|
|
593
|
+
type?: "collection" | undefined;
|
|
579
594
|
externalDocs?: {
|
|
580
595
|
url: string;
|
|
581
596
|
description?: unknown;
|
|
@@ -591,15 +606,15 @@ export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
591
606
|
'x-scalar-active-environment'?: string | undefined;
|
|
592
607
|
'x-scalar-environments'?: Record<string, {
|
|
593
608
|
variables: Record<string, string | {
|
|
594
|
-
default?: string | undefined;
|
|
595
609
|
description?: string | undefined;
|
|
610
|
+
default?: string | undefined;
|
|
596
611
|
}>;
|
|
597
|
-
description?: string | undefined;
|
|
598
612
|
color?: string | undefined;
|
|
613
|
+
description?: string | undefined;
|
|
599
614
|
}> | undefined;
|
|
600
615
|
'x-scalar-secrets'?: Record<string, {
|
|
601
|
-
example?: string | undefined;
|
|
602
616
|
description?: string | undefined;
|
|
617
|
+
example?: string | undefined;
|
|
603
618
|
}> | undefined;
|
|
604
619
|
securitySchemes?: string[] | undefined;
|
|
605
620
|
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
@@ -610,6 +625,7 @@ export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
610
625
|
documentUrl?: string | undefined;
|
|
611
626
|
watchMode?: boolean | undefined;
|
|
612
627
|
integration?: string | null | undefined;
|
|
628
|
+
useCollectionSecurity?: boolean | undefined;
|
|
613
629
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
614
630
|
}>;
|
|
615
631
|
export type Collection = z.infer<typeof collectionSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/collection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/collection.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,mBAAmB;IAC9B;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWH;;;;;;OAMG;;;;;;;;;;;;;;;;;;IAGH,uBAAuB;;IAEvB,uBAAuB;;IAEvB,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhD,CAAA;AAEF,eAAO,MAAM,wBAAwB;;IAEnC,qEAAqE;;IAErE,2FAA2F;;IAE3F,oCAAoC;;IAEpC,wDAAwD;;IAExD,gDAAgD;;IAEhD,8CAA8C;;IAE9C,gEAAgE;;IAKhE;;;;;OAKG;;IAEH;;;;OAIG;;IAEH,kFAAkF;;IAElF;;;;OAIG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAA;AAEF,eAAO,MAAM,gBAAgB;IAzF3B;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWH;;;;;;OAMG;;;;;;;;;;;;;;;;;;IAGH,uBAAuB;;IAEvB,uBAAuB;;IAEvB,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAehD,qEAAqE;;IAErE,2FAA2F;;IAE3F,oCAAoC;;IAEpC,wDAAwD;;IAExD,gDAAgD;;IAEhD,8CAA8C;;IAE9C,gEAAgE;;IAKhE;;;;;OAKG;;IAEH;;;;OAIG;;IAEH,kFAAkF;;IAElF;;;;OAIG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI8E,CAAA;AACnF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACzD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { selectedSecuritySchemeUidSchema } from '../shared/utility.js';
|
|
2
2
|
import { xScalarEnvironmentsSchema } from './x-scalar-environments.js';
|
|
3
3
|
import { xScalarSecretsSchema } from './x-scalar-secrets.js';
|
|
4
|
+
import { oasSecurityRequirementSchema } from '@scalar/types/entities';
|
|
5
|
+
import { nanoidSchema } from '@scalar/types/utils';
|
|
4
6
|
import { z } from 'zod';
|
|
5
|
-
import { oasSecurityRequirementSchema } from './security.js';
|
|
6
7
|
import { oasInfoSchema, oasExternalDocumentationSchema } from './spec-objects.js';
|
|
7
8
|
|
|
8
9
|
const oasCollectionSchema = z.object({
|
|
@@ -80,6 +81,12 @@ const extendedCollectionSchema = z.object({
|
|
|
80
81
|
watchMode: z.boolean().optional().default(false),
|
|
81
82
|
/** Keeps track of which integration is associated with the specific collection */
|
|
82
83
|
integration: z.string().nullable().optional(),
|
|
84
|
+
/**
|
|
85
|
+
* Selected authentication will be set at the collection level instead of the request level
|
|
86
|
+
*
|
|
87
|
+
* @default false
|
|
88
|
+
*/
|
|
89
|
+
useCollectionSecurity: z.boolean().optional().default(false),
|
|
83
90
|
/**
|
|
84
91
|
* Status of the watcher from above
|
|
85
92
|
*
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
export type
|
|
11
|
-
export { type Operation, type OperationPayload, operationSchema, } from './operation.js';
|
|
1
|
+
export { collectionSchema, type Collection, type CollectionPayload } from './collection.ts';
|
|
2
|
+
export { oasParameterSchema, type RequestParameter, type RequestParameterPayload } from './parameters.ts';
|
|
3
|
+
export { serverSchema, type Server, type ServerPayload } from './server.ts';
|
|
4
|
+
export { requestSchema, type Request, type RequestPayload, type RequestMethod, type ResponseInstance, type RequestEvent, } from './requests.ts';
|
|
5
|
+
export { requestExampleSchema, createExampleFromRequest, requestExampleParametersSchema, type RequestExample, type RequestExampleParameter, } from './request-examples.ts';
|
|
6
|
+
export { tagSchema, oasExternalDocumentationSchema, oasInfoSchema, oasContactSchema, oasLicenseSchema, type Tag, type TagPayload, } from './spec-objects.ts';
|
|
7
|
+
export { type Operation, type OperationPayload, operationSchema, } from './operation.ts';
|
|
8
|
+
export { xScalarEnvironmentsSchema, type XScalarEnvironment, type XScalarEnvironments, } from './x-scalar-environments.ts';
|
|
9
|
+
/** Re-exported here for ease of use but we should use the other ones directly */
|
|
10
|
+
export { type Oauth2Flow, type Oauth2FlowPayload, type SecuritySchemaHttp, type SecuritySchemaOpenId, type SecurityScheme, type SecuritySchemeApiKey, type SecuritySchemeOauth2, type SecuritySchemeOauth2Payload, type SecuritySchemePayload, oasSecurityRequirementSchema, oasSecuritySchemeSchema, pkceOptions, securityApiKeySchema, securityHttpSchema, securityOauthSchema, securityOpenIdSchema, securitySchemeSchema, } from '@scalar/types/entities';
|
|
12
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC3F,OAAO,EAAE,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACzG,OAAO,EAAE,YAAY,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAA;AAC3E,OAAO,EACL,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,8BAA8B,EAC9B,KAAK,cAAc,EACnB,KAAK,uBAAuB,GAC7B,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EACL,SAAS,EACT,8BAA8B,EAC9B,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,GAAG,EACR,KAAK,UAAU,GAChB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EACL,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,eAAe,GAChB,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EACL,yBAAyB,EACzB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,GACzB,MAAM,4BAA4B,CAAA;AAEnC,iFAAiF;AACjF,OAAO,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,wBAAwB,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { collectionSchema
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export { oasSecurityRequirementSchema, oasSecuritySchemeSchema, pkceOptions, securityApiKeySchema, securityHttpSchema, securityOauthSchema, securityOpenIdSchema, securitySchemeApiKeyIn, securitySchemeSchema } from './security.js';
|
|
8
|
-
export { xScalarEnvVarSchema, xScalarEnvironmentSchema, xScalarEnvironmentsSchema } from './x-scalar-environments.js';
|
|
1
|
+
export { collectionSchema } from './collection.js';
|
|
2
|
+
export { oasParameterSchema } from './parameters.js';
|
|
3
|
+
export { serverSchema } from './server.js';
|
|
4
|
+
export { requestSchema } from './requests.js';
|
|
5
|
+
export { createExampleFromRequest, requestExampleParametersSchema, requestExampleSchema } from './request-examples.js';
|
|
6
|
+
export { oasContactSchema, oasExternalDocumentationSchema, oasInfoSchema, oasLicenseSchema, tagSchema } from './spec-objects.js';
|
|
9
7
|
export { operationSchema } from './operation.js';
|
|
8
|
+
export { xScalarEnvironmentsSchema } from './x-scalar-environments.js';
|
|
9
|
+
export { oasSecurityRequirementSchema, oasSecuritySchemeSchema, pkceOptions, securityApiKeySchema, securityHttpSchema, securityOauthSchema, securityOpenIdSchema, securitySchemeSchema } from '@scalar/types/entities';
|