(
options: {
readonly identifier: Id
readonly groups: Record.ReadonlyRecord<string, Groups>
readonly annotations: Context.Context<never>
}
)
| 178 | middleware(this: Top, tag: HttpApiMiddleware.AnyService) { |
| 179 | return makeProto({ |
| 180 | ...optionsFromApi(this), |
| 181 | groups: Record.map(this.groups, (group) => group.middleware(tag as any)) |
| 182 | }) |
| 183 | }, |
| 184 | annotate(this: Top, key: Context.Key<any, any>, value: any) { |
| 185 | return makeProto({ |
| 186 | ...optionsFromApi(this), |
| 187 | annotations: Context.add(this.annotations, key, value) |
| 188 | }) |
| 189 | }, |
| 190 | annotateMerge(this: Top, annotations: Context.Context<never>) { |
| 191 | return makeProto({ |
| 192 | ...optionsFromApi(this), |
| 193 | annotations: Context.merge(this.annotations, annotations) |
| 194 | }) |
| 195 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…