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
↓ 2 callers
Function
createEditorState
( doc: string, theme: 'light' | 'dark', run: (sql: string) => Promise<void>, )
app/src/components/editSql.tsx:52
↓ 2 callers
Function
createEditorState
(node: Node)
app/src/components/fieldEditor.tsx:224
↓ 2 callers
Function
createEditorState
( view: EditorView, doc: string, theme: 'light' | 'dark', setValue: (value: string) => void, )
app/src/components/queryEditor.tsx:133
↓ 2 callers
Function
createNook
({ nook, nookType, userId, description, sidebar, }: { nook: NookId nookType: NookType userId: UserId
shared-edge/src/nook.ts:72
↓ 2 callers
Function
createSpecs
(isLight: boolean)
shared-dom/src/language/query.highlight.ts:31
↓ 2 callers
Method
crrChanged
()
app/src/sqlite/wholeDbReplicator.ts:191
↓ 2 callers
Function
defaultContainer
(args: RenderContainerArgs)
app/src/services.ts:22
↓ 2 callers
Function
deserializeFieldValues
(fvs: string)
shared-edge/src/kysely.ts:1264
↓ 2 callers
Function
deserializeFields
(tt: string)
shared-edge/src/kysely.ts:1260
↓ 2 callers
Function
deserializeTags
(tags: string)
shared-edge/src/kysely.ts:1268
↓ 2 callers
Function
deserializeTemplateType
(tt: string)
shared-edge/src/kysely.ts:1256
↓ 2 callers
Function
dispatch
( side: 'front' | 'back', tr: Transaction, editorView: EditorView, setTemplate: ( key: keyof ChildTempla
shared-dom/src/editChildTemplate.tsx:141
↓ 2 callers
Method
dispose
()
app/src/sqlite/wholeDbRtc.ts:199
↓ 2 callers
Function
distinctAndOrder
(ords: Ord[])
shared-dom/src/cardHtml.ts:371
↓ 2 callers
Function
domainToCreateRemote
( { id, tags, fieldValues }: Note, remoteTemplateIds: RemoteTemplateId[], )
app/src/sqlite/note.ts:70
↓ 2 callers
Function
domainToCreateRemote
(t: Template, nook?: NookId)
app/src/sqlite/template.ts:51
↓ 2 callers
Function
expectStrippedToBe
(html: string, expected: string)
shared-dom/src/cardHtml.plugin.test.ts:12
↓ 2 callers
Function
getAllNotes
(sortState: SortState)
shared-edge/tests/getNotes.test.ts:73
↓ 2 callers
Function
getCasedUserId
(userId: string)
shared-edge/src/kysely.ts:229
↓ 2 callers
Function
getCsrfKey
()
hub/src/session.ts:234
↓ 2 callers
Function
getDefaultTemplate
()
app/src/domain/utility.ts:6
↓ 2 callers
Function
getHistory
()
app/src/components/queryEditor.tsx:178
↓ 2 callers
Function
getId
(event: ExtendableMessageEvent)
hub-ugc/src/serviceWorker.ts:20
↓ 2 callers
Function
getId
(event: ExtendableMessageEvent)
app/src/serviceWorker.ts:30
↓ 2 callers
Function
getId
(event: ExtendableMessageEvent)
app-ugc/src/serviceWorker.ts:20
↓ 2 callers
Function
getLanguageData
(isSimpleString?: true)
app/src/components/queryEditor.tsx:192
↓ 2 callers
Function
getNot
(negate: boolean, forcePositive?: true)
shared-dom/src/language/query2sql.ts:930
↓ 2 callers
Function
getOk
(htmlResult: HtmlResult | null | undefined)
shared-dom/src/cardHtml.ts:53
↓ 2 callers
Function
getOk
( htmlResult: HtmlResult | null | undefined, setDiagnostics: SetStoreFunction<Diagnostics>, )
shared-dom/src/resizingIframe.tsx:210
↓ 2 callers
Function
getScriptHashes
(filePath: string)
app/buildHeaders.ts:6
↓ 2 callers
Function
getSession
()
hub/src/session.ts:107
↓ 2 callers
Function
getTemplateImages
(ct: ChildTemplate)
app/src/hubMessenger.ts:135
↓ 2 callers
Function
getTemplates
(nook: NookId, userId?: UserId)
shared-edge/src/kysely.ts:601
↓ 2 callers
Function
getToAdd
(tags: string[] | null)
app/src/domain/alterQuery.ts:23
↓ 2 callers
Function
getTokenKey
( privateMediaSecret: PrivateMediaSecret, )
cwa/src/privateToken.ts:52
↓ 2 callers
Function
getUser
( headers: IncomingHttpHeaders, )
lrpc/src/core.ts:7
↓ 2 callers
Function
globQuery
( queryLanguageData?: Record<string, unknown>, globLanguageData?: Record<string, unknown>, )
shared-dom/src/language/globQuery.ts:7
↓ 2 callers
Function
handleComparison
( msSinceEpoch: number, context: Context, table: 'firstReview' | 'review' | 'note' | 'card' | undefined, c
shared-dom/src/language/query2sql.ts:852
↓ 2 callers
Function
hasRemoteNote
(remoteNoteId: RemoteNoteId)
app/src/sqlite/note.ts:463
↓ 2 callers
Function
htmlifyTags
(tags: Set<string>)
shared-dom/src/language/template2html.ts:94
↓ 2 callers
Function
idFactory
()
shared/src/binary.ts:66
↓ 2 callers
Function
insertTemplates
( authorId: UserId, templates: CreateRemoteTemplate[], )
shared-edge/src/kysely.ts:987
↓ 2 callers
Method
installTriggers
()
app/src/sqlite/wholeDbReplicator.ts:151
↓ 2 callers
Function
isChanged
()
app/src/components/diffHtml.tsx:41
↓ 2 callers
Function
isInvalidCsrf
( csrfSignature: CsrfFormat, csrf: CsrfFormat, )
hub/src/session.ts:259
↓ 2 callers
Method
like
( qs: QueryString, table: Table, sourceColumn: string, forcePositive?: true, )
shared-dom/src/language/query2sql.ts:97
↓ 2 callers
Function
listToTree
(list: Array<Comment<T>>)
shared-edge/src/kysely.ts:456
↓ 2 callers
Function
localNote
()
hub/src/routes/n/[nook]/(nook).tsx:196
↓ 2 callers
Function
localTemplate
()
hub/src/routes/n/[nook]/templates.tsx:39
↓ 2 callers
Function
makeSchema
(type: 'serializer' | 'editor')
app/src/components/fieldEditor.tsx:120
↓ 2 callers
Function
memoizeThrottle
( func: F, wait = 0, options?: Parameters<typeof throttle<F>>[2], resolver?: Parameters< typeof memoize<
shared-dom/src/toasts.tsx:14
↓ 2 callers
Function
modifiers
(from: number, isStart: boolean)
shared-dom/src/language/queryCompletion.ts:378
↓ 2 callers
Function
nameChar2
(ch: number)
shared-dom/src/language/template.tokens.ts:38
↓ 2 callers
Function
nullMap
(t: T | null, f: (_: T) => R)
shared/src/utility.ts:33
↓ 2 callers
Function
onChange
()
shared/sql/generateSql.ts:4
↓ 2 callers
Method
onConnectionsChanged
( cb: (pending: SiteIDWire[], established: SiteIDWire[]) => void, )
app/src/sqlite/wholeDbRtc.ts:279
↓ 2 callers
Method
onPoked
(cb: (pokedBy: SiteIDWire, pokerVersion: bigint) => void)
app/src/sqlite/wholeDbRtc.ts:181
↓ 2 callers
Function
parseTags
(rawTags: string)
app/src/sqlite/util.ts:40
↓ 2 callers
Function
postMedia
( c: CwaContext, persistDbAndBucket: (_: PersistParams) => Promise<undefined | Response>, buildResponse: (m
cwa/src/index.ts:262
↓ 2 callers
Function
postMedia
( type: 'note' | 'template', mediaId: MediaId, ids: Array< [NoteId | TemplateId, RemoteNoteId | RemoteTem
app/src/domain/sync.tsx:16
↓ 2 callers
Function
postPublicMedia
( c: CwaContext, type: 'note' | 'template', userOwnsAndHasMedia: ( authorId: UserId, id: MediaHash, )
cwa/src/index.ts:183
↓ 2 callers
Function
rawIdWithTime
(epochMs: number)
shared/src/binary.ts:84
↓ 2 callers
Method
readFile
(file: Blob)
shared-dom/src/tar.ts:19
↓ 2 callers
Method
regexpWithFlags
(node: QueryRegex, column: string)
shared-dom/src/language/query2sql.ts:106
↓ 2 callers
Function
registerGridUpdate
( gridApi: GridApi<T>, [rowDelta, setRowDelta]: Signal<number | undefined>, )
app/src/uiLogic/aggrid.tsx:71
↓ 2 callers
Function
registerUser
(id: string, email: string)
shared-edge/src/kysely.ts:237
↓ 2 callers
Function
remote
()
app/src/components/cardsRemote.tsx:44
↓ 2 callers
Function
remoteToNote
(remote: RemoteNote)
hub/src/lib/utility.ts:22
↓ 2 callers
Function
requireSession
(redirectTo?: string)
hub/src/session.ts:149
↓ 2 callers
Function
resizeIframe
()
hub-ugc/src/registerServiceWorker.ts:37
↓ 2 callers
Function
resizeIframe
()
app-ugc/src/registerServiceWorker.ts:37
↓ 2 callers
Function
searchNotes
(search: string)
app/src/pages/home.tsx:14
↓ 2 callers
Function
serialize
(node: Node, context: Context)
shared-dom/src/language/query2sql.ts:570
↓ 2 callers
Function
setBody
({ body, css }: RawRenderBodyInput)
hub-ugc/src/setBody.ts:25
↓ 2 callers
Function
setBody
({ body, css }: RawRenderBodyInput)
app-ugc/src/setBody.ts:25
↓ 2 callers
Method
setKey
(secret: Base64)
hub/src/cookieManager.ts:68
↓ 2 callers
Method
setKey
(secret: Base64)
hub/src/cookieManager.ts:152
↓ 2 callers
Function
short
()
shared-dom/src/editChildTemplate.tsx:65
↓ 2 callers
Function
shortRenderer
( index: number, props: ICellRendererParams<NoteCard, unknown, Context>, )
app/src/components/cardsTable.tsx:76
↓ 2 callers
Function
templateEntityToDomain
( template: TemplateEntity, remotes: RemoteTemplate[], )
app/src/sqlite/util.ts:89
↓ 2 callers
Function
templateNames
()
app/src/components/addNote.tsx:53
↓ 2 callers
Function
testTree
(tree: Tree, expect: string)
shared-dom/src/language/templateParser.test.ts:6
↓ 2 callers
Function
toNoteCards
(noteCardView: NoteCardView)
app/src/uiLogic/cards.ts:12
↓ 2 callers
Function
toTemplate
( x: { templateId: DbId templateName: string templateCreated: number templateEdited: number nook: s
shared-edge/src/kysely.ts:131
↓ 2 callers
Function
toView
(template: Template)
app/src/components/addNote.tsx:27
↓ 2 callers
Function
uint8ArrayToNumber
(arr: Uint8Array)
shared/tests/binary.test.ts:42
↓ 2 callers
Function
unflattenObject
( flattened: Array<readonly [string, SettingEntity['value']]>, )
app/src/sqlite/settings.ts:173
↓ 2 callers
Function
unique
(str: string)
shared-dom/src/language/query2sql.ts:151
↓ 2 callers
Function
unparameterize
(i: { i: number }, query: CompiledQuery<SqlBool>)
app/tests/query2sql.test.ts:22
↓ 2 callers
Function
uploadNoteMedia
(torn: boolean, noteId?: NoteId)
app/src/domain/sync.tsx:136
↓ 2 callers
Function
uploadNotes
( torn: boolean, noteId?: NoteId, nook?: NookId, )
app/src/domain/sync.tsx:113
↓ 2 callers
Function
uploadTemplateMedia
( torn: boolean, templateId?: TemplateId, )
app/src/domain/sync.tsx:97
↓ 2 callers
Function
uploadTemplates
( torn: boolean, templateId?: TemplateId, nook?: NookId, )
app/src/domain/sync.tsx:64
↓ 2 callers
Function
useDiffModeContext
()
app/src/components/diffModeContext.tsx:26
↓ 2 callers
Function
validateTokenWithKey
(publicKeyString: string, token: string)
app/src/sqlite/wholeDbRtc.ts:339
↓ 2 callers
Function
wholeDbReplicatorSync
(db: DB)
lrpc/src/wholeDbReplicatorSync.ts:136
↓ 2 callers
Function
zip
(a: T[], b: T[])
app/src/domain/utility.ts:9
↓ 1 callers
Method
_createPeerTrackingTable
()
lrpc/src/wholeDbReplicatorSync.ts:39
↓ 1 callers
Method
_createPeerTrackingTable
()
shared-dom/src/wholeDbReplicator.ts:43
↓ 1 callers
Method
_dataReceived
(from: SiteIDWire, data: Msg)
app/src/sqlite/wholeDbRtc.ts:231
← previous
next →
201–300 of 855, ranked by callers