chore(frontend): regenerate schemas/types/openapi after the amneziawg trim

npm run gen, matching CI's own codegen check: picks up the updated
ServerSettings/Instance doc comments (types.go) and drops ensureAction
(the old kernel-module Manager's now-deleted internal enum, which
tools/openapigen was scanning and emitting bindings for even though it was
never meant to be part of the public API surface).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Kuzz007
2026-08-02 20:05:10 +03:00
parent 59dff059c1
commit e4fc9d5031
4 changed files with 2 additions and 10 deletions
+1 -3
View File
@@ -2857,7 +2857,7 @@
"description": "ServerSettings is the \"server\" block of an AmneziaWG inbound's Settings\nJSON: the interface-level configuration shared by every client/peer. The\nlisten port is deliberately not duplicated here — it lives on the inbound\nrow itself (Inbound.Port), like every other protocol.",
"properties": {
"externalInterface": {
"description": "ExternalInterface is the host NIC PostUp/PostDown NAT rules attach to.\nEmpty means auto-detect.",
"description": "ExternalInterface, IPv6Enabled/IPv6Subnet/IPv6ExternalInterface, and\nRouteThroughXray are all vestigial as of the hard cutover to the\nembedded path (internal/amneziawgnet) -- see the matching fields on\nInstance for what each used to do under the retired kernel-module\narchitecture and what (if anything) is planned to read them again.",
"type": "string"
},
"h1": {
@@ -2876,7 +2876,6 @@
"type": "string"
},
"ipv6Enabled": {
"description": "IPv6Enabled turns on native IPv6 for clients: an IPv6 host address is\nallocated from IPv6Subnet alongside each client's IPv4 one, and the\nserver proxies NDP for each enabled client's address so upstream\nrouters see it as directly reachable (no NAT66). IPv6ExternalInterface\noverrides ExternalInterface for the NDP-proxy PostUp/PostDown entries\nspecifically; empty reuses ExternalInterface.",
"type": "boolean"
},
"ipv6ExternalInterface": {
@@ -2909,7 +2908,6 @@
"type": "string"
},
"routeThroughXray": {
"description": "RouteThroughXray turns on this inbound's TPROXY-into-Xray bridge; see\nInstance.RouteThroughXray for what that means. Off by default.",
"type": "boolean"
},
"s1": {
+1 -3
View File
@@ -2831,7 +2831,7 @@ export const SCHEMAS: Record<string, unknown> = {
"description": "ServerSettings is the \"server\" block of an AmneziaWG inbound's Settings\nJSON: the interface-level configuration shared by every client/peer. The\nlisten port is deliberately not duplicated here — it lives on the inbound\nrow itself (Inbound.Port), like every other protocol.",
"properties": {
"externalInterface": {
"description": "ExternalInterface is the host NIC PostUp/PostDown NAT rules attach to.\nEmpty means auto-detect.",
"description": "ExternalInterface, IPv6Enabled/IPv6Subnet/IPv6ExternalInterface, and\nRouteThroughXray are all vestigial as of the hard cutover to the\nembedded path (internal/amneziawgnet) -- see the matching fields on\nInstance for what each used to do under the retired kernel-module\narchitecture and what (if anything) is planned to read them again.",
"type": "string"
},
"h1": {
@@ -2850,7 +2850,6 @@ export const SCHEMAS: Record<string, unknown> = {
"type": "string"
},
"ipv6Enabled": {
"description": "IPv6Enabled turns on native IPv6 for clients: an IPv6 host address is\nallocated from IPv6Subnet alongside each client's IPv4 one, and the\nserver proxies NDP for each enabled client's address so upstream\nrouters see it as directly reachable (no NAT66). IPv6ExternalInterface\noverrides ExternalInterface for the NDP-proxy PostUp/PostDown entries\nspecifically; empty reuses ExternalInterface.",
"type": "boolean"
},
"ipv6ExternalInterface": {
@@ -2883,7 +2882,6 @@ export const SCHEMAS: Record<string, unknown> = {
"type": "string"
},
"routeThroughXray": {
"description": "RouteThroughXray turns on this inbound's TPROXY-into-Xray bridge; see\nInstance.RouteThroughXray for what that means. Off by default.",
"type": "boolean"
},
"s1": {
-1
View File
@@ -3,7 +3,6 @@ export type OnlineAPISupport = number;
export type ProcessState = string;
export type Protocol = string;
export type SubLinkProvider = unknown;
export type ensureAction = number;
export type geodataFileKind = number;
export type staticEgressResolver = string;
export type transportBits = number;
-3
View File
@@ -12,9 +12,6 @@ export type Protocol = z.infer<typeof ProtocolSchema>;
export const SubLinkProviderSchema = z.unknown();
export type SubLinkProvider = z.infer<typeof SubLinkProviderSchema>;
export const ensureActionSchema = z.number().int();
export type ensureAction = z.infer<typeof ensureActionSchema>;
export const geodataFileKindSchema = z.number().int();
export type geodataFileKind = z.infer<typeof geodataFileKindSchema>;