structurize 2.20.4__py3-none-any.whl → 2.20.5__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.
avrotize/_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '2.20.4'
32
- __version_tuple__ = version_tuple = (2, 20, 4)
31
+ __version__ = version = '2.20.5'
32
+ __version_tuple__ = version_tuple = (2, 20, 5)
33
33
 
34
- __commit_id__ = commit_id = 'gadd3e447a'
34
+ __commit_id__ = commit_id = 'g4811363b1'
avrotize/structuretots.py CHANGED
@@ -595,7 +595,8 @@ class StructureToTypeScript:
595
595
  type_name = qualified_name.split('.')[-1]
596
596
  namespace = '.'.join(qualified_name.split('.')[:-1])
597
597
  if namespace:
598
- relative_path = namespace.replace('.', '/') + '/' + type_name
598
+ # Lowercase the namespace to match the directory structure created by write_to_file
599
+ relative_path = namespace.lower().replace('.', '/') + '/' + type_name
599
600
  else:
600
601
  relative_path = type_name
601
602
  exports.append(f"export * from './{relative_path}.js';")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: structurize
3
- Version: 2.20.4
3
+ Version: 2.20.5
4
4
  Summary: Tools to convert from and to JSON Structure from various other schema languages.
5
5
  Author-email: Clemens Vasters <clemensv@microsoft.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  avrotize/__init__.py,sha256=t5h5wkHXr6M0mmHAB5rhjZ3Gxy9xutGTGIfojfao9rI,3820
2
2
  avrotize/__main__.py,sha256=5pY8dYAURcOnFRvgb6fgaOIa_SOzPLIWbU8-ZTQ0jG4,88
3
- avrotize/_version.py,sha256=F8bZyZavhM4Xp-ZQsbVpabIxKCTg8OBN1k8cZ-LzSRk,714
3
+ avrotize/_version.py,sha256=jlf47h63v98A9CED-ZIMrjMW-CTLDmgCg5AWV8hOW-k,714
4
4
  avrotize/asn1toavro.py,sha256=QDNwfBfXMxSH-k487CA3CaGCGDzOLs4PpVbbENm5uF0,8386
5
5
  avrotize/avrotize.py,sha256=VHFpBltMVBpyt0ju3ZWW725BKjQ4Fk-nrAy8udW-X44,5713
6
6
  avrotize/avrotocpp.py,sha256=hRZV247_TDD7Sm6_8sFx-UH5SueLLx2Wg6TvAVUX0iE,25693
@@ -59,14 +59,14 @@ avrotize/structuretomd.py,sha256=exfCldYbieVdduhotSoLrxsbphmyJQyeQso9qv4qyUw,136
59
59
  avrotize/structuretoproto.py,sha256=Aq0-fwMXSjjAxgZ5mq1kpo_TauigMRrJK9LNyoN-YGs,42679
60
60
  avrotize/structuretopython.py,sha256=ePlXrwbqA9r63Vw6xL-Gq3hBUScdcF9aqCQSi_xtaGo,37980
61
61
  avrotize/structuretorust.py,sha256=ChRmO7uzU-pMdDdS0Vtg-MVUaOaNhNUPwH-ZKKOHglU,35134
62
- avrotize/structuretots.py,sha256=y58jzClvVzudZurquW9nLIxvCXNvoYhiDycurpS4wlc,31990
62
+ avrotize/structuretots.py,sha256=bMBz9onD48nnFehg47x4wf8rUTghu_CucstkrZivqLk,32098
63
63
  avrotize/structuretoxsd.py,sha256=01VpasyWSMOx04sILHLP7H-WkhGdXAEGKohUUfgrNf0,32797
64
64
  avrotize/xsdtoavro.py,sha256=nQtNH_3pEZBp67oUCPqzhvItEExHTe-8obsIfNRXt8Y,19064
65
65
  avrotize/dependencies/cpp/vcpkg/vcpkg.json,sha256=se5qnUVQ1Q6wN_DqgIioqKg_y7ouh9oly2iBAJJXkgw,414
66
66
  avrotize/dependencies/typescript/node22/package.json,sha256=oAW_2X-b715kV7aajwuONZEMkyQUJGviG3GwnoUa7hU,387
67
- structurize-2.20.4.dist-info/licenses/LICENSE,sha256=xGtQGygTETTtDQJafZCUbpsed3GxO6grmqig-jGEuSk,11348
68
- structurize-2.20.4.dist-info/METADATA,sha256=bfm0YeV3NUsQ0eNGyrGVWZPfMFJh3fUunrdoMGIdTuQ,3670
69
- structurize-2.20.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
70
- structurize-2.20.4.dist-info/entry_points.txt,sha256=biIH7jA5auhVqfbwHVk2gmD_gvrPYKgjpCAn0JWZ-Rs,55
71
- structurize-2.20.4.dist-info/top_level.txt,sha256=yn-yQ0Cm1O9fbF8KJgv4IIvX4YRGelKgPqZF1wS5P50,9
72
- structurize-2.20.4.dist-info/RECORD,,
67
+ structurize-2.20.5.dist-info/licenses/LICENSE,sha256=xGtQGygTETTtDQJafZCUbpsed3GxO6grmqig-jGEuSk,11348
68
+ structurize-2.20.5.dist-info/METADATA,sha256=pWPMxqIHiNmo4OoCpRgE28tSs4jGCb3xu2u710XANkk,3670
69
+ structurize-2.20.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
70
+ structurize-2.20.5.dist-info/entry_points.txt,sha256=biIH7jA5auhVqfbwHVk2gmD_gvrPYKgjpCAn0JWZ-Rs,55
71
+ structurize-2.20.5.dist-info/top_level.txt,sha256=yn-yQ0Cm1O9fbF8KJgv4IIvX4YRGelKgPqZF1wS5P50,9
72
+ structurize-2.20.5.dist-info/RECORD,,