@polinetwork/backend 0.15.19 → 0.16.0
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 +28 -0
- package/dist/index.d.ts +28 -0
- package/package.json +5 -6
package/dist/index.d.cts
CHANGED
|
@@ -869,6 +869,34 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
869
869
|
}>;
|
|
870
870
|
}>>;
|
|
871
871
|
}>>;
|
|
872
|
+
auth: _trpc_server.TRPCBuiltRouter<{
|
|
873
|
+
ctx: {
|
|
874
|
+
userId?: string;
|
|
875
|
+
};
|
|
876
|
+
meta: object;
|
|
877
|
+
errorShape: {
|
|
878
|
+
data: {
|
|
879
|
+
zodError: {
|
|
880
|
+
errors: string[];
|
|
881
|
+
} | null;
|
|
882
|
+
code: _trpc_server.TRPC_ERROR_CODE_KEY;
|
|
883
|
+
httpStatus: number;
|
|
884
|
+
path?: string;
|
|
885
|
+
stack?: string;
|
|
886
|
+
};
|
|
887
|
+
message: string;
|
|
888
|
+
code: _trpc_server.TRPC_ERROR_CODE_NUMBER;
|
|
889
|
+
};
|
|
890
|
+
transformer: true;
|
|
891
|
+
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
892
|
+
updateProfilePic: _trpc_server.TRPCMutationProcedure<{
|
|
893
|
+
input: FormData;
|
|
894
|
+
output: {
|
|
895
|
+
success: boolean;
|
|
896
|
+
};
|
|
897
|
+
meta: object;
|
|
898
|
+
}>;
|
|
899
|
+
}>>;
|
|
872
900
|
}>>;
|
|
873
901
|
type AppRouter = typeof appRouter;
|
|
874
902
|
|
package/dist/index.d.ts
CHANGED
|
@@ -869,6 +869,34 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
869
869
|
}>;
|
|
870
870
|
}>>;
|
|
871
871
|
}>>;
|
|
872
|
+
auth: _trpc_server.TRPCBuiltRouter<{
|
|
873
|
+
ctx: {
|
|
874
|
+
userId?: string;
|
|
875
|
+
};
|
|
876
|
+
meta: object;
|
|
877
|
+
errorShape: {
|
|
878
|
+
data: {
|
|
879
|
+
zodError: {
|
|
880
|
+
errors: string[];
|
|
881
|
+
} | null;
|
|
882
|
+
code: _trpc_server.TRPC_ERROR_CODE_KEY;
|
|
883
|
+
httpStatus: number;
|
|
884
|
+
path?: string;
|
|
885
|
+
stack?: string;
|
|
886
|
+
};
|
|
887
|
+
message: string;
|
|
888
|
+
code: _trpc_server.TRPC_ERROR_CODE_NUMBER;
|
|
889
|
+
};
|
|
890
|
+
transformer: true;
|
|
891
|
+
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
892
|
+
updateProfilePic: _trpc_server.TRPCMutationProcedure<{
|
|
893
|
+
input: FormData;
|
|
894
|
+
output: {
|
|
895
|
+
success: boolean;
|
|
896
|
+
};
|
|
897
|
+
meta: object;
|
|
898
|
+
}>;
|
|
899
|
+
}>>;
|
|
872
900
|
}>>;
|
|
873
901
|
type AppRouter = typeof appRouter;
|
|
874
902
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polinetwork/backend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Utils to interact with the backend.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,11 +27,10 @@
|
|
|
27
27
|
"types": "./dist/index.d.ts"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "cd .. && bun install && bun run build:npm",
|
|
32
|
-
"prepublishOnly": "bun run build"
|
|
33
|
-
},
|
|
34
30
|
"devDependencies": {
|
|
35
31
|
"typescript": "^5.9.2"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "cd .. && bun install && bun run build:npm"
|
|
36
35
|
}
|
|
37
|
-
}
|
|
36
|
+
}
|