mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-22 20:38:10 +00:00
feat(tlon): add ownerShip to setup flow
ownerShip should always be set as it controls who receives approval requests and can approve/deny actions.
This commit is contained in:
committed by
Josh Lehman
parent
a7f3113d63
commit
89ec723ec9
@@ -6,6 +6,7 @@ export type TlonAccountFieldsInput = {
|
||||
groupChannels?: string[];
|
||||
dmAllowlist?: string[];
|
||||
autoDiscoverChannels?: boolean;
|
||||
ownerShip?: string;
|
||||
};
|
||||
|
||||
export function buildTlonAccountFields(input: TlonAccountFieldsInput) {
|
||||
@@ -21,5 +22,6 @@ export function buildTlonAccountFields(input: TlonAccountFieldsInput) {
|
||||
...(typeof input.autoDiscoverChannels === "boolean"
|
||||
? { autoDiscoverChannels: input.autoDiscoverChannels }
|
||||
: {}),
|
||||
...(input.ownerShip ? { ownerShip: input.ownerShip } : {}),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -86,6 +86,7 @@ type TlonSetupInput = ChannelSetupInput & {
|
||||
groupChannels?: string[];
|
||||
dmAllowlist?: string[];
|
||||
autoDiscoverChannels?: boolean;
|
||||
ownerShip?: string;
|
||||
};
|
||||
|
||||
function applyTlonSetupConfig(params: {
|
||||
|
||||
Reference in New Issue
Block a user