@secrecy/lib 1.39.0-feat-custom-tech-plan.5 → 1.39.0-feat-custom-tech-plan.6
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 +23 -119
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -678,7 +678,19 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
678
678
|
}>;
|
|
679
679
|
_meta: object;
|
|
680
680
|
_ctx_out: {
|
|
681
|
-
session:
|
|
681
|
+
session: {
|
|
682
|
+
appId: string;
|
|
683
|
+
appPlanId: string;
|
|
684
|
+
appFakeUserId: string | undefined;
|
|
685
|
+
sessionId: string;
|
|
686
|
+
accountId: string;
|
|
687
|
+
accountInfosId: string;
|
|
688
|
+
accountRole: _prisma_client.AccountRole;
|
|
689
|
+
userId: string;
|
|
690
|
+
userRole: _prisma_client.UserRole;
|
|
691
|
+
userPlan: _prisma_client.PlanKind;
|
|
692
|
+
isCare?: boolean;
|
|
693
|
+
};
|
|
682
694
|
req: {
|
|
683
695
|
headers: Headers;
|
|
684
696
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -689,8 +701,12 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
689
701
|
locale: Locales;
|
|
690
702
|
ls: TranslationFunctions;
|
|
691
703
|
};
|
|
692
|
-
_input_in: {
|
|
693
|
-
|
|
704
|
+
_input_in: {
|
|
705
|
+
appId?: string | undefined;
|
|
706
|
+
};
|
|
707
|
+
_input_out: {
|
|
708
|
+
appId?: string | undefined;
|
|
709
|
+
};
|
|
694
710
|
_output_in: ({
|
|
695
711
|
id: string;
|
|
696
712
|
name: string;
|
|
@@ -721,6 +737,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
721
737
|
};
|
|
722
738
|
} & {
|
|
723
739
|
price: number;
|
|
740
|
+
} & {
|
|
741
|
+
isCurrent: boolean;
|
|
724
742
|
})[];
|
|
725
743
|
_output_out: ({
|
|
726
744
|
id: string;
|
|
@@ -752,6 +770,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
752
770
|
};
|
|
753
771
|
} & {
|
|
754
772
|
price: number;
|
|
773
|
+
} & {
|
|
774
|
+
isCurrent: boolean;
|
|
755
775
|
})[];
|
|
756
776
|
}, unknown>>;
|
|
757
777
|
};
|
|
@@ -15763,35 +15783,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15763
15783
|
id: string;
|
|
15764
15784
|
} | null;
|
|
15765
15785
|
};
|
|
15766
|
-
plans: ({
|
|
15767
|
-
id: string;
|
|
15768
|
-
name: string;
|
|
15769
|
-
isCustomPlan?: boolean | undefined;
|
|
15770
|
-
canHaveDatabase?: boolean | undefined;
|
|
15771
|
-
} & {
|
|
15772
|
-
descriptor: {
|
|
15773
|
-
devsBase: bigint | null;
|
|
15774
|
-
devsUnit: bigint | null;
|
|
15775
|
-
devsPrice: number | null;
|
|
15776
|
-
usersBase: bigint | null;
|
|
15777
|
-
usersUnit: bigint | null;
|
|
15778
|
-
usersPrice: number | null;
|
|
15779
|
-
perDataSizeBase: bigint | null;
|
|
15780
|
-
perDataSizeUnit: bigint | null;
|
|
15781
|
-
perDataSizePrice: number | null;
|
|
15782
|
-
bandwidthBase: bigint | null;
|
|
15783
|
-
bandwidthUnit: bigint | null;
|
|
15784
|
-
bandwidthPrice: number | null;
|
|
15785
|
-
totalStorageSizeBase: bigint | null;
|
|
15786
|
-
totalStorageSizeUnit: bigint | null;
|
|
15787
|
-
totalStorageSizePrice: number | null;
|
|
15788
|
-
devsMax: bigint | null;
|
|
15789
|
-
usersMax: bigint | null;
|
|
15790
|
-
perDataSizeMax: bigint | null;
|
|
15791
|
-
bandwidthMax: bigint | null;
|
|
15792
|
-
totalStorageSizeMax: bigint | null;
|
|
15793
|
-
};
|
|
15794
|
-
})[];
|
|
15795
15786
|
};
|
|
15796
15787
|
_output_out: {
|
|
15797
15788
|
plan: {
|
|
@@ -15843,35 +15834,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15843
15834
|
id: string;
|
|
15844
15835
|
} | null;
|
|
15845
15836
|
};
|
|
15846
|
-
plans: ({
|
|
15847
|
-
id: string;
|
|
15848
|
-
name: string;
|
|
15849
|
-
isCustomPlan: boolean;
|
|
15850
|
-
canHaveDatabase: boolean;
|
|
15851
|
-
} & {
|
|
15852
|
-
descriptor: {
|
|
15853
|
-
devsBase: bigint | null;
|
|
15854
|
-
devsUnit: bigint | null;
|
|
15855
|
-
devsPrice: number | null;
|
|
15856
|
-
usersBase: bigint | null;
|
|
15857
|
-
usersUnit: bigint | null;
|
|
15858
|
-
usersPrice: number | null;
|
|
15859
|
-
perDataSizeBase: bigint | null;
|
|
15860
|
-
perDataSizeUnit: bigint | null;
|
|
15861
|
-
perDataSizePrice: number | null;
|
|
15862
|
-
bandwidthBase: bigint | null;
|
|
15863
|
-
bandwidthUnit: bigint | null;
|
|
15864
|
-
bandwidthPrice: number | null;
|
|
15865
|
-
totalStorageSizeBase: bigint | null;
|
|
15866
|
-
totalStorageSizeUnit: bigint | null;
|
|
15867
|
-
totalStorageSizePrice: number | null;
|
|
15868
|
-
devsMax: bigint | null;
|
|
15869
|
-
usersMax: bigint | null;
|
|
15870
|
-
perDataSizeMax: bigint | null;
|
|
15871
|
-
bandwidthMax: bigint | null;
|
|
15872
|
-
totalStorageSizeMax: bigint | null;
|
|
15873
|
-
};
|
|
15874
|
-
})[];
|
|
15875
15837
|
};
|
|
15876
15838
|
}, unknown>>;
|
|
15877
15839
|
};
|
|
@@ -15977,35 +15939,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
15977
15939
|
id: string;
|
|
15978
15940
|
} | null;
|
|
15979
15941
|
};
|
|
15980
|
-
plans: ({
|
|
15981
|
-
id: string;
|
|
15982
|
-
name: string;
|
|
15983
|
-
isCustomPlan?: boolean | undefined;
|
|
15984
|
-
canHaveDatabase?: boolean | undefined;
|
|
15985
|
-
} & {
|
|
15986
|
-
descriptor: {
|
|
15987
|
-
devsBase: bigint | null;
|
|
15988
|
-
devsUnit: bigint | null;
|
|
15989
|
-
devsPrice: number | null;
|
|
15990
|
-
usersBase: bigint | null;
|
|
15991
|
-
usersUnit: bigint | null;
|
|
15992
|
-
usersPrice: number | null;
|
|
15993
|
-
perDataSizeBase: bigint | null;
|
|
15994
|
-
perDataSizeUnit: bigint | null;
|
|
15995
|
-
perDataSizePrice: number | null;
|
|
15996
|
-
bandwidthBase: bigint | null;
|
|
15997
|
-
bandwidthUnit: bigint | null;
|
|
15998
|
-
bandwidthPrice: number | null;
|
|
15999
|
-
totalStorageSizeBase: bigint | null;
|
|
16000
|
-
totalStorageSizeUnit: bigint | null;
|
|
16001
|
-
totalStorageSizePrice: number | null;
|
|
16002
|
-
devsMax: bigint | null;
|
|
16003
|
-
usersMax: bigint | null;
|
|
16004
|
-
perDataSizeMax: bigint | null;
|
|
16005
|
-
bandwidthMax: bigint | null;
|
|
16006
|
-
totalStorageSizeMax: bigint | null;
|
|
16007
|
-
};
|
|
16008
|
-
})[];
|
|
16009
15942
|
}[];
|
|
16010
15943
|
_output_out: {
|
|
16011
15944
|
plan: {
|
|
@@ -16057,35 +15990,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16057
15990
|
id: string;
|
|
16058
15991
|
} | null;
|
|
16059
15992
|
};
|
|
16060
|
-
plans: ({
|
|
16061
|
-
id: string;
|
|
16062
|
-
name: string;
|
|
16063
|
-
isCustomPlan: boolean;
|
|
16064
|
-
canHaveDatabase: boolean;
|
|
16065
|
-
} & {
|
|
16066
|
-
descriptor: {
|
|
16067
|
-
devsBase: bigint | null;
|
|
16068
|
-
devsUnit: bigint | null;
|
|
16069
|
-
devsPrice: number | null;
|
|
16070
|
-
usersBase: bigint | null;
|
|
16071
|
-
usersUnit: bigint | null;
|
|
16072
|
-
usersPrice: number | null;
|
|
16073
|
-
perDataSizeBase: bigint | null;
|
|
16074
|
-
perDataSizeUnit: bigint | null;
|
|
16075
|
-
perDataSizePrice: number | null;
|
|
16076
|
-
bandwidthBase: bigint | null;
|
|
16077
|
-
bandwidthUnit: bigint | null;
|
|
16078
|
-
bandwidthPrice: number | null;
|
|
16079
|
-
totalStorageSizeBase: bigint | null;
|
|
16080
|
-
totalStorageSizeUnit: bigint | null;
|
|
16081
|
-
totalStorageSizePrice: number | null;
|
|
16082
|
-
devsMax: bigint | null;
|
|
16083
|
-
usersMax: bigint | null;
|
|
16084
|
-
perDataSizeMax: bigint | null;
|
|
16085
|
-
bandwidthMax: bigint | null;
|
|
16086
|
-
totalStorageSizeMax: bigint | null;
|
|
16087
|
-
};
|
|
16088
|
-
})[];
|
|
16089
15993
|
}[];
|
|
16090
15994
|
}, unknown>>;
|
|
16091
15995
|
};
|
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.39.0-feat-custom-tech-plan.
|
|
5
|
+
"version": "1.39.0-feat-custom-tech-plan.6",
|
|
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.33.0-feat-custom-tech-plan.
|
|
77
|
+
"@secrecy/trpc-api-types": "1.33.0-feat-custom-tech-plan.6",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|