@secrecy/lib 1.16.0 → 1.17.0
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.
- package/dist/types/client.d.ts +35 -57
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -591,7 +591,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
591
591
|
}>;
|
|
592
592
|
_meta: object;
|
|
593
593
|
_ctx_out: {
|
|
594
|
-
session:
|
|
594
|
+
session: SecrecySessionWithApp;
|
|
595
595
|
req: {
|
|
596
596
|
headers: Headers;
|
|
597
597
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -634,10 +634,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
634
634
|
totalStorageSizeMax: bigint | null;
|
|
635
635
|
};
|
|
636
636
|
} & {
|
|
637
|
-
price:
|
|
638
|
-
monthly: number;
|
|
639
|
-
yearly: number;
|
|
640
|
-
};
|
|
637
|
+
price: number;
|
|
641
638
|
})[];
|
|
642
639
|
_output_out: ({
|
|
643
640
|
codes: string[];
|
|
@@ -669,10 +666,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
669
666
|
totalStorageSizeMax: bigint | null;
|
|
670
667
|
};
|
|
671
668
|
} & {
|
|
672
|
-
price:
|
|
673
|
-
monthly: number;
|
|
674
|
-
yearly: number;
|
|
675
|
-
};
|
|
669
|
+
price: number;
|
|
676
670
|
})[];
|
|
677
671
|
}, unknown>>;
|
|
678
672
|
};
|
|
@@ -10820,13 +10814,13 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
10820
10814
|
lang: "fr" | "en";
|
|
10821
10815
|
};
|
|
10822
10816
|
_output_in: {
|
|
10823
|
-
question: string;
|
|
10824
10817
|
order: number;
|
|
10818
|
+
question: string;
|
|
10825
10819
|
answer: string;
|
|
10826
10820
|
}[];
|
|
10827
10821
|
_output_out: {
|
|
10828
|
-
question: string;
|
|
10829
10822
|
order: number;
|
|
10823
|
+
question: string;
|
|
10830
10824
|
answer: string;
|
|
10831
10825
|
}[];
|
|
10832
10826
|
}, unknown>>;
|
|
@@ -15610,14 +15604,12 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15610
15604
|
appId: string;
|
|
15611
15605
|
};
|
|
15612
15606
|
_output_in: {
|
|
15613
|
-
plan:
|
|
15614
|
-
codes: string[];
|
|
15607
|
+
plan: {
|
|
15615
15608
|
id: string;
|
|
15616
15609
|
kind: string;
|
|
15617
|
-
|
|
15618
|
-
descriptorId: string;
|
|
15619
|
-
} & {
|
|
15610
|
+
price: import("@prisma/client/runtime/library").Decimal;
|
|
15620
15611
|
descriptor: {
|
|
15612
|
+
id: string;
|
|
15621
15613
|
devsBase: bigint | null;
|
|
15622
15614
|
devsUnit: bigint | null;
|
|
15623
15615
|
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
@@ -15639,7 +15631,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15639
15631
|
bandwidthMax: bigint | null;
|
|
15640
15632
|
totalStorageSizeMax: bigint | null;
|
|
15641
15633
|
};
|
|
15642
|
-
}
|
|
15634
|
+
} | null;
|
|
15643
15635
|
id: string;
|
|
15644
15636
|
createdAt: Date;
|
|
15645
15637
|
users: {
|
|
@@ -15661,13 +15653,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15661
15653
|
} | null;
|
|
15662
15654
|
};
|
|
15663
15655
|
plans: ({
|
|
15664
|
-
codes: string[];
|
|
15665
15656
|
id: string;
|
|
15666
15657
|
kind: string;
|
|
15667
|
-
|
|
15668
|
-
descriptorId: string;
|
|
15669
|
-
} & {
|
|
15658
|
+
price: import("@prisma/client/runtime/library").Decimal;
|
|
15670
15659
|
descriptor: {
|
|
15660
|
+
id: string;
|
|
15671
15661
|
devsBase: bigint | null;
|
|
15672
15662
|
devsUnit: bigint | null;
|
|
15673
15663
|
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
@@ -15689,17 +15679,15 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15689
15679
|
bandwidthMax: bigint | null;
|
|
15690
15680
|
totalStorageSizeMax: bigint | null;
|
|
15691
15681
|
};
|
|
15692
|
-
})[];
|
|
15682
|
+
} | null)[];
|
|
15693
15683
|
};
|
|
15694
15684
|
_output_out: {
|
|
15695
|
-
plan:
|
|
15696
|
-
codes: string[];
|
|
15685
|
+
plan: {
|
|
15697
15686
|
id: string;
|
|
15698
15687
|
kind: string;
|
|
15699
|
-
|
|
15700
|
-
descriptorId: string;
|
|
15701
|
-
} & {
|
|
15688
|
+
price: import("@prisma/client/runtime/library").Decimal;
|
|
15702
15689
|
descriptor: {
|
|
15690
|
+
id: string;
|
|
15703
15691
|
devsBase: bigint | null;
|
|
15704
15692
|
devsUnit: bigint | null;
|
|
15705
15693
|
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
@@ -15721,7 +15709,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15721
15709
|
bandwidthMax: bigint | null;
|
|
15722
15710
|
totalStorageSizeMax: bigint | null;
|
|
15723
15711
|
};
|
|
15724
|
-
}
|
|
15712
|
+
} | null;
|
|
15725
15713
|
id: string;
|
|
15726
15714
|
createdAt: Date;
|
|
15727
15715
|
users: {
|
|
@@ -15743,13 +15731,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15743
15731
|
} | null;
|
|
15744
15732
|
};
|
|
15745
15733
|
plans: ({
|
|
15746
|
-
codes: string[];
|
|
15747
15734
|
id: string;
|
|
15748
15735
|
kind: string;
|
|
15749
|
-
|
|
15750
|
-
descriptorId: string;
|
|
15751
|
-
} & {
|
|
15736
|
+
price: import("@prisma/client/runtime/library").Decimal;
|
|
15752
15737
|
descriptor: {
|
|
15738
|
+
id: string;
|
|
15753
15739
|
devsBase: bigint | null;
|
|
15754
15740
|
devsUnit: bigint | null;
|
|
15755
15741
|
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
@@ -15771,7 +15757,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15771
15757
|
bandwidthMax: bigint | null;
|
|
15772
15758
|
totalStorageSizeMax: bigint | null;
|
|
15773
15759
|
};
|
|
15774
|
-
})[];
|
|
15760
|
+
} | null)[];
|
|
15775
15761
|
};
|
|
15776
15762
|
}, unknown>>;
|
|
15777
15763
|
};
|
|
@@ -15828,14 +15814,12 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15828
15814
|
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
15829
15815
|
};
|
|
15830
15816
|
_output_in: {
|
|
15831
|
-
plan:
|
|
15832
|
-
codes: string[];
|
|
15817
|
+
plan: {
|
|
15833
15818
|
id: string;
|
|
15834
15819
|
kind: string;
|
|
15835
|
-
|
|
15836
|
-
descriptorId: string;
|
|
15837
|
-
} & {
|
|
15820
|
+
price: import("@prisma/client/runtime/library").Decimal;
|
|
15838
15821
|
descriptor: {
|
|
15822
|
+
id: string;
|
|
15839
15823
|
devsBase: bigint | null;
|
|
15840
15824
|
devsUnit: bigint | null;
|
|
15841
15825
|
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
@@ -15857,7 +15841,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15857
15841
|
bandwidthMax: bigint | null;
|
|
15858
15842
|
totalStorageSizeMax: bigint | null;
|
|
15859
15843
|
};
|
|
15860
|
-
}
|
|
15844
|
+
} | null;
|
|
15861
15845
|
id: string;
|
|
15862
15846
|
createdAt: Date;
|
|
15863
15847
|
users: {
|
|
@@ -15879,13 +15863,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15879
15863
|
} | null;
|
|
15880
15864
|
};
|
|
15881
15865
|
plans: ({
|
|
15882
|
-
codes: string[];
|
|
15883
15866
|
id: string;
|
|
15884
15867
|
kind: string;
|
|
15885
|
-
|
|
15886
|
-
descriptorId: string;
|
|
15887
|
-
} & {
|
|
15868
|
+
price: import("@prisma/client/runtime/library").Decimal;
|
|
15888
15869
|
descriptor: {
|
|
15870
|
+
id: string;
|
|
15889
15871
|
devsBase: bigint | null;
|
|
15890
15872
|
devsUnit: bigint | null;
|
|
15891
15873
|
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
@@ -15907,17 +15889,15 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15907
15889
|
bandwidthMax: bigint | null;
|
|
15908
15890
|
totalStorageSizeMax: bigint | null;
|
|
15909
15891
|
};
|
|
15910
|
-
})[];
|
|
15892
|
+
} | null)[];
|
|
15911
15893
|
}[];
|
|
15912
15894
|
_output_out: {
|
|
15913
|
-
plan:
|
|
15914
|
-
codes: string[];
|
|
15895
|
+
plan: {
|
|
15915
15896
|
id: string;
|
|
15916
15897
|
kind: string;
|
|
15917
|
-
|
|
15918
|
-
descriptorId: string;
|
|
15919
|
-
} & {
|
|
15898
|
+
price: import("@prisma/client/runtime/library").Decimal;
|
|
15920
15899
|
descriptor: {
|
|
15900
|
+
id: string;
|
|
15921
15901
|
devsBase: bigint | null;
|
|
15922
15902
|
devsUnit: bigint | null;
|
|
15923
15903
|
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
@@ -15939,7 +15919,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15939
15919
|
bandwidthMax: bigint | null;
|
|
15940
15920
|
totalStorageSizeMax: bigint | null;
|
|
15941
15921
|
};
|
|
15942
|
-
}
|
|
15922
|
+
} | null;
|
|
15943
15923
|
id: string;
|
|
15944
15924
|
createdAt: Date;
|
|
15945
15925
|
users: {
|
|
@@ -15961,13 +15941,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15961
15941
|
} | null;
|
|
15962
15942
|
};
|
|
15963
15943
|
plans: ({
|
|
15964
|
-
codes: string[];
|
|
15965
15944
|
id: string;
|
|
15966
15945
|
kind: string;
|
|
15967
|
-
|
|
15968
|
-
descriptorId: string;
|
|
15969
|
-
} & {
|
|
15946
|
+
price: import("@prisma/client/runtime/library").Decimal;
|
|
15970
15947
|
descriptor: {
|
|
15948
|
+
id: string;
|
|
15971
15949
|
devsBase: bigint | null;
|
|
15972
15950
|
devsUnit: bigint | null;
|
|
15973
15951
|
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
@@ -15989,7 +15967,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15989
15967
|
bandwidthMax: bigint | null;
|
|
15990
15968
|
totalStorageSizeMax: bigint | null;
|
|
15991
15969
|
};
|
|
15992
|
-
})[];
|
|
15970
|
+
} | null)[];
|
|
15993
15971
|
}[];
|
|
15994
15972
|
}, unknown>>;
|
|
15995
15973
|
};
|
|
@@ -16127,11 +16105,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16127
16105
|
};
|
|
16128
16106
|
_input_in: {
|
|
16129
16107
|
appId: string;
|
|
16130
|
-
planCode: "tech_solo_month" | "
|
|
16108
|
+
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
16131
16109
|
};
|
|
16132
16110
|
_input_out: {
|
|
16133
16111
|
appId: string;
|
|
16134
|
-
planCode: "tech_solo_month" | "
|
|
16112
|
+
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
16135
16113
|
};
|
|
16136
16114
|
_output_in: {
|
|
16137
16115
|
url: string | null;
|
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.17.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@secrecy/lib-utils": "^1.0.18",
|
|
77
|
-
"@secrecy/trpc-api-types": "1.24.0-
|
|
77
|
+
"@secrecy/trpc-api-types": "1.24.0-dev.4",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|