@secrecy/lib 1.86.1 → 1.86.2

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.
@@ -67,7 +67,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
67
67
  hasDatabase: boolean;
68
68
  devsCount: bigint;
69
69
  usersCount: bigint;
70
- } & {
71
70
  totalDataCount: bigint;
72
71
  totalDataSize: bigint;
73
72
  downloadBandwidth: bigint;
@@ -142,12 +141,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
142
141
  paidByApp?: boolean | undefined;
143
142
  userIds?: string[] | undefined;
144
143
  };
145
- output: ({
144
+ output: {
146
145
  lastReset: Date;
147
146
  hasDatabase: boolean;
148
147
  devsCount: bigint;
149
148
  usersCount: bigint;
150
- } & {
151
149
  totalDataCount: bigint;
152
150
  totalDataSize: bigint;
153
151
  downloadBandwidth: bigint;
@@ -157,11 +155,12 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
157
155
  sentMailCount: bigint;
158
156
  sentMailDataCount: bigint;
159
157
  sentMailDataSize: bigint;
160
- }) | {
158
+ type: "application";
159
+ } | {
160
+ type: "details";
161
161
  lastReset: Date;
162
- details: ({
162
+ details: {
163
163
  userId: string;
164
- } & {
165
164
  totalDataCount: bigint;
166
165
  totalDataSize: bigint;
167
166
  downloadBandwidth: bigint;
@@ -171,7 +170,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
171
170
  sentMailCount: bigint;
172
171
  sentMailDataCount: bigint;
173
172
  sentMailDataSize: bigint;
174
- })[];
173
+ }[];
175
174
  };
176
175
  meta: any;
177
176
  }>;
@@ -868,6 +867,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
868
867
  author: string;
869
868
  image: string;
870
869
  summary: string;
870
+ slug: string | null;
871
871
  status: "published" | "draft";
872
872
  tags: string[];
873
873
  lang: "en" | "fr";
@@ -893,6 +893,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
893
893
  author: string;
894
894
  image: string;
895
895
  summary: string;
896
+ slug: string | null;
896
897
  status: "published" | "draft";
897
898
  tags: string[];
898
899
  lang: "en" | "fr";
@@ -3918,7 +3919,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
3918
3919
  output: {
3919
3920
  id: string;
3920
3921
  name: string;
3921
- currentState: "init" | "ready";
3922
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
3922
3923
  isPrimary: boolean;
3923
3924
  parentId?: string | undefined;
3924
3925
  };
@@ -3942,7 +3943,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
3942
3943
  output: {
3943
3944
  id: string;
3944
3945
  name: string;
3945
- currentState: "init" | "ready";
3946
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
3946
3947
  isPrimary: boolean;
3947
3948
  parentId?: string | undefined;
3948
3949
  };
@@ -3960,7 +3961,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
3960
3961
  output: {
3961
3962
  id: string;
3962
3963
  name: string;
3963
- currentState: "init" | "ready";
3964
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
3964
3965
  isPrimary: boolean;
3965
3966
  parentId?: string | undefined;
3966
3967
  }[];
@@ -3976,7 +3977,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
3976
3977
  output: {
3977
3978
  id: string;
3978
3979
  name: string;
3979
- currentState: "init" | "ready";
3980
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
3980
3981
  isPrimary: boolean;
3981
3982
  parentId?: string | undefined;
3982
3983
  };
@@ -4002,7 +4003,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
4002
4003
  output: {
4003
4004
  id: string;
4004
4005
  name: string;
4005
- currentState: "init" | "ready";
4006
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
4006
4007
  isPrimary: boolean;
4007
4008
  parentId?: string | undefined;
4008
4009
  };
@@ -4017,7 +4018,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
4017
4018
  output: {
4018
4019
  id: string;
4019
4020
  name: string;
4020
- currentState: "init" | "ready";
4021
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
4021
4022
  isPrimary: boolean;
4022
4023
  parentId?: string | undefined;
4023
4024
  };
