@secrecy/lib 1.9.1 → 1.9.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.
- package/dist/lib/base-client.js +2 -0
- package/dist/lib/client/SecrecyAppClient.js +3 -0
- package/dist/lib/client/convert/node.js +7 -16
- package/dist/lib/client/index.js +1 -0
- package/dist/types/client/SecrecyAppClient.d.ts +2 -1
- package/dist/types/client/convert/node.d.ts +3 -3
- package/dist/types/client/types/node.d.ts +1 -1
- package/dist/types/client.d.ts +437 -76
- package/package.json +2 -2
package/dist/lib/base-client.js
CHANGED
|
@@ -20,7 +20,9 @@ export class BaseClient {
|
|
|
20
20
|
constructor(session, onAccessDenied) {
|
|
21
21
|
this.sessionId = session;
|
|
22
22
|
this.client = BaseClient.getBaseClient(session, async () => {
|
|
23
|
+
console.log('[BASE_CLIENT - BEFORE] - Access denied');
|
|
23
24
|
await onAccessDenied?.();
|
|
25
|
+
console.log('[BASE_CLIENT - AFTER] - Access denied');
|
|
24
26
|
try {
|
|
25
27
|
await this.logout();
|
|
26
28
|
}
|
|
@@ -48,6 +48,9 @@ export class SecrecyAppClient {
|
|
|
48
48
|
async quotas() {
|
|
49
49
|
return await this.#apiClient.application.quotas.query({});
|
|
50
50
|
}
|
|
51
|
+
async isApplicationUser(input) {
|
|
52
|
+
return await this.#apiClient.application.isApplicationUser.query(input);
|
|
53
|
+
}
|
|
51
54
|
async updateNotifications(notifications) {
|
|
52
55
|
const updateAppNotifications = await this.#apiClient.application.updateNotification.mutate({
|
|
53
56
|
cloud: notifications.cloud,
|
|
@@ -11,22 +11,13 @@ export async function apiNodeToInternal(apiNode, keyPair) {
|
|
|
11
11
|
name: apiNode.name,
|
|
12
12
|
isFavorite: apiNode.isFavorite,
|
|
13
13
|
breadcrumb: 'breadcrumb' in apiNode ? apiNode.breadcrumb : [],
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
currentFileId: null,
|
|
23
|
-
// currentFileId: apiNode.currentFileId ?? null,
|
|
24
|
-
sizes: {
|
|
25
|
-
// size: apiNode.sizes.size,
|
|
26
|
-
// sizeBefore: apiNode.sizes.sizeBefore,
|
|
27
|
-
size: 0n,
|
|
28
|
-
sizeBefore: 0n,
|
|
29
|
-
},
|
|
14
|
+
createdBy: apiNode.createdBy,
|
|
15
|
+
sizes: 'sizes' in apiNode
|
|
16
|
+
? apiNode.sizes
|
|
17
|
+
: {
|
|
18
|
+
size: 0n,
|
|
19
|
+
sizeBefore: 0n,
|
|
20
|
+
},
|
|
30
21
|
createdAt: apiNode.createdAt,
|
|
31
22
|
updatedAt: apiNode.updatedAt,
|
|
32
23
|
deletedAt: apiNode.deletedAt,
|
package/dist/lib/client/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SecrecyClient, UserAppNotifications, UserAppSettings } from '../index.js';
|
|
2
2
|
import type { JwtPayload } from 'jsonwebtoken';
|
|
3
|
-
import { type RouterOutputs, type ApiClient } from '../client.js';
|
|
3
|
+
import { type RouterOutputs, type ApiClient, type RouterInputs } from '../client.js';
|
|
4
4
|
import { type KeyPair } from './types/index.js';
|
|
5
5
|
export declare class SecrecyAppClient {
|
|
6
6
|
#private;
|
|
@@ -12,6 +12,7 @@ export declare class SecrecyAppClient {
|
|
|
12
12
|
limits(): Promise<RouterOutputs['application']['limits']>;
|
|
13
13
|
metrics(): Promise<RouterOutputs['application']['metrics']>;
|
|
14
14
|
quotas(): Promise<RouterOutputs['application']['quotas']>;
|
|
15
|
+
isApplicationUser(input: RouterInputs['application']['isApplicationUser']): Promise<RouterOutputs['application']['isApplicationUser']>;
|
|
15
16
|
updateNotifications(notifications: Partial<UserAppNotifications>): Promise<UserAppNotifications>;
|
|
16
17
|
notifications(): Promise<UserAppNotifications>;
|
|
17
18
|
userPublicKey(userId: string): Promise<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Node, ApiNode, InternalNode, ApiNodeFull, InternalNodeFull, NodeFull, KeyPair } from '../types/index.js';
|
|
2
|
-
export declare function apiNodeToInternal(apiNode: ApiNode | ApiNodeFull, keyPair: KeyPair): Promise<InternalNode>;
|
|
1
|
+
import type { Node, ApiNode, InternalNode, ApiNodeFull, InternalNodeFull, NodeFull, KeyPair, ApiNodeChild } from '../types/index.js';
|
|
2
|
+
export declare function apiNodeToInternal(apiNode: ApiNode | ApiNodeChild | ApiNodeFull, keyPair: KeyPair): Promise<InternalNode>;
|
|
3
3
|
export declare function apiNodeFullToInternalFull(apiNodeFull: ApiNodeFull, keyPair: KeyPair): Promise<InternalNodeFull>;
|
|
4
4
|
export declare function internalNodeToNode(internal: InternalNode): Node;
|
|
5
5
|
export declare function internalNodeFullToNodeFull(internal: InternalNodeFull): NodeFull;
|
|
6
6
|
export declare function apiNodeToExternalNodeFull(apiNodeFull: ApiNodeFull, keyPair: KeyPair): Promise<NodeFull>;
|
|
7
|
-
export declare function apiNodeToExternal(apiNode: ApiNode, keyPair: KeyPair): Promise<Node>;
|
|
7
|
+
export declare function apiNodeToExternal(apiNode: ApiNode | ApiNodeChild, keyPair: KeyPair): Promise<Node>;
|
|
@@ -35,7 +35,6 @@ export interface Node<T extends NodeBreadcrumbItem = NodeBreadcrumbItem, U exten
|
|
|
35
35
|
access: NodeAccess<U>;
|
|
36
36
|
users: Array<[PublicUser, Rights]>;
|
|
37
37
|
parentId: string | null;
|
|
38
|
-
currentFileId: string | null;
|
|
39
38
|
}
|
|
40
39
|
export type NodeFull<T extends NodeBreadcrumbItem = NodeBreadcrumbItem, U extends Record<string, unknown> = Record<string, unknown>, V extends FileMetadata = FileMetadata> = Node<T, U> & {
|
|
41
40
|
parent: Node<T, U> | null;
|
|
@@ -47,5 +46,6 @@ export type InternalNode = Node<InternalNodeBreadcrumbItem, NameKey>;
|
|
|
47
46
|
export type InternalNodeFull = NodeFull<InternalNodeBreadcrumbItem, NameKey, InternalFile>;
|
|
48
47
|
export type ApiNode = RouterOutputs['cloud']['nodeById'];
|
|
49
48
|
export type ApiNodeFull = RouterOutputs['cloud']['nodeFullById'];
|
|
49
|
+
export type ApiNodeChild = RouterOutputs['cloud']['nodeFullById']['children'][number];
|
|
50
50
|
export type NodeType = ApiNode['type'];
|
|
51
51
|
export {};
|
package/dist/types/client.d.ts
CHANGED
|
@@ -636,6 +636,67 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
636
636
|
};
|
|
637
637
|
}, unknown>>;
|
|
638
638
|
};
|
|
639
|
+
isApplicationUser: {
|
|
640
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
641
|
+
_config: import("@trpc/server").RootConfig<{
|
|
642
|
+
ctx: {};
|
|
643
|
+
meta: object;
|
|
644
|
+
errorShape: {
|
|
645
|
+
message: string;
|
|
646
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
647
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
648
|
+
} | {
|
|
649
|
+
data: {
|
|
650
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
651
|
+
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";
|
|
652
|
+
httpStatus: number;
|
|
653
|
+
path?: string | undefined;
|
|
654
|
+
stack?: string | undefined;
|
|
655
|
+
};
|
|
656
|
+
message: string;
|
|
657
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
658
|
+
};
|
|
659
|
+
transformer: typeof superjson;
|
|
660
|
+
}>;
|
|
661
|
+
_meta: object;
|
|
662
|
+
_ctx_out: {
|
|
663
|
+
session: {
|
|
664
|
+
appId: string;
|
|
665
|
+
appPlanId: string | null;
|
|
666
|
+
appFakeUserId: string | undefined;
|
|
667
|
+
sessionId: string;
|
|
668
|
+
accountId: string;
|
|
669
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
670
|
+
userId: string;
|
|
671
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
672
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
673
|
+
isCare?: boolean | undefined;
|
|
674
|
+
};
|
|
675
|
+
req: {
|
|
676
|
+
headers: Headers;
|
|
677
|
+
};
|
|
678
|
+
res: {
|
|
679
|
+
headers: Headers;
|
|
680
|
+
};
|
|
681
|
+
locale: Locales;
|
|
682
|
+
ls: TranslationFunctions;
|
|
683
|
+
};
|
|
684
|
+
_input_in: {
|
|
685
|
+
appId: string;
|
|
686
|
+
userId: string;
|
|
687
|
+
};
|
|
688
|
+
_input_out: {
|
|
689
|
+
appId: string;
|
|
690
|
+
userId: string;
|
|
691
|
+
};
|
|
692
|
+
_output_in: {
|
|
693
|
+
isApplicationUser: boolean;
|
|
694
|
+
};
|
|
695
|
+
_output_out: {
|
|
696
|
+
isApplicationUser: boolean;
|
|
697
|
+
};
|
|
698
|
+
}, unknown>>;
|
|
699
|
+
};
|
|
639
700
|
};
|
|
640
701
|
admin: {
|
|
641
702
|
user: {
|
|
@@ -1731,8 +1792,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
1731
1792
|
isSearchable: boolean;
|
|
1732
1793
|
}, "admin" | "write" | "read"][];
|
|
1733
1794
|
createdBy: {
|
|
1734
|
-
|
|
1735
|
-
|
|
1795
|
+
id: string;
|
|
1796
|
+
lastname: string;
|
|
1797
|
+
firstname: string;
|
|
1798
|
+
avatar: string | null;
|
|
1799
|
+
isSearchable: boolean;
|
|
1736
1800
|
};
|
|
1737
1801
|
access: {
|
|
1738
1802
|
rights: "admin" | "write" | "read";
|
|
@@ -1792,8 +1856,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
1792
1856
|
isSearchable: boolean;
|
|
1793
1857
|
}, "admin" | "write" | "read"][];
|
|
1794
1858
|
createdBy: {
|
|
1795
|
-
|
|
1796
|
-
|
|
1859
|
+
id: string;
|
|
1860
|
+
lastname: string;
|
|
1861
|
+
firstname: string;
|
|
1862
|
+
avatar: string | null;
|
|
1863
|
+
isSearchable: boolean;
|
|
1797
1864
|
};
|
|
1798
1865
|
access: {
|
|
1799
1866
|
rights: "admin" | "write" | "read";
|
|
@@ -1820,8 +1887,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
1820
1887
|
isSearchable: boolean;
|
|
1821
1888
|
}, "admin" | "write" | "read"][];
|
|
1822
1889
|
createdBy: {
|
|
1823
|
-
|
|
1824
|
-
|
|
1890
|
+
id: string;
|
|
1891
|
+
lastname: string;
|
|
1892
|
+
firstname: string;
|
|
1893
|
+
avatar: string | null;
|
|
1894
|
+
isSearchable: boolean;
|
|
1825
1895
|
};
|
|
1826
1896
|
access: {
|
|
1827
1897
|
rights: "admin" | "write" | "read";
|
|
@@ -1855,8 +1925,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
1855
1925
|
isSearchable: boolean;
|
|
1856
1926
|
}, "admin" | "write" | "read"][];
|
|
1857
1927
|
createdBy: {
|
|
1858
|
-
|
|
1859
|
-
|
|
1928
|
+
id: string;
|
|
1929
|
+
lastname: string;
|
|
1930
|
+
firstname: string;
|
|
1931
|
+
avatar: string | null;
|
|
1932
|
+
isSearchable: boolean;
|
|
1860
1933
|
};
|
|
1861
1934
|
access: {
|
|
1862
1935
|
rights: "admin" | "write" | "read";
|
|
@@ -1916,8 +1989,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
1916
1989
|
isSearchable: boolean;
|
|
1917
1990
|
}, "admin" | "write" | "read"][];
|
|
1918
1991
|
createdBy: {
|
|
1919
|
-
|
|
1920
|
-
|
|
1992
|
+
id: string;
|
|
1993
|
+
lastname: string;
|
|
1994
|
+
firstname: string;
|
|
1995
|
+
avatar: string | null;
|
|
1996
|
+
isSearchable: boolean;
|
|
1921
1997
|
};
|
|
1922
1998
|
access: {
|
|
1923
1999
|
rights: "admin" | "write" | "read";
|
|
@@ -1944,8 +2020,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
1944
2020
|
isSearchable: boolean;
|
|
1945
2021
|
}, "admin" | "write" | "read"][];
|
|
1946
2022
|
createdBy: {
|
|
1947
|
-
|
|
1948
|
-
|
|
2023
|
+
id: string;
|
|
2024
|
+
lastname: string;
|
|
2025
|
+
firstname: string;
|
|
2026
|
+
avatar: string | null;
|
|
2027
|
+
isSearchable: boolean;
|
|
1949
2028
|
};
|
|
1950
2029
|
access: {
|
|
1951
2030
|
rights: "admin" | "write" | "read";
|
|
@@ -2417,8 +2496,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2417
2496
|
isSearchable: boolean;
|
|
2418
2497
|
}, "admin" | "write" | "read"][];
|
|
2419
2498
|
createdBy: {
|
|
2420
|
-
|
|
2421
|
-
|
|
2499
|
+
id: string;
|
|
2500
|
+
lastname: string;
|
|
2501
|
+
firstname: string;
|
|
2502
|
+
avatar: string | null;
|
|
2503
|
+
isSearchable: boolean;
|
|
2422
2504
|
};
|
|
2423
2505
|
access: {
|
|
2424
2506
|
rights: "admin" | "write" | "read";
|
|
@@ -2478,8 +2560,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2478
2560
|
isSearchable: boolean;
|
|
2479
2561
|
}, "admin" | "write" | "read"][];
|
|
2480
2562
|
createdBy: {
|
|
2481
|
-
|
|
2482
|
-
|
|
2563
|
+
id: string;
|
|
2564
|
+
lastname: string;
|
|
2565
|
+
firstname: string;
|
|
2566
|
+
avatar: string | null;
|
|
2567
|
+
isSearchable: boolean;
|
|
2483
2568
|
};
|
|
2484
2569
|
access: {
|
|
2485
2570
|
rights: "admin" | "write" | "read";
|
|
@@ -2506,8 +2591,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2506
2591
|
isSearchable: boolean;
|
|
2507
2592
|
}, "admin" | "write" | "read"][];
|
|
2508
2593
|
createdBy: {
|
|
2509
|
-
|
|
2510
|
-
|
|
2594
|
+
id: string;
|
|
2595
|
+
lastname: string;
|
|
2596
|
+
firstname: string;
|
|
2597
|
+
avatar: string | null;
|
|
2598
|
+
isSearchable: boolean;
|
|
2511
2599
|
};
|
|
2512
2600
|
access: {
|
|
2513
2601
|
rights: "admin" | "write" | "read";
|
|
@@ -2541,8 +2629,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2541
2629
|
isSearchable: boolean;
|
|
2542
2630
|
}, "admin" | "write" | "read"][];
|
|
2543
2631
|
createdBy: {
|
|
2544
|
-
|
|
2545
|
-
|
|
2632
|
+
id: string;
|
|
2633
|
+
lastname: string;
|
|
2634
|
+
firstname: string;
|
|
2635
|
+
avatar: string | null;
|
|
2636
|
+
isSearchable: boolean;
|
|
2546
2637
|
};
|
|
2547
2638
|
access: {
|
|
2548
2639
|
rights: "admin" | "write" | "read";
|
|
@@ -2602,8 +2693,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2602
2693
|
isSearchable: boolean;
|
|
2603
2694
|
}, "admin" | "write" | "read"][];
|
|
2604
2695
|
createdBy: {
|
|
2605
|
-
|
|
2606
|
-
|
|
2696
|
+
id: string;
|
|
2697
|
+
lastname: string;
|
|
2698
|
+
firstname: string;
|
|
2699
|
+
avatar: string | null;
|
|
2700
|
+
isSearchable: boolean;
|
|
2607
2701
|
};
|
|
2608
2702
|
access: {
|
|
2609
2703
|
rights: "admin" | "write" | "read";
|
|
@@ -2630,8 +2724,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2630
2724
|
isSearchable: boolean;
|
|
2631
2725
|
}, "admin" | "write" | "read"][];
|
|
2632
2726
|
createdBy: {
|
|
2633
|
-
|
|
2634
|
-
|
|
2727
|
+
id: string;
|
|
2728
|
+
lastname: string;
|
|
2729
|
+
firstname: string;
|
|
2730
|
+
avatar: string | null;
|
|
2731
|
+
isSearchable: boolean;
|
|
2635
2732
|
};
|
|
2636
2733
|
access: {
|
|
2637
2734
|
rights: "admin" | "write" | "read";
|
|
@@ -2935,8 +3032,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2935
3032
|
isSearchable: boolean;
|
|
2936
3033
|
}, "admin" | "write" | "read"][];
|
|
2937
3034
|
createdBy: {
|
|
2938
|
-
|
|
2939
|
-
|
|
3035
|
+
id: string;
|
|
3036
|
+
lastname: string;
|
|
3037
|
+
firstname: string;
|
|
3038
|
+
avatar: string | null;
|
|
3039
|
+
isSearchable: boolean;
|
|
2940
3040
|
};
|
|
2941
3041
|
access: {
|
|
2942
3042
|
rights: "admin" | "write" | "read";
|
|
@@ -2996,8 +3096,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2996
3096
|
isSearchable: boolean;
|
|
2997
3097
|
}, "admin" | "write" | "read"][];
|
|
2998
3098
|
createdBy: {
|
|
2999
|
-
|
|
3000
|
-
|
|
3099
|
+
id: string;
|
|
3100
|
+
lastname: string;
|
|
3101
|
+
firstname: string;
|
|
3102
|
+
avatar: string | null;
|
|
3103
|
+
isSearchable: boolean;
|
|
3001
3104
|
};
|
|
3002
3105
|
access: {
|
|
3003
3106
|
rights: "admin" | "write" | "read";
|
|
@@ -3024,8 +3127,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3024
3127
|
isSearchable: boolean;
|
|
3025
3128
|
}, "admin" | "write" | "read"][];
|
|
3026
3129
|
createdBy: {
|
|
3027
|
-
|
|
3028
|
-
|
|
3130
|
+
id: string;
|
|
3131
|
+
lastname: string;
|
|
3132
|
+
firstname: string;
|
|
3133
|
+
avatar: string | null;
|
|
3134
|
+
isSearchable: boolean;
|
|
3029
3135
|
};
|
|
3030
3136
|
access: {
|
|
3031
3137
|
rights: "admin" | "write" | "read";
|
|
@@ -3059,8 +3165,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3059
3165
|
isSearchable: boolean;
|
|
3060
3166
|
}, "admin" | "write" | "read"][];
|
|
3061
3167
|
createdBy: {
|
|
3062
|
-
|
|
3063
|
-
|
|
3168
|
+
id: string;
|
|
3169
|
+
lastname: string;
|
|
3170
|
+
firstname: string;
|
|
3171
|
+
avatar: string | null;
|
|
3172
|
+
isSearchable: boolean;
|
|
3064
3173
|
};
|
|
3065
3174
|
access: {
|
|
3066
3175
|
rights: "admin" | "write" | "read";
|
|
@@ -3120,8 +3229,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3120
3229
|
isSearchable: boolean;
|
|
3121
3230
|
}, "admin" | "write" | "read"][];
|
|
3122
3231
|
createdBy: {
|
|
3123
|
-
|
|
3124
|
-
|
|
3232
|
+
id: string;
|
|
3233
|
+
lastname: string;
|
|
3234
|
+
firstname: string;
|
|
3235
|
+
avatar: string | null;
|
|
3236
|
+
isSearchable: boolean;
|
|
3125
3237
|
};
|
|
3126
3238
|
access: {
|
|
3127
3239
|
rights: "admin" | "write" | "read";
|
|
@@ -3148,8 +3260,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3148
3260
|
isSearchable: boolean;
|
|
3149
3261
|
}, "admin" | "write" | "read"][];
|
|
3150
3262
|
createdBy: {
|
|
3151
|
-
|
|
3152
|
-
|
|
3263
|
+
id: string;
|
|
3264
|
+
lastname: string;
|
|
3265
|
+
firstname: string;
|
|
3266
|
+
avatar: string | null;
|
|
3267
|
+
isSearchable: boolean;
|
|
3153
3268
|
};
|
|
3154
3269
|
access: {
|
|
3155
3270
|
rights: "admin" | "write" | "read";
|
|
@@ -3545,8 +3660,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3545
3660
|
isSearchable: boolean;
|
|
3546
3661
|
}, "admin" | "write" | "read"][];
|
|
3547
3662
|
createdBy: {
|
|
3548
|
-
|
|
3549
|
-
|
|
3663
|
+
id: string;
|
|
3664
|
+
lastname: string;
|
|
3665
|
+
firstname: string;
|
|
3666
|
+
avatar: string | null;
|
|
3667
|
+
isSearchable: boolean;
|
|
3550
3668
|
};
|
|
3551
3669
|
access: {
|
|
3552
3670
|
rights: "admin" | "write" | "read";
|
|
@@ -3554,6 +3672,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3554
3672
|
isRoot: boolean;
|
|
3555
3673
|
sharedByPubKey: string;
|
|
3556
3674
|
};
|
|
3675
|
+
} & {
|
|
3676
|
+
sizes: {
|
|
3677
|
+
size: bigint;
|
|
3678
|
+
sizeBefore: bigint;
|
|
3679
|
+
};
|
|
3557
3680
|
};
|
|
3558
3681
|
_output_out: {
|
|
3559
3682
|
id: string;
|
|
@@ -3573,8 +3696,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3573
3696
|
isSearchable: boolean;
|
|
3574
3697
|
}, "admin" | "write" | "read"][];
|
|
3575
3698
|
createdBy: {
|
|
3576
|
-
|
|
3577
|
-
|
|
3699
|
+
id: string;
|
|
3700
|
+
lastname: string;
|
|
3701
|
+
firstname: string;
|
|
3702
|
+
avatar: string | null;
|
|
3703
|
+
isSearchable: boolean;
|
|
3578
3704
|
};
|
|
3579
3705
|
access: {
|
|
3580
3706
|
rights: "admin" | "write" | "read";
|
|
@@ -3582,6 +3708,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3582
3708
|
isRoot: boolean;
|
|
3583
3709
|
sharedByPubKey: string;
|
|
3584
3710
|
};
|
|
3711
|
+
} & {
|
|
3712
|
+
sizes: {
|
|
3713
|
+
size: bigint;
|
|
3714
|
+
sizeBefore: bigint;
|
|
3715
|
+
};
|
|
3585
3716
|
};
|
|
3586
3717
|
}, unknown>>;
|
|
3587
3718
|
};
|
|
@@ -3635,8 +3766,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3635
3766
|
isSearchable: boolean;
|
|
3636
3767
|
}, "admin" | "write" | "read"][];
|
|
3637
3768
|
createdBy: {
|
|
3638
|
-
|
|
3639
|
-
|
|
3769
|
+
id: string;
|
|
3770
|
+
lastname: string;
|
|
3771
|
+
firstname: string;
|
|
3772
|
+
avatar: string | null;
|
|
3773
|
+
isSearchable: boolean;
|
|
3640
3774
|
};
|
|
3641
3775
|
access: {
|
|
3642
3776
|
rights: "admin" | "write" | "read";
|
|
@@ -3696,8 +3830,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3696
3830
|
isSearchable: boolean;
|
|
3697
3831
|
}, "admin" | "write" | "read"][];
|
|
3698
3832
|
createdBy: {
|
|
3699
|
-
|
|
3700
|
-
|
|
3833
|
+
id: string;
|
|
3834
|
+
lastname: string;
|
|
3835
|
+
firstname: string;
|
|
3836
|
+
avatar: string | null;
|
|
3837
|
+
isSearchable: boolean;
|
|
3701
3838
|
};
|
|
3702
3839
|
access: {
|
|
3703
3840
|
rights: "admin" | "write" | "read";
|
|
@@ -3724,8 +3861,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3724
3861
|
isSearchable: boolean;
|
|
3725
3862
|
}, "admin" | "write" | "read"][];
|
|
3726
3863
|
createdBy: {
|
|
3727
|
-
|
|
3728
|
-
|
|
3864
|
+
id: string;
|
|
3865
|
+
lastname: string;
|
|
3866
|
+
firstname: string;
|
|
3867
|
+
avatar: string | null;
|
|
3868
|
+
isSearchable: boolean;
|
|
3729
3869
|
};
|
|
3730
3870
|
access: {
|
|
3731
3871
|
rights: "admin" | "write" | "read";
|
|
@@ -3759,8 +3899,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3759
3899
|
isSearchable: boolean;
|
|
3760
3900
|
}, "admin" | "write" | "read"][];
|
|
3761
3901
|
createdBy: {
|
|
3762
|
-
|
|
3763
|
-
|
|
3902
|
+
id: string;
|
|
3903
|
+
lastname: string;
|
|
3904
|
+
firstname: string;
|
|
3905
|
+
avatar: string | null;
|
|
3906
|
+
isSearchable: boolean;
|
|
3764
3907
|
};
|
|
3765
3908
|
access: {
|
|
3766
3909
|
rights: "admin" | "write" | "read";
|
|
@@ -3820,8 +3963,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3820
3963
|
isSearchable: boolean;
|
|
3821
3964
|
}, "admin" | "write" | "read"][];
|
|
3822
3965
|
createdBy: {
|
|
3823
|
-
|
|
3824
|
-
|
|
3966
|
+
id: string;
|
|
3967
|
+
lastname: string;
|
|
3968
|
+
firstname: string;
|
|
3969
|
+
avatar: string | null;
|
|
3970
|
+
isSearchable: boolean;
|
|
3825
3971
|
};
|
|
3826
3972
|
access: {
|
|
3827
3973
|
rights: "admin" | "write" | "read";
|
|
@@ -3848,8 +3994,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3848
3994
|
isSearchable: boolean;
|
|
3849
3995
|
}, "admin" | "write" | "read"][];
|
|
3850
3996
|
createdBy: {
|
|
3851
|
-
|
|
3852
|
-
|
|
3997
|
+
id: string;
|
|
3998
|
+
lastname: string;
|
|
3999
|
+
firstname: string;
|
|
4000
|
+
avatar: string | null;
|
|
4001
|
+
isSearchable: boolean;
|
|
3853
4002
|
};
|
|
3854
4003
|
access: {
|
|
3855
4004
|
rights: "admin" | "write" | "read";
|
|
@@ -3951,8 +4100,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3951
4100
|
isSearchable: boolean;
|
|
3952
4101
|
}, "admin" | "write" | "read"][];
|
|
3953
4102
|
createdBy: {
|
|
3954
|
-
|
|
3955
|
-
|
|
4103
|
+
id: string;
|
|
4104
|
+
lastname: string;
|
|
4105
|
+
firstname: string;
|
|
4106
|
+
avatar: string | null;
|
|
4107
|
+
isSearchable: boolean;
|
|
3956
4108
|
};
|
|
3957
4109
|
access: {
|
|
3958
4110
|
rights: "admin" | "write" | "read";
|
|
@@ -3979,8 +4131,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3979
4131
|
isSearchable: boolean;
|
|
3980
4132
|
}, "admin" | "write" | "read"][];
|
|
3981
4133
|
createdBy: {
|
|
3982
|
-
|
|
3983
|
-
|
|
4134
|
+
id: string;
|
|
4135
|
+
lastname: string;
|
|
4136
|
+
firstname: string;
|
|
4137
|
+
avatar: string | null;
|
|
4138
|
+
isSearchable: boolean;
|
|
3984
4139
|
};
|
|
3985
4140
|
access: {
|
|
3986
4141
|
rights: "admin" | "write" | "read";
|
|
@@ -4039,8 +4194,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4039
4194
|
isSearchable: boolean;
|
|
4040
4195
|
}, "admin" | "write" | "read"][];
|
|
4041
4196
|
createdBy: {
|
|
4042
|
-
|
|
4043
|
-
|
|
4197
|
+
id: string;
|
|
4198
|
+
lastname: string;
|
|
4199
|
+
firstname: string;
|
|
4200
|
+
avatar: string | null;
|
|
4201
|
+
isSearchable: boolean;
|
|
4044
4202
|
};
|
|
4045
4203
|
access: {
|
|
4046
4204
|
rights: "admin" | "write" | "read";
|
|
@@ -4067,8 +4225,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4067
4225
|
isSearchable: boolean;
|
|
4068
4226
|
}, "admin" | "write" | "read"][];
|
|
4069
4227
|
createdBy: {
|
|
4070
|
-
|
|
4071
|
-
|
|
4228
|
+
id: string;
|
|
4229
|
+
lastname: string;
|
|
4230
|
+
firstname: string;
|
|
4231
|
+
avatar: string | null;
|
|
4232
|
+
isSearchable: boolean;
|
|
4072
4233
|
};
|
|
4073
4234
|
access: {
|
|
4074
4235
|
rights: "admin" | "write" | "read";
|
|
@@ -4123,8 +4284,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4123
4284
|
isSearchable: boolean;
|
|
4124
4285
|
}, "admin" | "write" | "read"][];
|
|
4125
4286
|
createdBy: {
|
|
4126
|
-
|
|
4127
|
-
|
|
4287
|
+
id: string;
|
|
4288
|
+
lastname: string;
|
|
4289
|
+
firstname: string;
|
|
4290
|
+
avatar: string | null;
|
|
4291
|
+
isSearchable: boolean;
|
|
4128
4292
|
};
|
|
4129
4293
|
access: {
|
|
4130
4294
|
rights: "admin" | "write" | "read";
|
|
@@ -4151,8 +4315,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4151
4315
|
isSearchable: boolean;
|
|
4152
4316
|
}, "admin" | "write" | "read"][];
|
|
4153
4317
|
createdBy: {
|
|
4154
|
-
|
|
4155
|
-
|
|
4318
|
+
id: string;
|
|
4319
|
+
lastname: string;
|
|
4320
|
+
firstname: string;
|
|
4321
|
+
avatar: string | null;
|
|
4322
|
+
isSearchable: boolean;
|
|
4156
4323
|
};
|
|
4157
4324
|
access: {
|
|
4158
4325
|
rights: "admin" | "write" | "read";
|
|
@@ -4351,8 +4518,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4351
4518
|
isSearchable: boolean;
|
|
4352
4519
|
}, "admin" | "write" | "read"][];
|
|
4353
4520
|
createdBy: {
|
|
4354
|
-
|
|
4355
|
-
|
|
4521
|
+
id: string;
|
|
4522
|
+
lastname: string;
|
|
4523
|
+
firstname: string;
|
|
4524
|
+
avatar: string | null;
|
|
4525
|
+
isSearchable: boolean;
|
|
4356
4526
|
};
|
|
4357
4527
|
access: {
|
|
4358
4528
|
rights: "admin" | "write" | "read";
|
|
@@ -4412,8 +4582,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4412
4582
|
isSearchable: boolean;
|
|
4413
4583
|
}, "admin" | "write" | "read"][];
|
|
4414
4584
|
createdBy: {
|
|
4415
|
-
|
|
4416
|
-
|
|
4585
|
+
id: string;
|
|
4586
|
+
lastname: string;
|
|
4587
|
+
firstname: string;
|
|
4588
|
+
avatar: string | null;
|
|
4589
|
+
isSearchable: boolean;
|
|
4417
4590
|
};
|
|
4418
4591
|
access: {
|
|
4419
4592
|
rights: "admin" | "write" | "read";
|
|
@@ -4440,8 +4613,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4440
4613
|
isSearchable: boolean;
|
|
4441
4614
|
}, "admin" | "write" | "read"][];
|
|
4442
4615
|
createdBy: {
|
|
4443
|
-
|
|
4444
|
-
|
|
4616
|
+
id: string;
|
|
4617
|
+
lastname: string;
|
|
4618
|
+
firstname: string;
|
|
4619
|
+
avatar: string | null;
|
|
4620
|
+
isSearchable: boolean;
|
|
4445
4621
|
};
|
|
4446
4622
|
access: {
|
|
4447
4623
|
rights: "admin" | "write" | "read";
|
|
@@ -4475,8 +4651,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4475
4651
|
isSearchable: boolean;
|
|
4476
4652
|
}, "admin" | "write" | "read"][];
|
|
4477
4653
|
createdBy: {
|
|
4478
|
-
|
|
4479
|
-
|
|
4654
|
+
id: string;
|
|
4655
|
+
lastname: string;
|
|
4656
|
+
firstname: string;
|
|
4657
|
+
avatar: string | null;
|
|
4658
|
+
isSearchable: boolean;
|
|
4480
4659
|
};
|
|
4481
4660
|
access: {
|
|
4482
4661
|
rights: "admin" | "write" | "read";
|
|
@@ -4536,8 +4715,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4536
4715
|
isSearchable: boolean;
|
|
4537
4716
|
}, "admin" | "write" | "read"][];
|
|
4538
4717
|
createdBy: {
|
|
4539
|
-
|
|
4540
|
-
|
|
4718
|
+
id: string;
|
|
4719
|
+
lastname: string;
|
|
4720
|
+
firstname: string;
|
|
4721
|
+
avatar: string | null;
|
|
4722
|
+
isSearchable: boolean;
|
|
4541
4723
|
};
|
|
4542
4724
|
access: {
|
|
4543
4725
|
rights: "admin" | "write" | "read";
|
|
@@ -4564,8 +4746,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4564
4746
|
isSearchable: boolean;
|
|
4565
4747
|
}, "admin" | "write" | "read"][];
|
|
4566
4748
|
createdBy: {
|
|
4567
|
-
|
|
4568
|
-
|
|
4749
|
+
id: string;
|
|
4750
|
+
lastname: string;
|
|
4751
|
+
firstname: string;
|
|
4752
|
+
avatar: string | null;
|
|
4753
|
+
isSearchable: boolean;
|
|
4569
4754
|
};
|
|
4570
4755
|
access: {
|
|
4571
4756
|
rights: "admin" | "write" | "read";
|
|
@@ -7120,6 +7305,107 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
7120
7305
|
}[];
|
|
7121
7306
|
}, unknown>>;
|
|
7122
7307
|
};
|
|
7308
|
+
getProjectEndpoint: {
|
|
7309
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
7310
|
+
_config: import("@trpc/server").RootConfig<{
|
|
7311
|
+
ctx: {};
|
|
7312
|
+
meta: object;
|
|
7313
|
+
errorShape: {
|
|
7314
|
+
message: string;
|
|
7315
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
7316
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
7317
|
+
} | {
|
|
7318
|
+
data: {
|
|
7319
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
7320
|
+
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";
|
|
7321
|
+
httpStatus: number;
|
|
7322
|
+
path?: string | undefined;
|
|
7323
|
+
stack?: string | undefined;
|
|
7324
|
+
};
|
|
7325
|
+
message: string;
|
|
7326
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
7327
|
+
};
|
|
7328
|
+
transformer: typeof superjson;
|
|
7329
|
+
}>;
|
|
7330
|
+
_meta: object;
|
|
7331
|
+
_ctx_out: {
|
|
7332
|
+
session: {
|
|
7333
|
+
appId: string;
|
|
7334
|
+
appPlanId: string | null;
|
|
7335
|
+
appFakeUserId: string | undefined;
|
|
7336
|
+
sessionId: string;
|
|
7337
|
+
accountId: string;
|
|
7338
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
7339
|
+
userId: string;
|
|
7340
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
7341
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
7342
|
+
isCare?: boolean | undefined;
|
|
7343
|
+
};
|
|
7344
|
+
req: {
|
|
7345
|
+
headers: Headers;
|
|
7346
|
+
};
|
|
7347
|
+
res: {
|
|
7348
|
+
headers: Headers;
|
|
7349
|
+
};
|
|
7350
|
+
locale: Locales;
|
|
7351
|
+
ls: TranslationFunctions;
|
|
7352
|
+
};
|
|
7353
|
+
_input_in: {
|
|
7354
|
+
appId?: string | undefined;
|
|
7355
|
+
} & {
|
|
7356
|
+
endpointId: string;
|
|
7357
|
+
};
|
|
7358
|
+
_input_out: {
|
|
7359
|
+
appId?: string | undefined;
|
|
7360
|
+
} & {
|
|
7361
|
+
endpointId: string;
|
|
7362
|
+
};
|
|
7363
|
+
_output_in: {
|
|
7364
|
+
id: string;
|
|
7365
|
+
createdAt: string;
|
|
7366
|
+
updatedAt: string;
|
|
7367
|
+
type: _neondatabase_api_client.EndpointType;
|
|
7368
|
+
host: string;
|
|
7369
|
+
branchId: string;
|
|
7370
|
+
currentState: _neondatabase_api_client.EndpointState;
|
|
7371
|
+
regionId: string;
|
|
7372
|
+
creationSource: string;
|
|
7373
|
+
disabled: boolean;
|
|
7374
|
+
passwordlessAccess: boolean;
|
|
7375
|
+
poolerEnabled: boolean;
|
|
7376
|
+
poolerMode: _neondatabase_api_client.EndpointPoolerMode;
|
|
7377
|
+
provisioner: _neondatabase_api_client.Provisioner;
|
|
7378
|
+
proxyHost: string;
|
|
7379
|
+
suspendTimeoutSeconds: number;
|
|
7380
|
+
autoscalingLimitMinCU: number;
|
|
7381
|
+
autoscalingLimitMaxCU: number;
|
|
7382
|
+
lastActive?: string | undefined;
|
|
7383
|
+
pendingState?: any;
|
|
7384
|
+
};
|
|
7385
|
+
_output_out: {
|
|
7386
|
+
id: string;
|
|
7387
|
+
createdAt: string;
|
|
7388
|
+
updatedAt: string;
|
|
7389
|
+
type: _neondatabase_api_client.EndpointType;
|
|
7390
|
+
host: string;
|
|
7391
|
+
branchId: string;
|
|
7392
|
+
currentState: _neondatabase_api_client.EndpointState;
|
|
7393
|
+
regionId: string;
|
|
7394
|
+
creationSource: string;
|
|
7395
|
+
disabled: boolean;
|
|
7396
|
+
passwordlessAccess: boolean;
|
|
7397
|
+
poolerEnabled: boolean;
|
|
7398
|
+
poolerMode: _neondatabase_api_client.EndpointPoolerMode;
|
|
7399
|
+
provisioner: _neondatabase_api_client.Provisioner;
|
|
7400
|
+
proxyHost: string;
|
|
7401
|
+
suspendTimeoutSeconds: number;
|
|
7402
|
+
autoscalingLimitMinCU: number;
|
|
7403
|
+
autoscalingLimitMaxCU: number;
|
|
7404
|
+
lastActive?: string | undefined;
|
|
7405
|
+
pendingState?: any;
|
|
7406
|
+
};
|
|
7407
|
+
}, unknown>>;
|
|
7408
|
+
};
|
|
7123
7409
|
getProjectEndpoints: {
|
|
7124
7410
|
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
7125
7411
|
_config: import("@trpc/server").RootConfig<{
|
|
@@ -7419,6 +7705,81 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
7419
7705
|
};
|
|
7420
7706
|
}, unknown>>;
|
|
7421
7707
|
};
|
|
7708
|
+
update: {
|
|
7709
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
7710
|
+
_config: import("@trpc/server").RootConfig<{
|
|
7711
|
+
ctx: {};
|
|
7712
|
+
meta: object;
|
|
7713
|
+
errorShape: {
|
|
7714
|
+
message: string;
|
|
7715
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
7716
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
7717
|
+
} | {
|
|
7718
|
+
data: {
|
|
7719
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
7720
|
+
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";
|
|
7721
|
+
httpStatus: number;
|
|
7722
|
+
path?: string | undefined;
|
|
7723
|
+
stack?: string | undefined;
|
|
7724
|
+
};
|
|
7725
|
+
message: string;
|
|
7726
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
7727
|
+
};
|
|
7728
|
+
transformer: typeof superjson;
|
|
7729
|
+
}>;
|
|
7730
|
+
_meta: object;
|
|
7731
|
+
_ctx_out: {
|
|
7732
|
+
session: {
|
|
7733
|
+
appId: string;
|
|
7734
|
+
appPlanId: string | null;
|
|
7735
|
+
appFakeUserId: string | undefined;
|
|
7736
|
+
sessionId: string;
|
|
7737
|
+
accountId: string;
|
|
7738
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
7739
|
+
userId: string;
|
|
7740
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
7741
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
7742
|
+
isCare?: boolean | undefined;
|
|
7743
|
+
};
|
|
7744
|
+
req: {
|
|
7745
|
+
headers: Headers;
|
|
7746
|
+
};
|
|
7747
|
+
res: {
|
|
7748
|
+
headers: Headers;
|
|
7749
|
+
};
|
|
7750
|
+
locale: Locales;
|
|
7751
|
+
ls: TranslationFunctions;
|
|
7752
|
+
};
|
|
7753
|
+
_input_in: {
|
|
7754
|
+
appId?: string | undefined;
|
|
7755
|
+
} & {
|
|
7756
|
+
endpointId: string;
|
|
7757
|
+
} & {
|
|
7758
|
+
disabled?: boolean | undefined;
|
|
7759
|
+
passwordlessAccess?: boolean | undefined;
|
|
7760
|
+
suspendTimeoutSeconds?: number | undefined;
|
|
7761
|
+
autoscalingLimitMinCU?: number | undefined;
|
|
7762
|
+
autoscalingLimitMaxCU?: number | undefined;
|
|
7763
|
+
};
|
|
7764
|
+
_input_out: {
|
|
7765
|
+
appId?: string | undefined;
|
|
7766
|
+
} & {
|
|
7767
|
+
endpointId: string;
|
|
7768
|
+
} & {
|
|
7769
|
+
disabled?: boolean | undefined;
|
|
7770
|
+
passwordlessAccess?: boolean | undefined;
|
|
7771
|
+
suspendTimeoutSeconds?: number | undefined;
|
|
7772
|
+
autoscalingLimitMinCU?: number | undefined;
|
|
7773
|
+
autoscalingLimitMaxCU?: number | undefined;
|
|
7774
|
+
};
|
|
7775
|
+
_output_in: {
|
|
7776
|
+
isUpdated: boolean;
|
|
7777
|
+
};
|
|
7778
|
+
_output_out: {
|
|
7779
|
+
isUpdated: boolean;
|
|
7780
|
+
};
|
|
7781
|
+
}, unknown>>;
|
|
7782
|
+
};
|
|
7422
7783
|
};
|
|
7423
7784
|
};
|
|
7424
7785
|
faq: {
|
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.9.
|
|
5
|
+
"version": "1.9.2",
|
|
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.18.0-dev.7",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|