@camstack/types 1.2.350 → 1.2.351
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/capabilities/broker.cap.d.ts +4 -0
- package/dist/index.js +8 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
|
@@ -90,6 +90,8 @@ declare const BrokerProviderInfoSchema: z.ZodObject<{
|
|
|
90
90
|
kinds: z.ZodArray<z.ZodObject<{
|
|
91
91
|
kind: z.ZodString;
|
|
92
92
|
label: z.ZodString;
|
|
93
|
+
interactiveConnectPath: z.ZodOptional<z.ZodString>;
|
|
94
|
+
interactiveDisconnectPath: z.ZodOptional<z.ZodString>;
|
|
93
95
|
}, z.core.$strip>>;
|
|
94
96
|
}, z.core.$strip>;
|
|
95
97
|
export type BrokerProviderInfo = z.infer<typeof BrokerProviderInfoSchema>;
|
|
@@ -200,6 +202,8 @@ export declare const brokerCapability: {
|
|
|
200
202
|
kinds: z.ZodArray<z.ZodObject<{
|
|
201
203
|
kind: z.ZodString;
|
|
202
204
|
label: z.ZodString;
|
|
205
|
+
interactiveConnectPath: z.ZodOptional<z.ZodString>;
|
|
206
|
+
interactiveDisconnectPath: z.ZodOptional<z.ZodString>;
|
|
203
207
|
}, z.core.$strip>>;
|
|
204
208
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
205
209
|
readonly add: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -8846,7 +8846,14 @@ var BrokerProviderInfoSchema = zod.z.object({
|
|
|
8846
8846
|
/** Broker kinds this provider can create, with a display label. */
|
|
8847
8847
|
kinds: zod.z.array(zod.z.object({
|
|
8848
8848
|
kind: zod.z.string(),
|
|
8849
|
-
label: zod.z.string()
|
|
8849
|
+
label: zod.z.string(),
|
|
8850
|
+
/**
|
|
8851
|
+
* Relative hub path to start an interactive account link (OAuth popup).
|
|
8852
|
+
* May include `{{brokerId}}`; admin-ui substitutes and appends `?popup=1`.
|
|
8853
|
+
*/
|
|
8854
|
+
interactiveConnectPath: zod.z.string().min(1).optional(),
|
|
8855
|
+
/** Relative hub path to disconnect the linked account (same popup pattern). */
|
|
8856
|
+
interactiveDisconnectPath: zod.z.string().min(1).optional()
|
|
8850
8857
|
}))
|
|
8851
8858
|
});
|
|
8852
8859
|
var ListInputSchema = zod.z.object({
|
package/dist/index.mjs
CHANGED
|
@@ -8845,7 +8845,14 @@ var BrokerProviderInfoSchema = z.object({
|
|
|
8845
8845
|
/** Broker kinds this provider can create, with a display label. */
|
|
8846
8846
|
kinds: z.array(z.object({
|
|
8847
8847
|
kind: z.string(),
|
|
8848
|
-
label: z.string()
|
|
8848
|
+
label: z.string(),
|
|
8849
|
+
/**
|
|
8850
|
+
* Relative hub path to start an interactive account link (OAuth popup).
|
|
8851
|
+
* May include `{{brokerId}}`; admin-ui substitutes and appends `?popup=1`.
|
|
8852
|
+
*/
|
|
8853
|
+
interactiveConnectPath: z.string().min(1).optional(),
|
|
8854
|
+
/** Relative hub path to disconnect the linked account (same popup pattern). */
|
|
8855
|
+
interactiveDisconnectPath: z.string().min(1).optional()
|
|
8849
8856
|
}))
|
|
8850
8857
|
});
|
|
8851
8858
|
var ListInputSchema = z.object({
|