MCPcopy Create free account
hub / github.com/hashintel/hash / setup-admin.ts

File setup-admin.ts

apps/hash-api/src/setup-admin.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createInterface } from "node:readline/promises";
2
3import { createGraphClient } from "@local/hash-backend-utils/create-graph-client";
4import { getRequiredEnv } from "@local/hash-backend-utils/environment";

Callers

nothing calls this directly

Calls 14

createGraphClientFunction · 0.90
getRequiredEnvFunction · 0.90
createTemporalClientFunction · 0.90
getUserFunction · 0.90
isUserHashInstanceAdminFunction · 0.90
getInstanceAdminsTeamFunction · 0.90
addActorGroupMemberFunction · 0.90
createKratosIdentityFunction · 0.90
createUserFunction · 0.90
promptVisibleFunction · 0.85
promptHiddenFunction · 0.85

Tested by

no test coverage detected