added generator for TypeScript backend

This commit is contained in:
2025-05-28 13:05:09 +02:00
parent 9f1c5536ed
commit ab7bd57362
3 changed files with 96 additions and 2 deletions

View File

@ -182,6 +182,14 @@
margin-left: 0.5rem;
}
/* Footer */
.footer {
background-color: #F4F5F8;
padding: 2rem 0;
text-align: center;
margin-top: 3rem;
}
/* Responsive design */
@media (max-width: 768px) {
.container {
@ -253,8 +261,8 @@
<!-- Navigation Menu -->
<nav class="nav-menu">
<div class="nav-links">
<a href="<?php echo $this->getCurrentUrl(); ?>?format=json">📄 JSON Documentation</a>
<a href="<?php echo $this->getCurrentUrl(); ?>">🔗 API Endpoint</a>
<a href="<?php echo $this->getCurrentUrl(); ?>?format=json">🔗 JSON Documentation</a>
<a href="<?php echo $this->getCurrentUrl(); ?>?format=typescript">📄 TypeScript backend script</a>
</div>
</nav>
@ -303,6 +311,15 @@
</section>
<?php } ?>
</main>
<!-- Footer -->
<footer class="footer">
<p>Generated with <a href="https://gitea.tpsoft.org/TPsoft.org/APIlite" target="_blank">APIlite</a>
by <a href="https://tpsoft.org" target="_blank">TPsoft.org</a>
&copy; <?php echo date('Y'); ?>
for <?php echo $this->apiName; ?>. All rights reserved.
</p>
</footer>
</div>
</body>