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
103
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.1.14 to 0.1.15

2

build/backend/commands/users/create-user.command.js

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

.string({
required_error: 'Expiration date is required',
invalid_type_error: 'Invalid date format',

@@ -101,3 +100,2 @@ })

.string({
required_error: 'Expiration date is required',
invalid_type_error: 'Invalid date format',

@@ -104,0 +102,0 @@ })

10

build/backend/commands/xray/get-config.command.d.ts

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

response: z.ZodObject<{
config: z.ZodRecord<z.ZodString, z.ZodAny>;
config: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, "strip", z.ZodTypeAny, {
config: Record<string, any>;
config: {};
}, {
config: Record<string, any>;
config: {};
}>;
}, "strip", z.ZodTypeAny, {
response: {
config: Record<string, any>;
config: {};
};
}, {
response: {
config: Record<string, any>;
config: {};
};

@@ -22,0 +22,0 @@ }>;

@@ -12,5 +12,5 @@ "use strict";

response: zod_1.z.object({
config: zod_1.z.record(zod_1.z.any()),
config: zod_1.z.object({}),
}),
});
})(GetXrayConfigCommand || (exports.GetXrayConfigCommand = GetXrayConfigCommand = {}));

@@ -5,19 +5,19 @@ import { z } from 'zod';

const TSQ_url: "/api/xray/update-config";
const RequestSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
const RequestSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
type Request = z.infer<typeof RequestSchema>;
const ResponseSchema: z.ZodObject<{
response: z.ZodObject<{
config: z.ZodRecord<z.ZodString, z.ZodAny>;
config: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, "strip", z.ZodTypeAny, {
config: Record<string, any>;
config: {};
}, {
config: Record<string, any>;
config: {};
}>;
}, "strip", z.ZodTypeAny, {
response: {
config: Record<string, any>;
config: {};
};
}, {
response: {
config: Record<string, any>;
config: {};
};

@@ -24,0 +24,0 @@ }>;

@@ -10,8 +10,8 @@ "use strict";

UpdateXrayConfigCommand.TSQ_url = UpdateXrayConfigCommand.url;
UpdateXrayConfigCommand.RequestSchema = zod_1.z.record(zod_1.z.any());
UpdateXrayConfigCommand.RequestSchema = zod_1.z.object({});
UpdateXrayConfigCommand.ResponseSchema = zod_1.z.object({
response: zod_1.z.object({
config: zod_1.z.record(zod_1.z.any()),
config: zod_1.z.object({}),
}),
});
})(UpdateXrayConfigCommand || (exports.UpdateXrayConfigCommand = UpdateXrayConfigCommand = {}));

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

.string({
required_error: 'Expiration date is required',
invalid_type_error: 'Invalid date format',

@@ -101,3 +100,2 @@ })

.string({
required_error: 'Expiration date is required',
invalid_type_error: 'Invalid date format',

@@ -104,0 +102,0 @@ })

@@ -12,5 +12,5 @@ "use strict";

response: zod_1.z.object({
config: zod_1.z.record(zod_1.z.any()),
config: zod_1.z.object({}),
}),
});
})(GetXrayConfigCommand || (exports.GetXrayConfigCommand = GetXrayConfigCommand = {}));

@@ -10,8 +10,8 @@ "use strict";

UpdateXrayConfigCommand.TSQ_url = UpdateXrayConfigCommand.url;
UpdateXrayConfigCommand.RequestSchema = zod_1.z.record(zod_1.z.any());
UpdateXrayConfigCommand.RequestSchema = zod_1.z.object({});
UpdateXrayConfigCommand.ResponseSchema = zod_1.z.object({
response: zod_1.z.object({
config: zod_1.z.record(zod_1.z.any()),
config: zod_1.z.object({}),
}),
});
})(UpdateXrayConfigCommand || (exports.UpdateXrayConfigCommand = UpdateXrayConfigCommand = {}));
{
"name": "@remnawave/backend-contract",
"version": "0.1.14",
"version": "0.1.15",
"public": true,

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

Sorry, the diff of this file is not supported yet

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