fets 0.4.10 → 0.4.11
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/cjs/swagger-ui-html.js +1 -1
- package/esm/swagger-ui-html.js +1 -1
- package/package.json +1 -1
- package/typings/client/types.d.cts +2 -2
- package/typings/client/types.d.ts +2 -2
- package/typings/swagger-ui-html.d.cts +1 -1
- package/typings/swagger-ui-html.d.ts +1 -1
- package/typings/types.d.cts +2 -2
- package/typings/types.d.ts +2 -2
package/cjs/swagger-ui-html.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = "<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content=\"width=device-width,initial-scale=1\"><meta name=description content=SwaggerUI><title>SwaggerUI</title><style>@import url(https://
|
|
3
|
+
exports.default = "<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content=\"width=device-width,initial-scale=1\"><meta name=description content=SwaggerUI><title>SwaggerUI</title><style>@import url(https://raw.githubusercontent.com/Itz-fork/Fastapi-Swagger-UI-Dark/main/assets/swagger_ui_dark.min.css) (prefers-color-scheme: dark);@import url(https://unpkg.com/swagger-ui-dist/swagger-ui.css) (prefers-color-scheme: light);@media (prefers-color-scheme:dark){.swagger-ui textarea{background:hsl(358.8deg 1.05% 1.91% / 80%)!important}.swagger-ui .scheme-container{background:#1e1e2e}.swagger-ui select{background:rgba(0,0,0,.2)}}</style></head><body><div id=swagger-ui></div><script src=https://unpkg.com/swagger-ui-dist/swagger-ui-bundle.js crossorigin></script><script>window.onload=()=>{window.ui=SwaggerUIBundle(__SWAGGER_UI_OPTIONS__)}</script></body></html>";
|
package/esm/swagger-ui-html.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content=\"width=device-width,initial-scale=1\"><meta name=description content=SwaggerUI><title>SwaggerUI</title><style>@import url(https://
|
|
1
|
+
export default "<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content=\"width=device-width,initial-scale=1\"><meta name=description content=SwaggerUI><title>SwaggerUI</title><style>@import url(https://raw.githubusercontent.com/Itz-fork/Fastapi-Swagger-UI-Dark/main/assets/swagger_ui_dark.min.css) (prefers-color-scheme: dark);@import url(https://unpkg.com/swagger-ui-dist/swagger-ui.css) (prefers-color-scheme: light);@media (prefers-color-scheme:dark){.swagger-ui textarea{background:hsl(358.8deg 1.05% 1.91% / 80%)!important}.swagger-ui .scheme-container{background:#1e1e2e}.swagger-ui select{background:rgba(0,0,0,.2)}}</style></head><body><div id=swagger-ui></div><script src=https://unpkg.com/swagger-ui-dist/swagger-ui-bundle.js crossorigin></script><script>window.onload=()=>{window.ui=SwaggerUIBundle(__SWAGGER_UI_OPTIONS__)}</script></body></html>";
|
package/package.json
CHANGED
|
@@ -225,7 +225,7 @@ export type OASRequestParams<TOAS extends OpenAPIDocument, TPath extends keyof O
|
|
|
225
225
|
*
|
|
226
226
|
* For example if path is `/todos/{id}` and `params` is `{ id: '1' }`, the path will be `/todos/1`
|
|
227
227
|
*/
|
|
228
|
-
params: Record<ExtractPathParamsWithBrackets<TPath>, string | number>;
|
|
228
|
+
params: Record<ExtractPathParamsWithBrackets<TPath>, string | number | bigint | boolean>;
|
|
229
229
|
} : {}) & (TPath extends `${string}:${string}${string}` ? {
|
|
230
230
|
/**
|
|
231
231
|
* Parameters defined in the path are required for this request.
|
|
@@ -234,7 +234,7 @@ export type OASRequestParams<TOAS extends OpenAPIDocument, TPath extends keyof O
|
|
|
234
234
|
*
|
|
235
235
|
* For example if path is `/todos/:id` and `params` is `{ id: '1' }`, the path will be `/todos/1`.
|
|
236
236
|
*/
|
|
237
|
-
params: Record<ExtractPathParamsWithPattern<TPath>, string | number>;
|
|
237
|
+
params: Record<ExtractPathParamsWithPattern<TPath>, string | number | bigint | boolean>;
|
|
238
238
|
} : {}) & OASSecurityParamsBySecurityRef<TOAS, OASMethodMap<TOAS, TPath>[TMethod]> & OASSecurityParamsBySecurityRef<TOAS, TOAS>;
|
|
239
239
|
export type OASInput<TOAS extends OpenAPIDocument, TPath extends keyof OASPathMap<TOAS>, TMethod extends keyof OASMethodMap<TOAS, TPath>, TRequestType extends keyof OASRequestParams<TOAS, TPath, TMethod>> = OASRequestParams<TOAS, TPath, TMethod>[TRequestType];
|
|
240
240
|
export type OASOutput<TOAS extends OpenAPIDocument, TPath extends keyof OASPathMap<TOAS>, TMethod extends keyof OASMethodMap<TOAS, TPath>, TStatusCode extends keyof OASStatusMap<TOAS, TPath, TMethod> = 200> = FromSchema<OASJSONResponseSchema<TOAS, TPath, TMethod, TStatusCode>>;
|
|
@@ -225,7 +225,7 @@ export type OASRequestParams<TOAS extends OpenAPIDocument, TPath extends keyof O
|
|
|
225
225
|
*
|
|
226
226
|
* For example if path is `/todos/{id}` and `params` is `{ id: '1' }`, the path will be `/todos/1`
|
|
227
227
|
*/
|
|
228
|
-
params: Record<ExtractPathParamsWithBrackets<TPath>, string | number>;
|
|
228
|
+
params: Record<ExtractPathParamsWithBrackets<TPath>, string | number | bigint | boolean>;
|
|
229
229
|
} : {}) & (TPath extends `${string}:${string}${string}` ? {
|
|
230
230
|
/**
|
|
231
231
|
* Parameters defined in the path are required for this request.
|
|
@@ -234,7 +234,7 @@ export type OASRequestParams<TOAS extends OpenAPIDocument, TPath extends keyof O
|
|
|
234
234
|
*
|
|
235
235
|
* For example if path is `/todos/:id` and `params` is `{ id: '1' }`, the path will be `/todos/1`.
|
|
236
236
|
*/
|
|
237
|
-
params: Record<ExtractPathParamsWithPattern<TPath>, string | number>;
|
|
237
|
+
params: Record<ExtractPathParamsWithPattern<TPath>, string | number | bigint | boolean>;
|
|
238
238
|
} : {}) & OASSecurityParamsBySecurityRef<TOAS, OASMethodMap<TOAS, TPath>[TMethod]> & OASSecurityParamsBySecurityRef<TOAS, TOAS>;
|
|
239
239
|
export type OASInput<TOAS extends OpenAPIDocument, TPath extends keyof OASPathMap<TOAS>, TMethod extends keyof OASMethodMap<TOAS, TPath>, TRequestType extends keyof OASRequestParams<TOAS, TPath, TMethod>> = OASRequestParams<TOAS, TPath, TMethod>[TRequestType];
|
|
240
240
|
export type OASOutput<TOAS extends OpenAPIDocument, TPath extends keyof OASPathMap<TOAS>, TMethod extends keyof OASMethodMap<TOAS, TPath>, TStatusCode extends keyof OASStatusMap<TOAS, TPath, TMethod> = 200> = FromSchema<OASJSONResponseSchema<TOAS, TPath, TMethod, TStatusCode>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content=\"width=device-width,initial-scale=1\"><meta name=description content=SwaggerUI><title>SwaggerUI</title><style>@import url(https://
|
|
1
|
+
declare const _default: "<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content=\"width=device-width,initial-scale=1\"><meta name=description content=SwaggerUI><title>SwaggerUI</title><style>@import url(https://raw.githubusercontent.com/Itz-fork/Fastapi-Swagger-UI-Dark/main/assets/swagger_ui_dark.min.css) (prefers-color-scheme: dark);@import url(https://unpkg.com/swagger-ui-dist/swagger-ui.css) (prefers-color-scheme: light);@media (prefers-color-scheme:dark){.swagger-ui textarea{background:hsl(358.8deg 1.05% 1.91% / 80%)!important}.swagger-ui .scheme-container{background:#1e1e2e}.swagger-ui select{background:rgba(0,0,0,.2)}}</style></head><body><div id=swagger-ui></div><script src=https://unpkg.com/swagger-ui-dist/swagger-ui-bundle.js crossorigin></script><script>window.onload=()=>{window.ui=SwaggerUIBundle(__SWAGGER_UI_OPTIONS__)}</script></body></html>";
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content=\"width=device-width,initial-scale=1\"><meta name=description content=SwaggerUI><title>SwaggerUI</title><style>@import url(https://
|
|
1
|
+
declare const _default: "<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content=\"width=device-width,initial-scale=1\"><meta name=description content=SwaggerUI><title>SwaggerUI</title><style>@import url(https://raw.githubusercontent.com/Itz-fork/Fastapi-Swagger-UI-Dark/main/assets/swagger_ui_dark.min.css) (prefers-color-scheme: dark);@import url(https://unpkg.com/swagger-ui-dist/swagger-ui.css) (prefers-color-scheme: light);@media (prefers-color-scheme:dark){.swagger-ui textarea{background:hsl(358.8deg 1.05% 1.91% / 80%)!important}.swagger-ui .scheme-container{background:#1e1e2e}.swagger-ui select{background:rgba(0,0,0,.2)}}</style></head><body><div id=swagger-ui></div><script src=https://unpkg.com/swagger-ui-dist/swagger-ui-bundle.js crossorigin></script><script>window.onload=()=>{window.ui=SwaggerUIBundle(__SWAGGER_UI_OPTIONS__)}</script></body></html>";
|
|
2
2
|
export default _default;
|
package/typings/types.d.cts
CHANGED
|
@@ -86,14 +86,14 @@ export type FromSchema<T> = T extends JSONSchema ? FromSchemaOriginal<T, {
|
|
|
86
86
|
type: 'number';
|
|
87
87
|
format: 'int64';
|
|
88
88
|
};
|
|
89
|
-
output: bigint;
|
|
89
|
+
output: bigint | number;
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
pattern: {
|
|
93
93
|
type: 'integer';
|
|
94
94
|
format: 'int64';
|
|
95
95
|
};
|
|
96
|
-
output: bigint;
|
|
96
|
+
output: bigint | number;
|
|
97
97
|
}
|
|
98
98
|
];
|
|
99
99
|
}> : never;
|
package/typings/types.d.ts
CHANGED
|
@@ -86,14 +86,14 @@ export type FromSchema<T> = T extends JSONSchema ? FromSchemaOriginal<T, {
|
|
|
86
86
|
type: 'number';
|
|
87
87
|
format: 'int64';
|
|
88
88
|
};
|
|
89
|
-
output: bigint;
|
|
89
|
+
output: bigint | number;
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
pattern: {
|
|
93
93
|
type: 'integer';
|
|
94
94
|
format: 'int64';
|
|
95
95
|
};
|
|
96
|
-
output: bigint;
|
|
96
|
+
output: bigint | number;
|
|
97
97
|
}
|
|
98
98
|
];
|
|
99
99
|
}> : never;
|