New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@remnawave/backend-contract

Package Overview
Dependencies
Maintainers
0
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remnawave/backend-contract - npm Package Compare versions

Comparing version 0.0.79 to 0.0.80

166

build/backend/commands/nodes/reorder.command.d.ts

@@ -64,17 +64,165 @@ import { z } from 'zod';

const ResponseSchema: z.ZodObject<{
response: z.ZodObject<{
isUpdated: z.ZodBoolean;
response: z.ZodArray<z.ZodObject<{
uuid: z.ZodString;
name: z.ZodString;
address: z.ZodString;
port: z.ZodNullable<z.ZodNumber>;
isConnected: z.ZodBoolean;
isDisabled: z.ZodBoolean;
isConnecting: z.ZodBoolean;
isNodeOnline: z.ZodBoolean;
isXrayRunning: z.ZodBoolean;
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
lastStatusMessage: z.ZodNullable<z.ZodString>;
xrayVersion: z.ZodNullable<z.ZodString>;
isTrafficTrackingActive: z.ZodBoolean;
trafficResetDay: z.ZodNullable<z.ZodNumber>;
trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
notifyPercent: z.ZodNullable<z.ZodNumber>;
usersOnline: z.ZodNullable<z.ZodNumber>;
viewPosition: z.ZodNumber;
cpuCount: z.ZodNullable<z.ZodNumber>;
cpuModel: z.ZodNullable<z.ZodString>;
totalRam: z.ZodNullable<z.ZodString>;
createdAt: z.ZodEffects<z.ZodString, Date, string>;
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
excludedInbounds: z.ZodArray<z.ZodObject<{
uuid: z.ZodString;
tag: z.ZodString;
type: z.ZodString;
}, "strip", z.ZodTypeAny, {
uuid: string;
type: string;
tag: string;
}, {
uuid: string;
type: string;
tag: string;
}>, "many">;
}, "strip", z.ZodTypeAny, {
isUpdated: boolean;
uuid: string;
createdAt: Date;
updatedAt: Date;
viewPosition: number;
address: string;
port: number | null;
isDisabled: boolean;
name: string;
isConnected: boolean;
isConnecting: boolean;
isNodeOnline: boolean;
isXrayRunning: boolean;
lastStatusChange: Date | null;
lastStatusMessage: string | null;
xrayVersion: string | null;
isTrafficTrackingActive: boolean;
trafficResetDay: number | null;
trafficLimitBytes: number | null;
trafficUsedBytes: number | null;
notifyPercent: number | null;
usersOnline: number | null;
cpuCount: number | null;
cpuModel: string | null;
totalRam: string | null;
excludedInbounds: {
uuid: string;
type: string;
tag: string;
}[];
}, {
isUpdated: boolean;
}>;
uuid: string;
createdAt: string;
updatedAt: string;
viewPosition: number;
address: string;
port: number | null;
isDisabled: boolean;
name: string;
isConnected: boolean;
isConnecting: boolean;
isNodeOnline: boolean;
isXrayRunning: boolean;
lastStatusChange: string | null;
lastStatusMessage: string | null;
xrayVersion: string | null;
isTrafficTrackingActive: boolean;
trafficResetDay: number | null;
trafficLimitBytes: number | null;
trafficUsedBytes: number | null;
notifyPercent: number | null;
usersOnline: number | null;
cpuCount: number | null;
cpuModel: string | null;
totalRam: string | null;
excludedInbounds: {
uuid: string;
type: string;
tag: string;
}[];
}>, "many">;
}, "strip", z.ZodTypeAny, {
response: {
isUpdated: boolean;
};
uuid: string;
createdAt: Date;
updatedAt: Date;
viewPosition: number;
address: string;
port: number | null;
isDisabled: boolean;
name: string;
isConnected: boolean;
isConnecting: boolean;
isNodeOnline: boolean;
isXrayRunning: boolean;
lastStatusChange: Date | null;
lastStatusMessage: string | null;
xrayVersion: string | null;
isTrafficTrackingActive: boolean;
trafficResetDay: number | null;
trafficLimitBytes: number | null;
trafficUsedBytes: number | null;
notifyPercent: number | null;
usersOnline: number | null;
cpuCount: number | null;
cpuModel: string | null;
totalRam: string | null;
excludedInbounds: {
uuid: string;
type: string;
tag: string;
}[];
}[];
}, {
response: {
isUpdated: boolean;
};
uuid: string;
createdAt: string;
updatedAt: string;
viewPosition: number;
address: string;
port: number | null;
isDisabled: boolean;
name: string;
isConnected: boolean;
isConnecting: boolean;
isNodeOnline: boolean;
isXrayRunning: boolean;
lastStatusChange: string | null;
lastStatusMessage: string | null;
xrayVersion: string | null;
isTrafficTrackingActive: boolean;
trafficResetDay: number | null;
trafficLimitBytes: number | null;
trafficUsedBytes: number | null;
notifyPercent: number | null;
usersOnline: number | null;
cpuCount: number | null;
cpuModel: string | null;
totalRam: string | null;
excludedInbounds: {
uuid: string;
type: string;
tag: string;
}[];
}[];
}>;

@@ -81,0 +229,0 @@ type Response = z.infer<typeof ResponseSchema>;

4

build/backend/commands/nodes/reorder.command.js

@@ -18,6 +18,4 @@ "use strict";

ReorderNodeCommand.ResponseSchema = zod_1.z.object({
response: zod_1.z.object({
isUpdated: zod_1.z.boolean(),
}),
response: zod_1.z.array(models_1.NodesSchema),
});
})(ReorderNodeCommand || (exports.ReorderNodeCommand = ReorderNodeCommand = {}));

@@ -18,6 +18,4 @@ "use strict";

ReorderNodeCommand.ResponseSchema = zod_1.z.object({
response: zod_1.z.object({
isUpdated: zod_1.z.boolean(),
}),
response: zod_1.z.array(models_1.NodesSchema),
});
})(ReorderNodeCommand || (exports.ReorderNodeCommand = ReorderNodeCommand = {}));
{
"name": "@remnawave/backend-contract",
"version": "0.0.79",
"version": "0.0.80",
"public": true,

@@ -5,0 +5,0 @@ "license": "AGPL-3.0-only",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc