@danxbot/ui 20.1.0 → 20.1.1
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.
|
@@ -4,7 +4,7 @@ export interface AgentKeysListProps {
|
|
|
4
4
|
/** The keys agents hold, already scoped to the person. */
|
|
5
5
|
keys: ApiKey[];
|
|
6
6
|
onRevoke: (id: number) => Promise<void>;
|
|
7
|
-
/** The id of a key currently mid-revoke. Disables just that row. */
|
|
7
|
+
/** The id of a key currently mid-revoke or mid-role-change. Disables just that row's controls. */
|
|
8
8
|
busyId?: number | null;
|
|
9
9
|
/** Makes each key's role editable in place. Omit for a read-only role badge. */
|
|
10
10
|
roleEditor?: KeyRoleEditor;
|
|
@@ -27,7 +27,7 @@ export interface KeyRoleEditor {
|
|
|
27
27
|
export interface ApiKeysTableProps {
|
|
28
28
|
keys: ApiKey[];
|
|
29
29
|
onRevoke: (id: number) => Promise<void>;
|
|
30
|
-
/** The id of a key currently mid-revoke. Disables just that row. */
|
|
30
|
+
/** The id of a key currently mid-revoke or mid-role-change. Disables just that row's controls. */
|
|
31
31
|
busyId?: number | null;
|
|
32
32
|
/** Makes each key's role editable in place (DX-4427). Omit for a read-only role badge. */
|
|
33
33
|
roleEditor?: KeyRoleEditor;
|