modules

@nishans/endpoints / Exports

@nishans/endpoints#

Index#

Classes#

Interfaces#

Type aliases#

Functions#

Type aliases#

UpdateCacheManuallyParam#

Ƭ UpdateCacheManuallyParam: (string | [string, TDataType])[]

Defined in: src/types.ts:13

Functions#

createSpace#

â–¸ createSpace(params: CreateSpaceParams, configs: Configs): Promise<CreateSpaceResult>

Parameters:#

NameType
paramsCreateSpaceParams
configsConfigs

Returns: Promise<CreateSpaceResult>

Defined in: utils/mutations.ts:38


createTransaction#

â–¸ createTransaction(shardId: number, spaceId: string, operations: IOperation[]): SaveTransactionParams

Parameters:#

NameType
shardIdnumber
spaceIdstring
operationsIOperation[]

Returns: SaveTransactionParams

Defined in: utils/createTransaction.ts:5


enqueueTask#

â–¸ enqueueTask(params: EnqueueTaskParams, configs: Configs): Promise<EnqueueTaskResult>

Parameters:#

NameType
paramsEnqueueTaskParams
configsConfigs

Returns: Promise<EnqueueTaskResult>

Defined in: utils/mutations.ts:46


findUser#

â–¸ findUser(params: FindUserParams, configs: Configs): Promise<FindUserResult>

Parameters:#

NameType
paramsFindUserParams
configsConfigs

Returns: Promise<FindUserResult>

Defined in: utils/queries.ts:93


getBacklinksForBlock#

â–¸ getBacklinksForBlock(params: GetBackLinksForBlockParams, configs: Configs): Promise<GetBackLinksForBlockResult>

Parameters:#

NameType
paramsGetBackLinksForBlockParams
configsConfigs

Returns: Promise<GetBackLinksForBlockResult>

Defined in: utils/queries.ts:89


getGenericEmbedBlockData#

â–¸ getGenericEmbedBlockData(params: GetGenericEmbedBlockDataParams, configs: Configs): Promise<GetGenericEmbedBlockDataResult>

Parameters:#

NameType
paramsGetGenericEmbedBlockDataParams
configsConfigs

Returns: Promise<GetGenericEmbedBlockDataResult>

Defined in: utils/queries.ts:77


getGoogleDriveAccounts#

â–¸ getGoogleDriveAccounts(configs: Configs): Promise<GetGoogleDriveAccountsResult>

Parameters:#

NameType
configsConfigs

Returns: Promise<GetGoogleDriveAccountsResult>

Defined in: utils/queries.ts:85


getJoinableSpaces#

â–¸ getJoinableSpaces(configs: Configs): Promise<GetJoinableSpacesResult>

Parameters:#

NameType
configsConfigs

Returns: Promise<GetJoinableSpacesResult>

Defined in: utils/queries.ts:117


getPageVisits#

â–¸ getPageVisits(params: GetPageVisitsParams, configs: Configs): Promise<GetPageVisitsResult>

Parameters:#

NameType
paramsGetPageVisitsParams
configsConfigs

Returns: Promise<GetPageVisitsResult>

Defined in: utils/queries.ts:45


getPublicPageData#

â–¸ getPublicPageData(params: GetPublicPageDataParams, configs: Configs): Promise<GetPublicPageDataResult>

Parameters:#

NameType
paramsGetPublicPageDataParams
configsConfigs

Returns: Promise<GetPublicPageDataResult>

Defined in: utils/queries.ts:57


getPublicSpaceData#

â–¸ getPublicSpaceData(params: GetPublicSpaceDataParams, configs: Configs): Promise<GetPublicSpaceDataResult>

Parameters:#

NameType
paramsGetPublicSpaceDataParams
configsConfigs

Returns: Promise<GetPublicSpaceDataResult>

Defined in: utils/queries.ts:61


getSpaces#

â–¸ getSpaces(configs: Configs): Promise<GetSpacesResult>

Parameters:#

NameType
configsConfigs

Returns: Promise<GetSpacesResult>

Defined in: utils/queries.ts:73


getSubscriptionData#

â–¸ getSubscriptionData(params: GetSubscriptionDataParams, configs: Configs): Promise<GetSubscriptionDataResult>

Parameters:#

NameType
paramsGetSubscriptionDataParams
configsConfigs

Returns: Promise<GetSubscriptionDataResult>

Defined in: utils/queries.ts:65


getTasks#

â–¸ getTasks(params: GetTasksParams, configs: Configs): Promise<GetTasksResult>

Parameters:#

NameType
paramsGetTasksParams
configsConfigs

Returns: Promise<GetTasksResult>

Defined in: utils/queries.ts:133


getUploadFileUrl#

â–¸ getUploadFileUrl(params: GetUploadFileUrlParams, configs: Configs): Promise<GetUploadFileUrlResult>

Parameters:#

NameType
paramsGetUploadFileUrlParams
configsConfigs

Returns: Promise<GetUploadFileUrlResult>

Defined in: utils/queries.ts:81


getUserNotifications#

â–¸ getUserNotifications(params: GetUserNotificationsParams, configs: Configs): Promise<GetUserNotificationsResult>

Parameters:#

NameType
paramsGetUserNotificationsParams
configsConfigs

Returns: Promise<GetUserNotificationsResult>

Defined in: utils/queries.ts:129


getUserSharedPages#

â–¸ getUserSharedPages(params: GetUserSharedPagesParams, configs: Configs): Promise<GetUserSharedPagesResult>

Parameters:#

NameType
paramsGetUserSharedPagesParams
configsConfigs

Returns: Promise<GetUserSharedPagesResult>

