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.41 to 0.0.42

1

build/commands/nodes/get-one.command.js

@@ -10,2 +10,3 @@ "use strict";

GetOneNodeCommand.url = api_1.REST_API.NODES.GET_ONE;
GetOneNodeCommand.TSQ_url = GetOneNodeCommand.url(':uuid');
GetOneNodeCommand.RequestSchema = zod_1.z.object({

@@ -12,0 +13,0 @@ uuid: zod_1.z.string().uuid(),

34

build/models/nodes.schema.js

@@ -9,21 +9,21 @@ "use strict";

address: zod_1.z.string(),
port: zod_1.z.number().int().nullable(),
isConnected: zod_1.z.boolean().default(false),
isDisabled: zod_1.z.boolean().default(false),
isConnecting: zod_1.z.boolean().default(false),
isNodeOnline: zod_1.z.boolean().default(false),
isXrayRunning: zod_1.z.boolean().default(false),
lastStatusChange: zod_1.z.date().nullable(),
lastStatusMessage: zod_1.z.string().nullable(),
xrayVersion: zod_1.z.string().nullable(),
isTrafficTrackingActive: zod_1.z.boolean().default(false),
trafficResetDay: zod_1.z.number().int().nullable(),
trafficLimitBytes: zod_1.z.number().nullable(),
trafficUsedBytes: zod_1.z.number().nullable(),
notifyPercent: zod_1.z.number().int().nullable(),
cpuCount: zod_1.z.number().int().nullable(),
cpuModel: zod_1.z.string().nullable(),
totalRam: zod_1.z.string().nullable(),
port: zod_1.z.nullable(zod_1.z.number().int()),
isConnected: zod_1.z.boolean(),
isDisabled: zod_1.z.boolean(),
isConnecting: zod_1.z.boolean(),
isNodeOnline: zod_1.z.boolean(),
isXrayRunning: zod_1.z.boolean(),
lastStatusChange: zod_1.z.nullable(zod_1.z.date()),
lastStatusMessage: zod_1.z.nullable(zod_1.z.string()),
xrayVersion: zod_1.z.nullable(zod_1.z.string()),
isTrafficTrackingActive: zod_1.z.boolean(),
trafficResetDay: zod_1.z.nullable(zod_1.z.number().int()),
trafficLimitBytes: zod_1.z.nullable(zod_1.z.number()),
trafficUsedBytes: zod_1.z.nullable(zod_1.z.number()),
notifyPercent: zod_1.z.nullable(zod_1.z.number().int()),
cpuCount: zod_1.z.nullable(zod_1.z.number().int()),
cpuModel: zod_1.z.nullable(zod_1.z.string()),
totalRam: zod_1.z.nullable(zod_1.z.string()),
createdAt: zod_1.z.date(),
updatedAt: zod_1.z.date(),
});

@@ -7,2 +7,3 @@ import { z } from 'zod';

export const url = REST_API.NODES.GET_ONE;
export const TSQ_url = url(':uuid');

@@ -9,0 +10,0 @@ export const RequestSchema = z.object({

@@ -7,20 +7,20 @@ import { z } from 'zod';

address: z.string(),
port: z.number().int().nullable(),
isConnected: z.boolean().default(false),
isDisabled: z.boolean().default(false),
isConnecting: z.boolean().default(false),
isNodeOnline: z.boolean().default(false),
isXrayRunning: z.boolean().default(false),
lastStatusChange: z.date().nullable(),
lastStatusMessage: z.string().nullable(),
xrayVersion: z.string().nullable(),
isTrafficTrackingActive: z.boolean().default(false),
trafficResetDay: z.number().int().nullable(),
trafficLimitBytes: z.number().nullable(),
trafficUsedBytes: z.number().nullable(),
notifyPercent: z.number().int().nullable(),
port: z.nullable(z.number().int()),
isConnected: z.boolean(),
isDisabled: z.boolean(),
isConnecting: z.boolean(),
isNodeOnline: z.boolean(),
isXrayRunning: z.boolean(),
lastStatusChange: z.nullable(z.date()),
lastStatusMessage: z.nullable(z.string()),
xrayVersion: z.nullable(z.string()),
isTrafficTrackingActive: z.boolean(),
trafficResetDay: z.nullable(z.number().int()),
trafficLimitBytes: z.nullable(z.number()),
trafficUsedBytes: z.nullable(z.number()),
notifyPercent: z.nullable(z.number().int()),
cpuCount: z.number().int().nullable(),
cpuModel: z.string().nullable(),
totalRam: z.string().nullable(),
cpuCount: z.nullable(z.number().int()),
cpuModel: z.nullable(z.string()),
totalRam: z.nullable(z.string()),

@@ -27,0 +27,0 @@ createdAt: z.date(),

{
"name": "@remnawave/backend-contract",
"version": "0.0.41",
"version": "0.0.42",
"description": "A contract library for Remnawave",

@@ -5,0 +5,0 @@ "main": "index.js",

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