@@ -5307,7 +5308,6 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
5307
5308
  metrics: {
5308
5309
  lastReset: Date;
5309
5310
  membersCount: bigint;
5310
- } & {
5311
5311
  totalDataCount: bigint;
5312
5312
  totalDataSize: bigint;
5313
5313
  downloadBandwidth: bigint;
@@ -5345,10 +5345,9 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
5345
5345
  paidByApp?: boolean | undefined;
5346
5346
  userIds?: string[] | undefined;
5347
5347
  };
5348
- output: ({
5348
+ output: {
5349
5349
  lastReset: Date;
5350
5350
  membersCount: bigint;
5351
- } & {
5352
5351
  totalDataCount: bigint;
5353
5352
  totalDataSize: bigint;
5354
5353
  downloadBandwidth: bigint;
@@ -5358,7 +5357,9 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
5358
5357
  sentMailCount: bigint;
5359
5358
  sentMailDataCount: bigint;
5360
5359
  sentMailDataSize: bigint;
5361
- }) | {
5360
+ type: "organization";
5361
+ } | {
5362
+ type: "details";
5362
5363
  lastReset: Date;
5363
5364
  details: {
5364
5365
  totalDataCount: bigint;
@@ -5370,6 +5371,8 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
5370
5371
  sentMailCount: bigint;
5371
5372
  sentMailDataCount: bigint;
5372
5373
  sentMailDataSize: bigint;
5374
+ userId?: string | undefined;
5375
+ appId?: string | undefined;
5373
5376
  }[];
5374
5377
  };
5375
5378
  meta: any;
@@ -6775,7 +6778,6 @@ export declare const getTrpcGuestClient: ({ url }?: {
6775
6778
  hasDatabase: boolean;
6776
6779
  devsCount: bigint;
6777
6780
  usersCount: bigint;
6778
- } & {
6779
6781
  totalDataCount: bigint;
6780
6782
  totalDataSize: bigint;
6781
6783
  downloadBandwidth: bigint;
@@ -6850,12 +6852,11 @@ export declare const getTrpcGuestClient: ({ url }?: {
6850
6852
  paidByApp?: boolean | undefined;
6851
6853
  userIds?: string[] | undefined;
6852
6854
  };
6853
- output: ({
6855
+ output: {
6854
6856
  lastReset: Date;
6855
6857
  hasDatabase: boolean;
6856
6858
  devsCount: bigint;
6857
6859
  usersCount: bigint;
6858
- } & {
6859
6860
  totalDataCount: bigint;
6860
6861
  totalDataSize: bigint;
6861
6862
  downloadBandwidth: bigint;
@@ -6865,11 +6866,12 @@ export declare const getTrpcGuestClient: ({ url }?: {
6865
6866
  sentMailCount: bigint;
6866
6867
  sentMailDataCount: bigint;
6867
6868
  sentMailDataSize: bigint;
6868
- }) | {
6869
+ type: "application";
6870
+ } | {
6871
+ type: "details";
6869
6872
  lastReset: Date;
6870
- details: ({
6873
+ details: {
6871
6874
  userId: string;
6872
- } & {
6873
6875
  totalDataCount: bigint;
6874
6876
  totalDataSize: bigint;
6875
6877
  downloadBandwidth: bigint;
@@ -6879,7 +6881,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
6879
6881
  sentMailCount: bigint;
6880
6882
  sentMailDataCount: bigint;
6881
6883
  sentMailDataSize: bigint;
6882
- })[];
6884
+ }[];
6883
6885
  };
6884
6886
  meta: any;
6885
6887
  }>;
@@ -7576,6 +7578,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
7576
7578
  author: string;
7577
7579
  image: string;
7578
7580
  summary: string;
7581
+ slug: string | null;
7579
7582
  status: "published" | "draft";
7580
7583
  tags: string[];
7581
7584
  lang: "en" | "fr";
@@ -7601,6 +7604,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
7601
7604
  author: string;
7602
7605
  image: string;
7603
7606
  summary: string;
7607
+ slug: string | null;
7604
7608
  status: "published" | "draft";
7605
7609
  tags: string[];
7606
7610
  lang: "en" | "fr";
@@ -10626,7 +10630,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
10626
10630
  output: {
10627
10631
  id: string;
10628
10632
  name: string;
10629
- currentState: "init" | "ready";
10633
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
10630
10634
  isPrimary: boolean;
10631
10635
  parentId?: string | undefined;
10632
10636
  };
@@ -10650,7 +10654,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
10650
10654
  output: {
10651
10655
  id: string;
10652
10656
  name: string;
10653
- currentState: "init" | "ready";
10657
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
10654
10658
  isPrimary: boolean;
10655
10659
  parentId?: string | undefined;
10656
10660
  };
@@ -10668,7 +10672,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
10668
10672
  output: {
10669
10673
  id: string;
10670
10674
  name: string;
10671
- currentState: "init" | "ready";
10675
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
10672
10676
  isPrimary: boolean;
10673
10677
  parentId?: string | undefined;
10674
10678
  }[];
@@ -10684,7 +10688,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
10684
10688
  output: {
10685
10689
  id: string;
10686
10690
  name: string;
10687
- currentState: "init" | "ready";
10691
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
10688
10692
  isPrimary: boolean;
10689
10693
  parentId?: string | undefined;
10690
10694
  };
@@ -10710,7 +10714,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
10710
10714
  output: {
10711
10715
  id: string;
10712
10716
  name: string;
10713
- currentState: "init" | "ready";
10717
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
10714
10718
  isPrimary: boolean;
10715
10719
  parentId?: string | undefined;
10716
10720
  };
@@ -10725,7 +10729,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
10725
10729
  output: {
10726
10730
  id: string;
10727
10731
  name: string;
10728
- currentState: "init" | "ready";
10732
+ currentState: "init" | "resetting" | "ready" | "archived" | (string & Record<never, never>);
10729
10733
  isPrimary: boolean;
10730
10734
  parentId?: string | undefined;
10731
10735
  };
@@ -12015,7 +12019,6 @@ export declare const getTrpcGuestClient: ({ url }?: {
12015
12019
  metrics: {
12016
12020
  lastReset: Date;
12017
12021
  membersCount: bigint;
12018
- } & {
12019
12022
  totalDataCount: bigint;
12020
12023
  totalDataSize: bigint;
12021
12024
  downloadBandwidth: bigint;
@@ -12053,10 +12056,9 @@ export declare const getTrpcGuestClient: ({ url }?: {
12053
12056
  paidByApp?: boolean | undefined;
12054
12057
  userIds?: string[] | undefined;
12055
12058
  };
12056
- output: ({
12059
+ output: {
12057
12060
  lastReset: Date;
12058
12061
  membersCount: bigint;
12059
- } & {
12060
12062
  totalDataCount: bigint;
12061
12063
  totalDataSize: bigint;
12062
12064
  downloadBandwidth: bigint;
@@ -12066,7 +12068,9 @@ export declare const getTrpcGuestClient: ({ url }?: {
12066
12068
  sentMailCount: bigint;
12067
12069
  sentMailDataCount: bigint;
12068
12070
  sentMailDataSize: bigint;
12069
- }) | {
12071
+ type: "organization";
12072
+ } | {
12073
+ type: "details";
12070
12074
  lastReset: Date;
12071
12075
  details: {
12072
12076
  totalDataCount: bigint;
@@ -12078,6 +12082,8 @@ export declare const getTrpcGuestClient: ({ url }?: {
12078
12082
  sentMailCount: bigint;
12079
12083
  sentMailDataCount: bigint;
12080
12084
  sentMailDataSize: bigint;
12085
+ userId?: string | undefined;
12086
+ appId?: string | undefined;
12081
12087
  }[];
12082
12088
  };
12083
12089
  meta: any;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.86.1",
5
+ "version": "1.86.2",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "dependencies": {
78
78
  "@js-temporal/polyfill": "^0.5.1",
79
- "@secrecy/trpc-api-types": "1.41.0-dev.1",
79
+ "@secrecy/trpc-api-types": "1.43.0-dev.1",
80
80
  "@trpc/client": "11.6.0",
81
81
  "@trpc/server": "^11.6.0",
82
82
  "@types/libsodium-wrappers-sumo": "^0.7.8",