Defined in: utils/queries.ts:49


getUserTasks#

â–¸ getUserTasks(configs: Configs): Promise<GetUserTasksResult>

Parameters:#

NameType
configsConfigs

Returns: Promise<GetUserTasksResult>

Defined in: utils/queries.ts:53


initializeGoogleDriveBlock#

â–¸ initializeGoogleDriveBlock(params: InitializeGoogleDriveBlockParams, configs: Configs): Promise<InitializeGoogleDriveBlockResult>

Parameters:#

NameType
paramsInitializeGoogleDriveBlockParams
configsConfigs

Returns: Promise<InitializeGoogleDriveBlockResult>

Defined in: utils/mutations.ts:58


initializePageTemplate#

â–¸ initializePageTemplate(params: InitializePageTemplateParams, configs: Configs): Promise<InitializePageTemplateResult>

Parameters:#

NameType
paramsInitializePageTemplateParams
configsConfigs

Returns: Promise<InitializePageTemplateResult>

Defined in: utils/mutations.ts:54


inviteGuestsToSpace#

â–¸ inviteGuestsToSpace(params: InviteGuestsToSpaceParams, configs: Configs): Promise<unknown>

Parameters:#

NameType
paramsInviteGuestsToSpaceParams
configsConfigs

Returns: Promise<unknown>

Defined in: utils/mutations.ts:34


isEmailEducation#

â–¸ isEmailEducation(configs: Configs): Promise<IsEmailEducationResult>

Parameters:#

NameType
configsConfigs

Returns: Promise<IsEmailEducationResult>

Defined in: utils/queries.ts:125


isUserDomainJoinable#

â–¸ isUserDomainJoinable(configs: Configs): Promise<IsUserDomainJoinableResult>

Parameters:#

NameType
configsConfigs

Returns: Promise<IsUserDomainJoinableResult>

Defined in: utils/queries.ts:121


loadBlockSubtree#

â–¸ loadBlockSubtree(params: LoadBlockSubtreeParams, configs: Configs): Promise<LoadBlockSubtreeResult>

Parameters:#

NameType
paramsLoadBlockSubtreeParams
configsConfigs

Returns: Promise<LoadBlockSubtreeResult>

Defined in: utils/queries.ts:69


loadPageChunk#

â–¸ loadPageChunk(params: LoadPageChunkParams, configs: Configs): Promise<LoadPageChunkResult>

Parameters:#

NameType
paramsLoadPageChunkParams
configsConfigs

Returns: Promise<LoadPageChunkResult>

Defined in: utils/queries.ts:109


loadUserContent#

â–¸ loadUserContent(configs: Configs): Promise<LoadUserContentResult>

Parameters:#

NameType
configsConfigs

Returns: Promise<LoadUserContentResult>

Defined in: utils/queries.ts:105


queryCollection#

â–¸ queryCollection(params: QueryCollectionParams, configs: Configs): Promise<QueryCollectionResult>

Parameters:#

NameType
paramsQueryCollectionParams
configsConfigs

Returns: Promise<QueryCollectionResult>

Defined in: utils/queries.ts:101


recordPageVisit#

â–¸ recordPageVisit(params: RecordPageVisitParams, configs: Configs): Promise<GetPageVisitsResult>

Parameters:#

NameType
paramsRecordPageVisitParams
configsConfigs

Returns: Promise<GetPageVisitsResult>

Defined in: utils/queries.ts:113


removeUsersFromSpace#

â–¸ removeUsersFromSpace(params: RemoveUsersFromSpaceParams, configs: Configs): Promise<RemoveUsersFromSpaceResult>

Parameters:#

NameType
paramsRemoveUsersFromSpaceParams
configsConfigs

Returns: Promise<RemoveUsersFromSpaceResult>

Defined in: utils/mutations.ts:30


saveTransactions#

â–¸ saveTransactions(params: SaveTransactionParams, configs: Configs): Promise<unknown>

Parameters:#

NameType
paramsSaveTransactionParams
configsConfigs

Returns: Promise<unknown>

Defined in: utils/mutations.ts:42


sendRequest#

â–¸ ConstsendRequest<T>(url: string, arg: any, configs: Configs): Promise<T>

Type parameters:#

Name
T

Parameters:#

NameType
urlstring
argany
configsConfigs

Returns: Promise<T>

Defined in: utils/sendRequest.ts:28


setBookmarkMetadata#

â–¸ setBookmarkMetadata(params: SetBookmarkMetadataParams, configs: Configs): Promise<unknown>

Parameters:#

NameType
paramsSetBookmarkMetadataParams
configsConfigs

Returns: Promise<unknown>

Defined in: utils/mutations.ts:50


setPageNotificationsAsRead#

â–¸ setPageNotificationsAsRead(params: SetPageNotificationsAsReadParams, configs: Configs): Promise<unknown>

Parameters:#

NameType
paramsSetPageNotificationsAsReadParams
configsConfigs

Returns: Promise<unknown>

Defined in: utils/mutations.ts:22


setSpaceNotificationsAsRead#

â–¸ setSpaceNotificationsAsRead(params: SetSpaceNotificationsAsReadParams, configs: Configs): Promise<unknown>

Parameters:#

NameType
paramsSetSpaceNotificationsAsReadParams
configsConfigs

Returns: Promise<unknown>

Defined in: utils/mutations.ts:26


syncRecordValues#

â–¸ syncRecordValues(params: SyncRecordValuesParams, configs: Configs): Promise<SyncRecordValuesResult>

Parameters:#

NameType
paramsSyncRecordValuesParams
configsConfigs

Returns: Promise<SyncRecordValuesResult>

Defined in: utils/queries.ts:97