Function: addAgentToDomain()
addAgentToDomain(
directory): (id,agent,version?) =>Promise<void>
Defined in: domains.ts:402
Add an agent to a domain by its id.
Optionally specify a version to add the agent to a specific version of the domain.
Parameters
| Parameter | Type |
|---|---|
directory | string |
Returns
Function
Parameters
| Parameter | Type |
|---|---|
id | string |
agent | { id: string; version: string; } |
agent.id | string |
agent.version? | string |
version? | string |
Returns
Promise<void>