6352591787
Co-authored-by: Kandev Agent <agent@kandev.dev> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
16 lines
668 B
TypeScript
16 lines
668 B
TypeScript
/**
|
|
* Props every integration's enable/disable slider takes.
|
|
*
|
|
* The toggle is per workspace, so the slider always names the workspace it
|
|
* writes. `undefined` means "no workspace resolved yet" and falls back to the
|
|
* pre-scoping install-wide value; the settings routes that render these
|
|
* sliders always know their workspace, so that path is only the brief moment
|
|
* before one is resolved.
|
|
*/
|
|
export type IntegrationEnabledControlProps = {
|
|
// Required (though it may be `undefined`) so a render site that forgets to
|
|
// name its workspace fails to compile rather than silently editing another
|
|
// workspace's toggle.
|
|
workspaceId: string | undefined;
|
|
};
|