sera-2 1.8.2__py3-none-any.whl → 1.9.0__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.
@@ -863,10 +863,6 @@ def make_typescript_data_model(schema: Schema, target_pkg: Package):
|
|
863
863
|
program.import_(tstype.dep, True)
|
864
864
|
tsprop = [
|
865
865
|
(expr.ExprIdent("datatype"), expr.ExprConstant(tstype.type)),
|
866
|
-
(
|
867
|
-
expr.ExprIdent("isList"),
|
868
|
-
expr.ExprConstant(prop.get_data_model_datatype().is_list),
|
869
|
-
),
|
870
866
|
(
|
871
867
|
expr.ExprIdent("isRequired"),
|
872
868
|
expr.ExprConstant(
|
@@ -907,8 +903,8 @@ def make_typescript_data_model(schema: Schema, target_pkg: Package):
|
|
907
903
|
),
|
908
904
|
(expr.ExprIdent("datatype"), expr.ExprConstant(tstype.type)),
|
909
905
|
(
|
910
|
-
expr.ExprIdent("
|
911
|
-
expr.ExprConstant(prop.cardinality.
|
906
|
+
expr.ExprIdent("cardinality"),
|
907
|
+
expr.ExprConstant(prop.cardinality.value),
|
912
908
|
),
|
913
909
|
(
|
914
910
|
expr.ExprIdent("isEmbedded"),
|
@@ -12,7 +12,7 @@ sera/make/make_app.py,sha256=n9NtW73O3s_5Q31VHIRmnd-jEIcpDO7ksAsOdovde2s,5999
|
|
12
12
|
sera/make/make_python_api.py,sha256=FcklRwGDGTKPjuhbHKyEog8PYPACi-5DA_nB1ZgxeJU,29424
|
13
13
|
sera/make/make_python_model.py,sha256=xf4revAwVWEnF6QhxbbqPyUGgXOOB--Gu3jPxsESg0Y,36593
|
14
14
|
sera/make/make_python_services.py,sha256=RsinYZdfkrTlTn9CT50VgqGs9w6IZawsJx-KEmqfnEY,2062
|
15
|
-
sera/make/make_typescript_model.py,sha256=
|
15
|
+
sera/make/make_typescript_model.py,sha256=fMjz4YxdGHijb2pHI4xj7rKJf1PxyJxVLYW0ivsu70c,50128
|
16
16
|
sera/misc/__init__.py,sha256=Dh4uDq0D4N53h3zhvmwfa5a0TPVRSUvLzb0hkFuPirk,411
|
17
17
|
sera/misc/_formatter.py,sha256=aCGYL08l8f3aLODHxSocxBBwkRYEo3K1QzCDEn3suj0,1685
|
18
18
|
sera/misc/_utils.py,sha256=V5g4oLGHOhUCR75Kkcn1w01pAvGvaepK-T8Z3pIgHjI,1450
|
@@ -29,6 +29,6 @@ sera/models/_parse.py,sha256=sJYfQtwek96ltpgxExG4xUbiLnU3qvNYhTP1CeyXGjs,9746
|
|
29
29
|
sera/models/_property.py,sha256=CmEmgOShtSyNFq05YW3tGupwCIVRzPMKudXWld8utPk,5530
|
30
30
|
sera/models/_schema.py,sha256=r-Gqg9Lb_wR3UrbNvfXXgt_qs5bts0t2Ve7aquuF_OI,1155
|
31
31
|
sera/typing.py,sha256=Q4QMfbtfrCjC9tFfsZPhsAnbNX4lm4NHQ9lmjNXYdV0,772
|
32
|
-
sera_2-1.
|
33
|
-
sera_2-1.
|
34
|
-
sera_2-1.
|
32
|
+
sera_2-1.9.0.dist-info/METADATA,sha256=2IJUvLIN2hKwQ42Z1h_AgOgTKHsWrzlkevo4ugiI8wg,856
|
33
|
+
sera_2-1.9.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
34
|
+
sera_2-1.9.0.dist-info/RECORD,,
|
File without changes
|