@polinetwork/backend 0.16.3 → 0.16.4
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 +75 -7
- package/dist/index.d.ts +75 -7
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -916,7 +916,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
916
916
|
name: string;
|
|
917
917
|
descriptionIt: string;
|
|
918
918
|
descriptionEn: string;
|
|
919
|
-
|
|
919
|
+
logo: string | null;
|
|
920
920
|
links: {
|
|
921
921
|
email: string | null;
|
|
922
922
|
website: string | null;
|
|
@@ -937,7 +937,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
937
937
|
name: string;
|
|
938
938
|
descriptionIt: string;
|
|
939
939
|
descriptionEn: string;
|
|
940
|
-
|
|
940
|
+
logo: string | null;
|
|
941
941
|
createdBy: number;
|
|
942
942
|
};
|
|
943
943
|
output: {
|
|
@@ -945,7 +945,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
945
945
|
name: string;
|
|
946
946
|
descriptionIt: string;
|
|
947
947
|
descriptionEn: string;
|
|
948
|
-
|
|
948
|
+
logo: string | null;
|
|
949
949
|
links: {
|
|
950
950
|
email: string | null;
|
|
951
951
|
website: string | null;
|
|
@@ -967,7 +967,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
967
967
|
name: string;
|
|
968
968
|
descriptionIt: string;
|
|
969
969
|
descriptionEn: string;
|
|
970
|
-
|
|
970
|
+
logo: string | null;
|
|
971
971
|
modifiedBy: number;
|
|
972
972
|
};
|
|
973
973
|
output: {
|
|
@@ -975,7 +975,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
975
975
|
name: string;
|
|
976
976
|
descriptionIt: string;
|
|
977
977
|
descriptionEn: string;
|
|
978
|
-
|
|
978
|
+
logo: string | null;
|
|
979
979
|
links: {
|
|
980
980
|
email: string | null;
|
|
981
981
|
website: string | null;
|
|
@@ -1015,7 +1015,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1015
1015
|
name: string;
|
|
1016
1016
|
descriptionIt: string;
|
|
1017
1017
|
descriptionEn: string;
|
|
1018
|
-
|
|
1018
|
+
logo: string | null;
|
|
1019
1019
|
links: {
|
|
1020
1020
|
email: string | null;
|
|
1021
1021
|
website: string | null;
|
|
@@ -1247,8 +1247,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1247
1247
|
title: string;
|
|
1248
1248
|
descriptionIt: string;
|
|
1249
1249
|
descriptionEn: string;
|
|
1250
|
-
createdBy: number;
|
|
1251
1250
|
logo: string | null;
|
|
1251
|
+
createdBy: number;
|
|
1252
1252
|
category: "news" | "deprecated" | "general";
|
|
1253
1253
|
order: number;
|
|
1254
1254
|
};
|
|
@@ -1304,6 +1304,74 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1304
1304
|
meta: object;
|
|
1305
1305
|
}>;
|
|
1306
1306
|
}>>;
|
|
1307
|
+
guides_matricole: _trpc_server.TRPCBuiltRouter<{
|
|
1308
|
+
ctx: {
|
|
1309
|
+
userId?: string;
|
|
1310
|
+
};
|
|
1311
|
+
meta: object;
|
|
1312
|
+
errorShape: {
|
|
1313
|
+
data: {
|
|
1314
|
+
zodError: {
|
|
1315
|
+
errors: string[];
|
|
1316
|
+
} | null;
|
|
1317
|
+
code: _trpc_server.TRPC_ERROR_CODE_KEY;
|
|
1318
|
+
httpStatus: number;
|
|
1319
|
+
path?: string;
|
|
1320
|
+
stack?: string;
|
|
1321
|
+
};
|
|
1322
|
+
message: string;
|
|
1323
|
+
code: _trpc_server.TRPC_ERROR_CODE_NUMBER;
|
|
1324
|
+
};
|
|
1325
|
+
transformer: true;
|
|
1326
|
+
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
1327
|
+
getAllGuides: _trpc_server.TRPCQueryProcedure<{
|
|
1328
|
+
input: void;
|
|
1329
|
+
output: {
|
|
1330
|
+
id: number;
|
|
1331
|
+
version: string;
|
|
1332
|
+
date: string;
|
|
1333
|
+
file: string;
|
|
1334
|
+
}[];
|
|
1335
|
+
meta: object;
|
|
1336
|
+
}>;
|
|
1337
|
+
getLatestGuide: _trpc_server.TRPCQueryProcedure<{
|
|
1338
|
+
input: void;
|
|
1339
|
+
output: {
|
|
1340
|
+
id: number;
|
|
1341
|
+
version: string;
|
|
1342
|
+
date: string;
|
|
1343
|
+
file: string;
|
|
1344
|
+
} | null;
|
|
1345
|
+
meta: object;
|
|
1346
|
+
}>;
|
|
1347
|
+
addGuide: _trpc_server.TRPCMutationProcedure<{
|
|
1348
|
+
input: FormData;
|
|
1349
|
+
output: {
|
|
1350
|
+
date: string;
|
|
1351
|
+
file: string;
|
|
1352
|
+
id: number;
|
|
1353
|
+
createdAt: Date;
|
|
1354
|
+
updatedAt: Date | null;
|
|
1355
|
+
modifiedBy: number | null;
|
|
1356
|
+
createdBy: number;
|
|
1357
|
+
version: string;
|
|
1358
|
+
} | {
|
|
1359
|
+
error: string;
|
|
1360
|
+
};
|
|
1361
|
+
meta: object;
|
|
1362
|
+
}>;
|
|
1363
|
+
deleteGuide: _trpc_server.TRPCMutationProcedure<{
|
|
1364
|
+
input: {
|
|
1365
|
+
id: number;
|
|
1366
|
+
};
|
|
1367
|
+
output: {
|
|
1368
|
+
error: string;
|
|
1369
|
+
} | {
|
|
1370
|
+
error: null;
|
|
1371
|
+
};
|
|
1372
|
+
meta: object;
|
|
1373
|
+
}>;
|
|
1374
|
+
}>>;
|
|
1307
1375
|
}>>;
|
|
1308
1376
|
auth: _trpc_server.TRPCBuiltRouter<{
|
|
1309
1377
|
ctx: {
|
package/dist/index.d.ts
CHANGED
|
@@ -916,7 +916,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
916
916
|
name: string;
|
|
917
917
|
descriptionIt: string;
|
|
918
918
|
descriptionEn: string;
|
|
919
|
-
|
|
919
|
+
logo: string | null;
|
|
920
920
|
links: {
|
|
921
921
|
email: string | null;
|
|
922
922
|
website: string | null;
|
|
@@ -937,7 +937,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
937
937
|
name: string;
|
|
938
938
|
descriptionIt: string;
|
|
939
939
|
descriptionEn: string;
|
|
940
|
-
|
|
940
|
+
logo: string | null;
|
|
941
941
|
createdBy: number;
|
|
942
942
|
};
|
|
943
943
|
output: {
|
|
@@ -945,7 +945,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
945
945
|
name: string;
|
|
946
946
|
descriptionIt: string;
|
|
947
947
|
descriptionEn: string;
|
|
948
|
-
|
|
948
|
+
logo: string | null;
|
|
949
949
|
links: {
|
|
950
950
|
email: string | null;
|
|
951
951
|
website: string | null;
|
|
@@ -967,7 +967,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
967
967
|
name: string;
|
|
968
968
|
descriptionIt: string;
|
|
969
969
|
descriptionEn: string;
|
|
970
|
-
|
|
970
|
+
logo: string | null;
|
|
971
971
|
modifiedBy: number;
|
|
972
972
|
};
|
|
973
973
|
output: {
|
|
@@ -975,7 +975,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
975
975
|
name: string;
|
|
976
976
|
descriptionIt: string;
|
|
977
977
|
descriptionEn: string;
|
|
978
|
-
|
|
978
|
+
logo: string | null;
|
|
979
979
|
links: {
|
|
980
980
|
email: string | null;
|
|
981
981
|
website: string | null;
|
|
@@ -1015,7 +1015,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1015
1015
|
name: string;
|
|
1016
1016
|
descriptionIt: string;
|
|
1017
1017
|
descriptionEn: string;
|
|
1018
|
-
|
|
1018
|
+
logo: string | null;
|
|
1019
1019
|
links: {
|
|
1020
1020
|
email: string | null;
|
|
1021
1021
|
website: string | null;
|
|
@@ -1247,8 +1247,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1247
1247
|
title: string;
|
|
1248
1248
|
descriptionIt: string;
|
|
1249
1249
|
descriptionEn: string;
|
|
1250
|
-
createdBy: number;
|
|
1251
1250
|
logo: string | null;
|
|
1251
|
+
createdBy: number;
|
|
1252
1252
|
category: "news" | "deprecated" | "general";
|
|
1253
1253
|
order: number;
|
|
1254
1254
|
};
|
|
@@ -1304,6 +1304,74 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1304
1304
|
meta: object;
|
|
1305
1305
|
}>;
|
|
1306
1306
|
}>>;
|
|
1307
|
+
guides_matricole: _trpc_server.TRPCBuiltRouter<{
|
|
1308
|
+
ctx: {
|
|
1309
|
+
userId?: string;
|
|
1310
|
+
};
|
|
1311
|
+
meta: object;
|
|
1312
|
+
errorShape: {
|
|
1313
|
+
data: {
|
|
1314
|
+
zodError: {
|
|
1315
|
+
errors: string[];
|
|
1316
|
+
} | null;
|
|
1317
|
+
code: _trpc_server.TRPC_ERROR_CODE_KEY;
|
|
1318
|
+
httpStatus: number;
|
|
1319
|
+
path?: string;
|
|
1320
|
+
stack?: string;
|
|
1321
|
+
};
|
|
1322
|
+
message: string;
|
|
1323
|
+
code: _trpc_server.TRPC_ERROR_CODE_NUMBER;
|
|
1324
|
+
};
|
|
1325
|
+
transformer: true;
|
|
1326
|
+
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
1327
|
+
getAllGuides: _trpc_server.TRPCQueryProcedure<{
|
|
1328
|
+
input: void;
|
|
1329
|
+
output: {
|
|
1330
|
+
id: number;
|
|
1331
|
+
version: string;
|
|
1332
|
+
date: string;
|
|
1333
|
+
file: string;
|
|
1334
|
+
}[];
|
|
1335
|
+
meta: object;
|
|
1336
|
+
}>;
|
|
1337
|
+
getLatestGuide: _trpc_server.TRPCQueryProcedure<{
|
|
1338
|
+
input: void;
|
|
1339
|
+
output: {
|
|
1340
|
+
id: number;
|
|
1341
|
+
version: string;
|
|
1342
|
+
date: string;
|
|
1343
|
+
file: string;
|
|
1344
|
+
} | null;
|
|
1345
|
+
meta: object;
|
|
1346
|
+
}>;
|
|
1347
|
+
addGuide: _trpc_server.TRPCMutationProcedure<{
|
|
1348
|
+
input: FormData;
|
|
1349
|
+
output: {
|
|
1350
|
+
date: string;
|
|
1351
|
+
file: string;
|
|
1352
|
+
id: number;
|
|
1353
|
+
createdAt: Date;
|
|
1354
|
+
updatedAt: Date | null;
|
|
1355
|
+
modifiedBy: number | null;
|
|
1356
|
+
createdBy: number;
|
|
1357
|
+
version: string;
|
|
1358
|
+
} | {
|
|
1359
|
+
error: string;
|
|
1360
|
+
};
|
|
1361
|
+
meta: object;
|
|
1362
|
+
}>;
|
|
1363
|
+
deleteGuide: _trpc_server.TRPCMutationProcedure<{
|
|
1364
|
+
input: {
|
|
1365
|
+
id: number;
|
|
1366
|
+
};
|
|
1367
|
+
output: {
|
|
1368
|
+
error: string;
|
|
1369
|
+
} | {
|
|
1370
|
+
error: null;
|
|
1371
|
+
};
|
|
1372
|
+
meta: object;
|
|
1373
|
+
}>;
|
|
1374
|
+
}>>;
|
|
1307
1375
|
}>>;
|
|
1308
1376
|
auth: _trpc_server.TRPCBuiltRouter<{
|
|
1309
1377
|
ctx: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polinetwork/backend",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
4
4
|
"description": "Utils to interact with the backend.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,4 +34,4 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.9.2"
|
|
36
36
|
}
|
|
37
|
-
}
|
|
37
|
+
}
|