MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / getEndpointId

Method getEndpointId

packages/cli/src/utils/jsRuntime.ts:145–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143 return undefined;
144 }
145 async getEndpointId() {
146 const pkgJsonPath = await this.getDenoJsonPath();
147 const pkgBuffer = await fs.readFile(pkgJsonPath);
148 const pkgJson = JSON.parse(pkgBuffer.toString());
149 return pkgJson["trigger.dev"]?.endpointId;
150 }
151}

Callers 1

getEndpointIdFunction · 0.45

Calls 3

getDenoJsonPathMethod · 0.95
parseMethod · 0.80
toStringMethod · 0.80

Tested by

no test coverage detected