@polinetwork/backend 0.17.0 → 0.17.1

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
@@ -984,13 +984,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
984
984
  meta: object;
985
985
  }>;
986
986
  addAssociation: _trpc_server.TRPCMutationProcedure<{
987
- input: {
988
- name: string;
989
- descriptionIt: string;
990
- descriptionEn: string;
991
- logo: string | null;
992
- createdBy: number;
993
- };
987
+ input: FormData;
994
988
  output: {
995
989
  id: number;
996
990
  name: string;
@@ -1013,14 +1007,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1013
1007
  meta: object;
1014
1008
  }>;
1015
1009
  editAssociation: _trpc_server.TRPCMutationProcedure<{
1016
- input: {
1017
- id: number;
1018
- name: string;
1019
- descriptionIt: string;
1020
- descriptionEn: string;
1021
- logo: string | null;
1022
- modifiedBy: number;
1023
- };
1010
+ input: FormData;
1024
1011
  output: {
1025
1012
  id: number;
1026
1013
  name: string;
@@ -1280,15 +1267,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1280
1267
  meta: object;
1281
1268
  }>;
1282
1269
  addProject: _trpc_server.TRPCMutationProcedure<{
1283
- input: {
1284
- link: string | null;
1285
- title: string;
1286
- descriptionIt: string;
1287
- descriptionEn: string;
1288
- logo: string | null;
1289
- category: "news" | "deprecated" | "general";
1290
- createdBy: number;
1291
- };
1270
+ input: FormData;
1292
1271
  output: {
1293
1272
  link: string | null;
1294
1273
  id: number;
@@ -1306,16 +1285,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1306
1285
  meta: object;
1307
1286
  }>;
1308
1287
  editProject: _trpc_server.TRPCMutationProcedure<{
1309
- input: {
1310
- id: number;
1311
- title: string;
1312
- descriptionIt: string;
1313
- descriptionEn: string;
1314
- logo: string | null;
1315
- link: string | null;
1316
- category: "news" | "deprecated" | "general";
1317
- modifiedBy: number;
1318
- };
1288
+ input: FormData;
1319
1289
  output: {
1320
1290
  updatedAt: Date | null;
1321
1291
  createdAt: Date;
package/dist/index.d.ts CHANGED
@@ -984,13 +984,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
984
984
  meta: object;
985
985
  }>;
986
986
  addAssociation: _trpc_server.TRPCMutationProcedure<{
987
- input: {
988
- name: string;
989
- descriptionIt: string;
990
- descriptionEn: string;
991
- logo: string | null;
992
- createdBy: number;
993
- };
987
+ input: FormData;
994
988
  output: {
995
989
  id: number;
996
990
  name: string;
@@ -1013,14 +1007,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1013
1007
  meta: object;
1014
1008
  }>;
1015
1009
  editAssociation: _trpc_server.TRPCMutationProcedure<{
1016
- input: {
1017
- id: number;
1018
- name: string;
1019
- descriptionIt: string;
1020
- descriptionEn: string;
1021
- logo: string | null;
1022
- modifiedBy: number;
1023
- };
1010
+ input: FormData;
1024
1011
  output: {
1025
1012
  id: number;
1026
1013
  name: string;
@@ -1280,15 +1267,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1280
1267
  meta: object;
1281
1268
  }>;
1282
1269
  addProject: _trpc_server.TRPCMutationProcedure<{
1283
- input: {
1284
- link: string | null;
1285
- title: string;
1286
- descriptionIt: string;
1287
- descriptionEn: string;
1288
- logo: string | null;
1289
- category: "news" | "deprecated" | "general";
1290
- createdBy: number;
1291
- };
1270
+ input: FormData;
1292
1271
  output: {
1293
1272
  link: string | null;
1294
1273
  id: number;
@@ -1306,16 +1285,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
1306
1285
  meta: object;
1307
1286
  }>;
1308
1287
  editProject: _trpc_server.TRPCMutationProcedure<{
1309
- input: {
1310
- id: number;
1311
- title: string;
1312
- descriptionIt: string;
1313
- descriptionEn: string;
1314
- logo: string | null;
1315
- link: string | null;
1316
- category: "news" | "deprecated" | "general";
1317
- modifiedBy: number;
1318
- };
1288
+ input: FormData;
1319
1289
  output: {
1320
1290
  updatedAt: Date | null;
1321
1291
  createdAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polinetwork/backend",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Utils to interact with the backend.",
5
5
  "repository": {
6
6
  "type": "git",