(value: string)
| 411 | } |
| 412 | |
| 413 | private fromNanoseconds(value: string): string { |
| 414 | let parsed: bigint; |
| 415 | try { |
| 416 | parsed = BigInt(value); |
| 417 | } catch { |
| 418 | parsed = BigInt(Date.now()) * 1000000n; |
| 419 | } |
| 420 | const millis = Number(parsed / 1000000n); |
| 421 | return new Date(millis).toISOString(); |
| 422 | } |
| 423 | |
| 424 | private requireOrganizationId(auth: AuthContext | null): string { |
| 425 | const organizationId = auth?.organizationId; |
no outgoing calls
no test coverage detected