@secrecy/trpc-api-types 1.6.0-integration-prisma-selectors.16 → 1.6.0-integration-prisma-selectors.18

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +77 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4286,7 +4286,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4286
4286
  amount: string;
4287
4287
  };
4288
4288
  }, unknown>;
4289
- myWallet: _trpc_server.BuildProcedure<"mutation", {
4289
+ myWallet: _trpc_server.BuildProcedure<"query", {
4290
4290
  _config: _trpc_server.RootConfig<{
4291
4291
  ctx: {};
4292
4292
  meta: object;
@@ -9924,6 +9924,82 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9924
9924
  firstname: string;
9925
9925
  };
9926
9926
  }, unknown>;
9927
+ sessions: _trpc_server.BuildProcedure<"query", {
9928
+ _config: _trpc_server.RootConfig<{
9929
+ ctx: {};
9930
+ meta: object;
9931
+ errorShape: {
9932
+ message: string;
9933
+ code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
9934
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
9935
+ } | {
9936
+ data: {
9937
+ zodError: zod.typeToFlattenedError<any, string> | null;
9938
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
9939
+ httpStatus: number;
9940
+ path?: string | undefined;
9941
+ stack?: string | undefined;
9942
+ };
9943
+ message: string;
9944
+ code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
9945
+ };
9946
+ transformer: typeof superjson.default;
9947
+ }>;
9948
+ _meta: object;
9949
+ _ctx_out: {};
9950
+ _input_in: {} | undefined;
9951
+ _input_out: {} | undefined;
9952
+ _output_in: {
9953
+ userId: string;
9954
+ id: string;
9955
+ createdAt: Date;
9956
+ lastActivity: Date | null;
9957
+ userAgent: string | null;
9958
+ ip: string | null;
9959
+ country: string | null;
9960
+ city: string | null;
9961
+ appSessions: {
9962
+ appId: string;
9963
+ userId: string;
9964
+ id: string;
9965
+ userSessionId: string;
9966
+ createdAt: Date;
9967
+ lastActivity: Date | null;
9968
+ userAgent: string | null;
9969
+ ip: string | null;
9970
+ country: string | null;
9971
+ city: string | null;
9972
+ name: string;
9973
+ logo: string | null;
9974
+ origin: string[];
9975
+ }[];
9976
+ }[];
9977
+ _output_out: {
9978
+ userId: string;
9979
+ id: string;
9980
+ createdAt: Date;
9981
+ lastActivity: Date | null;
9982
+ userAgent: string | null;
9983
+ ip: string | null;
9984
+ country: string | null;
9985
+ city: string | null;
9986
+ appSessions: {
9987
+ appId: string;
9988
+ userId: string;
9989
+ id: string;
9990
+ userSessionId: string;
9991
+ createdAt: Date;
9992
+ lastActivity: Date | null;
9993
+ userAgent: string | null;
9994
+ ip: string | null;
9995
+ country: string | null;
9996
+ city: string | null;
9997
+ name: string;
9998
+ logo: string | null;
9999
+ origin: string[];
10000
+ }[];
10001
+ }[];
10002
+ }, unknown>;
9927
10003
  }>;
9928
10004
  webhook: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
9929
10005
  ctx: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.6.0-integration-prisma-selectors.16",
3
+ "version": "1.6.0-integration-prisma-selectors.18",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"