(tenantId: string)
| 451 | |
| 452 | const localOwnerForScope = |
| 453 | (tenantId: string) => |
| 454 | (scopeId: string): OwnerKeys | null => { |
| 455 | const cloud = parseScope(scopeId); |
| 456 | if (cloud) return cloud; |
| 457 | return { owner: "org", subject: "", tenant: tenantId }; |
| 458 | }; |
| 459 | |
| 460 | const readV1Snapshot = async (client: Client, tenantId: string): Promise<LocalV1Snapshot> => { |
| 461 | const hasDefinition = await tableExists(client, "definition"); |
no test coverage detected