Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Devorein/Nishan
/ functions
Functions
578 in github.com/Devorein/Nishan
⨍
Functions
578
◇
Types & classes
449
↓ 114 callers
Method
getProps
()
packages/core/libs/Api/Nishan.ts:55
↓ 89 callers
Method
getCachedData
* Get the cached data using the current data id
packages/core/libs/Api/Data.ts:84
↓ 61 callers
Function
e1
(ops: IOperation[])
utils/tests/executeOperationsMock.ts:11
↓ 53 callers
Function
generateFormulaInfo
( description: string, function_name: TFunctionName, signatures: [TFormulaResultType, TFormulaResultType[]]
packages/notion-formula/libs/FunctionFormulaInfo/utils/generateFormulaInfo.ts:4
↓ 49 callers
Function
createExecuteOperationsMock
()
utils/tests/executeOperationsMock.ts:4
↓ 44 callers
Method
update
(arg: U)
packages/core/libs/Api/Data.ts:109
↓ 43 callers
Function
transformToMultiple
( arg?: UpdateType<any, any> | FilterType<any> )
packages/core/libs/utils/transformToMultiple.ts:9
↓ 30 callers
Method
addFormat
(format: InlineFormat)
packages/inline-blocks/libs/TextHighlightColor.ts:13
↓ 24 callers
Method
red
()
packages/inline-blocks/libs/TextHighlightColor.ts:61
↓ 23 callers
Method
bold
()
packages/inline-blocks/libs/TextStyleFormatter.ts:21
↓ 18 callers
Function
abs
(args: any)
packages/notion-formula/tests/utils.ts:86
↓ 16 callers
Function
construct
()
packages/core/tests/Api/View/View.test.ts:21
↓ 16 callers
Method
page
* Adds a referenced page content to current content and return a new NotionInlineBlock * @param id The id of the page to be added to current conten
packages/inline-blocks/libs/NotionInlineBlock.ts:42
↓ 14 callers
Function
e2
(ops: IOperation[])
utils/tests/executeOperationsMock.ts:14
↓ 14 callers
Method
getCollection
()
packages/core/libs/Api/View/View.ts:25
↓ 13 callers
Method
updateLastEditedProps
(data?: TData)
packages/core/libs/Api/Data.ts:74
↓ 12 callers
Function
checkboxSchemaUnit
(name: string)
packages/core/examples/Workflow 1/step_4/index.ts:50
↓ 12 callers
Function
construct
()
packages/core/tests/Api/Block/Block.test.ts:13
↓ 9 callers
Method
delete
* Delete the current workspace
packages/core/libs/Api/Space.ts:66
↓ 8 callers
Method
createBlocks
* Batch add multiple block as contents * @param contents array of options for configuring each content * @returns Array of newly created block c
packages/core/libs/Api/Block/Page.ts:23
↓ 8 callers
Method
getCachedParentData
()
packages/core/libs/Api/View/View.ts:30
↓ 7 callers
Function
cd
(id: string)
packages/traverser/tests/utils.ts:82
↓ 7 callers
Method
getSchemaUnit
(arg?: FilterType<ISchemaMapValue>)
packages/core/libs/Api/Collection.ts:272
↓ 6 callers
Function
counterFormula
( property: string, levels: [string, string] )
packages/core/examples/Workflow 1/util.ts:21
↓ 6 callers
Function
createSpaceIterateData
( block_id: string, props: Pick<INotionCoreOptions, 'cache' | 'token' | 'interval' | 'user_id'> )
packages/core/libs/utils/createSpaceIterateData.ts:5
↓ 6 callers
Method
getNotionUser
* Get `INotionUser` and return `NotionUser` by the `args` param * @param args An string id, a predicate passed the INotionUser or undefined to indi
packages/core/libs/Api/Nishan.ts:70
↓ 6 callers
Method
getProps
()
packages/core/libs/Api/Data.ts:192
↓ 6 callers
Function
getResultTypeFromSchemaType
(type: TSchemaUnitType)
packages/notion-formula/libs/GenerateAST/utils/getResultTypeFromSchemaType.ts:10
↓ 6 callers
Method
getSpaceView
* Get the space view associated with the space * @returns The associated space view object
packages/core/libs/Api/Space.ts:54
↓ 6 callers
Function
goalViewItem
(index: number)
packages/core/examples/Workflow 1/util.ts:161
↓ 6 callers
Function
sug
(type: TSchemaUnitType)
packages/fabricator/tests/utils.ts:12
↓ 6 callers
Method
updatePermissionsArray
( permission_type: IPermission['type'], options: { role: TPermissionRole } & Partial<IPublicPermission
packages/permissions/libs/BlockPermissions.ts:93
↓ 5 callers
Function
adders
(args: TNumberArrayArgument[])
packages/core/examples/Workflow 1/util.ts:34
↓ 5 callers
Function
construct
()
packages/core/tests/Api/Block/Page.test.ts:12
↓ 5 callers
Function
construct
()
packages/core/tests/Api/Block/CollectionBlock.test.ts:13
↓ 5 callers
Function
constructCache
(child_ids: string[])
packages/traverser/tests/utils.ts:90
↓ 5 callers
Function
generateNotionFormulaAST
( input_formula: FormulaArraySchemaUnitInput['formula'] | FormulaObjectSchemaUnitInput['formula'] | boolean |
packages/notion-formula/libs/GenerateAST/utils/generateNotionFormulaAST.ts:35
↓ 5 callers
Function
getCollectionId
(title: string)
packages/core/examples/Workflow 1/step_3/index.ts:82
↓ 5 callers
Method
initializeCacheForThisData
()
packages/core/libs/Api/Data.ts:121
↓ 5 callers
Function
schemaUnitCrudSetup
()
packages/core/tests/Api/Collection.test.ts:273
↓ 4 callers
Method
createRootPages
( contents: (ICollectionViewPageInput | IPageCreateInput)[] )
packages/core/libs/Api/Space.ts:81
↓ 4 callers
Function
createUpdateCacheIfNotPresentMock
()
packages/cache/tests/initializeCacheForSpecificData.test.ts:9
↓ 4 callers
Method
duplicate
* Duplicate the current block * @param infos Array of objects containing information regarding the position and id of the duplicated block * @re
packages/core/libs/Api/Block/Block.ts:51
↓ 4 callers
Function
generateArgumentFromResultType
(result_type)
docs/scripts/generateNotionFunctionReference.js:12
↓ 4 callers
Function
generateNotionBlockOperationsFromMarkdown
(content: ASTNode, notion_data: NotionOperationData)
packages/markdown/src/uploadMarkdown.ts:26
↓ 4 callers
Function
getBlockResolveType
(obj: TBlock)
packages/graphql/libs/Resolvers/utils/getBlockResolveType.ts:3
↓ 4 callers
Method
getBlocks
* Get all the blocks of the page as an object * @returns An array of block object
packages/core/libs/Api/Block/Page.ts:40
↓ 4 callers
Method
getCachedChildData
()
packages/core/libs/Api/SchemaUnit.ts:60
↓ 4 callers
Function
getCollectionId
(title: string)
packages/core/examples/Workflow 1/step_4/index.ts:24
↓ 4 callers
Method
getNotionUserIdFromEmail
({ email, id }: UserIdentifier)
packages/permissions/libs/BlockPermissions.ts:67
↓ 4 callers
Function
getParentResolveType
(obj: TParentType)
packages/graphql/libs/Resolvers/utils/getParentResolveType.ts:3
↓ 4 callers
Method
getSpace
* Get the corresponding space associated with this space view * @returns The corresponding space object
packages/core/libs/Api/SpaceView.ts:43
↓ 4 callers
Method
reposition
(arg?: INotionRepositionParams)
packages/core/libs/Api/View/View.ts:34
↓ 4 callers
Function
rowCrudSetup
()
packages/core/tests/Api/Collection.test.ts:167
↓ 3 callers
Function
aggregationCrudSetup
()
packages/core/tests/Api/View/Aggregator.test.ts:39
↓ 3 callers
Function
createBlockClass
(type: TBlockType, id: string, options: INotionFabricatorOptions)
packages/core/libs/createBlockClass.ts:11
↓ 3 callers
Method
createSorts
(args: TSortCreateInput[])
packages/core/libs/Api/View/View.ts:38
↓ 3 callers
Function
detectAggregationErrors
( schema_map: ISchemaMap, input: Omit<TAggregationsCreateInput, 'aggregator'>, aggregations_map: ISchemaAgg
packages/core/libs/Api/View/Aggregator.ts:18
↓ 3 callers
Function
getChildIds
(child_ids: keyof T | string[], parent_data: T)
packages/traverser/libs/utils/getChildIds.ts:6
↓ 3 callers
Method
getLastEditedProps
()
packages/core/libs/Api/Data.ts:66
↓ 3 callers
Method
getProps
()
packages/permissions/libs/SpacePermissions.ts:42
↓ 3 callers
Method
getRootPage
( arg?: FilterType< IPage | (ICollectionViewPage & { collection: ICollection }) > )
packages/core/libs/Api/Space.ts:98
↓ 3 callers
Method
getRootPages
( args?: FilterTypes< IPage | (ICollectionViewPage & { collection: ICollection }) >, multipl
packages/core/libs/Api/Space.ts:106
↓ 3 callers
Function
goal2taskCompletedStepsRollup
(index: number)
packages/core/examples/Workflow 1/step_2/index.ts:162
↓ 3 callers
Function
goal2taskTotalTasksRollup
(index: number)
packages/core/examples/Workflow 1/step_2/index.ts:150
↓ 3 callers
Function
goalProgress
(goal_number: number)
packages/core/examples/Workflow 1/step_2/index.ts:26
↓ 3 callers
Function
isObject
(item: any)
packages/utils/libs/deepMerge.ts:1
↓ 3 callers
Function
parseContent
(content: string)
packages/markdown/utils/parseFile.ts:13
↓ 3 callers
Function
parseParagraphNode
(paragraph: ASTNode)
packages/markdown/utils/parseParagraphNode.ts:59
↓ 3 callers
Function
setIdentifierPositionalArgs
(yargs: yargs.Argv<Record<string, unknown>>)
packages/cli/libs/utils/setIdentifierPositionalArgs.ts:3
↓ 3 callers
Function
task2goalRelation
(index: number)
packages/core/examples/Workflow 1/step_2/index.ts:129
↓ 3 callers
Function
task2goalRollup
(index: number)
packages/core/examples/Workflow 1/step_2/index.ts:138
↓ 3 callers
Function
tasksTableViews
(name: string, value: DateViewFiltersValue)
packages/core/examples/Workflow 1/step_2/index.ts:63
↓ 3 callers
Function
templateCrudSetup
()
packages/core/tests/Api/Collection.test.ts:77
↓ 3 callers
Method
updateNonUserSpecificPermission
( permission_type: 'public_permission' | 'space_permission', options: { role: TPublicPermissionRole |
packages/permissions/libs/BlockPermissions.ts:211
↓ 3 callers
Method
updatePublicPermission
( options: { role: TPublicPermissionRole } & Partial<IPublicPermissionOptions> )
packages/permissions/libs/BlockPermissions.ts:244
↓ 3 callers
Method
updateSort
(arg: UpdateType<ISchemaSortsMapValue, TSortUpdateInput>)
packages/core/libs/Api/View/View.ts:64
↓ 3 callers
Method
updateUserPermissions
* Update the role of the current users based on their id * @param args array of array [id of the user, role type for the user]
packages/permissions/libs/BlockPermissions.ts:164
↓ 2 callers
Method
addMembers
(infos: [string, TSpaceMemberPermissionRole][])
packages/permissions/libs/SpacePermissions.ts:53
↓ 2 callers
Method
blue
()
packages/inline-blocks/libs/TextHighlightColor.ts:49
↓ 2 callers
Function
cdo
(id: string)
packages/traverser/tests/utils.ts:10
↓ 2 callers
Function
clsx
(styles.sidebar, { [styles.sidebarWithHideableNavbar]: hideOnScroll, [styles.sidebarHidden]: isHidden
docs/src/theme/DocSidebar/index.js:175
↓ 2 callers
Function
createCache
(space_view_1: any)
packages/cache/tests/initializeCacheForSpecificData.test.ts:353
↓ 2 callers
Function
createDependencyMap
(package_names: string[], packages_map: IPackageMap)
scripts/libs/Create/createDependencyMap.ts:3
↓ 2 callers
Function
createLinkedDB
(collection_id: string, cvp: 'EBooks' | 'Courses', title: string)
packages/core/examples/Workflow 1/step_3/index.ts:7
↓ 2 callers
Function
createPackageMap
()
scripts/libs/Create/createPackageMap.ts:6
↓ 2 callers
Function
createPackagePublishOrder
(updated_packages: string[], packages_map: IPackageMap)
scripts/libs/Create/createPackagePublishOrder.ts:3
↓ 2 callers
Function
createQueryCollectionMock
()
packages/cache/tests/initializeCacheForSpecificData.test.ts:428
↓ 2 callers
Function
createReadme
( package_readme_file_path: string, package_name: string, package_description: string )
scripts/libs/Create/createReadme.ts:4
↓ 2 callers
Method
createRows
* Add rows of data to the collection block * @param rows * @returns An array of newly created page objects
packages/core/libs/Api/Collection.ts:145
↓ 2 callers
Method
createSchemaUnits
* Create multiple new columns in the collection schema * @param args array of Schema creation properties * @returns An array of SchemaUnit objec
packages/core/libs/Api/Collection.ts:238
↓ 2 callers
Method
createSpace
* Create and return a new Space * @param opt Object for configuring the Space options * @returns Newly created Space object
packages/core/libs/Api/NotionUser.ts:66
↓ 2 callers
Function
cro
(id: string)
packages/traverser/tests/utils.ts:21
↓ 2 callers
Function
cuo
(id: string)
packages/traverser/tests/utils.ts:15
↓ 2 callers
Function
d
(id: string)
packages/traverser/tests/utils.ts:79
↓ 2 callers
Function
dcd
(id: string)
packages/traverser/tests/utils.ts:54
↓ 2 callers
Method
deleteBlocks
* Delete multiple blocks from a page * @param arg array of ids or a predicate acting as a filter
packages/core/libs/Api/Block/Page.ts:83
↓ 2 callers
Method
deleteRootPage
* Delete a single root page from the space * @param arg Criteria to filter the page to be deleted
packages/core/libs/Api/Space.ts:171
↓ 2 callers
Method
deleteRootPages
* Delete multiple root_pages or root_collection_view_pages from the space * @param arg Criteria to filter the pages to be deleted * @param multi
packages/core/libs/Api/Space.ts:180
↓ 2 callers
Method
deleteSchemaUnit
* Delete a single column from the collection schema * @param args schema_id string or predicate function * @returns A SchemaUnit object represen
packages/core/libs/Api/Collection.ts:378
next →
1–100 of 578, ranked by callers