@secrecy/trpc-api-types 1.33.0-feat-groups-identity.2 → 1.33.0-feat-groups-identity.3

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 +21 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { BuiltRouter, AnyRootTypes, Simplify, AnyProcedure, CreateRouterOptions, DecorateCreateRouterOptions } from '@trpc/server/unstable-core-do-not-import';
2
2
  import type * as _neondatabase_api_client from '@neondatabase/api-client';
3
3
  import type * as zod_v4 from 'zod/v4';
4
+ import type { z } from 'zod/v4';
4
5
  import type * as _trpc_server from '@trpc/server';
5
6
 
6
7
  declare var appRouter: _trpc_server.TRPCBuiltRouter<{
@@ -6282,6 +6283,26 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
6282
6283
  };
6283
6284
  meta: any;
6284
6285
  }>;
6286
+ list: _trpc_server.TRPCQueryProcedure<{
6287
+ input: void;
6288
+ output: {
6289
+ identities: ({
6290
+ kind: "USER_APP";
6291
+ identityPubKey: string;
6292
+ userId: string;
6293
+ appId: string;
6294
+ encPriv: string;
6295
+ } | {
6296
+ kind: "GROUP";
6297
+ identityPubKey: string;
6298
+ groupId: string;
6299
+ encPriv: string;
6300
+ sharedByPubKey: string;
6301
+ groupOwnerPubKey: string;
6302
+ })[];
6303
+ };
6304
+ meta: any;
6305
+ }>;
6285
6306
  }>>;
6286
6307
  }>>;
6287
6308
  type AppRouter = typeof appRouter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-groups-identity.2",
3
+ "version": "1.33.0-feat-groups-identity.3",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"