@polinetwork/backend 0.15.10 → 0.15.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.
package/dist/index.d.cts CHANGED
@@ -33,7 +33,7 @@ declare const AUDIT_TYPE: {
33
33
  readonly MUTE: "mute";
34
34
  readonly UNMUTE: "unmute";
35
35
  readonly BAN_ALL: "ban_all";
36
- readonly MUTE_ALL: "mute_all";
36
+ readonly UNBAN_ALL: "unban_all";
37
37
  };
38
38
  type TAuditType = (typeof AUDIT_TYPE)[keyof typeof AUDIT_TYPE];
39
39
 
@@ -515,7 +515,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
515
515
  input: {
516
516
  adminId: number;
517
517
  targetId: number;
518
- type: "ban" | "unban" | "kick" | "mute" | "unmute" | "ban_all" | "mute_all";
518
+ type: "ban" | "unban" | "kick" | "mute" | "unmute" | "ban_all" | "unban_all";
519
519
  groupId: number | null;
520
520
  until: Date | null;
521
521
  reason?: string | undefined;
@@ -562,6 +562,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
562
562
  };
563
563
  transformer: true;
564
564
  }, _trpc_server.TRPCDecorateCreateRouterOptions<{
565
+ getAll: _trpc_server.TRPCQueryProcedure<{
566
+ input: void;
567
+ output: {
568
+ users: {
569
+ id: number;
570
+ firstName: string;
571
+ isBot: boolean;
572
+ lastName?: string | undefined;
573
+ username?: string | undefined;
574
+ langCode?: string | undefined;
575
+ }[];
576
+ error: null;
577
+ } | {
578
+ error: string;
579
+ users?: undefined;
580
+ };
581
+ meta: object;
582
+ }>;
565
583
  get: _trpc_server.TRPCQueryProcedure<{
566
584
  input: {
567
585
  userId: number;
package/dist/index.d.ts CHANGED
@@ -33,7 +33,7 @@ declare const AUDIT_TYPE: {
33
33
  readonly MUTE: "mute";
34
34
  readonly UNMUTE: "unmute";
35
35
  readonly BAN_ALL: "ban_all";
36
- readonly MUTE_ALL: "mute_all";
36
+ readonly UNBAN_ALL: "unban_all";
37
37
  };
38
38
  type TAuditType = (typeof AUDIT_TYPE)[keyof typeof AUDIT_TYPE];
39
39
 
@@ -515,7 +515,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
515
515
  input: {
516
516
  adminId: number;
517
517
  targetId: number;
518
- type: "ban" | "unban" | "kick" | "mute" | "unmute" | "ban_all" | "mute_all";
518
+ type: "ban" | "unban" | "kick" | "mute" | "unmute" | "ban_all" | "unban_all";
519
519
  groupId: number | null;
520
520
  until: Date | null;
521
521
  reason?: string | undefined;
@@ -562,6 +562,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
562
562
  };
563
563
  transformer: true;
564
564
  }, _trpc_server.TRPCDecorateCreateRouterOptions<{
565
+ getAll: _trpc_server.TRPCQueryProcedure<{
566
+ input: void;
567
+ output: {
568
+ users: {
569
+ id: number;
570
+ firstName: string;
571
+ isBot: boolean;
572
+ lastName?: string | undefined;
573
+ username?: string | undefined;
574
+ langCode?: string | undefined;
575
+ }[];
576
+ error: null;
577
+ } | {
578
+ error: string;
579
+ users?: undefined;
580
+ };
581
+ meta: object;
582
+ }>;
565
583
  get: _trpc_server.TRPCQueryProcedure<{
566
584
  input: {
567
585
  userId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polinetwork/backend",
3
- "version": "0.15.10",
3
+ "version": "0.15.12",
4
4
  "description": "Utils to interact with the backend.",
5
5
  "repository": {
6
6
  "type": "git",