@remnawave/backend-contract 2.1.71 → 2.1.72
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.
- package/build/backend/commands/snippets/create-snippet.command.d.ts +3 -7
- package/build/backend/commands/snippets/create-snippet.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/create-snippet.command.js +1 -1
- package/build/backend/commands/snippets/update-snippets.command.d.ts +3 -7
- package/build/backend/commands/snippets/update-snippets.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/update-snippets.command.js +1 -1
- package/build/frontend/commands/snippets/create-snippet.command.js +1 -1
- package/build/frontend/commands/snippets/update-snippets.command.js +1 -1
- package/package.json +1 -1
|
@@ -5,17 +5,13 @@ export declare namespace CreateSnippetCommand {
|
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestSchema: z.ZodObject<{
|
|
7
7
|
name: z.ZodString;
|
|
8
|
-
snippet: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough"
|
|
8
|
+
snippet: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
name: string;
|
|
11
|
-
snippet: {}
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
};
|
|
11
|
+
snippet: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
14
12
|
}, {
|
|
15
13
|
name: string;
|
|
16
|
-
snippet: {}
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
};
|
|
14
|
+
snippet: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
19
15
|
}>;
|
|
20
16
|
type Request = z.infer<typeof RequestSchema>;
|
|
21
17
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-snippet.command.d.ts","sourceRoot":"","sources":["../../../../commands/snippets/create-snippet.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,kBAA2B,CAAC;IACrC,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"create-snippet.command.d.ts","sourceRoot":"","sources":["../../../../commands/snippets/create-snippet.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,kBAA2B,CAAC;IACrC,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAUxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -16,7 +16,7 @@ var CreateSnippetCommand;
|
|
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
|
17
17
|
.max(255, 'Name must be less than 255 characters')
|
|
18
18
|
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
|
|
19
|
-
snippet: zod_1.z.object({}).passthrough(),
|
|
19
|
+
snippet: zod_1.z.array(zod_1.z.object({}).passthrough()),
|
|
20
20
|
});
|
|
21
21
|
CreateSnippetCommand.ResponseSchema = zod_1.z.object({
|
|
22
22
|
response: zod_1.z.object({
|
|
@@ -5,17 +5,13 @@ export declare namespace UpdateSnippetCommand {
|
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestSchema: z.ZodObject<{
|
|
7
7
|
name: z.ZodString;
|
|
8
|
-
snippet: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough"
|
|
8
|
+
snippet: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
name: string;
|
|
11
|
-
snippet: {}
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
};
|
|
11
|
+
snippet: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
14
12
|
}, {
|
|
15
13
|
name: string;
|
|
16
|
-
snippet: {}
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
};
|
|
14
|
+
snippet: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
19
15
|
}>;
|
|
20
16
|
type Request = z.infer<typeof RequestSchema>;
|
|
21
17
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-snippets.command.d.ts","sourceRoot":"","sources":["../../../../commands/snippets/update-snippets.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,kBAA2B,CAAC;IACrC,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update-snippets.command.d.ts","sourceRoot":"","sources":["../../../../commands/snippets/update-snippets.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,GAAG,kBAA2B,CAAC;IACrC,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAUxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -16,7 +16,7 @@ var UpdateSnippetCommand;
|
|
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
|
17
17
|
.max(255, 'Name must be less than 255 characters')
|
|
18
18
|
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
|
|
19
|
-
snippet: zod_1.z.object({}).passthrough(),
|
|
19
|
+
snippet: zod_1.z.array(zod_1.z.object({}).passthrough()),
|
|
20
20
|
});
|
|
21
21
|
UpdateSnippetCommand.ResponseSchema = zod_1.z.object({
|
|
22
22
|
response: zod_1.z.object({
|
|
@@ -16,7 +16,7 @@ var CreateSnippetCommand;
|
|
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
|
17
17
|
.max(255, 'Name must be less than 255 characters')
|
|
18
18
|
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
|
|
19
|
-
snippet: zod_1.z.object({}).passthrough(),
|
|
19
|
+
snippet: zod_1.z.array(zod_1.z.object({}).passthrough()),
|
|
20
20
|
});
|
|
21
21
|
CreateSnippetCommand.ResponseSchema = zod_1.z.object({
|
|
22
22
|
response: zod_1.z.object({
|
|
@@ -16,7 +16,7 @@ var UpdateSnippetCommand;
|
|
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
|
17
17
|
.max(255, 'Name must be less than 255 characters')
|
|
18
18
|
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces'),
|
|
19
|
-
snippet: zod_1.z.object({}).passthrough(),
|
|
19
|
+
snippet: zod_1.z.array(zod_1.z.object({}).passthrough()),
|
|
20
20
|
});
|
|
21
21
|
UpdateSnippetCommand.ResponseSchema = zod_1.z.object({
|
|
22
22
|
response: zod_1.z.object({
|