MCPcopy
hub / github.com/npmx-dev/npmx.dev / approveAll

Method approveAll

cli/src/mock-state.ts:238–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 }
237
238 approveAll(): number {
239 let count = 0
240 for (const op of this.state.operations) {
241 if (op.status === 'pending') {
242 op.status = 'approved'
243 count++
244 }
245 }
246 return count
247 }
248
249 retryOperation(id: string): PendingOperation | null {
250 const operation = this.state.operations.find(op => op.id === id)

Callers 1

createMockConnectorAppFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected