@secrecy/trpc-api-types 1.33.0-feat-orgs.11 → 1.33.0-feat-orgs.12

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 +4 -131
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1593,24 +1593,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1593
1593
  to: string;
1594
1594
  };
1595
1595
  _output_in: {
1596
- users: {
1597
- id: string;
1598
- lastname: string;
1599
- firstname: string;
1600
- avatar: string | null;
1601
- isSearchable: boolean;
1602
- }[];
1603
- loginToken: string;
1596
+ session: string;
1597
+ masterKeySalt: string;
1604
1598
  };
1605
1599
  _output_out: {
1606
- users: {
1607
- id: string;
1608
- lastname: string;
1609
- firstname: string;
1610
- avatar: string | null;
1611
- isSearchable: boolean;
1612
- }[];
1613
- loginToken: string;
1600
+ session: string;
1601
+ masterKeySalt: string;
1614
1602
  };
1615
1603
  }, unknown>;
1616
1604
  logout: _trpc_server.BuildProcedure<"mutation", {
@@ -1863,46 +1851,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1863
1851
  proof: string;
1864
1852
  };
1865
1853
  }, unknown>;
1866
- loginUser: _trpc_server.BuildProcedure<"mutation", {
1867
- _config: _trpc_server.RootConfig<{
1868
- ctx: {};
1869
- meta: object;
1870
- errorShape: {
1871
- message: string;
1872
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1873
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
1874
- } | {
1875
- data: {
1876
- zodError: zod.typeToFlattenedError<any, string> | null;
1877
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1878
- httpStatus: number;
1879
- path?: string;
1880
- stack?: string;
1881
- };
1882
- message: string;
1883
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1884
- };
1885
- transformer: typeof superjson.default;
1886
- }>;
1887
- _meta: object;
1888
- _ctx_out: {};
1889
- _input_in: {
1890
- userId: string;
1891
- loginToken: string;
1892
- };
1893
- _input_out: {
1894
- userId: string;
1895
- loginToken: string;
1896
- };
1897
- _output_in: {
1898
- session: string;
1899
- masterKeySalt: string;
1900
- };
1901
- _output_out: {
1902
- session: string;
1903
- masterKeySalt: string;
1904
- };
1905
- }, unknown>;
1906
1854
  signup: _trpc_server.BuildProcedure<"mutation", {
1907
1855
  _config: _trpc_server.RootConfig<{
1908
1856
  ctx: {};
@@ -16230,81 +16178,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16230
16178
  isUpdated: boolean;
16231
16179
  };
16232
16180
  }, unknown>;
16233
- switchPlan: _trpc_server.BuildProcedure<"mutation", {
16234
- _config: _trpc_server.RootConfig<{
16235
- ctx: {};
16236
- meta: object;
16237
- errorShape: {
16238
- message: string;
16239
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
16240
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
16241
- } | {
16242
- data: {
16243
- zodError: zod.typeToFlattenedError<any, string> | null;
16244
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
16245
- httpStatus: number;
16246
- path?: string;
16247
- stack?: string;
16248
- };
16249
- message: string;
16250
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
16251
- };
16252
- transformer: typeof superjson.default;
16253
- }>;
16254
- _meta: object;
16255
- _ctx_out: {
16256
- session: {
16257
- app: {
16258
- id: string;
16259
- planId: string;
16260
- fakeUserId: string | undefined;
16261
- settings: {
16262
- id: string;
16263
- devsLimit: bigint | null;
16264
- usersLimit: bigint | null;
16265
- perDataSizeLimit: bigint | null;
16266
- bandwidthLimit: bigint | null;
16267
- totalStorageSizeLimit: bigint | null;
16268
- payForUsers: boolean;
16269
- };
16270
- };
16271
- sessionId: string;
16272
- accountId: string;
16273
- accountInfosId: string;
16274
- accountRole: _prisma_client.AccountRole;
16275
- userId: string;
16276
- userRole: _prisma_client.UserRole;
16277
- org: {
16278
- id: string;
16279
- name: string;
16280
- plan: _prisma_client.OrganizationPlanKind;
16281
- role: _prisma_client.OrganizationRole;
16282
- };
16283
- };
16284
- req: {
16285
- headers: Headers;
16286
- };
16287
- res: {
16288
- headers: Headers;
16289
- };
16290
- locale: Locales;
16291
- ls: TranslationFunctions;
16292
- };
16293
- _input_in: {
16294
- appId: string;
16295
- planName: string;
16296
- };
16297
- _input_out: {
16298
- appId: string;
16299
- planName: string;
16300
- };
16301
- _output_in: {
16302
- url: string | null;
16303
- };
16304
- _output_out: {
16305
- url: string | null;
16306
- };
16307
- }, unknown>;
16308
16181
  }>;
16309
16182
  user: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
16310
16183
  ctx: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-orgs.11",
3
+ "version": "1.33.0-feat-orgs.12",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"