MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctiongetDocument
(params: { data: Uint8Array })
web/src/lib/components/attachments/AttachmentPdfPreview.svelte.test.ts:21
FunctiongetFieldValue
(item: Item, key: string)
web/src/lib/types/index.ts:3253
FunctiongetItem
()
web/src/lib/chat/chatRecords.test.ts:47
FunctiongetLastAuthMethod
()
web/src/lib/auth/lastMethod.ts:60
FunctiongetRandomValues
(arr: T)
web/src/lib/collab/materializer/polyfills.ts:36
MethodgetResponseHeader
(k: string)
web/src/lib/api/importStaleBodies.test.ts:31
FunctiongetScrollTarget
()
web/src/lib/scroll/restore.svelte.ts:97
FunctiongetStatusOptions
(collection: Collection)
web/src/lib/types/index.ts:3258
Methodgit
(*args)
scripts/ci-scope_test.py:72
FunctionglobalSetup
(config: FullConfig)
web/e2e/global-setup.ts:41
Functiongo
()
web/src/lib/components/items/itemDetailLoader.ts:38
FunctiongraphCommittedNoticeTest
(t *testing.T)
internal/store/commitment_graph_notices_test.go:12
FunctiongraphFencedGateTest
(t *testing.T)
internal/store/commitment_graph_lifecycle_test.go:244
FunctiongraphHeldDeadline
(t *testing.T, srv *Server)
internal/server/commitment_graph_tick_test.go:134
FunctiongraphHistoryMoveTest
(t *testing.T)
internal/store/commitment_graph_notices_test.go:31
FunctiongraphNoticeRecipientTests
(t *testing.T)
internal/store/commitment_graph_notices_test.go:279
FunctiongraphRefusedNoticeTest
(t *testing.T)
internal/store/commitment_graph_notices_test.go:121
FunctiongraphTickFairness
(t *testing.T, srv *Server)
internal/server/commitment_graph_tick_test.go:93
FunctiongroupTemplatesByCategory
(templates: WorkspaceTemplate[])
web/src/lib/utils/templates.ts:42
MethodhandleAckItemReminder
handleAckItemReminder acknowledges the pending simple run-once alarm on an item. POST /api/v1/workspaces/{slug}/items/{itemSlug}/reminders/ack
internal/server/handlers_reminders.go:189
MethodhandleAckReminder
handleAckReminder acknowledges a fired reminder. POST /api/v1/workspaces/{slug}/reminders/{reminderID}/ack
internal/server/handlers_reminders.go:232
MethodhandleActivateLibraryEntry
handleActivateLibraryEntry creates an item from a convention or playbook library entry and records its built-in origin (TASK-3462). It is the one door
internal/server/handlers_library_activate.go:66
MethodhandleAddConnectedAppWorkspace
handleAddConnectedAppWorkspace: POST /api/v1/connected-apps/{id}/workspaces Body: {"workspace": "slug-or-id"}. Resolves to a workspace_id, verifies th
internal/server/handlers_connected_apps.go:530
MethodhandleAddReaction
handleAddReaction adds an emoji reaction to a comment.
internal/server/handlers_comments.go:486
MethodhandleAdminBillingStats
handleAdminBillingStats serves GET /api/v1/admin/billing-stats. Auth: requireCloudMode (the route group already gates on this) + requireAdmin (this h
internal/server/handlers_admin_billing.go:59
MethodhandleAdminDeleteInvitation
handleAdminDeleteInvitation revokes a pending invitation. DELETE /api/v1/admin/invitations/{invID}
internal/server/handlers_admin_invitations.go:152
MethodhandleAdminDisableUser
handleAdminDisableUser soft-disables a user account. POST /api/v1/admin/users/{userID}/disable
internal/server/handlers_admin_users.go:656
MethodhandleAdminEnableUser
handleAdminEnableUser re-enables a disabled user account. POST /api/v1/admin/users/{userID}/enable
internal/server/handlers_admin_users.go:713
MethodhandleAdminGetLimits
--- Admin Limits Management --- handleAdminGetLimits returns the current default plan limits. GET /api/v1/admin/limits
internal/server/handlers_admin_users.go:794
MethodhandleAdminGetUser
handleAdminGetUser returns a single user with full detail. GET /api/v1/admin/users/{userID}
internal/server/handlers_admin_users.go:144
MethodhandleAdminGetUserActivity
handleAdminGetUserActivity returns a paginated chronological feed of activities originated by the user — item writes, comments, logins, account change
internal/server/handlers_admin_users.go:245
MethodhandleAdminGetUserDetail
handleAdminGetUserDetail returns a combined per-user payload: the user vitals plus a per-workspace breakdown enriched with aggregations (collections_c
internal/server/handlers_admin_users.go:321
MethodhandleAdminGetUserMetrics
handleAdminGetUserMetrics returns the windowed engagement metrics for a single user — days_since_write, writes_7d, collections_touched_30d. Powers the
internal/server/handlers_admin_users.go:212
MethodhandleAdminGetUserWorkspaces
handleAdminGetUserWorkspaces returns workspace memberships for a user. GET /api/v1/admin/users/{userID}/workspaces
internal/server/handlers_admin_users.go:372
MethodhandleAdminListInvitations
handleAdminListInvitations returns all pending invitations across all workspaces. GET /api/v1/admin/invitations?q=search
internal/server/handlers_admin_invitations.go:17
MethodhandleAdminListUsers
--- Admin User Management (TASK-502) --- handleAdminListUsers returns a paginated list of users with plan info, cheap aggregations (workspace_count, s
internal/server/handlers_admin_users.go:32
MethodhandleAdminMCPAudit
handleAdminMCPAudit returns the full audit log. Admin-only. Supports limit + offset paging; no other filters in v1. The admin UI can layer client-sid
internal/server/handlers_mcp_audit.go:158
MethodhandleAdminResendInvitation
handleAdminResendInvitation revokes the old invitation and creates a fresh one with a new code, then sends the invitation email. POST /api/v1/admin/in
internal/server/handlers_admin_invitations.go:40
MethodhandleAdminResetPassword
handleAdminResetPassword force-resets a user's password. If email is configured, sends a reset link. Otherwise returns a temporary password. POST /api
internal/server/handlers_admin_users.go:568
MethodhandleAdminStats
--- Admin Platform Stats --- handleAdminStats returns platform-level statistics. GET /api/v1/admin/stats
internal/server/handlers_admin_users.go:874
MethodhandleAdminUpdateLimits
handleAdminUpdateLimits updates default plan limits. PATCH /api/v1/admin/limits Body: {"free": {"workspaces": 10, ...}, "pro": {"workspaces": -1, ...}
internal/server/handlers_admin_users.go:832
MethodhandleAdminUpdateUser
handleAdminUpdateUser updates a user's plan, overrides, or role. PATCH /api/v1/admin/users/{userID}
internal/server/handlers_admin_users.go:399
MethodhandleAdminVerifyEmail
handleAdminVerifyEmail force-verifies a user's email address — the admin override for a locked-out unverified account (PLAN-1933 DR-7). Web-console on
internal/server/handlers_admin_users.go:755
MethodhandleAppInstallPreview
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_install.go:232
MethodhandleAppUpgradeConfirm
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_upgrade.go:122
MethodhandleAppUpgradePreview
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_upgrade.go:51
MethodhandleBootstrap
handleBootstrap creates the first admin account for a fresh instance. Default gate is loopback-only: setup must happen on the server host or from ins
internal/server/handlers_auth.go:520
MethodhandleBuiltinUpdate
handleBuiltinUpdate: POST /workspaces/{ws}/items/{ref}/builtin/update. Gives the item the library's current text: its body, and the fields an update w
internal/server/handlers_builtin.go:306
MethodhandleBulkItems
handleBulkItems applies one mutation verb to many items in a single request, emitting ONE SSE batch event and ONE webhook for the whole batch instead
internal/server/handlers_items_bulk.go:116
MethodhandleCancelInvitation
handleCancelInvitation deletes a pending invitation.
internal/server/handlers_members.go:417
MethodhandleChatGPTProtectedResource
(w http.ResponseWriter, _ *http.Request)
internal/server/handlers_chatgpt_mcp.go:88
MethodhandleChatUnread
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:384
MethodhandleCheckUsername
handleCheckUsername checks if a username is available for registration. GET /api/v1/auth/check-username?username=foo
internal/server/handlers_auth.go:86
MethodhandleClaimByVerification
handleClaimByVerification: POST /api/v1/auth/verify-email/claim {token}. The verification link was mailed to the address, so whoever holds it owns th
internal/server/handlers_auth.go:2140
MethodhandleClaimItem
handleClaimItem acquires (or, for the live holder, refreshes) the execution lease on an item.
internal/server/handlers_item_lease.go:48
MethodhandleCloseWorkspaceTab
handleCloseWorkspaceTab: DELETE /{slug}. Closing is idempotent, and a slug outside the visible set is a no-op with the same 200, so this door is not a
internal/server/handlers_workspace_tabs.go:197
MethodhandleCollab
1 MiB handleCollab is the WebSocket entry point for real-time collab on a single item. GET /api/v1/collab/{itemID} Auth + access checks run BEFORE
internal/server/handlers_collab.go:81
MethodhandleCollectionCheckboxProgress
handleCollectionCheckboxProgress returns per-item markdown-checkbox progress for items in a single collection — the bookkeeping that powers the list/b
internal/server/handlers_items.go:3686
MethodhandleCollectionChildrenProgress
handleCollectionChildrenProgress returns child-item completion progress for all items in an arbitrary collection. It preserves the same visibility/gue
internal/server/handlers_items.go:3922
MethodhandleCollectionFieldUsage
handleCollectionFieldUsage answers how many live items hold a value per field key, and per string value (TASK-2188): the counts a schema editor shows
internal/server/handlers_collections.go:894
MethodhandleConfirmAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_provision.go:52
MethodhandleConventionLibrary
handleConventionLibrary returns the global convention library. Query params (all optional): - category=<name> — return only the matching category. Ca
internal/server/handlers_convention_library.go:18
MethodhandleCreateAgentRole
handleCreateAgentRole creates a new agent role in a workspace.
internal/server/handlers_agent_roles.go:41
MethodhandleCreateCLIAuthSession
handleCreateCLIAuthSession creates a new pending CLI auth session. The CLI calls this, then presents the auth URL to the user. POST /api/v1/auth/cli/s
internal/server/handlers_cli_auth.go:18
MethodhandleCreateCalendarFeed
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_calendar_feeds.go:47
MethodhandleCreateCollection
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_collections.go:234
MethodhandleCreateCollectionGrant
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_grants.go:47
MethodhandleCreateCollectionShareLink
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_share_links.go:158
MethodhandleCreateComment
handleCreateComment adds a new comment to an item.
internal/server/handlers_comments.go:70
MethodhandleCreateCommitmentGate
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_gates.go:15
MethodhandleCreateCommitmentLink
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_links.go:267
MethodhandleCreateDocument
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_documents.go:55
MethodhandleCreateItem
handleCreateItem creates a new item in a collection, validating fields against the schema.
internal/server/handlers_items.go:704
MethodhandleCreateItemCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitments.go:213
MethodhandleCreateItemGrant
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_grants.go:218
MethodhandleCreateItemLink
handleCreateItemLink creates a new link between two items.
internal/server/handlers_item_links.go:82
MethodhandleCreateItemReminder
handleCreateItemReminder arms a reminder on an item. POST /api/v1/workspaces/{slug}/items/{itemSlug}/reminders
internal/server/handlers_reminders.go:100
MethodhandleCreateItemShareLink
handleCreateShareLink creates a new share link for an item or collection. POST /workspaces/{ws}/items/{slug}/share-links or POST /workspaces/{ws}/coll
internal/server/handlers_share_links.go:79
MethodhandleCreateItemVerifications
handleCreateItemVerifications records one verify pass's verdicts. POST /api/v1/workspaces/{slug}/items/{itemSlug}/verifications The batch is atomic:
internal/server/handlers_verifications.go:90
MethodhandleCreateReply
handleCreateReply creates a reply to an existing comment.
internal/server/handlers_comments.go:388
MethodhandleCreateToken
handleCreateToken creates a new API token scoped to a workspace. The token is owned by the authenticated user (if any).
internal/server/handlers_tokens.go:75
MethodhandleCreateUserToken
handleCreateUserToken creates a new API token owned by the authenticated user.
internal/server/handlers_tokens.go:219
MethodhandleCreateView
handleCreateView creates a new saved view for a collection.
internal/server/handlers_views.go:60
MethodhandleCreateWatch
handleCreateWatch creates (or replaces the predicate on) a durable watch for the authenticated user on this item (TASK-2533). Re-running this on an al
internal/server/handlers_watches.go:27
MethodhandleCreateWebhook
handleCreateWebhook registers a new webhook for a workspace.
internal/server/handlers_webhooks.go:30
MethodhandleCreateWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:442
MethodhandleCreateWorkspaceGroup
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_groups.go:256
MethodhandleDeclineInvitation
handleDeclineInvitation answers POST /api/v1/invitations/{code}/decline (BUG-2136): declining from the join link. The caller must be signed in as the
internal/server/handlers_members.go:528
MethodhandleDeclineMyInvitation
handleDeclineMyInvitation answers POST /api/v1/me/invitations/{id}/decline (BUG-2136): the invitee says no from the in-app list. Same admission as the
internal/server/handlers_my_invitations.go:99
MethodhandleDeleteAgentRole
handleDeleteAgentRole removes an agent role from a workspace.
internal/server/handlers_agent_roles.go:122
MethodhandleDeleteAppInstallPending
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_install.go:645
MethodhandleDeleteCalendarFeed
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_calendar_feeds.go:118
MethodhandleDeleteChatMessage
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:314
MethodhandleDeleteCollection
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_collections.go:672
MethodhandleDeleteCollectionGrant
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_grants.go:127
MethodhandleDeleteComment
handleDeleteComment removes a comment.
internal/server/handlers_comments.go:201
MethodhandleDeleteCommitmentForecast
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_milestone.go:97
MethodhandleDeleteCommitmentGate
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_gates.go:47
MethodhandleDeleteCommitmentLink
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_links.go:377
MethodhandleDeleteDocument
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_documents.go:266
← previousnext →27,201–27,300 of 28,840, ranked by callers