(
context: { graphApi: GraphApi },
authentication: { actorId: ActorEntityUuid },
{ webId }: { webId: WebId },
)
| 55 | ); |
| 56 | |
| 57 | export const getWebMachineId = async ( |
| 58 | context: { graphApi: GraphApi }, |
| 59 | authentication: { actorId: ActorEntityUuid }, |
| 60 | { webId }: { webId: WebId }, |
| 61 | ): Promise<MachineId | null> => |
| 62 | getMachineIdByIdentifier(context, authentication, { |
| 63 | identifier: `system-${webId}`, |
| 64 | }); |
| 65 | |
| 66 | export const getMachineEntityByIdentifier = async ( |
| 67 | context: { graphApi: GraphApi }, |
no test coverage detected