@remnawave/backend-contract 0.3.23 → 0.3.24

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.
@@ -10,6 +10,7 @@ export declare namespace GetSubscriptionSettingsCommand {
10
10
  profileUpdateInterval: z.ZodNumber;
11
11
  isProfileWebpageUrlEnabled: z.ZodBoolean;
12
12
  serveJsonAtBaseSubscription: z.ZodBoolean;
13
+ addUsernameToBaseSubscription: z.ZodBoolean;
13
14
  happAnnounce: z.ZodNullable<z.ZodString>;
14
15
  happRouting: z.ZodNullable<z.ZodString>;
15
16
  expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
@@ -26,6 +27,7 @@ export declare namespace GetSubscriptionSettingsCommand {
26
27
  profileUpdateInterval: number;
27
28
  isProfileWebpageUrlEnabled: boolean;
28
29
  serveJsonAtBaseSubscription: boolean;
30
+ addUsernameToBaseSubscription: boolean;
29
31
  happAnnounce: string | null;
30
32
  happRouting: string | null;
31
33
  expiredUsersRemarks: string[];
@@ -40,6 +42,7 @@ export declare namespace GetSubscriptionSettingsCommand {
40
42
  profileUpdateInterval: number;
41
43
  isProfileWebpageUrlEnabled: boolean;
42
44
  serveJsonAtBaseSubscription: boolean;
45
+ addUsernameToBaseSubscription: boolean;
43
46
  happAnnounce: string | null;
44
47
  happRouting: string | null;
45
48
  expiredUsersRemarks: string[];
@@ -56,6 +59,7 @@ export declare namespace GetSubscriptionSettingsCommand {
56
59
  profileUpdateInterval: number;
57
60
  isProfileWebpageUrlEnabled: boolean;
58
61
  serveJsonAtBaseSubscription: boolean;
62
+ addUsernameToBaseSubscription: boolean;
59
63
  happAnnounce: string | null;
60
64
  happRouting: string | null;
61
65
  expiredUsersRemarks: string[];
@@ -72,6 +76,7 @@ export declare namespace GetSubscriptionSettingsCommand {
72
76
  profileUpdateInterval: number;
73
77
  isProfileWebpageUrlEnabled: boolean;
74
78
  serveJsonAtBaseSubscription: boolean;
79
+ addUsernameToBaseSubscription: boolean;
75
80
  happAnnounce: string | null;
76
81
  happRouting: string | null;
77
82
  expiredUsersRemarks: string[];
@@ -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"}
@@ -48,6 +48,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
48
48
  profileUpdateInterval: z.ZodNumber;
49
49
  isProfileWebpageUrlEnabled: z.ZodBoolean;
50
50
  serveJsonAtBaseSubscription: z.ZodBoolean;
51
+ addUsernameToBaseSubscription: z.ZodBoolean;
51
52
  happAnnounce: z.ZodNullable<z.ZodString>;
52
53
  happRouting: z.ZodNullable<z.ZodString>;
53
54
  expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
@@ -64,6 +65,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
64
65
  profileUpdateInterval: number;
65
66
  isProfileWebpageUrlEnabled: boolean;
66
67
  serveJsonAtBaseSubscription: boolean;
68
+ addUsernameToBaseSubscription: boolean;
67
69
  happAnnounce: string | null;
68
70
  happRouting: string | null;
69
71
  expiredUsersRemarks: string[];
@@ -78,6 +80,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
78
80
  profileUpdateInterval: number;
79
81
  isProfileWebpageUrlEnabled: boolean;
80
82
  serveJsonAtBaseSubscription: boolean;
83
+ addUsernameToBaseSubscription: boolean;
81
84
  happAnnounce: string | null;
82
85
  happRouting: string | null;
83
86
  expiredUsersRemarks: string[];
@@ -94,6 +97,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
94
97
  profileUpdateInterval: number;
95
98
  isProfileWebpageUrlEnabled: boolean;
96
99
  serveJsonAtBaseSubscription: boolean;
100
+ addUsernameToBaseSubscription: boolean;
97
101
  happAnnounce: string | null;
98
102
  happRouting: string | null;
99
103
  expiredUsersRemarks: string[];
@@ -110,6 +114,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
110
114
  profileUpdateInterval: number;
111
115
  isProfileWebpageUrlEnabled: boolean;
112
116
  serveJsonAtBaseSubscription: boolean;
117
+ addUsernameToBaseSubscription: boolean;
113
118
  happAnnounce: string | null;
114
119
  happRouting: string | null;
115
120
  expiredUsersRemarks: string[];
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoBxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoBxB,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"}
@@ -6,6 +6,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
6
6
  profileUpdateInterval: z.ZodNumber;
7
7
  isProfileWebpageUrlEnabled: z.ZodBoolean;
8
8
  serveJsonAtBaseSubscription: z.ZodBoolean;
9
+ addUsernameToBaseSubscription: z.ZodBoolean;
9
10
  happAnnounce: z.ZodNullable<z.ZodString>;
10
11
  happRouting: z.ZodNullable<z.ZodString>;
11
12
  expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
@@ -22,6 +23,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
22
23
  profileUpdateInterval: number;
23
24
  isProfileWebpageUrlEnabled: boolean;
24
25
  serveJsonAtBaseSubscription: boolean;
26
+ addUsernameToBaseSubscription: boolean;
25
27
  happAnnounce: string | null;
26
28
  happRouting: string | null;
27
29
  expiredUsersRemarks: string[];
@@ -36,6 +38,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
36
38
  profileUpdateInterval: number;
37
39
  isProfileWebpageUrlEnabled: boolean;
38
40
  serveJsonAtBaseSubscription: boolean;
41
+ addUsernameToBaseSubscription: boolean;
39
42
  happAnnounce: string | null;
40
43
  happRouting: string | null;
41
44
  expiredUsersRemarks: string[];
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BrC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BrC,CAAC"}
@@ -12,6 +12,7 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
12
12
  .min(1, 'Profile update interval must be greater than 0'),
13
13
  isProfileWebpageUrlEnabled: zod_1.z.boolean(),
14
14
  serveJsonAtBaseSubscription: zod_1.z.boolean(),
15
+ addUsernameToBaseSubscription: zod_1.z.boolean(),
15
16
  happAnnounce: zod_1.z.string().nullable(),
16
17
  happRouting: zod_1.z.string().nullable(),
17
18
  expiredUsersRemarks: zod_1.z.array(zod_1.z.string()),
@@ -12,6 +12,7 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
12
12
  .min(1, 'Profile update interval must be greater than 0'),
13
13
  isProfileWebpageUrlEnabled: zod_1.z.boolean(),
14
14
  serveJsonAtBaseSubscription: zod_1.z.boolean(),
15
+ addUsernameToBaseSubscription: zod_1.z.boolean(),
15
16
  happAnnounce: zod_1.z.string().nullable(),
16
17
  happRouting: zod_1.z.string().nullable(),
17
18
  expiredUsersRemarks: zod_1.z.array(zod_1.z.string()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.3.23",
3
+ "version": "0.3.24",
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.",