(
methods: Iterable<RpcMethod>,
definitionCollections: DefinitionCollections
)
| 1366 | } |
| 1367 | |
| 1368 | export function collectRpcMethodReferencedDefinitionNames( |
| 1369 | methods: Iterable<RpcMethod>, |
| 1370 | definitionCollections: DefinitionCollections |
| 1371 | ): Set<string> { |
| 1372 | const schemas: Array<JSONSchema7 | null | undefined> = []; |
| 1373 | for (const method of methods) { |
| 1374 | schemas.push(method.params, method.result); |
| 1375 | } |
| 1376 | |
| 1377 | return collectSchemaReferencedDefinitionNames(schemas, definitionCollections); |
| 1378 | } |
| 1379 | |
| 1380 | export function collectExperimentalOnlyRpcReferencedDefinitionNames( |
| 1381 | methods: Iterable<RpcMethod>, |
no test coverage detected
searching dependent graphs…