MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / allRequiredActions

Function allRequiredActions

packages/cli/src/commands/lambda/policies.ts:153–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151
152/** All required actions flattened, deduped, sorted. */
153export function allRequiredActions(): string[] {
154 const set = new Set<string>();
155 for (const group of Object.values(REQUIRED_ACTIONS)) {
156 for (const action of group) set.add(action);
157 }
158 return [...set].sort();
159}
160
161/**
162 * Emit a single, broad `Allow *` policy doc. Resource is `*` because the

Callers 3

buildPolicyDocumentFunction · 0.85
validatePolicyFunction · 0.85
policies.test.tsFile · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected