@secrecy/lib 1.51.0 → 1.52.0-feat-public-data-link.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.
|
@@ -555,6 +555,27 @@ export class SecrecyCloudClient {
|
|
|
555
555
|
: null,
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
|
+
async updateDataStorageType(input) {
|
|
559
|
+
return this.#apiClient.cloud.moveToStorageType.mutate(input);
|
|
560
|
+
}
|
|
561
|
+
getPublicDataLink(input) {
|
|
562
|
+
return this.#apiClient.cloud.dataLink.query(input);
|
|
563
|
+
}
|
|
564
|
+
getPublicDataLinks(input) {
|
|
565
|
+
return this.#apiClient.cloud.dataLinks.query(input);
|
|
566
|
+
}
|
|
567
|
+
createPublicDataLink(input) {
|
|
568
|
+
if (input.expireAt && input.expireAt <= new Date()) {
|
|
569
|
+
throw new Error('Unable to create public link using a past expireAt date!');
|
|
570
|
+
}
|
|
571
|
+
return this.#apiClient.cloud.createDataLink.mutate(input);
|
|
572
|
+
}
|
|
573
|
+
updatePublicDataLink(input) {
|
|
574
|
+
return this.#apiClient.cloud.updateDataLink.mutate(input);
|
|
575
|
+
}
|
|
576
|
+
deletePublicDataLink(input) {
|
|
577
|
+
return this.#apiClient.cloud.deleteDataLink.mutate(input);
|
|
578
|
+
}
|
|
558
579
|
async _handleDataContent({ dataContent, totalBytes, progressParts, onDownloadProgress, progressDecrypt, signal, }) {
|
|
559
580
|
const onProgress = (key, progressEvent) => {
|
|
560
581
|
progressParts[key] = progressEvent;
|
|
@@ -103,5 +103,45 @@ export declare class SecrecyCloudClient {
|
|
|
103
103
|
}): Promise<NodeFull>;
|
|
104
104
|
private readonly perNode;
|
|
105
105
|
reportData({ id, reasons, }: Omit<RouterInputs['cloud']['reportData'], 'encryptedDataKey'>): Promise<RouterOutputs['cloud']['reportData']>;
|
|
106
|
+
updateDataStorageType(input: RouterInputs['cloud']['moveToStorageType']): Promise<{
|
|
107
|
+
isMoved: boolean;
|
|
108
|
+
fromType: "s3" | "cold" | "lite";
|
|
109
|
+
toType: "s3" | "cold" | "lite";
|
|
110
|
+
}>;
|
|
111
|
+
getPublicDataLink(input: RouterInputs['cloud']['dataLink']): Promise<{
|
|
112
|
+
name: string;
|
|
113
|
+
id: string;
|
|
114
|
+
dataId: string;
|
|
115
|
+
expireAt: Date | null;
|
|
116
|
+
slug: string;
|
|
117
|
+
}>;
|
|
118
|
+
getPublicDataLinks(input: RouterInputs['cloud']['dataLinks']): Promise<{
|
|
119
|
+
name: string;
|
|
120
|
+
id: string;
|
|
121
|
+
dataId: string;
|
|
122
|
+
expireAt: Date | null;
|
|
123
|
+
slug: string;
|
|
124
|
+
}[]>;
|
|
125
|
+
createPublicDataLink(input: RouterInputs['cloud']['createDataLink']): Promise<{
|
|
126
|
+
name: string;
|
|
127
|
+
id: string;
|
|
128
|
+
dataId: string;
|
|
129
|
+
expireAt: Date | null;
|
|
130
|
+
slug: string;
|
|
131
|
+
}>;
|
|
132
|
+
updatePublicDataLink(input: RouterInputs['cloud']['updateDataLink']): Promise<{
|
|
133
|
+
name: string;
|
|
134
|
+
id: string;
|
|
135
|
+
dataId: string;
|
|
136
|
+
expireAt: Date | null;
|
|
137
|
+
slug: string;
|
|
138
|
+
}>;
|
|
139
|
+
deletePublicDataLink(input: RouterInputs['cloud']['deleteDataLink']): Promise<{
|
|
140
|
+
name: string;
|
|
141
|
+
id: string;
|
|
142
|
+
dataId: string;
|
|
143
|
+
expireAt: Date | null;
|
|
144
|
+
slug: string;
|
|
145
|
+
}>;
|
|
106
146
|
private _handleDataContent;
|
|
107
147
|
}
|
package/dist/types/client.d.ts
CHANGED
|
@@ -2094,6 +2094,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2094
2094
|
sizeEncrypted: bigint | null;
|
|
2095
2095
|
md5Encrypted: string | null;
|
|
2096
2096
|
validatedAt: Date | null;
|
|
2097
|
+
restoreSince: Date | null;
|
|
2097
2098
|
access: {
|
|
2098
2099
|
key: string | null;
|
|
2099
2100
|
sharedByPubKey: string;
|
|
@@ -2110,6 +2111,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2110
2111
|
sizeEncrypted: bigint | null;
|
|
2111
2112
|
md5Encrypted: string | null;
|
|
2112
2113
|
validatedAt: Date | null;
|
|
2114
|
+
restoreSince: Date | null;
|
|
2113
2115
|
access: {
|
|
2114
2116
|
key: string | null;
|
|
2115
2117
|
sharedByPubKey: string;
|
|
@@ -2239,6 +2241,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2239
2241
|
sizeEncrypted: bigint | null;
|
|
2240
2242
|
md5Encrypted: string | null;
|
|
2241
2243
|
validatedAt: Date | null;
|
|
2244
|
+
restoreSince: Date | null;
|
|
2242
2245
|
access: {
|
|
2243
2246
|
key: string | null;
|
|
2244
2247
|
sharedByPubKey: string;
|
|
@@ -2255,6 +2258,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2255
2258
|
sizeEncrypted: bigint | null;
|
|
2256
2259
|
md5Encrypted: string | null;
|
|
2257
2260
|
validatedAt: Date | null;
|
|
2261
|
+
restoreSince: Date | null;
|
|
2258
2262
|
access: {
|
|
2259
2263
|
key: string | null;
|
|
2260
2264
|
sharedByPubKey: string;
|
|
@@ -2423,6 +2427,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2423
2427
|
sizeEncrypted: bigint | null;
|
|
2424
2428
|
md5Encrypted: string | null;
|
|
2425
2429
|
validatedAt: Date | null;
|
|
2430
|
+
restoreSince: Date | null;
|
|
2426
2431
|
access: {
|
|
2427
2432
|
key: string | null;
|
|
2428
2433
|
sharedByPubKey: string;
|
|
@@ -2439,6 +2444,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2439
2444
|
sizeEncrypted: bigint | null;
|
|
2440
2445
|
md5Encrypted: string | null;
|
|
2441
2446
|
validatedAt: Date | null;
|
|
2447
|
+
restoreSince: Date | null;
|
|
2442
2448
|
access: {
|
|
2443
2449
|
key: string | null;
|
|
2444
2450
|
sharedByPubKey: string;
|
|
@@ -2802,21 +2808,21 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2802
2808
|
_ctx_out: {};
|
|
2803
2809
|
_input_in: {
|
|
2804
2810
|
dataId: string;
|
|
2805
|
-
storageType: "s3" | "cold";
|
|
2811
|
+
storageType: "s3" | "cold" | "lite";
|
|
2806
2812
|
};
|
|
2807
2813
|
_input_out: {
|
|
2808
2814
|
dataId: string;
|
|
2809
|
-
storageType: "s3" | "cold";
|
|
2815
|
+
storageType: "s3" | "cold" | "lite";
|
|
2810
2816
|
};
|
|
2811
2817
|
_output_in: {
|
|
2812
2818
|
isMoved: boolean;
|
|
2813
|
-
fromType: "s3" | "cold";
|
|
2814
|
-
toType: "s3" | "cold";
|
|
2819
|
+
fromType: "s3" | "cold" | "lite";
|
|
2820
|
+
toType: "s3" | "cold" | "lite";
|
|
2815
2821
|
};
|
|
2816
2822
|
_output_out: {
|
|
2817
2823
|
isMoved: boolean;
|
|
2818
|
-
fromType: "s3" | "cold";
|
|
2819
|
-
toType: "s3" | "cold";
|
|
2824
|
+
fromType: "s3" | "cold" | "lite";
|
|
2825
|
+
toType: "s3" | "cold" | "lite";
|
|
2820
2826
|
};
|
|
2821
2827
|
}, unknown>>;
|
|
2822
2828
|
};
|
|
@@ -2906,6 +2912,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2906
2912
|
sizeEncrypted: bigint | null;
|
|
2907
2913
|
md5Encrypted: string | null;
|
|
2908
2914
|
validatedAt: Date | null;
|
|
2915
|
+
restoreSince: Date | null;
|
|
2909
2916
|
access: {
|
|
2910
2917
|
key: string | null;
|
|
2911
2918
|
sharedByPubKey: string;
|
|
@@ -2922,6 +2929,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2922
2929
|
sizeEncrypted: bigint | null;
|
|
2923
2930
|
md5Encrypted: string | null;
|
|
2924
2931
|
validatedAt: Date | null;
|
|
2932
|
+
restoreSince: Date | null;
|
|
2925
2933
|
access: {
|
|
2926
2934
|
key: string | null;
|
|
2927
2935
|
sharedByPubKey: string;
|
|
@@ -3051,6 +3059,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3051
3059
|
sizeEncrypted: bigint | null;
|
|
3052
3060
|
md5Encrypted: string | null;
|
|
3053
3061
|
validatedAt: Date | null;
|
|
3062
|
+
restoreSince: Date | null;
|
|
3054
3063
|
access: {
|
|
3055
3064
|
key: string | null;
|
|
3056
3065
|
sharedByPubKey: string;
|
|
@@ -3067,6 +3076,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3067
3076
|
sizeEncrypted: bigint | null;
|
|
3068
3077
|
md5Encrypted: string | null;
|
|
3069
3078
|
validatedAt: Date | null;
|
|
3079
|
+
restoreSince: Date | null;
|
|
3070
3080
|
access: {
|
|
3071
3081
|
key: string | null;
|
|
3072
3082
|
sharedByPubKey: string;
|
|
@@ -3672,6 +3682,244 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3672
3682
|
};
|
|
3673
3683
|
}, unknown>>;
|
|
3674
3684
|
};
|
|
3685
|
+
dataLink: {
|
|
3686
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
3687
|
+
_config: import("@trpc/server").RootConfig<{
|
|
3688
|
+
ctx: {};
|
|
3689
|
+
meta: object;
|
|
3690
|
+
errorShape: {
|
|
3691
|
+
message: string;
|
|
3692
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3693
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
3694
|
+
} | {
|
|
3695
|
+
data: {
|
|
3696
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
3697
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
3698
|
+
httpStatus: number;
|
|
3699
|
+
path?: string;
|
|
3700
|
+
stack?: string;
|
|
3701
|
+
};
|
|
3702
|
+
message: string;
|
|
3703
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3704
|
+
};
|
|
3705
|
+
transformer: typeof superjson;
|
|
3706
|
+
}>;
|
|
3707
|
+
_meta: object;
|
|
3708
|
+
_ctx_out: {};
|
|
3709
|
+
_input_in: {
|
|
3710
|
+
id: string;
|
|
3711
|
+
};
|
|
3712
|
+
_input_out: {
|
|
3713
|
+
id: string;
|
|
3714
|
+
};
|
|
3715
|
+
_output_in: {
|
|
3716
|
+
name: string;
|
|
3717
|
+
id: string;
|
|
3718
|
+
dataId: string;
|
|
3719
|
+
expireAt: Date | null;
|
|
3720
|
+
slug: string;
|
|
3721
|
+
};
|
|
3722
|
+
_output_out: {
|
|
3723
|
+
name: string;
|
|
3724
|
+
id: string;
|
|
3725
|
+
dataId: string;
|
|
3726
|
+
expireAt: Date | null;
|
|
3727
|
+
slug: string;
|
|
3728
|
+
};
|
|
3729
|
+
}, unknown>>;
|
|
3730
|
+
};
|
|
3731
|
+
dataLinks: {
|
|
3732
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
3733
|
+
_config: import("@trpc/server").RootConfig<{
|
|
3734
|
+
ctx: {};
|
|
3735
|
+
meta: object;
|
|
3736
|
+
errorShape: {
|
|
3737
|
+
message: string;
|
|
3738
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3739
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
3740
|
+
} | {
|
|
3741
|
+
data: {
|
|
3742
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
3743
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
3744
|
+
httpStatus: number;
|
|
3745
|
+
path?: string;
|
|
3746
|
+
stack?: string;
|
|
3747
|
+
};
|
|
3748
|
+
message: string;
|
|
3749
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3750
|
+
};
|
|
3751
|
+
transformer: typeof superjson;
|
|
3752
|
+
}>;
|
|
3753
|
+
_meta: object;
|
|
3754
|
+
_ctx_out: {};
|
|
3755
|
+
_input_in: {
|
|
3756
|
+
dataIds?: string[] | undefined;
|
|
3757
|
+
};
|
|
3758
|
+
_input_out: {
|
|
3759
|
+
dataIds?: string[] | undefined;
|
|
3760
|
+
};
|
|
3761
|
+
_output_in: {
|
|
3762
|
+
name: string;
|
|
3763
|
+
id: string;
|
|
3764
|
+
dataId: string;
|
|
3765
|
+
expireAt: Date | null;
|
|
3766
|
+
slug: string;
|
|
3767
|
+
}[];
|
|
3768
|
+
_output_out: {
|
|
3769
|
+
name: string;
|
|
3770
|
+
id: string;
|
|
3771
|
+
dataId: string;
|
|
3772
|
+
expireAt: Date | null;
|
|
3773
|
+
slug: string;
|
|
3774
|
+
}[];
|
|
3775
|
+
}, unknown>>;
|
|
3776
|
+
};
|
|
3777
|
+
createDataLink: {
|
|
3778
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
3779
|
+
_config: import("@trpc/server").RootConfig<{
|
|
3780
|
+
ctx: {};
|
|
3781
|
+
meta: object;
|
|
3782
|
+
errorShape: {
|
|
3783
|
+
message: string;
|
|
3784
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3785
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
3786
|
+
} | {
|
|
3787
|
+
data: {
|
|
3788
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
3789
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
3790
|
+
httpStatus: number;
|
|
3791
|
+
path?: string;
|
|
3792
|
+
stack?: string;
|
|
3793
|
+
};
|
|
3794
|
+
message: string;
|
|
3795
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3796
|
+
};
|
|
3797
|
+
transformer: typeof superjson;
|
|
3798
|
+
}>;
|
|
3799
|
+
_meta: object;
|
|
3800
|
+
_ctx_out: {};
|
|
3801
|
+
_input_in: {
|
|
3802
|
+
name: string;
|
|
3803
|
+
dataId: string;
|
|
3804
|
+
expireAt: Date | null;
|
|
3805
|
+
};
|
|
3806
|
+
_input_out: {
|
|
3807
|
+
name: string;
|
|
3808
|
+
dataId: string;
|
|
3809
|
+
expireAt: Date | null;
|
|
3810
|
+
};
|
|
3811
|
+
_output_in: {
|
|
3812
|
+
name: string;
|
|
3813
|
+
id: string;
|
|
3814
|
+
dataId: string;
|
|
3815
|
+
expireAt: Date | null;
|
|
3816
|
+
slug: string;
|
|
3817
|
+
};
|
|
3818
|
+
_output_out: {
|
|
3819
|
+
name: string;
|
|
3820
|
+
id: string;
|
|
3821
|
+
dataId: string;
|
|
3822
|
+
expireAt: Date | null;
|
|
3823
|
+
slug: string;
|
|
3824
|
+
};
|
|
3825
|
+
}, unknown>>;
|
|
3826
|
+
};
|
|
3827
|
+
updateDataLink: {
|
|
3828
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
3829
|
+
_config: import("@trpc/server").RootConfig<{
|
|
3830
|
+
ctx: {};
|
|
3831
|
+
meta: object;
|
|
3832
|
+
errorShape: {
|
|
3833
|
+
message: string;
|
|
3834
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3835
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
3836
|
+
} | {
|
|
3837
|
+
data: {
|
|
3838
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
3839
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
3840
|
+
httpStatus: number;
|
|
3841
|
+
path?: string;
|
|
3842
|
+
stack?: string;
|
|
3843
|
+
};
|
|
3844
|
+
message: string;
|
|
3845
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3846
|
+
};
|
|
3847
|
+
transformer: typeof superjson;
|
|
3848
|
+
}>;
|
|
3849
|
+
_meta: object;
|
|
3850
|
+
_ctx_out: {};
|
|
3851
|
+
_input_in: {
|
|
3852
|
+
name: string;
|
|
3853
|
+
id: string;
|
|
3854
|
+
expireAt: Date | null;
|
|
3855
|
+
};
|
|
3856
|
+
_input_out: {
|
|
3857
|
+
name: string;
|
|
3858
|
+
id: string;
|
|
3859
|
+
expireAt: Date | null;
|
|
3860
|
+
};
|
|
3861
|
+
_output_in: {
|
|
3862
|
+
name: string;
|
|
3863
|
+
id: string;
|
|
3864
|
+
dataId: string;
|
|
3865
|
+
expireAt: Date | null;
|
|
3866
|
+
slug: string;
|
|
3867
|
+
};
|
|
3868
|
+
_output_out: {
|
|
3869
|
+
name: string;
|
|
3870
|
+
id: string;
|
|
3871
|
+
dataId: string;
|
|
3872
|
+
expireAt: Date | null;
|
|
3873
|
+
slug: string;
|
|
3874
|
+
};
|
|
3875
|
+
}, unknown>>;
|
|
3876
|
+
};
|
|
3877
|
+
deleteDataLink: {
|
|
3878
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
3879
|
+
_config: import("@trpc/server").RootConfig<{
|
|
3880
|
+
ctx: {};
|
|
3881
|
+
meta: object;
|
|
3882
|
+
errorShape: {
|
|
3883
|
+
message: string;
|
|
3884
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3885
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
3886
|
+
} | {
|
|
3887
|
+
data: {
|
|
3888
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
3889
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
3890
|
+
httpStatus: number;
|
|
3891
|
+
path?: string;
|
|
3892
|
+
stack?: string;
|
|
3893
|
+
};
|
|
3894
|
+
message: string;
|
|
3895
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
3896
|
+
};
|
|
3897
|
+
transformer: typeof superjson;
|
|
3898
|
+
}>;
|
|
3899
|
+
_meta: object;
|
|
3900
|
+
_ctx_out: {};
|
|
3901
|
+
_input_in: {
|
|
3902
|
+
id: string;
|
|
3903
|
+
};
|
|
3904
|
+
_input_out: {
|
|
3905
|
+
id: string;
|
|
3906
|
+
};
|
|
3907
|
+
_output_in: {
|
|
3908
|
+
name: string;
|
|
3909
|
+
id: string;
|
|
3910
|
+
dataId: string;
|
|
3911
|
+
expireAt: Date | null;
|
|
3912
|
+
slug: string;
|
|
3913
|
+
};
|
|
3914
|
+
_output_out: {
|
|
3915
|
+
name: string;
|
|
3916
|
+
id: string;
|
|
3917
|
+
dataId: string;
|
|
3918
|
+
expireAt: Date | null;
|
|
3919
|
+
slug: string;
|
|
3920
|
+
};
|
|
3921
|
+
}, unknown>>;
|
|
3922
|
+
};
|
|
3675
3923
|
createFolder: {
|
|
3676
3924
|
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
3677
3925
|
_config: import("@trpc/server").RootConfig<{
|
|
@@ -3754,6 +4002,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3754
4002
|
sizeEncrypted: bigint | null;
|
|
3755
4003
|
md5Encrypted: string | null;
|
|
3756
4004
|
validatedAt: Date | null;
|
|
4005
|
+
restoreSince: Date | null;
|
|
3757
4006
|
access: {
|
|
3758
4007
|
key: string | null;
|
|
3759
4008
|
sharedByPubKey: string;
|
|
@@ -3770,6 +4019,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3770
4019
|
sizeEncrypted: bigint | null;
|
|
3771
4020
|
md5Encrypted: string | null;
|
|
3772
4021
|
validatedAt: Date | null;
|
|
4022
|
+
restoreSince: Date | null;
|
|
3773
4023
|
access: {
|
|
3774
4024
|
key: string | null;
|
|
3775
4025
|
sharedByPubKey: string;
|
|
@@ -3899,6 +4149,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3899
4149
|
sizeEncrypted: bigint | null;
|
|
3900
4150
|
md5Encrypted: string | null;
|
|
3901
4151
|
validatedAt: Date | null;
|
|
4152
|
+
restoreSince: Date | null;
|
|
3902
4153
|
access: {
|
|
3903
4154
|
key: string | null;
|
|
3904
4155
|
sharedByPubKey: string;
|
|
@@ -3915,6 +4166,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3915
4166
|
sizeEncrypted: bigint | null;
|
|
3916
4167
|
md5Encrypted: string | null;
|
|
3917
4168
|
validatedAt: Date | null;
|
|
4169
|
+
restoreSince: Date | null;
|
|
3918
4170
|
access: {
|
|
3919
4171
|
key: string | null;
|
|
3920
4172
|
sharedByPubKey: string;
|
|
@@ -4562,6 +4814,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4562
4814
|
sizeEncrypted: bigint | null;
|
|
4563
4815
|
md5Encrypted: string | null;
|
|
4564
4816
|
validatedAt: Date | null;
|
|
4817
|
+
restoreSince: Date | null;
|
|
4565
4818
|
access: {
|
|
4566
4819
|
key: string | null;
|
|
4567
4820
|
sharedByPubKey: string;
|
|
@@ -4578,6 +4831,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4578
4831
|
sizeEncrypted: bigint | null;
|
|
4579
4832
|
md5Encrypted: string | null;
|
|
4580
4833
|
validatedAt: Date | null;
|
|
4834
|
+
restoreSince: Date | null;
|
|
4581
4835
|
access: {
|
|
4582
4836
|
key: string | null;
|
|
4583
4837
|
sharedByPubKey: string;
|
|
@@ -4707,6 +4961,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4707
4961
|
sizeEncrypted: bigint | null;
|
|
4708
4962
|
md5Encrypted: string | null;
|
|
4709
4963
|
validatedAt: Date | null;
|
|
4964
|
+
restoreSince: Date | null;
|
|
4710
4965
|
access: {
|
|
4711
4966
|
key: string | null;
|
|
4712
4967
|
sharedByPubKey: string;
|
|
@@ -4723,6 +4978,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4723
4978
|
sizeEncrypted: bigint | null;
|
|
4724
4979
|
md5Encrypted: string | null;
|
|
4725
4980
|
validatedAt: Date | null;
|
|
4981
|
+
restoreSince: Date | null;
|
|
4726
4982
|
access: {
|
|
4727
4983
|
key: string | null;
|
|
4728
4984
|
sharedByPubKey: string;
|
|
@@ -5344,6 +5600,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
5344
5600
|
sizeEncrypted: bigint | null;
|
|
5345
5601
|
md5Encrypted: string | null;
|
|
5346
5602
|
validatedAt: Date | null;
|
|
5603
|
+
restoreSince: Date | null;
|
|
5347
5604
|
access: {
|
|
5348
5605
|
key: string | null;
|
|
5349
5606
|
sharedByPubKey: string;
|
|
@@ -5360,6 +5617,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
5360
5617
|
sizeEncrypted: bigint | null;
|
|
5361
5618
|
md5Encrypted: string | null;
|
|
5362
5619
|
validatedAt: Date | null;
|
|
5620
|
+
restoreSince: Date | null;
|
|
5363
5621
|
access: {
|
|
5364
5622
|
key: string | null;
|
|
5365
5623
|
sharedByPubKey: string;
|
|
@@ -5489,6 +5747,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
5489
5747
|
sizeEncrypted: bigint | null;
|
|
5490
5748
|
md5Encrypted: string | null;
|
|
5491
5749
|
validatedAt: Date | null;
|
|
5750
|
+
restoreSince: Date | null;
|
|
5492
5751
|
access: {
|
|
5493
5752
|
key: string | null;
|
|
5494
5753
|
sharedByPubKey: string;
|
|
@@ -5505,6 +5764,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
5505
5764
|
sizeEncrypted: bigint | null;
|
|
5506
5765
|
md5Encrypted: string | null;
|
|
5507
5766
|
validatedAt: Date | null;
|
|
5767
|
+
restoreSince: Date | null;
|
|
5508
5768
|
access: {
|
|
5509
5769
|
key: string | null;
|
|
5510
5770
|
sharedByPubKey: string;
|
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.
|
|
5
|
+
"version": "1.52.0-feat-public-data-link.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "^5.6.2"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@secrecy/trpc-api-types": "1.33.0-feat-
|
|
77
|
+
"@secrecy/trpc-api-types": "1.33.0-feat-unencrypted-pub-link.2",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|