MCPcopy Create free account

hub / github.com/AlexErrant/Pentive / functions

Functions855 in github.com/AlexErrant/Pentive

↓ 85 callersFunctionassertEqual
( actual: string, expected: string, joinsOrArgCount: Record<string, string> | number, argCount?: number, )
app/tests/query2sql.test.ts:49
↓ 85 callersMethodparse
(cookieHeader: string | undefined | null, options?: CookieParseOptions)
hub/src/cookieManager.ts:26
↓ 79 callersFunctionthrowExp
(error?: unknown, ...metadata: unknown[])
shared/src/utility.ts:42
↓ 41 callersFunctiontoLDbId
(value: T)
shared/src/brand.ts:77
↓ 33 callersFunctiontestTree
(tree: Tree, expect: string)
shared-dom/src/language/queryParser.test.ts:6
↓ 21 callersFunctionrender
(this: MyContainer, i: string)
app/src/pluginManager.proofOfConcept.ts:11
↓ 20 callersFunctioncardQuery
(x: string)
app/tests/query2sql.test.ts:900
↓ 20 callersFunctionnoteQuery
(x: string)
app/tests/query2sql.test.ts:903
↓ 20 callersFunctiontoSampleCard
(ord: Ord)
shared-dom/src/cardHtml.ts:268
↓ 18 callersFunctionfromLDbId
( value: LDbId | null | undefined, )
shared/src/brand.ts:86
↓ 17 callersFunctionalterQuery
(query: string, input: { tags?: string[] })
app/src/domain/alterQuery.ts:31
↓ 17 callersFunctionuseThemeContext
()
shared-dom/src/themeSelector.tsx:143
↓ 16 callersFunctionassertNever
(x: never, msg?: string)
shared/src/utility.ts:13
↓ 16 callersFunctionff
( a: number, b: number, c: number, d: number, x: number, s: number, t: number, )
app/src/domain/utility.ts:41
↓ 16 callersFunctionfromBase64Url
(id: Base64Url)
shared-edge/src/kysely.ts:1365
↓ 16 callersFunctiongg
( a: number, b: number, c: number, d: number, x: number, s: number, t: number, )
app/src/domain/utility.ts:52
↓ 16 callersFunctionhh
( a: number, b: number, c: number, d: number, x: number, s: number, t: number, )
app/src/domain/utility.ts:63
↓ 16 callersFunctionii
( a: number, b: number, c: number, d: number, x: number, s: number, t: number, )
app/src/domain/utility.ts:74
↓ 16 callersMethodtrustedSql
(trustedSql: string)
shared-dom/src/language/query2sql.ts:89
↓ 15 callersFunctionbuildTemplate
( fieldValues: Array<readonly [string, string]>, frontTemplate: string, backTemplate: string, type: 'stand
shared-dom/src/cardHtml.test.ts:17
↓ 15 callersMethodrender
(owner: Owner, fn: () => JSX.Element)
app/src/uiLogic/aggrid.tsx:38
↓ 14 callersFunctionbuildEslintConfig
(importMetaUrl)
config/eslintconfig.js:17
↓ 14 callersFunctionenv
(event?: FetchEvent)
hub/src/session.ts:75
↓ 14 callersMethodparameterizeSql
(parameter: RawBuilder<unknown>)
shared-dom/src/language/query2sql.ts:93
↓ 13 callersFunctionarrayToBase64url
(bytes: Uint8Array<ArrayBuffer>)
shared/src/binary.ts:26
↓ 13 callersFunctionbase64urlId
()
shared/src/binary.ts:96
↓ 13 callersFunctionepochToDate
(epoch: number)
shared/src/utility.ts:172
↓ 13 callersFunctionstory
(path: string)
hub/src/lib/api.ts:4
↓ 12 callersFunctionbase64ToArray
(base64: Base64)
shared/src/binary.ts:13
↓ 12 callersFunctionbase64urlToArray
(base64: Base64Url)
shared/src/binary.ts:30
↓ 12 callersMethoddestroy
()
app/src/uiLogic/aggrid.tsx:32
↓ 11 callersFunctiontoSampleNote
(fieldValues: Record<string, string>)
shared-dom/src/cardHtml.ts:251
↓ 10 callersFunctioncheckNumberOfCompletedTodosInLocalStorage
( page: Page, expected: number, )
app-playwright/tests-examples/demo-todo-app.spec.ts:471
↓ 10 callersFunctiontestBody
( fieldValues: Array<readonly [string, string]>, frontTemplate: string, backTemplate: string, ord: number,
shared-dom/src/cardHtml.test.ts:62
↓ 10 callersFunctionuser
(path: string)
hub/src/lib/api.ts:5
↓ 9 callersFunctiongetLabel
(node: SyntaxNodeRef)
shared-dom/src/language/query2sql.ts:157
↓ 9 callersFunctiongetUserId
()
hub/src/session.ts:119
↓ 9 callersFunctionhandleCreatedEditedDue
( node: Node, context: Context, table: 'firstReview' | 'review' | 'note' | 'card' | undefined, column: 'cr
shared-dom/src/language/query2sql.ts:828
↓ 9 callersFunctioninLabel
( nodeBefore: SyntaxNode, label: string, isSimpleString?: true, // not all callers need to provide this - j
shared-dom/src/language/queryCompletion.ts:407
↓ 9 callersFunctionnewDate
(i: number)
app/src/pages/importer/parser.ts:40
↓ 9 callersFunctionparseHtml
(html: string)
shared-dom/src/utility.ts:15
↓ 9 callersFunctiontestStrippedBody
( fieldValues: Array<readonly [string, string]>, frontTemplate: string, backTemplate: string, ord: number,
shared-dom/src/cardHtml.test.ts:114
↓ 9 callersFunctiontoBody
(card: Card, note: Note, template: Template, short = false)
shared-dom/src/cardHtml.test.ts:898
↓ 9 callersFunctiontoTestNote
( fieldValues: Record<string, string>, note: Partial<Note>, )
shared-dom/src/cardHtml.test.ts:887
↓ 8 callersFunctionad
(x: number, y: number)
app/src/domain/utility.ts:23
↓ 8 callersFunctioncast
(value: T)
shared/src/brand.ts:53
↓ 8 callersFunctioncheckNumberOfTodosInLocalStorage
(page: Page, expected: number)
app-playwright/tests-examples/demo-todo-app.spec.ts:465
↓ 7 callersMethodclear
()
hub/src/cookieManager.ts:36
↓ 7 callersFunctioncount
()
hub/src/routes/n/[nook]/(nook).tsx:198
↓ 7 callersFunctiongetOk
(result: HtmlResult)
shared-dom/src/cardHtml.test.ts:58
↓ 7 callersFunctionparse
( z: { safeParse: (raw: unknown) => SafeParseReturnType<Input, Output> }, raw: unknown, )
app/src/pages/importer/typeChecker.tsx:152
↓ 7 callersMethodserialize
(value: string)
hub/src/cookieManager.ts:32
↓ 7 callersFunctionundefinedMap
( t: T | undefined, f: (_: T) => R, )
shared/src/utility.ts:23
↓ 7 callersFunctionunhex
(id: Hex)
shared-edge/src/kysely.ts:1357
↓ 6 callersFunctioncreateContext
( x: NodeHTTPCreateContextFnOptions<IncomingMessage, ServerResponse>, )
lrpc/src/dev.ts:15
↓ 6 callersFunctioncreateDefaultTodos
(page: Page)
app-playwright/tests-examples/demo-todo-app.spec.ts:448
↓ 6 callersFunctiondbIdToBase64Url
(dbId: DbId)
shared-edge/src/kysely.ts:1379
↓ 6 callersFunctionerror
()
hub/src/routes/n/[nook]/submit.tsx:104
↓ 6 callersFunctionerror
()
hub/src/routes/nooks/create.tsx:107
↓ 6 callersFunctionexpectTemplate
( template: HtmlResult, expectedFront: string, expectedBack: string, )
shared-dom/src/cardHtml.test.ts:752
↓ 6 callersFunctionglob
( qs: QueryString, table: Table, sourceColumn: string, forcePositive?: true, stripHtml?: '0', normalized
shared-dom/src/language/query2sql.ts:479
↓ 6 callersFunctionnoteCard
()
app/src/pages/study.tsx:22
↓ 6 callersFunctionprefixEpochToArray
(epoch: number, id: Uint8Array)
shared/src/binary.ts:39
↓ 6 callersFunctionq
(rawSql: string)
app/src/pages/home.tsx:162
↓ 6 callersFunctionserialize
(doc: Document)
app/src/sqlite/template.ts:373
↓ 6 callersFunctiontemplate
()
hub/src/routes/n/[nook]/(nook).tsx:197
↓ 6 callersFunctiontemplate
()
hub/src/routes/n/[nook]/template/[templateId]/(template).tsx:65
↓ 6 callersFunctiontestJoin
( list: Array<{ sql: RawBuilder<SqlBool> name: string }>, )
app/tests/query2sql.test.ts:68
↓ 5 callersFunctionagGridTheme
(theme: Accessor<'light' | 'dark'>)
shared-dom/src/themeSelector.tsx:129
↓ 5 callersFunctionarrayToBase64
(bytes: Uint8Array<ArrayBuffer>)
shared/src/binary.ts:7
↓ 5 callersFunctioncreateEditorState
( doc: string, theme: 'light' | 'dark', extensions: Extension[] = [], )
shared-dom/src/editTemplateCss.tsx:84
↓ 5 callersFunctioncreateGrid
( eGridDiv: HTMLElement, gridOptions: Override< GridOptions<TData>, { context: Record<string, unknown> }
app/src/uiLogic/aggrid.tsx:53
↓ 5 callersFunctiondateToEpoch
(date: Date)
shared/src/utility.ts:181
↓ 5 callersFunctionformat
(sql: string)
app/tests/query2sql.test.ts:15
↓ 5 callersFunctionformatHtml
(html: string)
app/src/domain/utility.ts:185
↓ 5 callersFunctionhexId
()
shared/src/binary.ts:92
↓ 5 callersFunctionidToEpoch
(id: Uint8Array)
shared/src/binary.ts:46
↓ 5 callersFunctionlog
(...data: any[])
app/src/sqlite/wholeDbReplicator.ts:16
↓ 5 callersFunctionnoteEntityToDomain
( note: NoteEntity & { template_fields: string }, remotes: RemoteNote[], )
app/src/sqlite/util.ts:116
↓ 5 callersFunctionpage
()
hub/src/routes/[...stories].tsx:25
↓ 5 callersFunctionrecordWithOptionalFields
( required: { [K in keyof RequiredKeys<T>]: Arbitrary<T[K]> }, optional: { [K in keyof OptionalKeys<T>]
app-playwright/src/arbitrary.ts:17
↓ 5 callersFunctionregexpWithFlags
( node: QueryRegex, column: string, forcePositive?: true, )
shared-dom/src/language/query2sql.ts:535
↓ 5 callersFunctionreplaceImgSrcs
( value: string, remoteIdBase64url: Base64Url, hashAndRemoteMediaIds: Array<[Base64, RemoteMediaId]>, )
shared-edge/src/kysely.ts:1152
↓ 5 callersFunctionserializeStatus
(status: Status)
shared-edge/src/kysely.ts:122
↓ 5 callersFunctionsetKysely
( url: string, authToken: string, publicMediaSecret: PublicMediaSecret, )
shared-edge/src/kysely.ts:78
↓ 5 callersFunctionsleep
(ms: number)
shared/src/utility.ts:132
↓ 5 callersFunctiontoTemplates
(allTemplates: TemplateRow[])
app/src/sqlite/template.ts:344
↓ 5 callersFunctionx
(actual: string, expected: string)
app/tests/query2sql.test.ts:114
↓ 4 callersMethod_connectionsChanged
()
app/src/sqlite/wholeDbRtc.ts:253
↓ 4 callersFunctionassertIsMod
( filter: FilterTemplate | FilterNooks, userId: UserId, )
shared-edge/src/nook.ts:113
↓ 4 callersMethodattach
(child: Node)
shared-dom/src/language/query2sql.ts:1047
↓ 4 callersFunctionbuildApply
(nodeBefore: SyntaxNode, option: string)
shared-dom/src/language/queryCompletion.ts:436
↓ 4 callersFunctioncheckTodosInLocalStorage
(page: Page, title: string)
app-playwright/tests-examples/demo-todo-app.spec.ts:480
↓ 4 callersFunctioncm
( q: number, a: number, b: number, x: number, s: number, t: number, )
app/src/domain/utility.ts:31
↓ 4 callersFunctioncreateConfig
(doc: string, theme: 'light' | 'dark')
app/src/components/diffCss.tsx:71
↓ 4 callersFunctioncreateConfig
( doc: string, theme: 'light' | 'dark', extensions: Array<Extension | LRLanguage>, )
app/src/components/diffHtml.tsx:124
↓ 4 callersFunctioncreateEditorState
(doc: string, theme: 'light' | 'dark')
shared-dom/src/editChildTemplate.tsx:157
↓ 4 callersFunctioncreateEditorState
( doc: string, theme: 'light' | 'dark', extensions: Extension[] = [], )
app/src/components/fieldHtmlEditor.tsx:74
↓ 4 callersFunctioncreateUserSession
( userId: string, redirectTo: string, )
hub/src/session.ts:168
↓ 4 callersFunctiondefaultRenderContainer
(args: { resizingIframe: CommonResizingIframe })
shared-dom/src/renderContainer.ts:26
next →1–100 of 855, ranked by callers