Function
add
(
this: Top,
...toAdd: NonEmptyReadonlyArray<HttpApiGroup.Top>
)
Source from the content-addressed store, hash-verified
| 139 | return pipeArguments(this, arguments) |
| 140 | }, |
| 141 | add( |
| 142 | this: Top, |
| 143 | ...toAdd: NonEmptyReadonlyArray<HttpApiGroup.Top> |
| 144 | ) { |
| 145 | const groups = { ...this.groups } |
| 146 | for (const group of toAdd) { |
| 147 | InternalRecord.assignProperty(groups, group.identifier, group) |
| 148 | } |
| 149 | return makeProto({ |
| 150 | ...optionsFromApi(this), |
| 151 | groups |
| 152 | }) |
| 153 | }, |
| 154 | addHttpApi( |
| 155 | this: Top, |
| 156 | api: Top |
Callers
nothing calls this directly
Tested by
no test coverage detected