@anchrd/colab-sdk 0.1.21 → 0.1.22
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/sdk.d.ts +1 -1
- package/dist/sdk.js +1 -1
- package/dist/services/services.d.ts +6 -0
- package/dist/services/services.js +6 -0
- package/package.json +1 -1
package/dist/sdk.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export { RuntimeConfig } from "./runtime-config.js";
|
|
|
40
40
|
export { rhythms, Schedule, WhileOpen, weekdays, whileOpenModes } from "./schedule/schedule.js";
|
|
41
41
|
export { NodeSecret, NodeSecretCreateInput, NodeSecretDetail, NodeSecretGetInput, NodeSecretRemoveInput, NodeSecretUpdateInput, NodeUnlocked, NodeUnlockInput, unlockMinutes, } from "./secrets/secrets.js";
|
|
42
42
|
export { type Authorized, type AuthorizeResult, createServiceClient, type InterfaceDeclaredResult, type InterfaceRemovedResult, type ServiceClient, type ServiceClientDeps, type ServiceClientFailure, } from "./service-client/service-client.js";
|
|
43
|
-
export { FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
|
|
43
|
+
export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
|
|
44
44
|
export { SignInProviders, Sso, SsoId, SsoList, SsoListInput, SsoRemoveInput, SsoSource, SsoUpdateInput, ssoIds, } from "./sso/sso.js";
|
|
45
45
|
export { TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableGetInput, TableId, TableSaved, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
|
|
46
46
|
export { type Actor, defineTool, type Permission, type Tool, type ToolAnnotations, type ToolContext, type ToolInput, type ToolSource, } from "./tool.js";
|
package/dist/sdk.js
CHANGED
|
@@ -43,7 +43,7 @@ export { RuntimeConfig } from "./runtime-config.js";
|
|
|
43
43
|
export { rhythms, Schedule, WhileOpen, weekdays, whileOpenModes } from "./schedule/schedule.js";
|
|
44
44
|
export { NodeSecret, NodeSecretCreateInput, NodeSecretDetail, NodeSecretGetInput, NodeSecretRemoveInput, NodeSecretUpdateInput, NodeUnlocked, NodeUnlockInput, unlockMinutes, } from "./secrets/secrets.js";
|
|
45
45
|
export { createServiceClient, } from "./service-client/service-client.js";
|
|
46
|
-
export { FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
|
|
46
|
+
export { ConsentResource, FunctionId, InterfaceId, RightWord, Service, ServiceArchiveInput, ServiceCreateInput, ServiceFunction, ServiceId, ServiceInterface, ServiceKeyIssued, ServiceList, ServiceListInput, ServiceName, ServicePurged, ServicePurgeInput, ServiceRestoreInput, ServiceRotateInput, ServiceUpdateInput, } from "./services/services.js";
|
|
47
47
|
export { SignInProviders, Sso, SsoId, SsoList, SsoListInput, SsoRemoveInput, SsoSource, SsoUpdateInput, ssoIds, } from "./sso/sso.js";
|
|
48
48
|
export { TableColumn, TableColumnChange, TableColumnType, TableCreateInput, TableDetail, TableExcerpt, TableGetInput, TableId, TableSaved, TableUpdateInput, tableColumnTypes, tableFormats, } from "./tables/tables.js";
|
|
49
49
|
export { defineTool, } from "./tool.js";
|
|
@@ -120,3 +120,9 @@ export declare const ServicePurged: z.ZodObject<{
|
|
|
120
120
|
grants: z.ZodNumber;
|
|
121
121
|
}, z.core.$strip>;
|
|
122
122
|
export type ServicePurged = z.infer<typeof ServicePurged>;
|
|
123
|
+
export declare const ConsentResource: z.ZodObject<{
|
|
124
|
+
service: z.ZodNullable<z.ZodObject<{
|
|
125
|
+
name: z.ZodString;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
export type ConsentResource = z.infer<typeof ConsentResource>;
|
|
@@ -87,3 +87,9 @@ export const ServicePurged = z.object({
|
|
|
87
87
|
name: z.string(),
|
|
88
88
|
grants: z.number().int(),
|
|
89
89
|
});
|
|
90
|
+
// The service a consent is asked for (E138, #633): what `GET /auth/oauth2/public-resource` answers
|
|
91
|
+
// the consent page for the `resource` of the authorization request. Null for `/mcp` and for anything
|
|
92
|
+
// that is no service's OAuth resource.
|
|
93
|
+
export const ConsentResource = z.object({
|
|
94
|
+
service: z.object({ name: z.string() }).nullable(),
|
|
95
|
+
});
|
package/package.json
CHANGED