@breign/db-schemas 0.1.13 → 0.1.15
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/tool.d.ts +11 -0
- package/package.json +1 -1
- package/src/types/tool.ts +12 -1
package/dist/types/tool.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export type Tool = {
|
|
|
11
11
|
clientSecret?: string;
|
|
12
12
|
clientName: string;
|
|
13
13
|
public: boolean;
|
|
14
|
+
authorizationServer: string;
|
|
14
15
|
authorizationServerMetadata?: {
|
|
15
16
|
issuer: string;
|
|
16
17
|
authorization_endpoint: string;
|
|
@@ -36,4 +37,14 @@ export type Tool = {
|
|
|
36
37
|
* If false, the tools cannot be used.
|
|
37
38
|
*/
|
|
38
39
|
isSetup?: boolean;
|
|
40
|
+
credentials?: {
|
|
41
|
+
[userId: string]: {
|
|
42
|
+
codeChallenge: string;
|
|
43
|
+
codeVerifier: string;
|
|
44
|
+
requestedAt: string;
|
|
45
|
+
requestedBy: string;
|
|
46
|
+
scope: string;
|
|
47
|
+
state: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
39
50
|
};
|
package/package.json
CHANGED
package/src/types/tool.ts
CHANGED
|
@@ -11,13 +11,14 @@ export type Tool = {
|
|
|
11
11
|
clientSecret?: string;
|
|
12
12
|
clientName: string;
|
|
13
13
|
public: boolean;
|
|
14
|
+
authorizationServer: string;
|
|
14
15
|
authorizationServerMetadata?: {
|
|
15
16
|
issuer: string;
|
|
16
17
|
authorization_endpoint: string;
|
|
17
18
|
token_endpoint: string;
|
|
18
19
|
jwk_uri: string;
|
|
19
20
|
registration_endpoint: string;
|
|
20
|
-
}
|
|
21
|
+
};
|
|
21
22
|
};
|
|
22
23
|
};
|
|
23
24
|
mcp?: {
|
|
@@ -36,4 +37,14 @@ export type Tool = {
|
|
|
36
37
|
* If false, the tools cannot be used.
|
|
37
38
|
*/
|
|
38
39
|
isSetup?: boolean;
|
|
40
|
+
credentials?: {
|
|
41
|
+
[userId: string]: {
|
|
42
|
+
codeChallenge: string;
|
|
43
|
+
codeVerifier: string;
|
|
44
|
+
requestedAt: string;
|
|
45
|
+
requestedBy: string;
|
|
46
|
+
scope: string;
|
|
47
|
+
state: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
39
50
|
};
|