@remnawave/node-contract
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -7,3 +7,2 @@ export declare const XRAY_DEFAULT_POLICY_MODEL: { | ||
readonly statsUserDownlink: true; | ||
readonly statsUserOnline: true; | ||
}; | ||
@@ -25,23 +24,19 @@ }; | ||
readonly services: readonly ["HandlerService", "StatsService", "LoggerService"]; | ||
readonly listen: "127.0.0.1:61000"; | ||
readonly tag: "API"; | ||
readonly tag: "api"; | ||
}; | ||
readonly metrics: { | ||
readonly tag: "metrics_out"; | ||
}; | ||
}; | ||
export declare const XRAY_ROUTING_RULES_MODEL: { | ||
readonly type: "field"; | ||
readonly inboundTag: readonly ["metrics_in"]; | ||
readonly outboundTag: "metrics_out"; | ||
}; | ||
export declare const XRAY_API_INBOUND_MODEL: { | ||
readonly tag: "api"; | ||
readonly port: 61000; | ||
readonly listen: "127.0.0.1"; | ||
readonly port: 61002; | ||
readonly protocol: "dokodemo-door"; | ||
readonly settings: { | ||
readonly address: "localhost"; | ||
readonly address: "127.0.0.1"; | ||
}; | ||
readonly tag: "metrics_in"; | ||
}; | ||
export declare const XRAY_ROUTING_RULES_MODEL: { | ||
readonly type: "field"; | ||
readonly inboundTag: readonly ["api"]; | ||
readonly outboundTag: "api"; | ||
}; | ||
//# sourceMappingURL=stats.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.XRAY_API_INBOUND_MODEL = exports.XRAY_ROUTING_RULES_MODEL = exports.XRAY_DEFAULT_API_MODEL = exports.XRAY_DEFAULT_STATS_MODEL = exports.XRAY_DEFAULT_POLICY_MODEL = void 0; | ||
exports.XRAY_ROUTING_RULES_MODEL = exports.XRAY_API_INBOUND_MODEL = exports.XRAY_DEFAULT_API_MODEL = exports.XRAY_DEFAULT_STATS_MODEL = exports.XRAY_DEFAULT_POLICY_MODEL = void 0; | ||
exports.XRAY_DEFAULT_POLICY_MODEL = { | ||
@@ -10,3 +10,2 @@ policy: { | ||
statsUserDownlink: true, | ||
statsUserOnline: true, | ||
}, | ||
@@ -28,22 +27,18 @@ }, | ||
services: ['HandlerService', 'StatsService', 'LoggerService'], | ||
listen: '127.0.0.1:61000', | ||
tag: 'API', | ||
tag: 'api', | ||
}, | ||
metrics: { | ||
tag: 'metrics_out', | ||
}, | ||
}; | ||
exports.XRAY_ROUTING_RULES_MODEL = { | ||
type: 'field', | ||
inboundTag: ['metrics_in'], | ||
outboundTag: 'metrics_out', | ||
}; | ||
exports.XRAY_API_INBOUND_MODEL = { | ||
tag: 'api', | ||
port: 61000, | ||
listen: '127.0.0.1', | ||
port: 61002, | ||
protocol: 'dokodemo-door', | ||
settings: { | ||
address: 'localhost', | ||
address: '127.0.0.1', | ||
}, | ||
tag: 'metrics_in', | ||
}; | ||
exports.XRAY_ROUTING_RULES_MODEL = { | ||
type: 'field', | ||
inboundTag: ['api'], | ||
outboundTag: 'api', | ||
}; |
{ | ||
"name": "@remnawave/node-contract", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A node-contract library for Remnawave Panel", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
78002
1840