@kissesses/xtls-sdk 0.16.0
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.
- package/LICENCE +661 -0
- package/README.md +217 -0
- package/build/index.d.ts +17 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +19 -0
- package/build/src/common/errors/handler/handler.errors.d.ts +23 -0
- package/build/src/common/errors/handler/handler.errors.d.ts.map +1 -0
- package/build/src/common/errors/handler/handler.errors.js +22 -0
- package/build/src/common/errors/handler/index.d.ts +2 -0
- package/build/src/common/errors/handler/index.d.ts.map +1 -0
- package/build/src/common/errors/handler/index.js +17 -0
- package/build/src/common/errors/index.d.ts +3 -0
- package/build/src/common/errors/index.d.ts.map +1 -0
- package/build/src/common/errors/index.js +18 -0
- package/build/src/common/errors/router/index.d.ts +2 -0
- package/build/src/common/errors/router/index.d.ts.map +1 -0
- package/build/src/common/errors/router/index.js +17 -0
- package/build/src/common/errors/router/router.errors.d.ts +15 -0
- package/build/src/common/errors/router/router.errors.d.ts.map +1 -0
- package/build/src/common/errors/router/router.errors.js +14 -0
- package/build/src/common/errors/stats/index.d.ts +2 -0
- package/build/src/common/errors/stats/index.d.ts.map +1 -0
- package/build/src/common/errors/stats/index.js +17 -0
- package/build/src/common/errors/stats/stats.errors.d.ts +43 -0
- package/build/src/common/errors/stats/stats.errors.d.ts.map +1 -0
- package/build/src/common/errors/stats/stats.errors.js +42 -0
- package/build/src/common/types/index.d.ts +2 -0
- package/build/src/common/types/index.d.ts.map +1 -0
- package/build/src/common/types/index.js +17 -0
- package/build/src/common/types/sdk-response.d.ts +6 -0
- package/build/src/common/types/sdk-response.d.ts.map +1 -0
- package/build/src/common/types/sdk-response.js +2 -0
- package/build/src/common/utils/create-typed-message/create-typed-message.d.ts +5 -0
- package/build/src/common/utils/create-typed-message/create-typed-message.d.ts.map +1 -0
- package/build/src/common/utils/create-typed-message/create-typed-message.js +10 -0
- package/build/src/common/utils/decode-user/constants/account-types.d.ts +39 -0
- package/build/src/common/utils/decode-user/constants/account-types.d.ts.map +1 -0
- package/build/src/common/utils/decode-user/constants/account-types.js +65 -0
- package/build/src/common/utils/decode-user/constants/index.d.ts +2 -0
- package/build/src/common/utils/decode-user/constants/index.d.ts.map +1 -0
- package/build/src/common/utils/decode-user/constants/index.js +17 -0
- package/build/src/common/utils/decode-user/decode-user.d.ts +37 -0
- package/build/src/common/utils/decode-user/decode-user.d.ts.map +1 -0
- package/build/src/common/utils/decode-user/decode-user.js +55 -0
- package/build/src/common/utils/decode-user/types/account-type-keys.type.d.ts +3 -0
- package/build/src/common/utils/decode-user/types/account-type-keys.type.d.ts.map +1 -0
- package/build/src/common/utils/decode-user/types/account-type-keys.type.js +2 -0
- package/build/src/common/utils/decode-user/types/account-type-mapping.type.d.ts +4 -0
- package/build/src/common/utils/decode-user/types/account-type-mapping.type.d.ts.map +1 -0
- package/build/src/common/utils/decode-user/types/account-type-mapping.type.js +2 -0
- package/build/src/common/utils/decode-user/types/decoded-user.type.d.ts +18 -0
- package/build/src/common/utils/decode-user/types/decoded-user.type.d.ts.map +1 -0
- package/build/src/common/utils/decode-user/types/decoded-user.type.js +2 -0
- package/build/src/common/utils/decode-user/types/index.d.ts +4 -0
- package/build/src/common/utils/decode-user/types/index.d.ts.map +1 -0
- package/build/src/common/utils/decode-user/types/index.js +19 -0
- package/build/src/handler/handler.service.d.ts +155 -0
- package/build/src/handler/handler.service.d.ts.map +1 -0
- package/build/src/handler/handler.service.js +523 -0
- package/build/src/handler/interfaces/add-user/add-http-user.interface.d.ts +8 -0
- package/build/src/handler/interfaces/add-user/add-http-user.interface.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/add-http-user.interface.js +2 -0
- package/build/src/handler/interfaces/add-user/add-hysteria-user.interface.d.ts +7 -0
- package/build/src/handler/interfaces/add-user/add-hysteria-user.interface.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/add-hysteria-user.interface.js +2 -0
- package/build/src/handler/interfaces/add-user/add-shadowsocks-user.interface.d.ts +10 -0
- package/build/src/handler/interfaces/add-user/add-shadowsocks-user.interface.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/add-shadowsocks-user.interface.js +2 -0
- package/build/src/handler/interfaces/add-user/add-shadowsocks2022-user.interface.d.ts +7 -0
- package/build/src/handler/interfaces/add-user/add-shadowsocks2022-user.interface.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/add-shadowsocks2022-user.interface.js +2 -0
- package/build/src/handler/interfaces/add-user/add-socks-user.interface.d.ts +8 -0
- package/build/src/handler/interfaces/add-user/add-socks-user.interface.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/add-socks-user.interface.js +2 -0
- package/build/src/handler/interfaces/add-user/add-trojan-user.interface.d.ts +7 -0
- package/build/src/handler/interfaces/add-user/add-trojan-user.interface.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/add-trojan-user.interface.js +2 -0
- package/build/src/handler/interfaces/add-user/add-vless-user.interface.d.ts +8 -0
- package/build/src/handler/interfaces/add-user/add-vless-user.interface.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/add-vless-user.interface.js +2 -0
- package/build/src/handler/interfaces/add-user/add-wireguard-user.interface.d.ts +8 -0
- package/build/src/handler/interfaces/add-user/add-wireguard-user.interface.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/add-wireguard-user.interface.js +2 -0
- package/build/src/handler/interfaces/add-user/index.d.ts +9 -0
- package/build/src/handler/interfaces/add-user/index.d.ts.map +1 -0
- package/build/src/handler/interfaces/add-user/index.js +24 -0
- package/build/src/handler/interfaces/index.d.ts +2 -0
- package/build/src/handler/interfaces/index.d.ts.map +1 -0
- package/build/src/handler/interfaces/index.js +17 -0
- package/build/src/handler/models/add-user/add-user.response.model.d.ts +5 -0
- package/build/src/handler/models/add-user/add-user.response.model.d.ts.map +1 -0
- package/build/src/handler/models/add-user/add-user.response.model.js +9 -0
- package/build/src/handler/models/add-user/index.d.ts +2 -0
- package/build/src/handler/models/add-user/index.d.ts.map +1 -0
- package/build/src/handler/models/add-user/index.js +17 -0
- package/build/src/handler/models/get-inbound-users/get-inbound-users.response.model.d.ts +7 -0
- package/build/src/handler/models/get-inbound-users/get-inbound-users.response.model.d.ts.map +1 -0
- package/build/src/handler/models/get-inbound-users/get-inbound-users.response.model.js +10 -0
- package/build/src/handler/models/get-inbound-users/index.d.ts +2 -0
- package/build/src/handler/models/get-inbound-users/index.d.ts.map +1 -0
- package/build/src/handler/models/get-inbound-users/index.js +17 -0
- package/build/src/handler/models/index.d.ts +4 -0
- package/build/src/handler/models/index.d.ts.map +1 -0
- package/build/src/handler/models/index.js +19 -0
- package/build/src/handler/models/remove-user/index.d.ts +2 -0
- package/build/src/handler/models/remove-user/index.d.ts.map +1 -0
- package/build/src/handler/models/remove-user/index.js +17 -0
- package/build/src/handler/models/remove-user/remove-user.response.model.d.ts +5 -0
- package/build/src/handler/models/remove-user/remove-user.response.model.d.ts.map +1 -0
- package/build/src/handler/models/remove-user/remove-user.response.model.js +9 -0
- package/build/src/router/interfaces/index.d.ts +2 -0
- package/build/src/router/interfaces/index.d.ts.map +1 -0
- package/build/src/router/interfaces/index.js +17 -0
- package/build/src/router/interfaces/remove-rule-by-rule-tag.interface.d.ts +4 -0
- package/build/src/router/interfaces/remove-rule-by-rule-tag.interface.d.ts.map +1 -0
- package/build/src/router/interfaces/remove-rule-by-rule-tag.interface.js +2 -0
- package/build/src/router/models/index.d.ts +2 -0
- package/build/src/router/models/index.d.ts.map +1 -0
- package/build/src/router/models/index.js +17 -0
- package/build/src/router/models/remove-rule-by-rule-tag/index.d.ts +2 -0
- package/build/src/router/models/remove-rule-by-rule-tag/index.d.ts.map +1 -0
- package/build/src/router/models/remove-rule-by-rule-tag/index.js +17 -0
- package/build/src/router/models/remove-rule-by-rule-tag/remove-rule-by-rule-tag.response.model.d.ts +5 -0
- package/build/src/router/models/remove-rule-by-rule-tag/remove-rule-by-rule-tag.response.model.d.ts.map +1 -0
- package/build/src/router/models/remove-rule-by-rule-tag/remove-rule-by-rule-tag.response.model.js +9 -0
- package/build/src/router/router.service.d.ts +31 -0
- package/build/src/router/router.service.d.ts.map +1 -0
- package/build/src/router/router.service.js +56 -0
- package/build/src/stats/models/get-all-inbounds-stats/get-all-inbounds-stats.response.model.d.ts +21 -0
- package/build/src/stats/models/get-all-inbounds-stats/get-all-inbounds-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/get-all-inbounds-stats.response.model.js +42 -0
- package/build/src/stats/models/get-all-inbounds-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-all-inbounds-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/index.js +17 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/inbound.interface.d.ts +6 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/inbound.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/inbound.interface.js +2 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-all-outbounds-stats/get-all-outbounds-stats.response.model.d.ts +21 -0
- package/build/src/stats/models/get-all-outbounds-stats/get-all-outbounds-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-all-outbounds-stats/get-all-outbounds-stats.response.model.js +42 -0
- package/build/src/stats/models/get-all-outbounds-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-all-outbounds-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-outbounds-stats/index.js +17 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/outbound.interface.d.ts +6 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/outbound.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/outbound.interface.js +2 -0
- package/build/src/stats/models/get-all-users-stats/get-all-users-stats.response.model.d.ts +21 -0
- package/build/src/stats/models/get-all-users-stats/get-all-users-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-all-users-stats/get-all-users-stats.response.model.js +42 -0
- package/build/src/stats/models/get-all-users-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-all-users-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-users-stats/index.js +17 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/user.interface.d.ts +6 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/user.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/user.interface.js +2 -0
- package/build/src/stats/models/get-inbound-stats/get-inbound-stats.response.model.d.ts +27 -0
- package/build/src/stats/models/get-inbound-stats/get-inbound-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-inbound-stats/get-inbound-stats.response.model.js +46 -0
- package/build/src/stats/models/get-inbound-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-inbound-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-inbound-stats/index.js +17 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/inbound.interface.d.ts +6 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/inbound.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/inbound.interface.js +2 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-outbound-stats/get-outbound-stats.response.model.d.ts +27 -0
- package/build/src/stats/models/get-outbound-stats/get-outbound-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-outbound-stats/get-outbound-stats.response.model.js +46 -0
- package/build/src/stats/models/get-outbound-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-outbound-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-outbound-stats/index.js +17 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/outbound.d.ts +6 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/outbound.d.ts.map +1 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/outbound.js +2 -0
- package/build/src/stats/models/get-sys-stats/get-sys-stats.response.model.d.ts +15 -0
- package/build/src/stats/models/get-sys-stats/get-sys-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-sys-stats/get-sys-stats.response.model.js +22 -0
- package/build/src/stats/models/get-sys-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-sys-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-sys-stats/index.js +17 -0
- package/build/src/stats/models/get-user-online-status/get-user-online-status.response.model.d.ts +5 -0
- package/build/src/stats/models/get-user-online-status/get-user-online-status.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-user-online-status/get-user-online-status.response.model.js +9 -0
- package/build/src/stats/models/get-user-online-status/index.d.ts +2 -0
- package/build/src/stats/models/get-user-online-status/index.d.ts.map +1 -0
- package/build/src/stats/models/get-user-online-status/index.js +17 -0
- package/build/src/stats/models/get-user-stats/get-user-stats.response.model.d.ts +26 -0
- package/build/src/stats/models/get-user-stats/get-user-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-user-stats/get-user-stats.response.model.js +46 -0
- package/build/src/stats/models/get-user-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-user-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-user-stats/index.js +17 -0
- package/build/src/stats/models/get-user-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-user-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-user-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-user-stats/interfaces/user.interface.d.ts +6 -0
- package/build/src/stats/models/get-user-stats/interfaces/user.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-user-stats/interfaces/user.interface.js +2 -0
- package/build/src/stats/models/get-users-stats/get-users-stats.response.model.d.ts +50 -0
- package/build/src/stats/models/get-users-stats/get-users-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-users-stats/get-users-stats.response.model.js +52 -0
- package/build/src/stats/models/get-users-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-users-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-users-stats/index.js +17 -0
- package/build/src/stats/models/index.d.ts +10 -0
- package/build/src/stats/models/index.d.ts.map +1 -0
- package/build/src/stats/models/index.js +25 -0
- package/build/src/stats/stats.service.d.ts +271 -0
- package/build/src/stats/stats.service.d.ts.map +1 -0
- package/build/src/stats/stats.service.js +527 -0
- package/build/src/xray-protos/app/commander/config.d.ts +37 -0
- package/build/src/xray-protos/app/commander/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/commander/config.js +143 -0
- package/build/src/xray-protos/app/dispatcher/config.d.ts +26 -0
- package/build/src/xray-protos/app/dispatcher/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/dispatcher/config.js +112 -0
- package/build/src/xray-protos/app/geodata/config.d.ts +30 -0
- package/build/src/xray-protos/app/geodata/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/geodata/config.js +172 -0
- package/build/src/xray-protos/app/log/command/config.d.ts +51 -0
- package/build/src/xray-protos/app/log/command/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/log/command/config.js +143 -0
- package/build/src/xray-protos/app/log/config.d.ts +38 -0
- package/build/src/xray-protos/app/log/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/log/config.js +244 -0
- package/build/src/xray-protos/app/metrics/config.d.ts +25 -0
- package/build/src/xray-protos/app/metrics/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/metrics/config.js +86 -0
- package/build/src/xray-protos/app/policy/config.d.ts +78 -0
- package/build/src/xray-protos/app/policy/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/policy/config.js +790 -0
- package/build/src/xray-protos/app/proxyman/command/command.d.ts +237 -0
- package/build/src/xray-protos/app/proxyman/command/command.d.ts.map +1 -0
- package/build/src/xray-protos/app/proxyman/command/command.js +1255 -0
- package/build/src/xray-protos/app/proxyman/config.d.ts +91 -0
- package/build/src/xray-protos/app/proxyman/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/proxyman/config.js +779 -0
- package/build/src/xray-protos/app/reverse/config.d.ts +48 -0
- package/build/src/xray-protos/app/reverse/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/reverse/config.js +365 -0
- package/build/src/xray-protos/app/router/command/command.d.ts +250 -0
- package/build/src/xray-protos/app/router/command/command.d.ts.map +1 -0
- package/build/src/xray-protos/app/router/command/command.js +1461 -0
- package/build/src/xray-protos/app/stats/command/command.d.ts +204 -0
- package/build/src/xray-protos/app/stats/command/command.d.ts.map +1 -0
- package/build/src/xray-protos/app/stats/command/command.js +1318 -0
- package/build/src/xray-protos/app/stats/config.d.ts +28 -0
- package/build/src/xray-protos/app/stats/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/stats/config.js +140 -0
- package/build/src/xray-protos/app/version/config.d.ts +24 -0
- package/build/src/xray-protos/app/version/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/version/config.js +113 -0
- package/build/src/xray-protos/common/geodata/geodat.d.ts +111 -0
- package/build/src/xray-protos/common/geodata/geodat.d.ts.map +1 -0
- package/build/src/xray-protos/common/geodata/geodat.js +1027 -0
- package/build/src/xray-protos/common/log/log.d.ts +12 -0
- package/build/src/xray-protos/common/log/log.d.ts.map +1 -0
- package/build/src/xray-protos/common/log/log.js +61 -0
- package/build/src/xray-protos/common/net/address.d.ts +29 -0
- package/build/src/xray-protos/common/net/address.d.ts.map +1 -0
- package/build/src/xray-protos/common/net/address.js +111 -0
- package/build/src/xray-protos/common/net/destination.d.ts +27 -0
- package/build/src/xray-protos/common/net/destination.d.ts.map +1 -0
- package/build/src/xray-protos/common/net/destination.js +105 -0
- package/build/src/xray-protos/common/net/network.d.ts +32 -0
- package/build/src/xray-protos/common/net/network.d.ts.map +1 -0
- package/build/src/xray-protos/common/net/network.js +122 -0
- package/build/src/xray-protos/common/net/port.d.ts +32 -0
- package/build/src/xray-protos/common/net/port.d.ts.map +1 -0
- package/build/src/xray-protos/common/net/port.js +142 -0
- package/build/src/xray-protos/common/protocol/headers.d.ts +34 -0
- package/build/src/xray-protos/common/protocol/headers.d.ts.map +1 -0
- package/build/src/xray-protos/common/protocol/headers.js +126 -0
- package/build/src/xray-protos/common/protocol/server_spec.d.ts +26 -0
- package/build/src/xray-protos/common/protocol/server_spec.d.ts.map +1 -0
- package/build/src/xray-protos/common/protocol/server_spec.js +105 -0
- package/build/src/xray-protos/common/protocol/user.d.ts +30 -0
- package/build/src/xray-protos/common/protocol/user.d.ts.map +1 -0
- package/build/src/xray-protos/common/protocol/user.js +104 -0
- package/build/src/xray-protos/common/serial/typed_message.d.ts +26 -0
- package/build/src/xray-protos/common/serial/typed_message.d.ts.map +1 -0
- package/build/src/xray-protos/common/serial/typed_message.js +111 -0
- package/build/src/xray-protos/core/config.d.ts +74 -0
- package/build/src/xray-protos/core/config.d.ts.map +1 -0
- package/build/src/xray-protos/core/config.js +366 -0
- package/build/src/xray-protos/proxy/blackhole/config.d.ts +31 -0
- package/build/src/xray-protos/proxy/blackhole/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/blackhole/config.js +152 -0
- package/build/src/xray-protos/proxy/dns/config.d.ts +43 -0
- package/build/src/xray-protos/proxy/dns/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/dns/config.js +276 -0
- package/build/src/xray-protos/proxy/dokodemo/config.d.ts +38 -0
- package/build/src/xray-protos/proxy/dokodemo/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/dokodemo/config.js +285 -0
- package/build/src/xray-protos/proxy/freedom/config.d.ts +82 -0
- package/build/src/xray-protos/proxy/freedom/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/freedom/config.js +902 -0
- package/build/src/xray-protos/proxy/http/config.d.ts +54 -0
- package/build/src/xray-protos/proxy/http/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/http/config.js +418 -0
- package/build/src/xray-protos/proxy/hysteria/account/config.d.ts +22 -0
- package/build/src/xray-protos/proxy/hysteria/account/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/hysteria/account/config.js +68 -0
- package/build/src/xray-protos/proxy/hysteria/config.d.ts +29 -0
- package/build/src/xray-protos/proxy/hysteria/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/hysteria/config.js +131 -0
- package/build/src/xray-protos/proxy/loopback/config.d.ts +24 -0
- package/build/src/xray-protos/proxy/loopback/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/loopback/config.js +93 -0
- package/build/src/xray-protos/proxy/shadowsocks/config.d.ts +49 -0
- package/build/src/xray-protos/proxy/shadowsocks/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/shadowsocks/config.js +307 -0
- package/build/src/xray-protos/proxy/shadowsocks_2022/config.d.ts +67 -0
- package/build/src/xray-protos/proxy/shadowsocks_2022/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/shadowsocks_2022/config.js +646 -0
- package/build/src/xray-protos/proxy/socks/config.d.ts +61 -0
- package/build/src/xray-protos/proxy/socks/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/socks/config.js +416 -0
- package/build/src/xray-protos/proxy/trojan/config.d.ts +45 -0
- package/build/src/xray-protos/proxy/trojan/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/trojan/config.js +342 -0
- package/build/src/xray-protos/proxy/tun/config.d.ts +28 -0
- package/build/src/xray-protos/proxy/tun/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/tun/config.js +182 -0
- package/build/src/xray-protos/proxy/vless/account.d.ts +39 -0
- package/build/src/xray-protos/proxy/vless/account.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vless/account.js +287 -0
- package/build/src/xray-protos/proxy/vless/encoding/addons.d.ts +23 -0
- package/build/src/xray-protos/proxy/vless/encoding/addons.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vless/encoding/addons.js +111 -0
- package/build/src/xray-protos/proxy/vless/inbound/config.d.ts +39 -0
- package/build/src/xray-protos/proxy/vless/inbound/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vless/inbound/config.js +322 -0
- package/build/src/xray-protos/proxy/vless/outbound/config.d.ts +23 -0
- package/build/src/xray-protos/proxy/vless/outbound/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vless/outbound/config.js +71 -0
- package/build/src/xray-protos/proxy/vmess/account.d.ts +31 -0
- package/build/src/xray-protos/proxy/vmess/account.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vmess/account.js +112 -0
- package/build/src/xray-protos/proxy/vmess/inbound/config.d.ts +34 -0
- package/build/src/xray-protos/proxy/vmess/inbound/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vmess/inbound/config.js +195 -0
- package/build/src/xray-protos/proxy/vmess/outbound/config.d.ts +23 -0
- package/build/src/xray-protos/proxy/vmess/outbound/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vmess/outbound/config.js +74 -0
- package/build/src/xray-protos/proxy/wireguard/config.d.ts +50 -0
- package/build/src/xray-protos/proxy/wireguard/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/wireguard/config.js +434 -0
- package/build/src/xray-protos/transport/internet/config.d.ts +164 -0
- package/build/src/xray-protos/transport/internet/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/config.js +1705 -0
- package/build/src/xray-protos/typeRegistry.d.ts +19 -0
- package/build/src/xray-protos/typeRegistry.d.ts.map +1 -0
- package/build/src/xray-protos/typeRegistry.js +8 -0
- package/package.json +60 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
|
+
// protoc v6.33.4
|
|
6
|
+
// source: app/log/command/config.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.LoggerServiceDefinition = exports.RestartLoggerResponse = exports.RestartLoggerRequest = exports.Config = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
const typeRegistry_1 = require("../../../typeRegistry");
|
|
12
|
+
exports.protobufPackage = "xray.app.log.command";
|
|
13
|
+
function createBaseConfig() {
|
|
14
|
+
return { $type: "xray.app.log.command.Config" };
|
|
15
|
+
}
|
|
16
|
+
exports.Config = {
|
|
17
|
+
$type: "xray.app.log.command.Config",
|
|
18
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
19
|
+
return writer;
|
|
20
|
+
},
|
|
21
|
+
decode(input, length) {
|
|
22
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
23
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
24
|
+
const message = createBaseConfig();
|
|
25
|
+
while (reader.pos < end) {
|
|
26
|
+
const tag = reader.uint32();
|
|
27
|
+
switch (tag >>> 3) {
|
|
28
|
+
}
|
|
29
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
reader.skip(tag & 7);
|
|
33
|
+
}
|
|
34
|
+
return message;
|
|
35
|
+
},
|
|
36
|
+
fromJSON(_) {
|
|
37
|
+
return { $type: exports.Config.$type };
|
|
38
|
+
},
|
|
39
|
+
toJSON(_) {
|
|
40
|
+
const obj = {};
|
|
41
|
+
return obj;
|
|
42
|
+
},
|
|
43
|
+
create(base) {
|
|
44
|
+
return exports.Config.fromPartial(base ?? {});
|
|
45
|
+
},
|
|
46
|
+
fromPartial(_) {
|
|
47
|
+
const message = createBaseConfig();
|
|
48
|
+
return message;
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
typeRegistry_1.messageTypeRegistry.set(exports.Config.$type, exports.Config);
|
|
52
|
+
function createBaseRestartLoggerRequest() {
|
|
53
|
+
return { $type: "xray.app.log.command.RestartLoggerRequest" };
|
|
54
|
+
}
|
|
55
|
+
exports.RestartLoggerRequest = {
|
|
56
|
+
$type: "xray.app.log.command.RestartLoggerRequest",
|
|
57
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
58
|
+
return writer;
|
|
59
|
+
},
|
|
60
|
+
decode(input, length) {
|
|
61
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
62
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
63
|
+
const message = createBaseRestartLoggerRequest();
|
|
64
|
+
while (reader.pos < end) {
|
|
65
|
+
const tag = reader.uint32();
|
|
66
|
+
switch (tag >>> 3) {
|
|
67
|
+
}
|
|
68
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
reader.skip(tag & 7);
|
|
72
|
+
}
|
|
73
|
+
return message;
|
|
74
|
+
},
|
|
75
|
+
fromJSON(_) {
|
|
76
|
+
return { $type: exports.RestartLoggerRequest.$type };
|
|
77
|
+
},
|
|
78
|
+
toJSON(_) {
|
|
79
|
+
const obj = {};
|
|
80
|
+
return obj;
|
|
81
|
+
},
|
|
82
|
+
create(base) {
|
|
83
|
+
return exports.RestartLoggerRequest.fromPartial(base ?? {});
|
|
84
|
+
},
|
|
85
|
+
fromPartial(_) {
|
|
86
|
+
const message = createBaseRestartLoggerRequest();
|
|
87
|
+
return message;
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
typeRegistry_1.messageTypeRegistry.set(exports.RestartLoggerRequest.$type, exports.RestartLoggerRequest);
|
|
91
|
+
function createBaseRestartLoggerResponse() {
|
|
92
|
+
return { $type: "xray.app.log.command.RestartLoggerResponse" };
|
|
93
|
+
}
|
|
94
|
+
exports.RestartLoggerResponse = {
|
|
95
|
+
$type: "xray.app.log.command.RestartLoggerResponse",
|
|
96
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
97
|
+
return writer;
|
|
98
|
+
},
|
|
99
|
+
decode(input, length) {
|
|
100
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
101
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
102
|
+
const message = createBaseRestartLoggerResponse();
|
|
103
|
+
while (reader.pos < end) {
|
|
104
|
+
const tag = reader.uint32();
|
|
105
|
+
switch (tag >>> 3) {
|
|
106
|
+
}
|
|
107
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
reader.skip(tag & 7);
|
|
111
|
+
}
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
fromJSON(_) {
|
|
115
|
+
return { $type: exports.RestartLoggerResponse.$type };
|
|
116
|
+
},
|
|
117
|
+
toJSON(_) {
|
|
118
|
+
const obj = {};
|
|
119
|
+
return obj;
|
|
120
|
+
},
|
|
121
|
+
create(base) {
|
|
122
|
+
return exports.RestartLoggerResponse.fromPartial(base ?? {});
|
|
123
|
+
},
|
|
124
|
+
fromPartial(_) {
|
|
125
|
+
const message = createBaseRestartLoggerResponse();
|
|
126
|
+
return message;
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
typeRegistry_1.messageTypeRegistry.set(exports.RestartLoggerResponse.$type, exports.RestartLoggerResponse);
|
|
130
|
+
exports.LoggerServiceDefinition = {
|
|
131
|
+
name: "LoggerService",
|
|
132
|
+
fullName: "xray.app.log.command.LoggerService",
|
|
133
|
+
methods: {
|
|
134
|
+
restartLogger: {
|
|
135
|
+
name: "RestartLogger",
|
|
136
|
+
requestType: exports.RestartLoggerRequest,
|
|
137
|
+
requestStream: false,
|
|
138
|
+
responseType: exports.RestartLoggerResponse,
|
|
139
|
+
responseStream: false,
|
|
140
|
+
options: {},
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { Severity } from "../../common/log/log";
|
|
3
|
+
export declare const protobufPackage = "xray.app.log";
|
|
4
|
+
export declare enum LogType {
|
|
5
|
+
None = 0,
|
|
6
|
+
Console = 1,
|
|
7
|
+
File = 2,
|
|
8
|
+
Event = 3,
|
|
9
|
+
UNRECOGNIZED = -1
|
|
10
|
+
}
|
|
11
|
+
export declare function logTypeFromJSON(object: any): LogType;
|
|
12
|
+
export declare function logTypeToJSON(object: LogType): string;
|
|
13
|
+
export interface Config {
|
|
14
|
+
$type: "xray.app.log.Config";
|
|
15
|
+
errorLogType: LogType;
|
|
16
|
+
errorLogLevel: Severity;
|
|
17
|
+
errorLogPath: string;
|
|
18
|
+
accessLogType: LogType;
|
|
19
|
+
accessLogPath: string;
|
|
20
|
+
enableDnsLog: boolean;
|
|
21
|
+
maskAddress: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const Config: MessageFns<Config, "xray.app.log.Config">;
|
|
24
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
25
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
26
|
+
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>;
|
|
27
|
+
} : Partial<T>;
|
|
28
|
+
export interface MessageFns<T, V extends string> {
|
|
29
|
+
readonly $type: V;
|
|
30
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
31
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
32
|
+
fromJSON(object: any): T;
|
|
33
|
+
toJSON(message: T): unknown;
|
|
34
|
+
create(base?: DeepPartial<T>): T;
|
|
35
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/app/log/config.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAoC,MAAM,sBAAsB,CAAC;AAGlF,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAE9C,oBAAY,OAAO;IACjB,IAAI,IAAI;IACR,OAAO,IAAI;IACX,IAAI,IAAI;IACR,KAAK,IAAI;IACT,YAAY,KAAK;CAClB;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAmBpD;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAcrD;AAED,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,QAAQ,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;C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
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
|
+
// protoc v6.33.4
|
|
6
|
+
// source: app/log/config.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.Config = exports.LogType = exports.protobufPackage = void 0;
|
|
9
|
+
exports.logTypeFromJSON = logTypeFromJSON;
|
|
10
|
+
exports.logTypeToJSON = logTypeToJSON;
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
13
|
+
const log_1 = require("../../common/log/log");
|
|
14
|
+
const typeRegistry_1 = require("../../typeRegistry");
|
|
15
|
+
exports.protobufPackage = "xray.app.log";
|
|
16
|
+
var LogType;
|
|
17
|
+
(function (LogType) {
|
|
18
|
+
LogType[LogType["None"] = 0] = "None";
|
|
19
|
+
LogType[LogType["Console"] = 1] = "Console";
|
|
20
|
+
LogType[LogType["File"] = 2] = "File";
|
|
21
|
+
LogType[LogType["Event"] = 3] = "Event";
|
|
22
|
+
LogType[LogType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
23
|
+
})(LogType || (exports.LogType = LogType = {}));
|
|
24
|
+
function logTypeFromJSON(object) {
|
|
25
|
+
switch (object) {
|
|
26
|
+
case 0:
|
|
27
|
+
case "None":
|
|
28
|
+
return LogType.None;
|
|
29
|
+
case 1:
|
|
30
|
+
case "Console":
|
|
31
|
+
return LogType.Console;
|
|
32
|
+
case 2:
|
|
33
|
+
case "File":
|
|
34
|
+
return LogType.File;
|
|
35
|
+
case 3:
|
|
36
|
+
case "Event":
|
|
37
|
+
return LogType.Event;
|
|
38
|
+
case -1:
|
|
39
|
+
case "UNRECOGNIZED":
|
|
40
|
+
default:
|
|
41
|
+
return LogType.UNRECOGNIZED;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function logTypeToJSON(object) {
|
|
45
|
+
switch (object) {
|
|
46
|
+
case LogType.None:
|
|
47
|
+
return "None";
|
|
48
|
+
case LogType.Console:
|
|
49
|
+
return "Console";
|
|
50
|
+
case LogType.File:
|
|
51
|
+
return "File";
|
|
52
|
+
case LogType.Event:
|
|
53
|
+
return "Event";
|
|
54
|
+
case LogType.UNRECOGNIZED:
|
|
55
|
+
default:
|
|
56
|
+
return "UNRECOGNIZED";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function createBaseConfig() {
|
|
60
|
+
return {
|
|
61
|
+
$type: "xray.app.log.Config",
|
|
62
|
+
errorLogType: 0,
|
|
63
|
+
errorLogLevel: 0,
|
|
64
|
+
errorLogPath: "",
|
|
65
|
+
accessLogType: 0,
|
|
66
|
+
accessLogPath: "",
|
|
67
|
+
enableDnsLog: false,
|
|
68
|
+
maskAddress: "",
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.Config = {
|
|
72
|
+
$type: "xray.app.log.Config",
|
|
73
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
74
|
+
if (message.errorLogType !== 0) {
|
|
75
|
+
writer.uint32(8).int32(message.errorLogType);
|
|
76
|
+
}
|
|
77
|
+
if (message.errorLogLevel !== 0) {
|
|
78
|
+
writer.uint32(16).int32(message.errorLogLevel);
|
|
79
|
+
}
|
|
80
|
+
if (message.errorLogPath !== "") {
|
|
81
|
+
writer.uint32(26).string(message.errorLogPath);
|
|
82
|
+
}
|
|
83
|
+
if (message.accessLogType !== 0) {
|
|
84
|
+
writer.uint32(32).int32(message.accessLogType);
|
|
85
|
+
}
|
|
86
|
+
if (message.accessLogPath !== "") {
|
|
87
|
+
writer.uint32(42).string(message.accessLogPath);
|
|
88
|
+
}
|
|
89
|
+
if (message.enableDnsLog !== false) {
|
|
90
|
+
writer.uint32(48).bool(message.enableDnsLog);
|
|
91
|
+
}
|
|
92
|
+
if (message.maskAddress !== "") {
|
|
93
|
+
writer.uint32(58).string(message.maskAddress);
|
|
94
|
+
}
|
|
95
|
+
return writer;
|
|
96
|
+
},
|
|
97
|
+
decode(input, length) {
|
|
98
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
99
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
100
|
+
const message = createBaseConfig();
|
|
101
|
+
while (reader.pos < end) {
|
|
102
|
+
const tag = reader.uint32();
|
|
103
|
+
switch (tag >>> 3) {
|
|
104
|
+
case 1: {
|
|
105
|
+
if (tag !== 8) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.errorLogType = reader.int32();
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
case 2: {
|
|
112
|
+
if (tag !== 16) {
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
message.errorLogLevel = reader.int32();
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
118
|
+
case 3: {
|
|
119
|
+
if (tag !== 26) {
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
message.errorLogPath = reader.string();
|
|
123
|
+
continue;
|
|
124
|
+
}
|
|
125
|
+
case 4: {
|
|
126
|
+
if (tag !== 32) {
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
message.accessLogType = reader.int32();
|
|
130
|
+
continue;
|
|
131
|
+
}
|
|
132
|
+
case 5: {
|
|
133
|
+
if (tag !== 42) {
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
message.accessLogPath = reader.string();
|
|
137
|
+
continue;
|
|
138
|
+
}
|
|
139
|
+
case 6: {
|
|
140
|
+
if (tag !== 48) {
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
message.enableDnsLog = reader.bool();
|
|
144
|
+
continue;
|
|
145
|
+
}
|
|
146
|
+
case 7: {
|
|
147
|
+
if (tag !== 58) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
message.maskAddress = reader.string();
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
reader.skip(tag & 7);
|
|
158
|
+
}
|
|
159
|
+
return message;
|
|
160
|
+
},
|
|
161
|
+
fromJSON(object) {
|
|
162
|
+
return {
|
|
163
|
+
$type: exports.Config.$type,
|
|
164
|
+
errorLogType: isSet(object.errorLogType)
|
|
165
|
+
? logTypeFromJSON(object.errorLogType)
|
|
166
|
+
: isSet(object.error_log_type)
|
|
167
|
+
? logTypeFromJSON(object.error_log_type)
|
|
168
|
+
: 0,
|
|
169
|
+
errorLogLevel: isSet(object.errorLogLevel)
|
|
170
|
+
? (0, log_1.severityFromJSON)(object.errorLogLevel)
|
|
171
|
+
: isSet(object.error_log_level)
|
|
172
|
+
? (0, log_1.severityFromJSON)(object.error_log_level)
|
|
173
|
+
: 0,
|
|
174
|
+
errorLogPath: isSet(object.errorLogPath)
|
|
175
|
+
? globalThis.String(object.errorLogPath)
|
|
176
|
+
: isSet(object.error_log_path)
|
|
177
|
+
? globalThis.String(object.error_log_path)
|
|
178
|
+
: "",
|
|
179
|
+
accessLogType: isSet(object.accessLogType)
|
|
180
|
+
? logTypeFromJSON(object.accessLogType)
|
|
181
|
+
: isSet(object.access_log_type)
|
|
182
|
+
? logTypeFromJSON(object.access_log_type)
|
|
183
|
+
: 0,
|
|
184
|
+
accessLogPath: isSet(object.accessLogPath)
|
|
185
|
+
? globalThis.String(object.accessLogPath)
|
|
186
|
+
: isSet(object.access_log_path)
|
|
187
|
+
? globalThis.String(object.access_log_path)
|
|
188
|
+
: "",
|
|
189
|
+
enableDnsLog: isSet(object.enableDnsLog)
|
|
190
|
+
? globalThis.Boolean(object.enableDnsLog)
|
|
191
|
+
: isSet(object.enable_dns_log)
|
|
192
|
+
? globalThis.Boolean(object.enable_dns_log)
|
|
193
|
+
: false,
|
|
194
|
+
maskAddress: isSet(object.maskAddress)
|
|
195
|
+
? globalThis.String(object.maskAddress)
|
|
196
|
+
: isSet(object.mask_address)
|
|
197
|
+
? globalThis.String(object.mask_address)
|
|
198
|
+
: "",
|
|
199
|
+
};
|
|
200
|
+
},
|
|
201
|
+
toJSON(message) {
|
|
202
|
+
const obj = {};
|
|
203
|
+
if (message.errorLogType !== 0) {
|
|
204
|
+
obj.errorLogType = logTypeToJSON(message.errorLogType);
|
|
205
|
+
}
|
|
206
|
+
if (message.errorLogLevel !== 0) {
|
|
207
|
+
obj.errorLogLevel = (0, log_1.severityToJSON)(message.errorLogLevel);
|
|
208
|
+
}
|
|
209
|
+
if (message.errorLogPath !== "") {
|
|
210
|
+
obj.errorLogPath = message.errorLogPath;
|
|
211
|
+
}
|
|
212
|
+
if (message.accessLogType !== 0) {
|
|
213
|
+
obj.accessLogType = logTypeToJSON(message.accessLogType);
|
|
214
|
+
}
|
|
215
|
+
if (message.accessLogPath !== "") {
|
|
216
|
+
obj.accessLogPath = message.accessLogPath;
|
|
217
|
+
}
|
|
218
|
+
if (message.enableDnsLog !== false) {
|
|
219
|
+
obj.enableDnsLog = message.enableDnsLog;
|
|
220
|
+
}
|
|
221
|
+
if (message.maskAddress !== "") {
|
|
222
|
+
obj.maskAddress = message.maskAddress;
|
|
223
|
+
}
|
|
224
|
+
return obj;
|
|
225
|
+
},
|
|
226
|
+
create(base) {
|
|
227
|
+
return exports.Config.fromPartial(base ?? {});
|
|
228
|
+
},
|
|
229
|
+
fromPartial(object) {
|
|
230
|
+
const message = createBaseConfig();
|
|
231
|
+
message.errorLogType = object.errorLogType ?? 0;
|
|
232
|
+
message.errorLogLevel = object.errorLogLevel ?? 0;
|
|
233
|
+
message.errorLogPath = object.errorLogPath ?? "";
|
|
234
|
+
message.accessLogType = object.accessLogType ?? 0;
|
|
235
|
+
message.accessLogPath = object.accessLogPath ?? "";
|
|
236
|
+
message.enableDnsLog = object.enableDnsLog ?? false;
|
|
237
|
+
message.maskAddress = object.maskAddress ?? "";
|
|
238
|
+
return message;
|
|
239
|
+
},
|
|
240
|
+
};
|
|
241
|
+
typeRegistry_1.messageTypeRegistry.set(exports.Config.$type, exports.Config);
|
|
242
|
+
function isSet(value) {
|
|
243
|
+
return value !== null && value !== undefined;
|
|
244
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "xray.app.metrics";
|
|
3
|
+
/** Config is the settings for metrics. */
|
|
4
|
+
export interface Config {
|
|
5
|
+
$type: "xray.app.metrics.Config";
|
|
6
|
+
/** Tag of the outbound handler that handles metrics http connections. */
|
|
7
|
+
tag: string;
|
|
8
|
+
listen: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Config: MessageFns<Config, "xray.app.metrics.Config">;
|
|
11
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
12
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
13
|
+
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>;
|
|
14
|
+
} : Partial<T>;
|
|
15
|
+
export interface MessageFns<T, V extends string> {
|
|
16
|
+
readonly $type: V;
|
|
17
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
18
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
19
|
+
fromJSON(object: any): T;
|
|
20
|
+
toJSON(message: T): unknown;
|
|
21
|
+
create(base?: DeepPartial<T>): T;
|
|
22
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/app/metrics/config.ts"],"names":[],"mappings":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MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
|
+
// protoc v6.33.4
|
|
6
|
+
// source: app/metrics/config.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.Config = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
const typeRegistry_1 = require("../../typeRegistry");
|
|
12
|
+
exports.protobufPackage = "xray.app.metrics";
|
|
13
|
+
function createBaseConfig() {
|
|
14
|
+
return { $type: "xray.app.metrics.Config", tag: "", listen: "" };
|
|
15
|
+
}
|
|
16
|
+
exports.Config = {
|
|
17
|
+
$type: "xray.app.metrics.Config",
|
|
18
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
19
|
+
if (message.tag !== "") {
|
|
20
|
+
writer.uint32(10).string(message.tag);
|
|
21
|
+
}
|
|
22
|
+
if (message.listen !== "") {
|
|
23
|
+
writer.uint32(18).string(message.listen);
|
|
24
|
+
}
|
|
25
|
+
return writer;
|
|
26
|
+
},
|
|
27
|
+
decode(input, length) {
|
|
28
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
29
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
30
|
+
const message = createBaseConfig();
|
|
31
|
+
while (reader.pos < end) {
|
|
32
|
+
const tag = reader.uint32();
|
|
33
|
+
switch (tag >>> 3) {
|
|
34
|
+
case 1: {
|
|
35
|
+
if (tag !== 10) {
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
message.tag = reader.string();
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
case 2: {
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.listen = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
reader.skip(tag & 7);
|
|
53
|
+
}
|
|
54
|
+
return message;
|
|
55
|
+
},
|
|
56
|
+
fromJSON(object) {
|
|
57
|
+
return {
|
|
58
|
+
$type: exports.Config.$type,
|
|
59
|
+
tag: isSet(object.tag) ? globalThis.String(object.tag) : "",
|
|
60
|
+
listen: isSet(object.listen) ? globalThis.String(object.listen) : "",
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
toJSON(message) {
|
|
64
|
+
const obj = {};
|
|
65
|
+
if (message.tag !== "") {
|
|
66
|
+
obj.tag = message.tag;
|
|
67
|
+
}
|
|
68
|
+
if (message.listen !== "") {
|
|
69
|
+
obj.listen = message.listen;
|
|
70
|
+
}
|
|
71
|
+
return obj;
|
|
72
|
+
},
|
|
73
|
+
create(base) {
|
|
74
|
+
return exports.Config.fromPartial(base ?? {});
|
|
75
|
+
},
|
|
76
|
+
fromPartial(object) {
|
|
77
|
+
const message = createBaseConfig();
|
|
78
|
+
message.tag = object.tag ?? "";
|
|
79
|
+
message.listen = object.listen ?? "";
|
|
80
|
+
return message;
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
typeRegistry_1.messageTypeRegistry.set(exports.Config.$type, exports.Config);
|
|
84
|
+
function isSet(value) {
|
|
85
|
+
return value !== null && value !== undefined;
|
|
86
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "xray.app.policy";
|
|
3
|
+
export interface Second {
|
|
4
|
+
$type: "xray.app.policy.Second";
|
|
5
|
+
value: number;
|
|
6
|
+
}
|
|
7
|
+
export interface Policy {
|
|
8
|
+
$type: "xray.app.policy.Policy";
|
|
9
|
+
timeout: Policy_Timeout | undefined;
|
|
10
|
+
stats: Policy_Stats | undefined;
|
|
11
|
+
buffer: Policy_Buffer | undefined;
|
|
12
|
+
}
|
|
13
|
+
/** Timeout is a message for timeout settings in various stages, in seconds. */
|
|
14
|
+
export interface Policy_Timeout {
|
|
15
|
+
$type: "xray.app.policy.Policy.Timeout";
|
|
16
|
+
handshake: Second | undefined;
|
|
17
|
+
connectionIdle: Second | undefined;
|
|
18
|
+
uplinkOnly: Second | undefined;
|
|
19
|
+
downlinkOnly: Second | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface Policy_Stats {
|
|
22
|
+
$type: "xray.app.policy.Policy.Stats";
|
|
23
|
+
userUplink: boolean;
|
|
24
|
+
userDownlink: boolean;
|
|
25
|
+
userOnline: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface Policy_Buffer {
|
|
28
|
+
$type: "xray.app.policy.Policy.Buffer";
|
|
29
|
+
/** Buffer size per connection, in bytes. -1 for unlimited buffer. */
|
|
30
|
+
connection: number;
|
|
31
|
+
}
|
|
32
|
+
export interface SystemPolicy {
|
|
33
|
+
$type: "xray.app.policy.SystemPolicy";
|
|
34
|
+
stats: SystemPolicy_Stats | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface SystemPolicy_Stats {
|
|
37
|
+
$type: "xray.app.policy.SystemPolicy.Stats";
|
|
38
|
+
inboundUplink: boolean;
|
|
39
|
+
inboundDownlink: boolean;
|
|
40
|
+
outboundUplink: boolean;
|
|
41
|
+
outboundDownlink: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface Config {
|
|
44
|
+
$type: "xray.app.policy.Config";
|
|
45
|
+
level: {
|
|
46
|
+
[key: number]: Policy;
|
|
47
|
+
};
|
|
48
|
+
system: SystemPolicy | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface Config_LevelEntry {
|
|
51
|
+
$type: "xray.app.policy.Config.LevelEntry";
|
|
52
|
+
key: number;
|
|
53
|
+
value: Policy | undefined;
|
|
54
|
+
}
|
|
55
|
+
export declare const Second: MessageFns<Second, "xray.app.policy.Second">;
|
|
56
|
+
export declare const Policy: MessageFns<Policy, "xray.app.policy.Policy">;
|
|
57
|
+
export declare const Policy_Timeout: MessageFns<Policy_Timeout, "xray.app.policy.Policy.Timeout">;
|
|
58
|
+
export declare const Policy_Stats: MessageFns<Policy_Stats, "xray.app.policy.Policy.Stats">;
|
|
59
|
+
export declare const Policy_Buffer: MessageFns<Policy_Buffer, "xray.app.policy.Policy.Buffer">;
|
|
60
|
+
export declare const SystemPolicy: MessageFns<SystemPolicy, "xray.app.policy.SystemPolicy">;
|
|
61
|
+
export declare const SystemPolicy_Stats: MessageFns<SystemPolicy_Stats, "xray.app.policy.SystemPolicy.Stats">;
|
|
62
|
+
export declare const Config: MessageFns<Config, "xray.app.policy.Config">;
|
|
63
|
+
export declare const Config_LevelEntry: MessageFns<Config_LevelEntry, "xray.app.policy.Config.LevelEntry">;
|
|
64
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
65
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
66
|
+
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>;
|
|
67
|
+
} : Partial<T>;
|
|
68
|
+
export interface MessageFns<T, V extends string> {
|
|
69
|
+
readonly $type: V;
|
|
70
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
71
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
72
|
+
fromJSON(object: any): T;
|
|
73
|
+
toJSON(message: T): unknown;
|
|
74
|
+
create(base?: DeepPartial<T>): T;
|
|
75
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
76
|
+
}
|
|
77
|
+
export {};
|
|
78
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/app/policy/config.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGrE,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,wBAAwB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,wBAAwB,CAAC;IAChC,OAAO,EAAE,cAAc,GAAG,SAAS,CAAC;IACpC,KAAK,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,MAAM,EAAE,aAAa,GAAG,SAAS,CAAC;CACnC;AAED,+EAA+E;AAC/E,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,gCAAgC,CAAC;IACxC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,8BAA8B,CAAC;IACtC,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,+BAA+B,CAAC;IACvC,qEAAqE;IACrE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,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