@secrecy/trpc-api-types 1.27.0-feat-users-management.2 → 1.27.0-feat-data-search-bread.1

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.cts +21 -79
  2. package/package.json +3 -3
package/dist/index.d.cts CHANGED
@@ -186,72 +186,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
186
186
  isDeleted: boolean;
187
187
  };
188
188
  }, unknown>;
189
- getUsers: _trpc_server.BuildProcedure<"mutation", {
190
- _config: _trpc_server.RootConfig<{
191
- ctx: {
192
- req: {
193
- headers: Headers;
194
- body: ReadableStream<Uint8Array> | null;
195
- };
196
- res: {
197
- headers: Headers;
198
- };
199
- session: SecrecySession | null;
200
- locale: Locales;
201
- ls: TranslationFunctions;
202
- };
203
- meta: object;
204
- errorShape: {
205
- message: string;
206
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
207
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
208
- } | {
209
- data: {
210
- zodError: zod.typeToFlattenedError<any, string> | null;
211
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
212
- httpStatus: number;
213
- path?: string;
214
- stack?: string;
215
- };
216
- message: string;
217
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
218
- };
219
- transformer: typeof superjson.default;
220
- }>;
221
- _meta: object;
222
- _ctx_out: {
223
- session: SecrecySession;
224
- req: {
225
- headers: Headers;
226
- body: ReadableStream<Uint8Array> | null;
227
- };
228
- res: {
229
- headers: Headers;
230
- };
231
- locale: Locales;
232
- ls: TranslationFunctions;
233
- };
234
- _input_in: {};
235
- _input_out: {};
236
- _output_in: {
237
- users: {
238
- id: string;
239
- lastname: string;
240
- firstname: string;
241
- avatar: string | null;
242
- isSearchable: boolean;
243
- }[];
244
- };
245
- _output_out: {
246
- users: {
247
- id: string;
248
- lastname: string;
249
- firstname: string;
250
- avatar: string | null;
251
- isSearchable: boolean;
252
- }[];
253
- };
254
- }, unknown>;
255
189
  }>;
256
190
  application: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
257
191
  ctx: {
@@ -1666,13 +1600,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1666
1600
  email: string;
1667
1601
  };
1668
1602
  _output_in: {
1669
- srpSalt: string;
1670
1603
  pub: string;
1604
+ srpSalt: string;
1671
1605
  loginId: string;
1672
1606
  };
1673
1607
  _output_out: {
1674
- srpSalt: string;
1675
1608
  pub: string;
1609
+ srpSalt: string;
1676
1610
  loginId: string;
1677
1611
  };
1678
1612
  }, unknown>;
@@ -1734,8 +1668,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1734
1668
  id: string;
1735
1669
  lastname: string;
1736
1670
  firstname: string;
1737
- avatar: string | null;
1738
- isSearchable: boolean;
1739
1671
  }[];
1740
1672
  loginToken: string;
1741
1673
  };
@@ -1744,8 +1676,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1744
1676
  id: string;
1745
1677
  lastname: string;
1746
1678
  firstname: string;
1747
- avatar: string | null;
1748
- isSearchable: boolean;
1749
1679
  }[];
1750
1680
  loginToken: string;
1751
1681
  };
@@ -4186,11 +4116,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4186
4116
  } | undefined;
4187
4117
  };
4188
4118
  _output_in: {
4189
- keyPairs: {
4190
- appId: string;
4191
- pub: string;
4192
- encPriv: string;
4193
- }[];
4194
4119
  nodes: {
4195
4120
  id: string;
4196
4121
  createdAt: Date;
@@ -4208,15 +4133,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4208
4133
  nameKey: string;
4209
4134
  };
4210
4135
  totalSize: bigint;
4136
+ breadcrumb: {
4137
+ id: string;
4138
+ name: string;
4139
+ nameKey: string | null;
4140
+ pubKey: string;
4141
+ }[];
4211
4142
  sharedCount: number;
4212
4143
  }[];
4213
- };
4214
- _output_out: {
4215
4144
  keyPairs: {
4216
4145
  appId: string;
4217
4146
  pub: string;
4218
4147
  encPriv: string;
4219
4148
  }[];
4149
+ };
4150
+ _output_out: {
4220
4151
  nodes: {
4221
4152
  id: string;
4222
4153
  createdAt: Date;
@@ -4234,8 +4165,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4234
4165
  nameKey: string;
4235
4166
  };
4236
4167
  totalSize: bigint;
4168
+ breadcrumb: {
4169
+ id: string;
4170
+ name: string;
4171
+ nameKey: string | null;
4172
+ pubKey: string;
4173
+ }[];
4237
4174
  sharedCount: number;
4238
4175
  }[];
4176
+ keyPairs: {
4177
+ appId: string;
4178
+ pub: string;
4179
+ encPriv: string;
4180
+ }[];
4239
4181
  };
4240
4182
  }, unknown>;
4241
4183
  shareFileInHistory: _trpc_server.BuildProcedure<"mutation", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.27.0-feat-users-management.2",
3
+ "version": "1.27.0-feat-data-search-bread.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,9 +22,9 @@
22
22
  "module": "./dist/index.cjs",
23
23
  "types": "./dist/index.d.cts",
24
24
  "dependencies": {
25
- "@prisma/client": "5.16.2",
25
+ "@prisma/client": "5.12.1",
26
26
  "@trpc/server": "10.45.2",
27
27
  "superjson": "2.2.1",
28
- "zod": "3.23.8"
28
+ "zod": "3.22.4"
29
29
  }
30
30
  }