@secrecy/lib 1.14.0-feat-stripe-impl.8 → 1.15.0-feat-bump-trpc-types.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.
- package/dist/types/client.d.ts +4 -116
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -16118,10 +16118,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16118
16118
|
planCode: "tech_solo_month" | "tech_solo_year" | "tech_pro_month" | "tech_pro_year" | "tech_premium_month" | "tech_premium_year";
|
|
16119
16119
|
};
|
|
16120
16120
|
_output_in: {
|
|
16121
|
-
url: string;
|
|
16121
|
+
url: string | null;
|
|
16122
16122
|
};
|
|
16123
16123
|
_output_out: {
|
|
16124
|
-
url: string;
|
|
16124
|
+
url: string | null;
|
|
16125
16125
|
};
|
|
16126
16126
|
}, unknown>>;
|
|
16127
16127
|
};
|
|
@@ -16501,118 +16501,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
16501
16501
|
}[];
|
|
16502
16502
|
}, unknown>>;
|
|
16503
16503
|
};
|
|
16504
|
-
plans: {
|
|
16505
|
-
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
16506
|
-
_config: import("@trpc/server").RootConfig<{
|
|
16507
|
-
ctx: {
|
|
16508
|
-
req: {
|
|
16509
|
-
headers: Headers;
|
|
16510
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16511
|
-
};
|
|
16512
|
-
res: {
|
|
16513
|
-
headers: Headers;
|
|
16514
|
-
};
|
|
16515
|
-
session: any;
|
|
16516
|
-
locale: Locales;
|
|
16517
|
-
ls: TranslationFunctions;
|
|
16518
|
-
};
|
|
16519
|
-
meta: object;
|
|
16520
|
-
errorShape: {
|
|
16521
|
-
message: string;
|
|
16522
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
16523
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16524
|
-
} | {
|
|
16525
|
-
data: {
|
|
16526
|
-
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
16527
|
-
code: "UNAUTHORIZED" | "NOT_FOUND" | "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "FORBIDDEN" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
16528
|
-
httpStatus: number;
|
|
16529
|
-
path?: string | undefined;
|
|
16530
|
-
stack?: string | undefined;
|
|
16531
|
-
};
|
|
16532
|
-
message: string;
|
|
16533
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
16534
|
-
};
|
|
16535
|
-
transformer: typeof superjson;
|
|
16536
|
-
}>;
|
|
16537
|
-
_meta: object;
|
|
16538
|
-
_ctx_out: {
|
|
16539
|
-
session: any;
|
|
16540
|
-
req: {
|
|
16541
|
-
headers: Headers;
|
|
16542
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16543
|
-
};
|
|
16544
|
-
res: {
|
|
16545
|
-
headers: Headers;
|
|
16546
|
-
};
|
|
16547
|
-
locale: Locales;
|
|
16548
|
-
ls: TranslationFunctions;
|
|
16549
|
-
};
|
|
16550
|
-
_input_in: {} | undefined;
|
|
16551
|
-
_input_out: {} | undefined;
|
|
16552
|
-
_output_in: ({
|
|
16553
|
-
codes: string[];
|
|
16554
|
-
id: string;
|
|
16555
|
-
kind: string;
|
|
16556
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16557
|
-
descriptorId: string;
|
|
16558
|
-
} & {
|
|
16559
|
-
descriptor: {
|
|
16560
|
-
id: string;
|
|
16561
|
-
devsBase: bigint | null;
|
|
16562
|
-
devsUnit: bigint | null;
|
|
16563
|
-
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16564
|
-
usersBase: bigint | null;
|
|
16565
|
-
usersUnit: bigint | null;
|
|
16566
|
-
usersPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16567
|
-
perFileSizeBase: bigint | null;
|
|
16568
|
-
perFileSizeUnit: bigint | null;
|
|
16569
|
-
perFileSizePrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16570
|
-
bandwidthBase: bigint | null;
|
|
16571
|
-
bandwidthUnit: bigint | null;
|
|
16572
|
-
bandwidthPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16573
|
-
totalStorageSizeBase: bigint | null;
|
|
16574
|
-
totalStorageSizeUnit: bigint | null;
|
|
16575
|
-
totalStorageSizePrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16576
|
-
devsMax: bigint | null;
|
|
16577
|
-
usersMax: bigint | null;
|
|
16578
|
-
perFileSizeMax: bigint | null;
|
|
16579
|
-
bandwidthMax: bigint | null;
|
|
16580
|
-
totalStorageSizeMax: bigint | null;
|
|
16581
|
-
};
|
|
16582
|
-
})[];
|
|
16583
|
-
_output_out: ({
|
|
16584
|
-
codes: string[];
|
|
16585
|
-
id: string;
|
|
16586
|
-
kind: string;
|
|
16587
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16588
|
-
descriptorId: string;
|
|
16589
|
-
} & {
|
|
16590
|
-
descriptor: {
|
|
16591
|
-
id: string;
|
|
16592
|
-
devsBase: bigint | null;
|
|
16593
|
-
devsUnit: bigint | null;
|
|
16594
|
-
devsPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16595
|
-
usersBase: bigint | null;
|
|
16596
|
-
usersUnit: bigint | null;
|
|
16597
|
-
usersPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16598
|
-
perFileSizeBase: bigint | null;
|
|
16599
|
-
perFileSizeUnit: bigint | null;
|
|
16600
|
-
perFileSizePrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16601
|
-
bandwidthBase: bigint | null;
|
|
16602
|
-
bandwidthUnit: bigint | null;
|
|
16603
|
-
bandwidthPrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16604
|
-
totalStorageSizeBase: bigint | null;
|
|
16605
|
-
totalStorageSizeUnit: bigint | null;
|
|
16606
|
-
totalStorageSizePrice: import("@prisma/client/runtime/library").Decimal | null;
|
|
16607
|
-
devsMax: bigint | null;
|
|
16608
|
-
usersMax: bigint | null;
|
|
16609
|
-
perFileSizeMax: bigint | null;
|
|
16610
|
-
bandwidthMax: bigint | null;
|
|
16611
|
-
totalStorageSizeMax: bigint | null;
|
|
16612
|
-
};
|
|
16613
|
-
})[];
|
|
16614
|
-
}, unknown>>;
|
|
16615
|
-
};
|
|
16616
16504
|
publicApplicationBrand: {
|
|
16617
16505
|
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
16618
16506
|
_config: import("@trpc/server").RootConfig<{
|
|
@@ -17612,10 +17500,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
17612
17500
|
planCode: "user_basic_month" | "user_basic_year" | "user_advanced_month" | "user_advanced_year" | "user_pro_month" | "user_pro_year";
|
|
17613
17501
|
};
|
|
17614
17502
|
_output_in: {
|
|
17615
|
-
url: string;
|
|
17503
|
+
url: string | null;
|
|
17616
17504
|
};
|
|
17617
17505
|
_output_out: {
|
|
17618
|
-
url: string;
|
|
17506
|
+
url: string | null;
|
|
17619
17507
|
};
|
|
17620
17508
|
}, unknown>>;
|
|
17621
17509
|
};
|
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.15.0-feat-bump-trpc-types.1",
|
|
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.
|
|
77
|
+
"@secrecy/trpc-api-types": "1.24.0-dev.3",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|