@remnawave/backend-contract 0.3.10 → 0.3.12

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.
@@ -7,7 +7,6 @@ export declare namespace GetSubscriptionSettingsCommand {
7
7
  uuid: z.ZodString;
8
8
  profileTitle: z.ZodString;
9
9
  supportLink: z.ZodString;
10
- profileWebpageUrl: z.ZodString;
11
10
  profileUpdateInterval: z.ZodNumber;
12
11
  happAnnounce: z.ZodNullable<z.ZodString>;
13
12
  happRouting: z.ZodNullable<z.ZodString>;
@@ -22,7 +21,6 @@ export declare namespace GetSubscriptionSettingsCommand {
22
21
  updatedAt: Date;
23
22
  profileTitle: string;
24
23
  supportLink: string;
25
- profileWebpageUrl: string;
26
24
  profileUpdateInterval: number;
27
25
  happAnnounce: string | null;
28
26
  happRouting: string | null;
@@ -35,7 +33,6 @@ export declare namespace GetSubscriptionSettingsCommand {
35
33
  updatedAt: string;
36
34
  profileTitle: string;
37
35
  supportLink: string;
38
- profileWebpageUrl: string;
39
36
  profileUpdateInterval: number;
40
37
  happAnnounce: string | null;
41
38
  happRouting: string | null;
@@ -50,7 +47,6 @@ export declare namespace GetSubscriptionSettingsCommand {
50
47
  updatedAt: Date;
51
48
  profileTitle: string;
52
49
  supportLink: string;
53
- profileWebpageUrl: string;
54
50
  profileUpdateInterval: number;
55
51
  happAnnounce: string | null;
56
52
  happRouting: string | null;
@@ -65,7 +61,6 @@ export declare namespace GetSubscriptionSettingsCommand {
65
61
  updatedAt: string;
66
62
  profileTitle: string;
67
63
  supportLink: string;
68
- profileWebpageUrl: string;
69
64
  profileUpdateInterval: number;
70
65
  happAnnounce: string | null;
71
66
  happRouting: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,kCAA8C,CAAC;IACxD,MAAM,OAAO,kCAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,kCAA8C,CAAC;IACxD,MAAM,OAAO,kCAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -6,7 +6,6 @@ export declare namespace UpdateSubscriptionSettingsCommand {
6
6
  uuid: z.ZodString;
7
7
  profileTitle: z.ZodOptional<z.ZodString>;
8
8
  supportLink: z.ZodOptional<z.ZodString>;
9
- profileWebpageUrl: z.ZodOptional<z.ZodString>;
10
9
  profileUpdateInterval: z.ZodOptional<z.ZodNumber>;
11
10
  happAnnounce: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
11
  happRouting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17,7 +16,6 @@ export declare namespace UpdateSubscriptionSettingsCommand {
17
16
  uuid: string;
18
17
  profileTitle?: string | undefined;
19
18
  supportLink?: string | undefined;
20
- profileWebpageUrl?: string | undefined;
21
19
  profileUpdateInterval?: number | undefined;
22
20
  happAnnounce?: string | null | undefined;
23
21
  happRouting?: string | null | undefined;
@@ -28,7 +26,6 @@ export declare namespace UpdateSubscriptionSettingsCommand {
28
26
  uuid: string;
29
27
  profileTitle?: string | undefined;
30
28
  supportLink?: string | undefined;
31
- profileWebpageUrl?: string | undefined;
32
29
  profileUpdateInterval?: number | undefined;
33
30
  happAnnounce?: string | null | undefined;
34
31
  happRouting?: string | null | undefined;
@@ -42,7 +39,6 @@ export declare namespace UpdateSubscriptionSettingsCommand {
42
39
  uuid: z.ZodString;
43
40
  profileTitle: z.ZodString;
44
41
  supportLink: z.ZodString;
45
- profileWebpageUrl: z.ZodString;
46
42
  profileUpdateInterval: z.ZodNumber;
47
43
  happAnnounce: z.ZodNullable<z.ZodString>;
48
44
  happRouting: z.ZodNullable<z.ZodString>;
@@ -57,7 +53,6 @@ export declare namespace UpdateSubscriptionSettingsCommand {
57
53
  updatedAt: Date;
58
54
  profileTitle: string;
59
55
  supportLink: string;
60
- profileWebpageUrl: string;
61
56
  profileUpdateInterval: number;
62
57
  happAnnounce: string | null;
63
58
  happRouting: string | null;
@@ -70,7 +65,6 @@ export declare namespace UpdateSubscriptionSettingsCommand {
70
65
  updatedAt: string;
71
66
  profileTitle: string;
72
67
  supportLink: string;
73
- profileWebpageUrl: string;
74
68
  profileUpdateInterval: number;
75
69
  happAnnounce: string | null;
76
70
  happRouting: string | null;
@@ -85,7 +79,6 @@ export declare namespace UpdateSubscriptionSettingsCommand {
85
79
  updatedAt: Date;
86
80
  profileTitle: string;
87
81
  supportLink: string;
88
- profileWebpageUrl: string;
89
82
  profileUpdateInterval: number;
90
83
  happAnnounce: string | null;
91
84
  happRouting: string | null;
@@ -100,7 +93,6 @@ export declare namespace UpdateSubscriptionSettingsCommand {
100
93
  updatedAt: string;
101
94
  profileTitle: string;
102
95
  supportLink: string;
103
- profileWebpageUrl: string;
104
96
  profileUpdateInterval: number;
105
97
  happAnnounce: string | null;
106
98
  happRouting: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,qCAAiD,CAAC;IAC3D,MAAM,OAAO,qCAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAcxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,qCAAiD,CAAC;IAC3D,MAAM,OAAO,qCAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkBxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -12,9 +12,11 @@ var UpdateSubscriptionSettingsCommand;
12
12
  uuid: zod_1.z.string().uuid(),
13
13
  profileTitle: zod_1.z.optional(zod_1.z.string()),
14
14
  supportLink: zod_1.z.optional(zod_1.z.string()),
15
- profileWebpageUrl: zod_1.z.optional(zod_1.z.string()),
16
15
  profileUpdateInterval: zod_1.z.optional(zod_1.z.number().int()),
17
- happAnnounce: zod_1.z.optional(zod_1.z.string().nullable()),
16
+ happAnnounce: zod_1.z.optional(zod_1.z
17
+ .string()
18
+ .max(200, { message: 'Announce must be less than 200 characters' })
19
+ .nullable()),
18
20
  happRouting: zod_1.z.optional(zod_1.z.string().nullable()),
19
21
  expiredUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
20
22
  limitedUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
@@ -3,7 +3,6 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
3
3
  uuid: z.ZodString;
4
4
  profileTitle: z.ZodString;
5
5
  supportLink: z.ZodString;
6
- profileWebpageUrl: z.ZodString;
7
6
  profileUpdateInterval: z.ZodNumber;
8
7
  happAnnounce: z.ZodNullable<z.ZodString>;
9
8
  happRouting: z.ZodNullable<z.ZodString>;
@@ -18,7 +17,6 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
18
17
  updatedAt: Date;
19
18
  profileTitle: string;
20
19
  supportLink: string;
21
- profileWebpageUrl: string;
22
20
  profileUpdateInterval: number;
23
21
  happAnnounce: string | null;
24
22
  happRouting: string | null;
@@ -31,7 +29,6 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
31
29
  updatedAt: string;
32
30
  profileTitle: string;
33
31
  supportLink: string;
34
- profileWebpageUrl: string;
35
32
  profileUpdateInterval: number;
36
33
  happAnnounce: string | null;
37
34
  happRouting: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBrC,CAAC"}
1
+ {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBrC,CAAC"}
@@ -6,7 +6,6 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
6
6
  uuid: zod_1.z.string().uuid(),
7
7
  profileTitle: zod_1.z.string(),
8
8
  supportLink: zod_1.z.string(),
9
- profileWebpageUrl: zod_1.z.string(),
10
9
  profileUpdateInterval: zod_1.z.number().int(),
11
10
  happAnnounce: zod_1.z.string().nullable(),
12
11
  happRouting: zod_1.z.string().nullable(),
@@ -12,9 +12,11 @@ var UpdateSubscriptionSettingsCommand;
12
12
  uuid: zod_1.z.string().uuid(),
13
13
  profileTitle: zod_1.z.optional(zod_1.z.string()),
14
14
  supportLink: zod_1.z.optional(zod_1.z.string()),
15
- profileWebpageUrl: zod_1.z.optional(zod_1.z.string()),
16
15
  profileUpdateInterval: zod_1.z.optional(zod_1.z.number().int()),
17
- happAnnounce: zod_1.z.optional(zod_1.z.string().nullable()),
16
+ happAnnounce: zod_1.z.optional(zod_1.z
17
+ .string()
18
+ .max(200, { message: 'Announce must be less than 200 characters' })
19
+ .nullable()),
18
20
  happRouting: zod_1.z.optional(zod_1.z.string().nullable()),
19
21
  expiredUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
20
22
  limitedUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
@@ -6,7 +6,6 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
6
6
  uuid: zod_1.z.string().uuid(),
7
7
  profileTitle: zod_1.z.string(),
8
8
  supportLink: zod_1.z.string(),
9
- profileWebpageUrl: zod_1.z.string(),
10
9
  profileUpdateInterval: zod_1.z.number().int(),
11
10
  happAnnounce: zod_1.z.string().nullable(),
12
11
  happRouting: zod_1.z.string().nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",