@remnawave/node-plugins 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55,13 +55,13 @@ export declare const BlacklistPluginSchema: z.ZodObject<{
|
|
|
55
55
|
}>;
|
|
56
56
|
export declare const ConnectionDropPluginSchema: z.ZodObject<{
|
|
57
57
|
enabled: z.ZodBoolean;
|
|
58
|
-
|
|
58
|
+
whitelistIps: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
enabled: boolean;
|
|
61
|
-
|
|
61
|
+
whitelistIps: string[];
|
|
62
62
|
}, {
|
|
63
63
|
enabled: boolean;
|
|
64
|
-
|
|
64
|
+
whitelistIps: string[];
|
|
65
65
|
}>;
|
|
66
66
|
export declare const NodePluginsSchema: z.ZodObject<{
|
|
67
67
|
sharedLists: z.ZodArray<z.ZodObject<{
|
|
@@ -120,13 +120,13 @@ export declare const NodePluginsSchema: z.ZodObject<{
|
|
|
120
120
|
}>>;
|
|
121
121
|
connectionDrop: z.ZodOptional<z.ZodObject<{
|
|
122
122
|
enabled: z.ZodBoolean;
|
|
123
|
-
|
|
123
|
+
whitelistIps: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
enabled: boolean;
|
|
126
|
-
|
|
126
|
+
whitelistIps: string[];
|
|
127
127
|
}, {
|
|
128
128
|
enabled: boolean;
|
|
129
|
-
|
|
129
|
+
whitelistIps: string[];
|
|
130
130
|
}>>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
sharedLists: {
|
|
@@ -148,7 +148,7 @@ export declare const NodePluginsSchema: z.ZodObject<{
|
|
|
148
148
|
} | undefined;
|
|
149
149
|
connectionDrop?: {
|
|
150
150
|
enabled: boolean;
|
|
151
|
-
|
|
151
|
+
whitelistIps: string[];
|
|
152
152
|
} | undefined;
|
|
153
153
|
}, {
|
|
154
154
|
sharedLists: {
|
|
@@ -170,7 +170,7 @@ export declare const NodePluginsSchema: z.ZodObject<{
|
|
|
170
170
|
} | undefined;
|
|
171
171
|
connectionDrop?: {
|
|
172
172
|
enabled: boolean;
|
|
173
|
-
|
|
173
|
+
whitelistIps: string[];
|
|
174
174
|
} | undefined;
|
|
175
175
|
}>;
|
|
176
176
|
export type TNodePlugins = z.infer<typeof NodePluginsSchema>;
|
|
@@ -25,7 +25,7 @@ exports.BlacklistPluginSchema = zod_1.z.object({
|
|
|
25
25
|
});
|
|
26
26
|
exports.ConnectionDropPluginSchema = zod_1.z.object({
|
|
27
27
|
enabled: zod_1.z.boolean(),
|
|
28
|
-
|
|
28
|
+
whitelistIps: zod_1.z.array(zod_1.z.union([zod_1.z.string().ip(), zod_1.z.string().startsWith('ext:')])),
|
|
29
29
|
});
|
|
30
30
|
exports.NodePluginsSchema = zod_1.z.object({
|
|
31
31
|
sharedLists: zod_1.z.array(exports.SharedIpListSchema),
|
|
@@ -25,7 +25,7 @@ exports.BlacklistPluginSchema = zod_1.z.object({
|
|
|
25
25
|
});
|
|
26
26
|
exports.ConnectionDropPluginSchema = zod_1.z.object({
|
|
27
27
|
enabled: zod_1.z.boolean(),
|
|
28
|
-
|
|
28
|
+
whitelistIps: zod_1.z.array(zod_1.z.union([zod_1.z.string().ip(), zod_1.z.string().startsWith('ext:')])),
|
|
29
29
|
});
|
|
30
30
|
exports.NodePluginsSchema = zod_1.z.object({
|
|
31
31
|
sharedLists: zod_1.z.array(exports.SharedIpListSchema),
|