[PR #5365] [CLOSED] chore(frontend): regenerate generated types for staticEgressResolver #5861

Closed
opened 2026-11-02 04:04:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5365
Author: @n0ctal
Created: 6/15/2026
Status: ❌ Closed

Base: main ← Head: pr-regen-openapi-types


📝 Commits (2)

  • 5e4e645 chore(frontend): regenerate generated types for staticEgressResolver
  • b3e6b18 Merge branch 'main' into pr-regen-openapi-types

📄 Description

Summary

Regenerates the committed frontend types so the codegen CI gate passes again.

Why

staticEgressResolver (added in internal/web/service/node.go) is emitted by npm run gen but was never committed under frontend/src/generated, so the codegen check (git diff --exit-code after npm run gen) fails on every PR opened against main.

Scope

  • regenerates frontend/src/generated/types.ts and zod.ts
  • adds only the staticEgressResolver entries; no other change
  • frontend/public/openapi.json is unaffected

Validation

  • go run ./tools/openapigen on a clean main produces exactly this diff
  • generated YAML/TS remain parseable

Risk

Low. Generated-file sync only; no source or runtime change.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/5365 **Author:** [@n0ctal](https://github.com/n0ctal) **Created:** 6/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `pr-regen-openapi-types` --- ### 📝 Commits (2) - [`5e4e645`](https://github.com/MHSanaei/3x-ui/commit/5e4e64537d872e3ddf5bbd28a2943b54a862092b) chore(frontend): regenerate generated types for staticEgressResolver - [`b3e6b18`](https://github.com/MHSanaei/3x-ui/commit/b3e6b1845a8a3859e4a78ed5c7fe5e9a6d14b1f0) Merge branch 'main' into pr-regen-openapi-types ### 📄 Description ## Summary Regenerates the committed frontend types so the `codegen` CI gate passes again. ## Why `staticEgressResolver` (added in `internal/web/service/node.go`) is emitted by `npm run gen` but was never committed under `frontend/src/generated`, so the codegen check (`git diff --exit-code` after `npm run gen`) fails on every PR opened against `main`. ## Scope - regenerates `frontend/src/generated/types.ts` and `zod.ts` - adds only the `staticEgressResolver` entries; no other change - `frontend/public/openapi.json` is unaffected ## Validation - `go run ./tools/openapigen` on a clean `main` produces exactly this diff - generated YAML/TS remain parseable ## Risk Low. Generated-file sync only; no source or runtime change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:04:37 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5861
No description provided.