Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlexErrant/Pentive
/ functions
Functions
855 in github.com/AlexErrant/Pentive
⨍
Functions
855
◇
Types & classes
169
↓ 4 callers
Function
deserializeStatus
(status: RawStatus)
shared-edge/src/kysely.ts:113
↓ 4 callers
Function
error
()
hub/src/routes/registerUsername.tsx:91
↓ 4 callers
Function
expectStrippedToBe
(html: string, expected: string)
shared-dom/src/cardHtml.test.ts:135
↓ 4 callers
Function
fetch
(url, options)
hub/src/routes/cwaClient.ts:13
↓ 4 callers
Function
fetch
(url, options)
app/src/trpcClient.ts:18
↓ 4 callers
Function
ftsNormalize
( html: string, stripHtml: boolean, caseFoldBool: boolean, removeCombiningCharacters_DoNotEnableByDefault
shared/src/htmlToText.ts:24
↓ 4 callers
Function
getAppMessenger
()
hub/src/lib/clientOnly.ts:10
↓ 4 callers
Function
getUser
(result: Result<UserId, string>)
api-ugc/src/noteRouter.ts:8
↓ 4 callers
Function
getUserId
( c: Context<{ Bindings: T }>, )
shared-edge/src/userId.ts:10
↓ 4 callers
Function
handleOneComparison
( val: number, context: Context, table: 'firstReview' | 'review' | 'note' | 'card' | undefined, column: 'c
shared-dom/src/language/query2sql.ts:870
↓ 4 callers
Function
html
(setDiagnostics: SetStoreFunction<Diagnostics>)
app/src/components/resizingIframe.tsx:36
↓ 4 callers
Function
incrementRandom
(arr: Uint8Array)
shared/src/binary.ts:54
↓ 4 callers
Function
insertNotes
(authorId: UserId, notes: CreateRemoteNote[])
shared-edge/src/kysely.ts:941
↓ 4 callers
Function
isDateValuedLabel
(x: string)
shared-dom/src/language/stringLabels.ts:111
↓ 4 callers
Function
isNumberValuedLabel
(x: string)
shared-dom/src/language/stringLabels.ts:121
↓ 4 callers
Function
log
(...data: any[])
lrpc/src/wholeDbReplicatorSync.ts:21
↓ 4 callers
Function
log
(...data: any[])
shared-dom/src/wholeDbReplicator.ts:14
↓ 4 callers
Function
log
(equal: boolean, expected: T, actual: T)
app-playwright/src/testdb.tsx:49
↓ 4 callers
Function
rate
(rating: number)
app/src/pages/study.tsx:71
↓ 4 callers
Function
regexCtor
(fvhs: FieldValueHighlight[] | undefined, global?: true)
app/src/components/cardsTable.tsx:63
↓ 4 callers
Function
remoteToTemplate
(remote: RemoteTemplate)
hub/src/lib/utility.ts:11
↓ 4 callers
Function
rh
(n: number)
app/src/domain/utility.ts:15
↓ 4 callers
Function
schema
()
app/src/components/editSetting.tsx:32
↓ 4 callers
Function
siteId
()
app/src/pages/peers.tsx:51
↓ 4 callers
Function
states
()
app/src/pages/study.tsx:43
↓ 4 callers
Function
testBody2
( fieldValues: Array<readonly [string, string]>, frontTemplate: [string, string], backTemplate: [string, st
shared-dom/src/cardHtml.test.ts:82
↓ 4 callers
Function
toError
(error: T)
shared/src/result.ts:18
↓ 4 callers
Function
useTableCountContext
()
app/src/components/tableCountContext.tsx:33
↓ 3 callers
Function
buildDates
(now: Date, from: number, textBefore?: string)
shared-dom/src/language/queryCompletion.ts:446
↓ 3 callers
Function
buildPlugin
(src: string)
shared-dom/src/cardHtml.plugin.test.ts:36
↓ 3 callers
Function
close
(clientId: string)
hub-ugc/src/serviceWorker.ts:28
↓ 3 callers
Function
close
(clientId: string)
app/src/serviceWorker.ts:38
↓ 3 callers
Function
close
(clientId: string)
app-ugc/src/serviceWorker.ts:28
↓ 3 callers
Function
concat
( a1: Uint8Array<ArrayBuffer>, a2: ArrayBuffer, )
shared/src/utility.ts:113
↓ 3 callers
Function
createEditorState
( doc: string, theme: 'light' | 'dark', schema: JSONSchema7, )
app/src/components/editSetting.tsx:131
↓ 3 callers
Function
dbIdToBase64
(dbId: DbId)
shared-edge/src/kysely.ts:1383
↓ 3 callers
Function
devLoginUrl
(username: string, search: Location['query'])
hub/src/routes/api/auth/[...solidAuth].ts:32
↓ 3 callers
Function
downloadImages
(imgSrcs: Map<MediaId, string>)
app/src/hubMessenger.ts:149
↓ 3 callers
Function
escapeRegExp
(string: string)
shared/src/utility.ts:106
↓ 3 callers
Function
escapedQuoted2
(str: string)
shared-dom/src/language/query2sql.ts:1067
↓ 3 callers
Method
executeQuery
(query: CompiledQuery)
app/src/sqlite/dialect.ts:34
↓ 3 callers
Function
expectTemplate
( template: readonly [string, string] | null, expectedFront: string, expectedBack: string, )
shared-dom/src/cardHtml.plugin.test.ts:48
↓ 3 callers
Function
getDefaultTemplate
(id: TemplateId)
shared/src/domain/template.ts:27
↓ 3 callers
Function
getJoinTableName
(context: Context)
shared-dom/src/language/query2sql.ts:895
↓ 3 callers
Function
getNote
(noteId: RemoteNoteId, userId: UserId | null)
shared-edge/src/kysely.ts:363
↓ 3 callers
Function
getNotes
( { nook, sortState, cursor }: GetNotesParam, userId: UserId | null, )
shared-edge/src/kysely.ts:274
↓ 3 callers
Function
getTemplate
( id: RemoteTemplateId, opts?: { nook?: NookId; userId?: UserId }, )
shared-edge/src/kysely.ts:578
↓ 3 callers
Function
getTemplate
( entity: TemplatePrefix<TemplateEntity> & { remoteTemplate: RemoteTemplateSubset[] }, )
app/src/sqlite/util.ts:208
↓ 3 callers
Function
getWarnings
()
shared-dom/src/cardHtml.ts:89
↓ 3 callers
Function
handleField
( node: QueryString | QueryRegex, valueSql: RawBuilder<SqlBool>, )
shared-dom/src/language/query2sql.ts:545
↓ 3 callers
Function
handleTagCount
( context: Context, node: QueryString | QueryRegex, col: RawBuilder<unknown>, )
shared-dom/src/language/query2sql.ts:817
↓ 3 callers
Function
inLabels
( nodeBefore: SyntaxNode, labels: Array<string | undefined>, )
shared-dom/src/language/queryCompletion.ts:425
↓ 3 callers
Function
isEmpty
(input: string | null | undefined)
shared-dom/src/language/template2html.ts:89
↓ 3 callers
Function
isNegated
(node: SyntaxNode)
shared-dom/src/language/query2sql.ts:455
↓ 3 callers
Function
maybeAddSeparator
(node: SyntaxNode, context: Context)
shared-dom/src/language/query2sql.ts:934
↓ 3 callers
Function
maybeEpochToDate
(epoch: number | null | undefined)
shared/src/utility.ts:188
↓ 3 callers
Function
mutate
(img: HTMLImageElement, imgSrcs: Map<MediaId, string>)
app/src/hubMessenger.ts:119
↓ 3 callers
Function
note
()
hub/src/routes/n/[nook]/note/[...noteId].tsx:50
↓ 3 callers
Method
onChangesReceived
( cb: (fromSiteId: SiteIDWire, changesets: readonly Changeset[]) => void, )
app/src/sqlite/wholeDbRtc.ts:193
↓ 3 callers
Method
onChangesRequested
(cb: (from: SiteIDWire, since: bigint) => void)
app/src/sqlite/wholeDbRtc.ts:189
↓ 3 callers
Function
ordsOfClozeNote
( fieldsAndValues: Array<[string, string]>, front: string, back: string, )
shared-dom/src/cardHtml.test.ts:548
↓ 3 callers
Function
rawClose
(input: InputStream, token: number)
shared-dom/src/language/query.tokens.ts:88
↓ 3 callers
Function
rawContent
(input: InputStream, delimiter: number, token: number)
shared-dom/src/language/query.tokens.ts:74
↓ 3 callers
Function
rawOpen
(input: InputStream, delimiter: number)
shared-dom/src/language/query.tokens.ts:57
↓ 3 callers
Function
registerPluginServices
( plugins: Plugin[], args: RenderContainerArgs, )
shared-dom/src/pluginManager.ts:46
↓ 3 callers
Function
remotifyDoms
(rawDoms: string[])
app/src/sqlite/util.ts:44
↓ 3 callers
Function
remotifyNote
( note: T, )
app/src/sqlite/note.ts:473
↓ 3 callers
Function
remotifyTemplate
(template: T)
app/src/sqlite/template.ts:369
↓ 3 callers
Function
setupDb
()
shared-edge/tests/getNotes.test.ts:39
↓ 3 callers
Function
short
()
app/src/components/cardsTable.tsx:81
↓ 3 callers
Function
sort
( a: SimplifiedNote, b: SimplifiedNote, sortState: SortState, )
shared-edge/tests/getNotes.test.ts:235
↓ 3 callers
Function
stringifiedSetting
()
app/src/components/editSetting.tsx:39
↓ 3 callers
Function
tagNameAfter
(input: InputStream, offset: number)
shared-dom/src/language/template.tokens.ts:49
↓ 3 callers
Function
template
()
hub/src/routes/n/[nook]/note/[...noteId].tsx:49
↓ 3 callers
Function
todos
()
app-playwright/tests-examples/demo-todo-app.spec.ts:458
↓ 3 callers
Function
type
()
hub/src/routes/[...stories].tsx:26
↓ 3 callers
Function
uploadable
()
app/src/components/cardsRemote.tsx:45
↓ 3 callers
Function
uploadableNoteMedia
( torn: boolean, noteId: TId = undefined as TId, count: TCount = undefined as TCount, )
app/src/sqlite/util.ts:311
↓ 3 callers
Function
uploadableTemplateMedia
( torn: boolean, templateId: TId = undefined as TId, count: TCount = undefined as TCount, )
app/src/sqlite/util.ts:357
↓ 3 callers
Function
useUserIdContext
()
hub/src/components/userIdContext.tsx:19
↓ 3 callers
Function
useWhoAmIContext
()
app/src/components/whoAmIContext.tsx:36
↓ 2 callers
Function
TestDb
(db: Db, date: Date)
app-playwright/src/testdb.tsx:129
↓ 2 callers
Method
_readFileInfo
()
shared-dom/src/tar.ts:44
↓ 2 callers
Function
arbitraryUlid
()
app-playwright/src/arbitrary.ts:44
↓ 2 callers
Function
attachQuery
( node: SyntaxNodeRef, label: Label | undefined, context: Context, queryOrField: QueryString | QueryRegex,
shared-dom/src/language/query2sql.ts:271
↓ 2 callers
Function
blobToBase64
(blob: Blob)
shared-dom/src/pluginManager.ts:11
↓ 2 callers
Function
buildCsp
(directives: Record<string, string | string[]>)
app/buildHeaders.ts:22
↓ 2 callers
Function
buildHtml
(body: string, css: string)
shared-dom/src/cardHtml.ts:198
↓ 2 callers
Function
buildHtml
( C: RenderContainer, i: RenderBodyInput, setDiagnostics: SetStoreFunction<Diagnostics>, )
shared-dom/src/resizingIframe.tsx:223
↓ 2 callers
Function
buildMessage
(userId: UserId, mediaHash: MediaHash)
cwa/src/privateToken.ts:67
↓ 2 callers
Function
buildModifiersTooltip
( pos: number, modifiers: string, isStart: boolean, )
app/src/components/queryEditor.tsx:312
↓ 2 callers
Function
buildNoteCreates
( authorId: UserId, notes: Array<CreateRemoteNote | EditRemoteNote>, )
shared-edge/src/kysely.ts:909
↓ 2 callers
Function
buildPublicToken
( entityId: Base64Url, mediaHash: Uint8Array<ArrayBuffer>, publicMediaSecret: PublicMediaSecret, )
shared-edge/src/publicToken.ts:22
↓ 2 callers
Function
buildTemplateCreates
( authorId: UserId, templates: Array<EditRemoteTemplate | CreateRemoteTemplate>, )
shared-edge/src/kysely.ts:957
↓ 2 callers
Function
buildTooltip
(pos: number, textContent: string)
app/src/components/queryEditor.tsx:327
↓ 2 callers
Function
card
()
hub/src/routes/n/[nook]/note/[...noteId].tsx:59
↓ 2 callers
Function
cardBaseToDomain
(card: CardView)
app/src/sqlite/card.ts:89
↓ 2 callers
Function
cardSettingId
()
app/src/pages/study.tsx:38
↓ 2 callers
Method
connectTo
(other: SiteIDWire)
app/src/sqlite/wholeDbRtc.ts:113
↓ 2 callers
Function
convert
(input: string, now: Date)
shared-dom/src/language/query2sql.ts:118
← previous
next →
101–200 of 855, ranked by callers