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.33 to 0.0.34

build/models/base-stat.schema.js

16

build/commands/system/get-bandwidth-stats.command.js

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

const api_1 = require("../../api");
const base_stat_schema_1 = require("../../models/base-stat.schema");
var GetBandwidthStatsCommand;

@@ -15,14 +16,9 @@ (function (GetBandwidthStatsCommand) {

response: zod_1.z.object({
bandwidthLastTwoDays: zod_1.z.object({
current: zod_1.z.string(),
previous: zod_1.z.string(),
difference: zod_1.z.string(),
}),
bandwidthLastSevenDays: zod_1.z.object({
current: zod_1.z.string(),
previous: zod_1.z.string(),
difference: zod_1.z.string(),
}),
bandwidthLastTwoDays: base_stat_schema_1.BaseStatSchema,
bandwidthLastSevenDays: base_stat_schema_1.BaseStatSchema,
bandwidthLast30Days: base_stat_schema_1.BaseStatSchema,
bandwidthCalendarMonth: base_stat_schema_1.BaseStatSchema,
bandwidthCurrentYear: base_stat_schema_1.BaseStatSchema,
}),
});
})(GetBandwidthStatsCommand || (exports.GetBandwidthStatsCommand = GetBandwidthStatsCommand = {}));

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

__exportStar(require("./auth.schema"), exports);
__exportStar(require("./base-stat.schema"), exports);
__exportStar(require("./hosts.schema"), exports);

@@ -21,0 +22,0 @@ __exportStar(require("./inbounds.schema"), exports);

import { z } from 'zod';
import { REST_API } from '../../api';
import { BaseStatSchema } from '../../models/base-stat.schema';

@@ -15,12 +16,7 @@ export namespace GetBandwidthStatsCommand {

response: z.object({
bandwidthLastTwoDays: z.object({
current: z.string(),
previous: z.string(),
difference: z.string(),
}),
bandwidthLastSevenDays: z.object({
current: z.string(),
previous: z.string(),
difference: z.string(),
}),
bandwidthLastTwoDays: BaseStatSchema,
bandwidthLastSevenDays: BaseStatSchema,
bandwidthLast30Days: BaseStatSchema,
bandwidthCalendarMonth: BaseStatSchema,
bandwidthCurrentYear: BaseStatSchema,
}),

@@ -27,0 +23,0 @@ });

export * from './api-tokens.schema';
export * from './auth.schema';
export * from './base-stat.schema';
export * from './hosts.schema';

@@ -4,0 +5,0 @@ export * from './inbounds.schema';

{
"name": "@remnawave/backend-contract",
"version": "0.0.33",
"version": "0.0.34",
"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