@polinetwork/backend 0.15.7 → 0.15.9

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
@@ -182,6 +182,20 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
182
182
  } | null;
183
183
  meta: object;
184
184
  }>;
185
+ getByInviteLink: _trpc_server.TRPCQueryProcedure<{
186
+ input: {
187
+ inviteLink: string;
188
+ };
189
+ output: {
190
+ updatedAt: Date | null;
191
+ createdAt: Date;
192
+ telegramId: number;
193
+ title: string;
194
+ tag: string | null;
195
+ link: string | null;
196
+ } | null;
197
+ meta: object;
198
+ }>;
185
199
  create: _trpc_server.TRPCMutationProcedure<{
186
200
  input: {
187
201
  title: string;
@@ -442,6 +456,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
442
456
  input: {
443
457
  userId: number;
444
458
  limit?: number | undefined;
459
+ chatId?: number | undefined;
445
460
  };
446
461
  output: {
447
462
  messages: {
package/dist/index.d.ts CHANGED
@@ -182,6 +182,20 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
182
182
  } | null;
183
183
  meta: object;
184
184
  }>;
185
+ getByInviteLink: _trpc_server.TRPCQueryProcedure<{
186
+ input: {
187
+ inviteLink: string;
188
+ };
189
+ output: {
190
+ updatedAt: Date | null;
191
+ createdAt: Date;
192
+ telegramId: number;
193
+ title: string;
194
+ tag: string | null;
195
+ link: string | null;
196
+ } | null;
197
+ meta: object;
198
+ }>;
185
199
  create: _trpc_server.TRPCMutationProcedure<{
186
200
  input: {
187
201
  title: string;
@@ -442,6 +456,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
442
456
  input: {
443
457
  userId: number;
444
458
  limit?: number | undefined;
459
+ chatId?: number | undefined;
445
460
  };
446
461
  output: {
447
462
  messages: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polinetwork/backend",
3
- "version": "0.15.7",
3
+ "version": "0.15.9",
4
4
  "description": "Utils to interact with the backend.",
5
5
  "repository": {
6
6
  "type": "git",