@camstack/types 1.2.350 → 1.2.352
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.
|
@@ -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<{
|
|
@@ -11326,7 +11326,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11326
11326
|
}>;
|
|
11327
11327
|
revokeCredentials: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11328
11328
|
input: {
|
|
11329
|
-
kind: "share-link" | "admin-token" | "login-session";
|
|
11329
|
+
kind: "share-link" | "admin-token" | "login-session" | "scoped-token" | "oauth-session";
|
|
11330
11330
|
ids: string[];
|
|
11331
11331
|
confirmCount: number;
|
|
11332
11332
|
};
|
|
@@ -11970,7 +11970,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11970
11970
|
}>;
|
|
11971
11971
|
revokeCredentials: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11972
11972
|
input: {
|
|
11973
|
-
kind: "share-link" | "admin-token" | "login-session";
|
|
11973
|
+
kind: "share-link" | "admin-token" | "login-session" | "scoped-token" | "oauth-session";
|
|
11974
11974
|
ids: string[];
|
|
11975
11975
|
confirmCount: number;
|
|
11976
11976
|
};
|
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({
|