@ledgerhq/revault-api 1.47.0 → 1.48.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.
Files changed (2) hide show
  1. package/lib/index.d.mts +70 -0
  2. package/package.json +1 -1
package/lib/index.d.mts CHANGED
@@ -34319,6 +34319,72 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
34319
34319
  } & RateLimitMetricsMeta;
34320
34320
  }>;
34321
34321
  }>>;
34322
+ workspaces: _trpc_server.TRPCBuiltRouter<{
34323
+ ctx: {
34324
+ req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
34325
+ res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
34326
+ info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
34327
+ user: _prisma_client.User | null;
34328
+ authorization: string | null;
34329
+ activityTracer: ActivityTracer;
34330
+ debugAuthToken?: string;
34331
+ rootAuthToken?: string;
34332
+ prisma: ExtendedPrismaClient;
34333
+ io: socket_io.Server<socket_io.DefaultEventsMap, socket_io.DefaultEventsMap, socket_io.DefaultEventsMap, any> | null;
34334
+ };
34335
+ meta: {
34336
+ [x: string]: unknown;
34337
+ } & {
34338
+ openapi?: {
34339
+ enabled?: boolean;
34340
+ method: trpc_to_openapi.OpenApiMethod;
34341
+ path: `/${string}`;
34342
+ operationId?: string;
34343
+ summary?: string;
34344
+ description?: string;
34345
+ protect?: boolean;
34346
+ tags?: string[];
34347
+ contentTypes?: trpc_to_openapi.OpenApiContentType[];
34348
+ deprecated?: boolean;
34349
+ requestHeaders?: z.ZodObject;
34350
+ responseHeaders?: z.ZodObject;
34351
+ successDescription?: string;
34352
+ errorResponses?: number[] | Record<number, string>;
34353
+ };
34354
+ } & RateLimitMetricsMeta;
34355
+ errorShape: _trpc_server.TRPCDefaultErrorShape;
34356
+ transformer: true;
34357
+ }, _trpc_server.TRPCDecorateCreateRouterOptions<{
34358
+ getCurrent: _trpc_server.TRPCQueryProcedure<{
34359
+ input: void;
34360
+ output: {
34361
+ name: string;
34362
+ mode: "GATE_COMPAT" | "STANDALONE";
34363
+ createdAt: Date;
34364
+ updatedAt: Date;
34365
+ };
34366
+ meta: {
34367
+ [x: string]: unknown;
34368
+ } & {
34369
+ openapi?: {
34370
+ enabled?: boolean;
34371
+ method: trpc_to_openapi.OpenApiMethod;
34372
+ path: `/${string}`;
34373
+ operationId?: string;
34374
+ summary?: string;
34375
+ description?: string;
34376
+ protect?: boolean;
34377
+ tags?: string[];
34378
+ contentTypes?: trpc_to_openapi.OpenApiContentType[];
34379
+ deprecated?: boolean;
34380
+ requestHeaders?: z.ZodObject;
34381
+ responseHeaders?: z.ZodObject;
34382
+ successDescription?: string;
34383
+ errorResponses?: number[] | Record<number, string>;
34384
+ };
34385
+ } & RateLimitMetricsMeta;
34386
+ }>;
34387
+ }>>;
34322
34388
  }>>;
34323
34389
  type AppRouter = typeof appRouter;
34324
34390
 
@@ -35292,6 +35358,10 @@ type UserRegistrationResponse = z$1.infer<typeof zUserRegistrationResponse>;
35292
35358
 
35293
35359
  declare const zWorkspaceResponse: z__default.ZodObject<{
35294
35360
  name: z__default.ZodString;
35361
+ mode: z__default.ZodEnum<{
35362
+ GATE_COMPAT: "GATE_COMPAT";
35363
+ STANDALONE: "STANDALONE";
35364
+ }>;
35295
35365
  createdAt: z__default.ZodDate;
35296
35366
  updatedAt: z__default.ZodDate;
35297
35367
  }, z__default.core.$strip>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/revault-api",
3
- "version": "1.47.0",
3
+ "version": "1.48.0",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "files": [