MCPcopy Create free account

hub / github.com/decileapp/decile / functions

Functions305 in github.com/decileapp/decile

↓ 45 callersFunctionclassNames
(...classes: string[])
utils/classnames.ts:1
↓ 20 callersFunctionprotectServerRoute
(handler: any)
utils/auth/protectServerRoute.ts:7
↓ 9 callersFunctionisNumerical
(x: string)
utils/query/index.ts:137
↓ 8 callersFunctiongetServiceSupabase
()
utils/supabaseClient.ts:8
↓ 7 callersFunctiondecrypt
(ciphertext: string)
utils/encryption.ts:11
↓ 7 callersFunctiongetBlockChildren
( notionClient: Client, block_id: string, totalPage: number | null )
utils/notion/utils/notion.ts:8
↓ 6 callersFunctionauthoriseGoogle
()
utils/google/auth.ts:9
↓ 4 callersFunctioncheckExistingToken
(userId: string)
utils/google/auth.ts:41
↓ 4 callersFunctiondateFormatter
({ dateVar, type = "date", emptyMessage = "No date available.", }: { dateVar: Date | null; type?: "d
utils/dateFormatter.ts:3
↓ 4 callersFunctionencrypt
(text: string)
utils/encryption.ts:3
↓ 4 callersFunctionhandleTime
()
components/schedule/index.tsx:138
↓ 4 callersFunctionqueryById
({ userId, orgId, queryId, }: { userId: string; orgId: string; queryId: string; })
utils/postgres/queryById.ts:6
↓ 3 callersFunctionError
()
pages/404.tsx:3
↓ 3 callersMethodblocksToMarkdown
* Converts list of Notion Blocks to Markdown Blocks * @param {ListBlockChildrenResponseResults | undefined} blocks - List of notion blocks * @pa
utils/notion/index.ts:111
↓ 3 callersFunctionfetchTablesAndColumns
(database: Source)
components/query/functions/index.ts:46
↓ 3 callersFunctionformatForSheets
(data: any)
utils/postgres/formatForSheets.ts:1
↓ 3 callersFunctionqueryDb
()
components/query/ask.tsx:170
↓ 3 callersFunctiontoQuery
(row: BasicQuery)
pages/queries/index.tsx:85
↓ 3 callersFunctionupdateOrgForSession
(user: User)
utils/organisation/updateOrgForSession.ts:16
↓ 3 callersFunctionwriteOnSpreadsheet
({ spreadsheet, auth, data, range, }: { spreadsheet: string; auth: OAuth2Client; data: any; ra
utils/google/sheets.ts:30
↓ 2 callersMethodblockToMarkdown
* Converts a Notion Block to a Markdown Block * @param {ListBlockChildrenResponseResult} block - single notion block * @returns {string} corresp
utils/notion/index.ts:164
↓ 2 callersFunctionchangeDatabase
(x: string)
components/query/ask.tsx:96
↓ 2 callersFunctioncopyQuery
()
components/query/view.tsx:69
↓ 2 callersFunctioncreateQuery
()
pages/queries/index.tsx:30
↓ 2 callersFunctionemailHelper
({ from, to, templateId, vars, }: { from: string; to: string; templateId: string; vars: {}; })
utils/emailHelper.ts:21
↓ 2 callersFunctionfetchColumns
({ database, table, }: { database: Source; table: Table; })
components/query/functions/index.ts:23
↓ 2 callersFunctiongraphTheme
(theme: string)
components/graphs/common/graphTheme.ts:3
↓ 2 callersFunctionmarginProps
(x?: boolean)
components/graphs/common/graphTheme.ts:114
↓ 2 callersFunctionsaveQuery
()
components/query/ask.tsx:256
↓ 2 callersFunctionsignout
()
components/layouts/AppLayout/Topbar.tsx:70
↓ 2 callersFunctiontoChart
(row: Chart)
pages/charts/index.tsx:45
↓ 2 callersMethodtoMarkdownString
* Converts Markdown Blocks to string * @param {MdBlock[]} mdBlocks - Array of markdown blocks * @param {number} nestingLevel - Defines max depth
utils/notion/index.ts:44
↓ 2 callersFunctionupdatePlanForAllUsers
(orgId: string, planId: number)
utils/stripe/index.ts:51
↓ 2 callersFunctionupdateSort
(v: string, index: number)
components/query/builder/QuerySortLimit.tsx:66
↓ 2 callersFunctionupdateToPaidPlan
({ stripePriceId, stripeCustomerId, }: { stripePriceId: string; stripeCustomerId: string; })
utils/stripe/index.ts:5
↓ 2 callersFunctionvalidateLink
(input: Props)
components/sources/index.tsx:41
↓ 1 callersFunction_buildPost
(pageObject: any)
pages/api/user/notion/get-posts.ts:22
↓ 1 callersFunctionaddFilter
()
components/query/builder/QueryFilterSelector.tsx:33
↓ 1 callersFunctionaddGroupBy
()
components/query/builder/QueryGroupBy.tsx:21
↓ 1 callersFunctionaddVar
()
components/query/builder/QuerySortLimit.tsx:24
↓ 1 callersFunctionaddVar
(v: Column)
components/query/builder/QueryVariableSelector.tsx:21
↓ 1 callersMethodannotatePlainText
* Annoate text using provided annotations * @param {string} text - String to be annotated * @param {Annotations} annotations - Annotation object
utils/notion/index.ts:470
↓ 1 callersFunctionauthoriseGoogle
()
pages/google.tsx:16
↓ 1 callersFunctionbuffer
(readable: Readable)
pages/api/internal/stripe/webhook.ts:14
↓ 1 callersFunctionchangeTable
(x: Table)
components/query/ask.tsx:128
↓ 1 callersFunctioncheckEligibility
()
pages/settings/index.tsx:44
↓ 1 callersFunctioncheckEligibility
()
pages/schedule/[id].tsx:26
↓ 1 callersFunctioncheckGoogleAuth
()
pages/google.tsx:36
↓ 1 callersFunctioncheckOrg
(user: User)
components/layouts/AppLayout/index.tsx:24
↓ 1 callersFunctioncheckTrial
()
components/layouts/AppLayout/Topbar.tsx:76
↓ 1 callersFunctioncreateAndWriteSpreadsheet
({ title, auth, data, range, }: { title: string; auth: OAuth2Client; data: any; range: string;
utils/google/sheets.ts:71
↓ 1 callersFunctioncreateDate
({ time, day, dateOfMonth, frequency, }: { time: string | undefined; day: string | u
components/schedule/index.tsx:74
↓ 1 callersFunctioncreateSheet
()
pages/queries/export/[id].tsx:41
↓ 1 callersFunctioncreateSource
()
components/sources/index.tsx:77
↓ 1 callersFunctioncreateSpreadsheet
({ auth, title, }: { auth: OAuth2Client; title: string; })
utils/google/sheets.ts:5
↓ 1 callersFunctioncreateTab
({ auth, spreadsheet, tabName, }: { auth: OAuth2Client; spreadsheet: string; tabName: string; })
utils/google/sheets.ts:126
↓ 1 callersFunctiondeleteChart
(id: string)
pages/charts/index.tsx:28
↓ 1 callersFunctiondeleteJob
(id: string)
pages/schedule/index.tsx:25
↓ 1 callersFunctiondeleteQuery
(id: string)
pages/queries/index.tsx:43
↓ 1 callersFunctiondeleteSource
(id: string)
pages/sources/index.tsx:25
↓ 1 callersFunctiondowngradeToFree
(stripeCustomerId: string)
utils/stripe/index.ts:37
↓ 1 callersFunctioneditSource
()
components/sources/index.tsx:106
↓ 1 callersFunctionevent
(event_name: string, props: any)
utils/mixpanel.ts:10
↓ 1 callersFunctionformat
()
components/individual/Button.tsx:26
↓ 1 callersFunctionformatSchedule
(s: Schedule)
utils/schedule/index.ts:61
↓ 1 callersFunctiongetColumns
(table_schema: string, table_name: string)
pages/api/user/postgres/get-schema.ts:28
↓ 1 callersFunctiongetContent
()
pages/onboard/learn.tsx:17
↓ 1 callersFunctiongetContent
()
pages/onboard/analytics.tsx:17
↓ 1 callersFunctiongetContent
()
pages/learn/[id].tsx:31
↓ 1 callersFunctiongetNewToken
(code: string)
utils/google/auth.ts:25
↓ 1 callersFunctiongetPageProperties
( notionClient: Client, page_id: string )
utils/notion/utils/notion.ts:56
↓ 1 callersFunctiongetPaymentLink
(x: string)
components/pricing/index.tsx:69
↓ 1 callersFunctiongetPortalLink
()
pages/settings/index.tsx:72
↓ 1 callersFunctiongetPosts
()
pages/learn/index.tsx:16
↓ 1 callersFunctiongetQuestion
()
pages/learn/ask/[id].tsx:23
↓ 1 callersFunctiongetSource
()
pages/sources/edit.tsx:19
↓ 1 callersFunctiongetSpreadsheetId
(x: string)
utils/google/helpers.ts:1
↓ 1 callersFunctiongoogleSignIn
()
pages/auth/signin.tsx:57
↓ 1 callersFunctiongoogleSignUp
()
pages/auth/signup.tsx:76
↓ 1 callersFunctionhandler
( req: NextApiRequest, res: NextApiResponse )
pages/api/auth/index.ts:5
↓ 1 callersFunctioninitialLoad
()
pages/queries/edit/[id].tsx:66
↓ 1 callersFunctioninviteMember
()
pages/team/invite.tsx:25
↓ 1 callersFunctionisAdminRoute
(pathname: string)
utils/auth/protectServerRoute.ts:20
↓ 1 callersFunctionisInternalRoute
(pathname: string)
utils/auth/protectServerRoute.ts:30
↓ 1 callersFunctionisOrgRoute
(pathname: string)
utils/auth/protectServerRoute.ts:35
↓ 1 callersFunctionisUserRoute
(pathname: string)
utils/auth/protectServerRoute.ts:25
↓ 1 callersFunctionmodifyNumberedListObject
( blocks: ListBlockChildrenResponseResults )
utils/notion/utils/notion.ts:40
↓ 1 callersFunctionnextPost
()
pages/learn/[id].tsx:69
↓ 1 callersFunctiononboardingBox
({ title, description, status, link, helperText, }: { title: string; description
pages/index.tsx:50
↓ 1 callersFunctionopenSaveDialog
()
components/graphs/common/ChartContainer.tsx:291
↓ 1 callersMethodpageToMarkdown
* Retrieves Notion Blocks based on ID and converts them to Markdown Blocks * @param {string} id - notion page id (not database id) * @param {num
utils/notion/index.ts:82
↓ 1 callersFunctionpreviousPost
()
pages/learn/[id].tsx:83
↓ 1 callersFunctionqueryBuilder
({ tables, vars, sortBy, filterBy, limit, groupBy, }: QueryInputs)
utils/query/index.ts:159
↓ 1 callersFunctionqueryDb
()
components/query/form.tsx:227
↓ 1 callersFunctionqueryDb
()
pages/queries/view/[id].tsx:78
↓ 1 callersFunctionqueryDb
()
pages/charts/[id].tsx:25
↓ 1 callersFunctionreadSpreadsheet
({ auth, spreadsheet, range, }: { auth: OAuth2Client; spreadsheet: string; range: string; })
utils/google/sheets.ts:99
↓ 1 callersFunctionrefreshSession
()
pages/settings/index.tsx:37
↓ 1 callersFunctionremoveFilter
(v: number)
components/query/builder/QueryFilterSelector.tsx:44
↓ 1 callersFunctionremoveGroupby
(v: number)
components/query/builder/QueryGroupBy.tsx:43
next →1–100 of 305, ranked by callers