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
Function
deletePlugin
(name: PluginName)
app/src/sqlite/plugin.ts:40
Function
deleteTemplate
(templateId: TemplateId)
app/src/sqlite/template.ts:142
Function
diffChars
(oldStr?: string, newStr?: string)
app/src/uiLogic/diff.ts:7
Function
diffJson
(oldObj?: string | object, newObj?: string | object)
app/src/uiLogic/diff.ts:10
Function
diffWords
(oldStr?: string, newStr?: string)
app/src/uiLogic/diff.ts:13
Function
dispatchTransaction
(this: EditorView, tr)
app/src/components/fieldEditor.tsx:149
Method
dispose
()
app/src/sqlite/wholeDbReplicator.ts:135
Method
dispose
()
app/src/sqlite/wholeDbRtc.ts:310
Function
disposeObserver
( ro: ResizeObserver | undefined, ref: Element | undefined, )
shared-dom/src/utility.ts:2
Function
entityToDomain
(entity: MediaEntity)
app/src/sqlite/media.ts:8
Function
examplePlugin
(props)
example-plugins/svelte/src/index.ts:40
Function
fetch
(url, options)
app/src/lrpcClient.ts:13
Function
fetchAPI
(path: string)
hub/src/lib/api.ts:8
Function
fromBase64
(id: Base64)
shared-edge/src/kysely.ts:1361
Function
getAttrs
(dom)
app/src/components/fieldEditor.tsx:93
Function
getCard
(cardId: CardId)
app/src/sqlite/card.ts:576
Function
getCardsByNote
(noteId: NoteId)
app/src/sqlite/card.ts:584
Function
getCardsCount
( searchCache: SearchCache | null, baseQuery: ( db1?: QueryCreator<DB & WithCache>, ) => SelectQueryBuild
app/src/sqlite/card.ts:201
Function
getClozeFields
(this: RenderContainer, frontTemplate: string)
shared-dom/src/language/template2clozeFields.ts:6
Function
getDefaultCardSetting
(id: CardSettingId)
shared/src/domain/cardSetting.ts:8
Function
getEditedNotesToUpload
(noteId?: NoteId, nook?: NookId)
app/src/sqlite/note.ts:314
Function
getEditedNotesToUploadDom
(noteId?: NoteId)
app/src/sqlite/note.ts:359
Function
getEditedTemplatesToUpload
(templateId?: TemplateId, nook?: NookId)
app/src/sqlite/template.ts:234
Function
getEditedTemplatesToUploadDom
(templateId?: TemplateId)
app/src/sqlite/template.ts:243
Method
getFileBinary
(file_name: string)
shared-dom/src/tar.ts:142
Method
getFileInfo
()
shared-dom/src/tar.ts:72
Function
getFsrsItems
()
app/src/sqlite/review.ts:85
Function
getFsrsItemsForCard
(cardId: CardId)
app/src/sqlite/review.ts:118
Method
getGui
()
app/src/uiLogic/aggrid.tsx:24
Function
getLocalMedia
(id: MediaId)
hub-ugc/src/registerServiceWorker.ts:22
Function
getLocalMedia
(id: MediaId)
hub/src/components/resizingIframe.tsx:23
Function
getLocalMedia
(id: MediaId)
app/src/registerServiceWorker.ts:22
Function
getLocalMedia
(id: MediaId)
app/src/components/resizingIframe.tsx:17
Function
getLocalMedia
(id: MediaId)
app-ugc/src/registerServiceWorker.ts:22
Function
getLocalMediaId
(remoteMediaId: RemoteMediaId)
app/src/sqlite/remoteMedia.ts:32
Function
getMedia
(id: MediaId)
app/src/dexie/dexie.ts:26
Function
getMedia
(id: MediaId)
app/src/sqlite/media.ts:55
Function
getMediaHash
( privateMediaSecret: PrivateMediaSecret, userId: UserId, token: ArrayBuffer, )
cwa/src/privateToken.ts:82
Function
getMediaIds
(fvs: string)
app/src/sqlite/crsqlite.ts:16
Function
getMediaToUpload
( type: TType, torn: boolean, entityId?: TType extends 'note' ? NoteId : TemplateId, )
app/src/sqlite/util.ts:405
Function
getNewNotesToUpload
(noteId?: NoteId, nook?: NookId)
app/src/sqlite/note.ts:257
Function
getNewNotesToUploadDom
(noteId?: NoteId)
app/src/sqlite/note.ts:285
Function
getNewTemplatesToUpload
(templateId?: TemplateId, nook?: NookId)
app/src/sqlite/template.ts:213
Function
getNewTemplatesToUploadDom
(templateId?: TemplateId)
app/src/sqlite/template.ts:221
Function
getNote
(noteId: NoteId)
app/src/sqlite/note.ts:220
Function
getNotesByIds
(noteIds: NoteId[])
app/src/sqlite/note.ts:236
Function
getPluginCount
()
app/src/sqlite/plugin.ts:33
Function
getPlugins
()
app/src/sqlite/plugin.ts:29
Function
getReviews
()
app/src/sqlite/review.ts:66
Function
getTemplate
(templateId: TemplateId)
app/src/sqlite/template.ts:163
Function
getTemplateIdByRemoteId
(templateId: RemoteTemplateId)
app/src/sqlite/template.ts:173
Function
getTemplates
()
app/src/sqlite/template.ts:190
Function
getTemplatesInfinitely
(offset: number, limit: number)
app/src/sqlite/template.ts:200
Function
getUploadables
()
app/src/pages/sync.tsx:38
Function
getUserSettings
()
app/src/sqlite/settings.ts:106
Function
hasRemoteTemplate
(remoteTemplateId: RemoteTemplateId)
app/src/sqlite/template.ts:331
Function
hash
(context)
shared-dom/src/language/template.tokens.ts:99
Function
importAnki
( event: Event & { currentTarget: HTMLInputElement target: Element }, )
app/src/pages/importer/importer.ts:44
Method
init
(params: ICellRendererParams<Template, unknown, Context>)
app/src/components/templatesTable.tsx:59
Method
init
(params: ICellRendererParams<Plugin, unknown, Context>)
app/src/components/pluginsTable.tsx:54
Method
init
(params: ICellRendererParams<NoteCard, unknown, Context>)
app/src/components/cardsTable.tsx:182
Method
init
(params: IHeaderParams<Row, Context>)
app/src/pages/sync.tsx:153
Method
init
()
app/src/sqlite/dialect.ts:31
Function
initFsrsTrainThreadPool
()
app/src/topLevelAwait.ts:30
Function
insertMedia
(media: MediaSansHash)
app/src/sqlite/media.ts:21
Function
insertReview
(review: Review)
app/src/sqlite/review.ts:54
Function
install
( siteId: SiteIDLocal, db: DBAsync, network: PokeProtocol, )
app/src/sqlite/wholeDbReplicator.ts:92
Function
lock
()
app/src/sqlite/dialect.ts:72
Function
log
(qb: T)
shared-edge/src/kysely.ts:1388
Function
makeNoteNotUploadable
(noteId: NoteId, nook: NookId)
app/src/sqlite/note.ts:444
Function
makeNoteUploadable
( remoteNote: Override< InsertObject<DB, 'remoteNote'>, { localId: RemoteNote['localId'] } > & { not
app/src/sqlite/note.ts:391
Function
makeTemplateNotUploadable
(templateId: TemplateId, nook: NookId)
app/src/sqlite/template.ts:311
Function
makeTemplateUploadable
(templateId: TemplateId, nook: NookId)
app/src/sqlite/template.ts:256
Function
mapIdToBase64Url
(t: T & { id: DbId })
shared-edge/src/kysely.ts:1369
Function
notEmpty
( value: TValue | null | undefined, )
shared/src/utility.ts:60
Function
note
(template: Template)
app-playwright/src/arbitraryNote.ts:12
Function
noteOrds
( this: RenderContainer, note: Note, template: Template, )
shared-dom/src/cardHtml.ts:339
Function
noteOrdsRenderContainer
(args: RenderContainerArgs)
shared-dom/src/renderContainer.ts:47
Function
noteToDocType
(note: Note)
app/src/sqlite/note.ts:39
Function
noteToNookView
(x: { id: DbId templateId: DbId templateName: string templateCreated: number templateEdited: number note
shared-edge/src/kysely.ts:158
Method
offConnectionsChanged
( cb: (pending: SiteIDWire[], established: SiteIDWire[]) => void, )
app/src/sqlite/wholeDbRtc.ts:286
Function
onError
(error)
app/src/index.tsx:16
Function
optionMap
( t: T | null | undefined, f: (_: T) => R, )
lrpc/src/core.ts:30
Function
pagination
()
hub/src/routes/n/[nook]/(nook).tsx:140
Method
parse
(value: string | null | undefined, secret: Base64)
hub/src/cookieManager.ts:57
Method
parse
(cookie: string | null | undefined, secret: Base64)
hub/src/cookieManager.ts:133
Function
parseField
(fld: Fld)
app/src/pages/importer/parser.ts:32
Function
pluginEntityToDomain
(entity: PluginEntity)
app/src/sqlite/util.ts:156
Function
preload
({ params })
hub/src/routes/n.tsx:13
Function
preload
()
hub/src/routes/registerUsername.tsx:53
Function
preload
()
hub/src/routes/login.tsx:21
Function
preload
({ location, params })
hub/src/routes/[...stories].tsx:12
Function
preload
({ params })
hub/src/routes/users/[id].tsx:10
Function
preload
({ params })
hub/src/routes/n/[nook]/templates.tsx:25
Function
preload
({ location })
hub/src/routes/n/[nook]/submit.tsx:94
Function
preload
({ params })
hub/src/routes/n/[nook]/(nook).tsx:55
Function
preload
({ params })
hub/src/routes/n/[nook]/template/[templateId]/(template).tsx:41
Function
preload
({ params })
hub/src/routes/n/[nook]/template/[templateId]/edit.tsx:57
Function
preload
({ params })
hub/src/routes/n/[nook]/thread/[...threadId].tsx:17
Function
preload
({ params })
hub/src/routes/n/[nook]/note/[...noteId].tsx:34
← previous
next →
701–800 of 855, ranked by callers