@scalar/types 0.5.6 → 0.5.8
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 +18 -0
- package/dist/entities/security-scheme.d.ts +8 -8
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @scalar/types
|
|
2
2
|
|
|
3
|
+
## 0.5.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
#### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- **@scalar/helpers@0.2.8**
|
|
10
|
+
- [#7751](https://github.com/scalar/scalar/pull/7751): fix: auth persistence
|
|
11
|
+
|
|
12
|
+
## 0.5.7
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
#### Updated Dependencies
|
|
17
|
+
|
|
18
|
+
- **@scalar/helpers@0.2.7**
|
|
19
|
+
- [#7720](https://github.com/scalar/scalar/pull/7720): feat: escape XML in json2xml
|
|
20
|
+
|
|
3
21
|
## 0.5.6
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -8,7 +8,7 @@ export declare const securityApiKeySchema: z.ZodObject<{
|
|
|
8
8
|
query: "query";
|
|
9
9
|
header: "header";
|
|
10
10
|
}>>>>;
|
|
11
|
-
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme">;
|
|
11
|
+
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
12
12
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13
13
|
value: z.ZodDefault<z.ZodString>;
|
|
14
14
|
}, z.core.$strip>;
|
|
@@ -21,7 +21,7 @@ export declare const securityHttpSchema: z.ZodObject<{
|
|
|
21
21
|
bearer: "bearer";
|
|
22
22
|
}>>>>;
|
|
23
23
|
bearerFormat: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"JWT">, z.ZodString]>>>;
|
|
24
|
-
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme">;
|
|
24
|
+
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
25
25
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
26
26
|
username: z.ZodDefault<z.ZodString>;
|
|
27
27
|
password: z.ZodDefault<z.ZodString>;
|
|
@@ -32,7 +32,7 @@ export declare const securityOpenIdSchema: z.ZodObject<{
|
|
|
32
32
|
description: z.ZodOptional<z.ZodString>;
|
|
33
33
|
type: z.ZodLiteral<"openIdConnect">;
|
|
34
34
|
openIdConnectUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
35
|
-
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme">;
|
|
35
|
+
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
36
36
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
export type SecuritySchemaOpenId = z.infer<typeof securityOpenIdSchema>;
|
|
@@ -117,7 +117,7 @@ export declare const securityOauthSchema: z.ZodObject<{
|
|
|
117
117
|
}>>;
|
|
118
118
|
}, z.core.$strip>>;
|
|
119
119
|
}, z.core.$strip>>;
|
|
120
|
-
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme">;
|
|
120
|
+
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
121
121
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
122
122
|
}, z.core.$strip>;
|
|
123
123
|
export type SecuritySchemeOauth2 = z.infer<typeof securityOauthSchema>;
|
|
@@ -248,7 +248,7 @@ export declare const securitySchemeSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.
|
|
|
248
248
|
query: "query";
|
|
249
249
|
header: "header";
|
|
250
250
|
}>>>>;
|
|
251
|
-
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme">;
|
|
251
|
+
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
252
252
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
253
253
|
value: z.ZodDefault<z.ZodString>;
|
|
254
254
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -259,7 +259,7 @@ export declare const securitySchemeSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.
|
|
|
259
259
|
bearer: "bearer";
|
|
260
260
|
}>>>>;
|
|
261
261
|
bearerFormat: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"JWT">, z.ZodString]>>>;
|
|
262
|
-
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme">;
|
|
262
|
+
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
263
263
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
264
264
|
username: z.ZodDefault<z.ZodString>;
|
|
265
265
|
password: z.ZodDefault<z.ZodString>;
|
|
@@ -268,7 +268,7 @@ export declare const securitySchemeSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.
|
|
|
268
268
|
description: z.ZodOptional<z.ZodString>;
|
|
269
269
|
type: z.ZodLiteral<"openIdConnect">;
|
|
270
270
|
openIdConnectUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
271
|
-
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme">;
|
|
271
|
+
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
272
272
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
273
273
|
}, z.core.$strip>, z.ZodObject<{
|
|
274
274
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -349,7 +349,7 @@ export declare const securitySchemeSchema: z.ZodPipe<z.ZodDiscriminatedUnion<[z.
|
|
|
349
349
|
}>>;
|
|
350
350
|
}, z.core.$strip>>;
|
|
351
351
|
}, z.core.$strip>>;
|
|
352
|
-
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme">;
|
|
352
|
+
uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "securityScheme", "out">;
|
|
353
353
|
nameKey: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
354
354
|
}, z.core.$strip>], "type">, z.ZodTransform<{
|
|
355
355
|
type: "apiKey";
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"scalar",
|
|
17
17
|
"references"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.5.
|
|
19
|
+
"version": "0.5.8",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=20"
|
|
22
22
|
},
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"CHANGELOG.md"
|
|
60
60
|
],
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"nanoid": "5.1.
|
|
63
|
-
"type-fest": "5.
|
|
64
|
-
"zod": "^4.
|
|
65
|
-
"@scalar/helpers": "0.2.
|
|
62
|
+
"nanoid": "^5.1.6",
|
|
63
|
+
"type-fest": "^5.3.1",
|
|
64
|
+
"zod": "^4.3.5",
|
|
65
|
+
"@scalar/helpers": "0.2.8"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/har-format": "^1.2.15",
|
|
69
|
-
"vite": "7.1
|
|
69
|
+
"vite": "^7.3.1",
|
|
70
70
|
"@scalar/build-tooling": "0.4.1"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|