Type Alias: NosanaJobsApi
ts
type NosanaJobsApi = Omit<NosanaJobsApiMethods, "get"> & object;Authenticated: get returns the job's current state merged with its node job API, so (await jobs.get(id)).ssh.add(key) works. Until a node picks the job up, the node methods are present but fail saying so.
Type Declaration
| Name | Type |
|---|---|
get() | (request) => Promise<NodeJob> |