@polinetwork/backend 0.15.2 → 0.15.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.
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -9,8 +9,10 @@ declare const WS_PATH = "/ws";
|
|
|
9
9
|
|
|
10
10
|
declare const AUDIT_TYPE: {
|
|
11
11
|
readonly BAN: "ban";
|
|
12
|
+
readonly UNBAN: "unban";
|
|
12
13
|
readonly KICK: "kick";
|
|
13
14
|
readonly MUTE: "mute";
|
|
15
|
+
readonly UNMUTE: "unmute";
|
|
14
16
|
readonly BAN_ALL: "ban_all";
|
|
15
17
|
readonly MUTE_ALL: "mute_all";
|
|
16
18
|
};
|
|
@@ -412,7 +414,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
412
414
|
input: {
|
|
413
415
|
adminId: number;
|
|
414
416
|
targetId: number;
|
|
415
|
-
type: "ban" | "kick" | "mute" | "ban_all" | "mute_all";
|
|
417
|
+
type: "ban" | "unban" | "kick" | "mute" | "unmute" | "ban_all" | "mute_all";
|
|
416
418
|
groupId: number | null;
|
|
417
419
|
until: Date | null;
|
|
418
420
|
reason?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -9,8 +9,10 @@ declare const WS_PATH = "/ws";
|
|
|
9
9
|
|
|
10
10
|
declare const AUDIT_TYPE: {
|
|
11
11
|
readonly BAN: "ban";
|
|
12
|
+
readonly UNBAN: "unban";
|
|
12
13
|
readonly KICK: "kick";
|
|
13
14
|
readonly MUTE: "mute";
|
|
15
|
+
readonly UNMUTE: "unmute";
|
|
14
16
|
readonly BAN_ALL: "ban_all";
|
|
15
17
|
readonly MUTE_ALL: "mute_all";
|
|
16
18
|
};
|
|
@@ -412,7 +414,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
412
414
|
input: {
|
|
413
415
|
adminId: number;
|
|
414
416
|
targetId: number;
|
|
415
|
-
type: "ban" | "kick" | "mute" | "ban_all" | "mute_all";
|
|
417
|
+
type: "ban" | "unban" | "kick" | "mute" | "unmute" | "ban_all" | "mute_all";
|
|
416
418
|
groupId: number | null;
|
|
417
419
|
until: Date | null;
|
|
418
420
|
reason?: string | undefined;
|