Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pocket/pocket-monorepo
/ functions
Functions
2,695 in github.com/Pocket/pocket-monorepo
⨍
Functions
2,695
◇
Types & classes
1,023
↓ 6 callers
Function
Mt
(e,t,r,n,i)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 6 callers
Function
UserFirefoxAccountSeed
( input?: Partial<db.UserFirefoxAccount>, )
servers/user-api/src/test/functional/seeds.ts:132
↓ 6 callers
Method
addSuggestion
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 6 callers
Function
ar
(e,t)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:177
↓ 6 callers
Function
atLeastOneOf
( obj: T, keys: K[], )
servers/list-api/src/resolvers/utils.ts:118
↓ 6 callers
Method
batchDeleteUserInformation
* Deletes rows provided for the given table and columnName:columnValue * pairs. * Sleep between deletes so replication lags can catch up. * I
servers/account-data-deleter/src/dataService/accountDeleteDataService.ts:126
↓ 6 callers
Method
batchGetSavedItemsByGivenIds
* Fetch all SavedItems via a list of unique ids from a user's list * @param itemIds the id of the items to fetch
servers/list-api/src/dataService/savedItemsService.ts:180
↓ 6 callers
Function
buildSearchBody
({ term, fields, from, size, sort, filters, highlightFields, functionalBoosts, }: ElasticSearc
servers/user-list-search/src/datasource/elasticsearch/elasticsearchSearch.ts:300
↓ 6 callers
Function
contactHash
(contact: string, contactType: number)
servers/user-api/src/utils/email.ts:41
↓ 6 callers
Function
contextConnection
(query: string)
servers/list-api/src/server/apollo.ts:43
↓ 6 callers
Function
countAncestors
(node: Node, nodeName: string)
servers/parser-graphql-wrapper/src/marticle/utils.ts:11
↓ 6 callers
Method
deduplicateTagHotfix
* Revert after POCKET-10777
servers/list-api/src/dataService/tagDataService.ts:610
↓ 6 callers
Method
deleteMany
* Delete zero or more Lists. * @param {ListDeleteManyArgs} args - Arguments to filter Lists to delete. * @example * // Delete a few Lis
servers/shareable-lists-api/prisma/src/generated/client/index.d.ts:1412
↓ 6 callers
Method
deleteStripeCustomers
* Make a request to delete stripe customer data * @param stripeIds array of stripe customer IDs to delete * @returns an array of successfully de
servers/account-data-deleter/src/dataService/stripeDataDeleter.ts:47
↓ 6 callers
Function
deliver
( events: any[], parameters: any, batchSize = 500, )
lambdas/sendgrid-data/src/sendgrid/firehose.ts:27
↓ 6 callers
Function
dynamoClient
()
servers/parser-graphql-wrapper/src/datasources/dynamoClient.ts:23
↓ 6 callers
Function
fetchSecret
( secretName: string, )
packages/lambda-secrets/src/secrets.ts:10
↓ 6 callers
Method
generateAutoScalingTarget
* Creates an Auto Scaling Target * @param resource * @param config * @returns appautoscalingTarget.AppautoscalingTarget
packages/terraform-modules/src/base/ApplicationAutoscaling.ts:96
↓ 6 callers
Method
generateAutoSclaingPolicy
* Creates an Autoscaling Policy * @param resource * @param config * @param target * @param type * @returns appautoscalingPolicy.Appauto
packages/terraform-modules/src/base/ApplicationAutoscaling.ts:122
↓ 6 callers
Function
generateEvents
(data: FxaPayload)
lambdas/fxa-webook-proxy-gateway/src/index.ts:43
↓ 6 callers
Function
getClient
(localMocks?: FeatureInterface[])
servers/list-api/src/featureFlags/client.ts:8
↓ 6 callers
Function
getContentType
(item: ParserItem)
servers/user-list-search/src/saves/elasticsearch.ts:48
↓ 6 callers
Method
getDeepFieldValue
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:165
↓ 6 callers
Function
getRootDomain
(inputDomain: string)
packages/terraform-modules/src/utilities.ts:7
↓ 6 callers
Function
headingTransformer
* Transformer for heading tags * @param headingRoot the root node for the heading (h1, ... h6) * @param level the level of the heading * @returns M
servers/parser-graphql-wrapper/src/marticle/marticleParser.ts:340
↓ 6 callers
Function
itemFromUrl
( url: string, { dataLoaders, dataSources, databases }: IContext, )
servers/parser-graphql-wrapper/src/apollo/resolvers.ts:340
↓ 6 callers
Function
loadItemExtended
(db, seedData: SeedData)
servers/user-list-search/src/test/utils/searchIntegrationTestHelpers.ts:49
↓ 6 callers
Function
loadList
(db: Knex, seedData: SeedData)
servers/user-list-search/src/test/utils/searchIntegrationTestHelpers.ts:83
↓ 6 callers
Function
normalizeDate
(date?: string)
servers/parser-graphql-wrapper/src/datasources/parserApiUtils.ts:125
↓ 6 callers
Function
normalizeDate
(date: Date)
servers/user-list-search/src/shared/util.ts:20
↓ 6 callers
Function
normalizeEmail
(email: string)
servers/user-api/src/utils/email.ts:9
↓ 6 callers
Method
objectExists
* Check whether object exists in a Bucket with the given key. * Will return false if an error (repeatedly) prevents accessing * the file, even i
packages/aws-utils/src/S3Bucket.ts:308
↓ 6 callers
Function
parseFieldToInt
(field: string)
servers/shareable-lists-api/src/shared/resolvers/fields/PrismaBigInt.ts:18
↓ 6 callers
Function
parseIntOrNull
(val: any)
servers/parser-graphql-wrapper/src/datasources/parserApiUtils.ts:62
↓ 6 callers
Method
revokeToken
* Revoke an FxA access token, removing Pocket from integrated * apps in Mozilla account, and delete the database record * associated with Mozill
servers/account-data-deleter/src/dataService/FxaRevoker.ts:46
↓ 6 callers
Function
sanitizeTagName
(name: string)
servers/list-api/src/models/tag.ts:488
↓ 6 callers
Function
seedDb
(opts: SeedConfig)
servers/user-list-search/src/test/utils/saveSeeder.ts:248
↓ 6 callers
Method
sort
* Convert the sort options passed into the GraphQL * resolver into ES/opensearch request syntax.
servers/user-list-search/src/corpus/CorpusSearchQueryBuilder.ts:185
↓ 6 callers
Function
taylorSeries
(Ctor, n, x, y, isHyperbolic)
servers/shareable-lists-api/prisma/src/generated/client/runtime/index-browser.js:1835
↓ 6 callers
Function
testSavedItemFragment
( mockInput: SavedItemFragment = mockSavedItemFragment, )
servers/v3-proxy-api/src/test/fixtures/fixtures.ts:81
↓ 6 callers
Function
timeSeconds
(time: number)
servers/v3-proxy-api/src/routes/validations/shared.ts:6
↓ 6 callers
Function
tr
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:163
↓ 6 callers
Method
trackObjectUpdate
( ...[tracker, objectUpdate]: Parameters<typeof baseTrackObjectUpdate<T>> )
servers/shared-snowplow-consumer/src/snowplow/EventHandler.ts:11
↓ 6 callers
Method
writeDb
()
servers/user-api/src/dataService/userDataService.ts:40
↓ 5 callers
Method
$on
(n,i)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:177
↓ 5 callers
Function
AddItemTransformer
( savedItem: SavedItemWithParserMetadata, )
servers/v3-proxy-api/src/graph/add/toRest.ts:8
↓ 5 callers
Function
Dr
(e,t,r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:70
↓ 5 callers
Function
It
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callers
Function
Nr
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:21
↓ 5 callers
Function
Sr
(e,t,r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:18
↓ 5 callers
Function
Te
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:111
↓ 5 callers
Function
Ve
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:70
↓ 5 callers
Function
bulkIndex
( records: EventPayload[], )
lambdas/user-list-search-corpus-indexing/src/index.ts:66
↓ 5 callers
Function
c
()
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:6
↓ 5 callers
Function
checkRoundingDigits
(d, i, rm, repeating)
servers/shareable-lists-api/prisma/src/generated/client/runtime/index-browser.js:1133
↓ 5 callers
Method
collectErrors
(t="select")
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:155
↓ 5 callers
Function
createContextWithUserModels
(userModels: string[])
servers/feature-flags/src/unleashClient/strategy/hasUserModel.spec.ts:91
↓ 5 callers
Function
createMockHandler
()
servers/account-data-deleter/src/server.spec.ts:13
↓ 5 callers
Function
docFromMarkdown
(doc: string)
servers/notes-api/src/models/ProseMirrorDoc.ts:42
↓ 5 callers
Function
dt
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:164
↓ 5 callers
Function
dynamoClient
()
servers/annotations-api/src/database/client.ts:17
↓ 5 callers
Function
eventBridgeClient
()
servers/account-data-deleter/src/dataService/clients.ts:47
↓ 5 callers
Function
extractCodeFromShortUrl
(url: string)
servers/parser-graphql-wrapper/src/shortUrl/shortUrl.ts:220
↓ 5 callers
Function
f
(m,h,g,b)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callers
Method
generateAcmCertificate
( scope: Construct, domain: string, tags?: { [key: string]: string }, provider?: TerraformProv
packages/terraform-modules/src/base/ApplicationCertificate.ts:79
↓ 5 callers
Method
get
* Fetch a note attached to a highlight * @param id the highlight's id (annotation_id in the Pocket db) * @returns HighlightNote, or null if one
servers/annotations-api/src/dataservices/notes.ts:77
↓ 5 callers
Function
getAllShareableListIdsForUser
( userId: number | bigint, )
servers/shareable-lists-api/src/public/routes/deleteUserData.ts:23
↓ 5 callers
Method
getBySave
* Resolve Item/Pending Item on a Save. If the Item has been fully * processed by the Parser, the Save parent will have a resolvedId * for the It
servers/list-api/src/models/item.ts:17
↓ 5 callers
Function
getCleanedupDomainName
(domain: string)
servers/user-list-search/src/datasource/elasticsearch/elasticsearchSearch.ts:494
↓ 5 callers
Function
getContext
* This will return a context after the initialize() function has been called. * * Both the constructor and the initialize evaluate the transfersub a
servers/user-api/src/context.spec.ts:118
↓ 5 callers
Method
getKey
* Generates a cache key from key input * @param key
packages/apollo-utils/src/cache/interface.ts:17
↓ 5 callers
Method
getOrCreate
(t,r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:111
↓ 5 callers
Function
getShortCodeForId
(id: number)
servers/parser-graphql-wrapper/src/shortUrl/shortUrl.ts:65
↓ 5 callers
Method
guid
* The numeric GUID of the end user
packages/apollo-utils/src/context/pocketContextManager.ts:46
↓ 5 callers
Method
installHook
(t,r=!1)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:99
↓ 5 callers
Function
knexDbWriteClient
()
servers/user-list-search/src/datasource/clients/knexClient.ts:30
↓ 5 callers
Function
kt
(e,t=!1)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callers
Function
loadUserItem
( item: { item_id: number; url: string; favorite: boolean; title: string; date_added: st
servers/user-list-search/src/saves/premiumSearch.integration.ts:34
↓ 5 callers
Function
loadUserItem
( item: { item_id: number; url: string; favorite: boolean; title: string; date_added: st
servers/user-list-search/src/saves/premiumSearchByOffset.integration.ts:36
↓ 5 callers
Function
makeResponseForParserTextEndpoint
(options: { url: string; html: string; isArticle: boolean; videoness: Videoness; })
servers/parser-graphql-wrapper/src/test/queries/marticleParser.integration.ts:27
↓ 5 callers
Function
n
(p,f)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:6
↓ 5 callers
Function
nonEmptyStringPropOrError
* Throws if the property `key` is in the object `input` and is an empty string.
servers/v3-proxy-api/src/routes/validations/SendActionValidators.ts:491
↓ 5 callers
Function
p
(m,h,g)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callers
Method
parseEngineResponse
(r)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:101
↓ 5 callers
Function
pr
(e,t,r,n)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:12
↓ 5 callers
Function
randDate
()
servers/account-data-deleter/src/testUtils.ts:11
↓ 5 callers
Method
request
* Essentially a wrapper over `GraphQLClient.request`, but not all * overloads are implemented since we don't use them all. * Creates a new insta
servers/v3-proxy-api/src/graph/graphQLClient.ts:123
↓ 5 callers
Function
rt
()
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:19
↓ 5 callers
Function
sanitizeMutationInput
(input: InputType)
servers/shareable-lists-api/src/public/resolvers/utils.ts:51
↓ 5 callers
Function
savedItemsCompleteToRest
( response: SavedItemsCompleteQuery, options?: { withAnnotations?: boolean }, )
servers/v3-proxy-api/src/graph/get/toRest.ts:490
↓ 5 callers
Function
setSavedItemsVariables
( requestParams: V3GetParams, )
servers/v3-proxy-api/src/graph/get/toGraphQL.ts:197
↓ 5 callers
Function
sn
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:166
↓ 5 callers
Function
sr
(e)
servers/shareable-lists-api/prisma/src/generated/client/runtime/library.js:167
↓ 5 callers
Function
startServer
(port: number)
servers/braze-content-proxy/src/server.ts:13
↓ 5 callers
Function
startServer
(port: number)
servers/shares-api/src/apollo/server.ts:19
↓ 5 callers
Function
testAlarmValidation
(alarmType: string)
packages/terraform-modules/src/pocket/PocketVersionedLambda.spec.ts:266
↓ 5 callers
Function
testItemFragment
(mockInput: { itemId: string; __typename: 'PendingItem' | 'Item'; })
servers/v3-proxy-api/src/test/fixtures/fixtures.ts:93
↓ 5 callers
Method
toGraphQl
(response: HighlightNoteEntity)
servers/annotations-api/src/dataservices/notes.ts:51
↓ 5 callers
Method
toString
()
servers/shareable-lists-api/prisma/src/generated/client/runtime/index-browser.js:44
↓ 5 callers
Method
transformListRow
* Transform List Row into PocketSave * @param row the List Table Row to transform
servers/list-api/src/models/pocketSave.ts:17
← previous
next →
201–300 of 2,695, ranked by callers