jararaca 0.3.12a7__py3-none-any.whl → 0.3.12a9__py3-none-any.whl
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.
Potentially problematic release.
This version of jararaca might be problematic. Click here for more details.
- jararaca/tools/typescript/interface_parser.py +7 -32
- {jararaca-0.3.12a7.dist-info → jararaca-0.3.12a9.dist-info}/METADATA +1 -1
- {jararaca-0.3.12a7.dist-info → jararaca-0.3.12a9.dist-info}/RECORD +7 -7
- pyproject.toml +1 -1
- {jararaca-0.3.12a7.dist-info → jararaca-0.3.12a9.dist-info}/LICENSE +0 -0
- {jararaca-0.3.12a7.dist-info → jararaca-0.3.12a9.dist-info}/WHEEL +0 -0
- {jararaca-0.3.12a7.dist-info → jararaca-0.3.12a9.dist-info}/entry_points.txt +0 -0
|
@@ -389,7 +389,13 @@ def write_microservice_to_typescript_interface(
|
|
|
389
389
|
|
|
390
390
|
final_buffer.write(
|
|
391
391
|
"""
|
|
392
|
-
|
|
392
|
+
/* eslint-disable */
|
|
393
|
+
|
|
394
|
+
// @ts-nocheck
|
|
395
|
+
|
|
396
|
+
// noinspection JSUnusedGlobalSymbols
|
|
397
|
+
|
|
398
|
+
import { HttpService, HttpBackend, HttpBackendRequest, ResponseType, createClassQueryHooks , createClassMutationHooks, createClassInfiniteQueryHooks, paginationModelByFirstArgPaginationFilter } from "@jararaca/core";
|
|
393
399
|
export type WebSocketMessageMap = {
|
|
394
400
|
%s
|
|
395
401
|
}
|
|
@@ -405,37 +411,6 @@ export type WebSocketMessageMap = {
|
|
|
405
411
|
)
|
|
406
412
|
)
|
|
407
413
|
|
|
408
|
-
final_buffer.write(
|
|
409
|
-
"""
|
|
410
|
-
export type ResponseType =
|
|
411
|
-
| "arraybuffer"
|
|
412
|
-
| "blob"
|
|
413
|
-
| "document"
|
|
414
|
-
| "json"
|
|
415
|
-
| "text"
|
|
416
|
-
| "stream"
|
|
417
|
-
| "formdata";
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
export interface HttpBackendRequest {
|
|
421
|
-
method: string;
|
|
422
|
-
path: string;
|
|
423
|
-
pathParams: { [key: string]: any };
|
|
424
|
-
headers: { [key: string]: string };
|
|
425
|
-
query: { [key: string]: unknown };
|
|
426
|
-
body: unknown;
|
|
427
|
-
responseType?: ResponseType;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
export interface HttpBackend {
|
|
431
|
-
request<T>(request: HttpBackendRequest): Promise<T>;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
export abstract class HttpService {
|
|
435
|
-
constructor(protected readonly httpBackend: HttpBackend) {}
|
|
436
|
-
}
|
|
437
|
-
"""
|
|
438
|
-
)
|
|
439
414
|
processed_types: set[Any] = set()
|
|
440
415
|
backlog: set[Any] = mapped_types_set.copy()
|
|
441
416
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
2
2
|
README.md,sha256=2qMM__t_MoLKZr4IY9tXjo-Jn6LKjuHMb1qbyXpgL08,3401
|
|
3
|
-
pyproject.toml,sha256=
|
|
3
|
+
pyproject.toml,sha256=wOOoLM20gk9CiB8WX1sRhKlkAmGcb46L1H9f5cVz3K8,2040
|
|
4
4
|
jararaca/__init__.py,sha256=jN3paW2ujI97485DNZTcRe_8ORwO-OQbJUG5mmSI9LI,21226
|
|
5
5
|
jararaca/__main__.py,sha256=-O3vsB5lHdqNFjUtoELDF81IYFtR-DSiiFMzRaiSsv4,67
|
|
6
6
|
jararaca/broker_backend/__init__.py,sha256=GzEIuHR1xzgCJD4FE3harNjoaYzxHMHoEL0_clUaC-k,3528
|
|
@@ -68,12 +68,12 @@ jararaca/tools/app_config/decorators.py,sha256=-ckkMZ1dswOmECdo1rFrZ15UAku--txaN
|
|
|
68
68
|
jararaca/tools/app_config/interceptor.py,sha256=HV8h4AxqUc_ACs5do4BSVlyxlRXzx7HqJtoVO9tfRnQ,2611
|
|
69
69
|
jararaca/tools/typescript/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
70
|
jararaca/tools/typescript/decorators.py,sha256=DbwZADDzzo3cbMfNcY6ldILy_80N4x25ChyQoX1q56s,1956
|
|
71
|
-
jararaca/tools/typescript/interface_parser.py,sha256=
|
|
71
|
+
jararaca/tools/typescript/interface_parser.py,sha256=SsTgYUWhX79e2rvcu5A5kvs7bJ31J05VQUushj9tudk,33689
|
|
72
72
|
jararaca/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
73
73
|
jararaca/utils/rabbitmq_utils.py,sha256=ytdAFUyv-OBkaVnxezuJaJoLrmN7giZgtKeet_IsMBs,10918
|
|
74
74
|
jararaca/utils/retry.py,sha256=DzPX_fXUvTqej6BQ8Mt2dvLo9nNlTBm7Kx2pFZ26P2Q,4668
|
|
75
|
-
jararaca-0.3.
|
|
76
|
-
jararaca-0.3.
|
|
77
|
-
jararaca-0.3.
|
|
78
|
-
jararaca-0.3.
|
|
79
|
-
jararaca-0.3.
|
|
75
|
+
jararaca-0.3.12a9.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
76
|
+
jararaca-0.3.12a9.dist-info/METADATA,sha256=HG8UYnEGp2ws6jsKRjF3l2SU_R9RuXJk6m4tRzhQeOU,4995
|
|
77
|
+
jararaca-0.3.12a9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
78
|
+
jararaca-0.3.12a9.dist-info/entry_points.txt,sha256=WIh3aIvz8LwUJZIDfs4EeH3VoFyCGEk7cWJurW38q0I,45
|
|
79
|
+
jararaca-0.3.12a9.dist-info/RECORD,,
|
pyproject.toml
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|