MCPcopy Index your code
hub / github.com/CapSoftware/Cap / s3Config.ts

File s3Config.ts

apps/web/app/api/desktop/[...route]/s3Config.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { HeadBucketCommand, S3Client } from "@aws-sdk/client-s3";
2import { db } from "@cap/database";
3import { decrypt, encrypt } from "@cap/database/crypto";
4import { nanoId } from "@cap/database/helpers";

Callers

nothing calls this directly

Calls 10

encryptFunction · 0.90
dbFunction · 0.90
getOrganizationS3BucketFunction · 0.90
decryptBucketConfigFunction · 0.85
updateMethod · 0.80
abortMethod · 0.80
getS3ErrorMetadataFunction · 0.70
sendMethod · 0.45

Tested by

no test coverage detected