@remnawave/backend-contract 2.2.5 → 2.2.7
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/subscription-template/update-template.command.d.ts +3 -3
- package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +2 -1
- package/build/frontend/commands/subscription-template/update-template.command.js +2 -1
- package/package.json +1 -1
|
@@ -5,17 +5,17 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestSchema: z.ZodObject<{
|
|
7
7
|
uuid: z.ZodString;
|
|
8
|
-
name: z.ZodString
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
9
|
templateJson: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10
10
|
encodedTemplateYaml: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
uuid: string;
|
|
13
|
-
name
|
|
13
|
+
name?: string | undefined;
|
|
14
14
|
templateJson?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15
15
|
encodedTemplateYaml?: string | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
uuid: string;
|
|
18
|
-
name
|
|
18
|
+
name?: string | undefined;
|
|
19
19
|
templateJson?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20
20
|
encodedTemplateYaml?: string | undefined;
|
|
21
21
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/update-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,gCAAwC,CAAC;IAClD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"update-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/update-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,gCAAwC,CAAC;IAClD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;MAaxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -16,7 +16,8 @@ var UpdateSubscriptionTemplateCommand;
|
|
|
16
16
|
.string()
|
|
17
17
|
.min(2, 'Name must be at least 2 characters')
|
|
18
18
|
.max(255, 'Name must be less than 255 characters')
|
|
19
|
-
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces')
|
|
19
|
+
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces')
|
|
20
|
+
.optional(),
|
|
20
21
|
templateJson: zod_1.z.optional(zod_1.z.object({}).passthrough()),
|
|
21
22
|
encodedTemplateYaml: zod_1.z.optional(zod_1.z.string()),
|
|
22
23
|
});
|
|
@@ -16,7 +16,8 @@ var UpdateSubscriptionTemplateCommand;
|
|
|
16
16
|
.string()
|
|
17
17
|
.min(2, 'Name must be at least 2 characters')
|
|
18
18
|
.max(255, 'Name must be less than 255 characters')
|
|
19
|
-
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces')
|
|
19
|
+
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces')
|
|
20
|
+
.optional(),
|
|
20
21
|
templateJson: zod_1.z.optional(zod_1.z.object({}).passthrough()),
|
|
21
22
|
encodedTemplateYaml: zod_1.z.optional(zod_1.z.string()),
|
|
22
23
|
});
|