Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexdebrie/dynamodb-instagram
/ functions
Functions
58 in github.com/alexdebrie/dynamodb-instagram
⨍
Functions
58
◇
Types & classes
11
↓ 11 callers
Function
getClient
()
src/data/client.ts:5
↓ 4 callers
Method
fromItem
(item?: DynamoDB.AttributeMap)
src/data/follow.ts:18
↓ 3 callers
Function
executeTransactWrite
({ client, params }: executeTransactWriteInput)
src/data/utils.ts:9
↓ 3 callers
Function
run
(program: string, xargs: string[])
scripts/helpers.ts:20
↓ 1 callers
Function
commentOnPhoto
(photo: Photo, commentingUsername: string, content: string)
src/data/comment.ts:47
↓ 1 callers
Function
createPhoto
(photo: Photo)
src/data/photo.ts:54
↓ 1 callers
Function
createUser
(user: User)
src/data/user.ts:43
↓ 1 callers
Function
followUser
(followedUsername: string, followingUsername: string)
src/data/follow.ts:50
↓ 1 callers
Method
fromItem
(item?: DynamoDB.AttributeMap)
src/data/like.ts:21
↓ 1 callers
Method
fromItem
(item?: DynamoDB.AttributeMap)
src/data/user.ts:19
↓ 1 callers
Method
fromItem
(item?: DynamoDB.AttributeMap)
src/data/photo.ts:23
↓ 1 callers
Method
fromItem
(item?: DynamoDB.AttributeMap)
src/data/comment.ts:23
↓ 1 callers
Function
getPhoto
(username: string, photoId: string)
src/data/photo.ts:71
↓ 1 callers
Function
getUser
(username: string)
src/data/user.ts:61
↓ 1 callers
Function
likePhoto
(photo: Photo, likingUsername: string)
src/data/like.ts:54
↓ 1 callers
Function
listCommentsForPhoto
(photoId: string)
src/data/comment.ts:87
↓ 1 callers
Function
listFollowedByUser
(username: string)
src/data/follow.ts:148
↓ 1 callers
Function
listFollowersOfUser
(username: string)
src/data/follow.ts:106
↓ 1 callers
Function
listLikesForPhoto
(photoId: string)
src/data/like.ts:94
↓ 1 callers
Function
main
()
scripts/offline.ts:9
↓ 1 callers
Method
toItem
()
src/data/follow.ts:39
↓ 1 callers
Method
toItem
()
src/data/like.ts:42
↓ 1 callers
Method
toItem
()
src/data/user.ts:32
↓ 1 callers
Method
toItem
()
src/data/photo.ts:42
↓ 1 callers
Method
toItem
()
src/data/comment.ts:36
Method
constructor
(followedUsername: string, followingUsername: string)
src/data/follow.ts:12
Method
constructor
(likingUsername: string, photoId: string, likeId: string = ulid())
src/data/like.ts:14
Method
constructor
(username: string, name?: string, followerCount?: number, followingCount?: number)
src/data/user.ts:11
Method
constructor
(username: string, url?: string, photoId: string = ulid(), likesCount?: number, commentCount?: number)
src/data/photo.ts:14
Method
constructor
(commentingUsername: string, photoId: string, content: string, commentId: string = ulid())
src/data/comment.ts:15
Method
gsi1pk
()
src/data/follow.ts:31
Method
gsi1pk
()
src/data/like.ts:34
Method
gsi1sk
()
src/data/follow.ts:35
Method
gsi1sk
()
src/data/like.ts:38
Function
keys
()
src/data/base.ts:7
Function
main
(event: APIGatewayProxyEvent)
src/handlers/listLikesForPhoto.ts:4
Function
main
(event: APIGatewayProxyEvent)
src/handlers/listFollowersOfUser.ts:4
Function
main
(event: APIGatewayProxyEvent)
src/handlers/createPhoto.ts:4
Function
main
(event: APIGatewayProxyEvent)
src/handlers/getUser.ts:4
Function
main
(event: APIGatewayProxyEvent)
src/handlers/listCommentsForPhoto.ts:4
Function
main
(event: APIGatewayProxyEvent)
src/handlers/commentOnPhoto.ts:5
Function
main
(event: APIGatewayProxyEvent)
src/handlers/listFollowedByUser.ts:4
Function
main
(event: APIGatewayProxyEvent)
src/handlers/likePhoto.ts:5
Function
main
(event: APIGatewayProxyEvent)
src/handlers/createUser.ts:4
Function
main
(event: APIGatewayProxyEvent)
src/handlers/followUser.ts:4
Function
main
(event: APIGatewayProxyEvent)
src/handlers/getPhoto.ts:4
Function
offlineUrl
({ env = "dev", port = httpPort, path })
scripts/helpers.ts:7
Method
pk
()
src/data/follow.ts:23
Method
pk
()
src/data/like.ts:26
Method
pk
()
src/data/user.ts:24
Method
pk
()
src/data/photo.ts:34
Method
pk
()
src/data/comment.ts:28
Method
sk
()
src/data/follow.ts:27
Method
sk
()
src/data/like.ts:30
Method
sk
()
src/data/user.ts:28
Method
sk
()
src/data/photo.ts:38
Method
sk
()
src/data/comment.ts:32
Function
waitForPort
({ port = 3002, retries = 250, timeout = 10000 })
scripts/helpers.ts:9