Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AppFlowy-IO/AppFlowy-Cloud
/ functions
Functions
3,042 in github.com/AppFlowy-IO/AppFlowy-Cloud
⨍
Functions
3,042
◇
Types & classes
910
↓ 1 callers
Method
admin_create_sso_providers
( &self, access_token: &str, create_sso_provider_params: &CreateSSOProviderParams, )
libs/gotrue/src/api.rs:299
↓ 1 callers
Method
admin_delete_sso_provider
( &self, access_token: &str, idp_id: &str, )
libs/gotrue/src/api.rs:341
↓ 1 callers
Method
admin_get_sso_provider
( &self, access_token: &str, idp_id: &str, )
libs/gotrue/src/api.rs:313
↓ 1 callers
Method
admin_list_sso_providers
( &self, access_token: &str, )
libs/gotrue/src/api.rs:287
↓ 1 callers
Method
admin_user_details
( &self, access_token: &str, user_id: &str, // uuid )
libs/gotrue/src/api.rs:188
↓ 1 callers
Function
ai_completion_scope
()
src/api/ai.rs:22
↓ 1 callers
Function
alex_software_engineer_story
()
tests/collab/util.rs:109
↓ 1 callers
Function
api_client_with_email
same as generate_unique_registered_user_client but with specific email
libs/client-api-test/src/user.rs:92
↓ 1 callers
Function
append_block_at_the_end_of_page
( state: &AppState, user: RealtimeUser, workspace_id: Uuid, view_id: &str, serde_blocks: &[SerdeBloc
src/biz/workspace/page_view.rs:518
↓ 1 callers
Function
append_block_to_document_collab
( uid: i64, collab_storage: &Arc<dyn CollabStore>, workspace_id: Uuid, oid: Uuid, serde_blocks: &[Se
src/biz/workspace/page_view.rs:537
↓ 1 callers
Method
append_block_to_page
( &self, workspace_id: Uuid, view_id: &Uuid, params: &AppendBlockToPageParams, )
libs/client-api/src/http_view.rs:374
↓ 1 callers
Function
apply_updates_to_snapshot
( client_id: ClientID, object_id: ObjectId, collab_type: CollabType, rid_snapshot: Rid, update_snaps
services/appflowy-collaborate/src/collab/collab_manager.rs:666
↓ 1 callers
Method
approve_access_request
( &self, access_request_id: Uuid, )
libs/client-api/src/http_access_request.rs:39
↓ 1 callers
Function
approve_or_reject_access_request
( pg_pool: &PgPool, workspace_access_control: Arc<dyn WorkspaceAccessControl>, mailer: AFCloudMailer,
src/biz/access_request/ops.rs:109
↓ 1 callers
Method
as_uuid
(&self)
src/biz/authentication/jwt.rs:83
↓ 1 callers
Method
assert_json_key_eventually
Asserts that a specific key in the JSON eventually matches the expected value
libs/client-api-test/src/assertion_utils.rs:59
↓ 1 callers
Function
assert_num_connected_client_within_secs
( client: &TestClient, object_id: &Uuid, expected: usize, secs: u64, )
tests/collab/awareness_test.rs:66
↓ 1 callers
Function
assert_server_collab_eventually
Asserts that a server collab eventually matches the expected JSON
libs/client-api-test/src/assertion_utils.rs:94
↓ 1 callers
Method
attempt_connect
(self: Arc<Self>, _token: String)
libs/client-api/src/v2/conn_retry.rs:219
↓ 1 callers
Method
awareness
(&self)
services/appflowy-collaborate/src/collab/collab_manager.rs:79
↓ 1 callers
Method
awareness_update_sink
( &self, workspace_id: &Uuid, object_id: &Uuid, )
libs/collab-stream/src/client.rs:92
↓ 1 callers
Method
awareness_updates
( &self, object_id: &Uuid, )
libs/collab-stream/src/client.rs:167
↓ 1 callers
Function
azure_open_ai_config
()
libs/indexer/src/vector/embedder.rs:55
↓ 1 callers
Method
batch_create_collab_url
(&self, workspace_id: &Uuid)
libs/client-api/src/http.rs:1212
↓ 1 callers
Method
batch_get_collab
( &mut self, workspace_id: &Uuid, params: Vec<QueryCollab>, )
libs/client-api-test/src/test_client.rs:742
↓ 1 callers
Function
batch_get_collab_from_s3
( s3: &AwsS3BucketClientImpl, workspace_id: &Uuid, params: Vec<QueryCollab>, results: &mut HashMap<Uui
services/appflowy-collaborate/src/collab/cache/disk_cache.rs:641
↓ 1 callers
Method
batch_get_data
( &self, object_ids: &[Uuid], )
services/appflowy-collaborate/src/collab/cache/mem_cache.rs:135
↓ 1 callers
Method
batch_get_full_collab
( &self, workspace_id: &Uuid, queries: Vec<T>, from: Option<StateVector>, encoding: Encode
services/appflowy-collaborate/src/collab/cache/collab_cache.rs:514
↓ 1 callers
Method
batch_get_snapshot_collab
( &self, workspace_id: &Uuid, queries: Vec<T>, )
services/appflowy-collaborate/src/collab/cache/collab_cache.rs:394
↓ 1 callers
Method
batch_get_state_vector
( &self, object_ids: &[&ObjectId], )
libs/client-api/src/v2/db.rs:130
↓ 1 callers
Method
batch_index_collabs
Batch indexes collabs for search
services/appflowy-collaborate/src/collab/collab_manager.rs:638
↓ 1 callers
Method
batch_insert_by_user
Batch inserts snapshots grouped by user ID
services/appflowy-collaborate/src/collab/collab_manager.rs:609
↓ 1 callers
Method
batch_insert_collab
( &self, records: Vec<PendingCollabWrite>, )
services/appflowy-collaborate/src/collab/cache/disk_cache.rs:375
↓ 1 callers
Method
batch_insert_collabs
Note: This function will override any existing values without timestamp comparison. Use the single insert methods if you need conditional insertion ba
services/appflowy-collaborate/src/collab/collab_store.rs:137
↓ 1 callers
Method
batch_is_collab_deleted
( &self, object_ids: &[Uuid], )
services/appflowy-collaborate/src/collab/cache/disk_cache.rs:538
↓ 1 callers
Function
batch_put_collab_to_s3
( s3: &AwsS3BucketClientImpl, collabs: HashMap<String, Bytes>, )
services/appflowy-collaborate/src/collab/cache/disk_cache.rs:613
↓ 1 callers
Function
batch_select_collab_blob
( pg_pool: &PgPool, queries: Vec<QueryCollab>, results: &mut HashMap<Uuid, QueryCollabResult>, )
libs/database/src/collab/collab_db_ops.rs:282
↓ 1 callers
Function
batch_select_collab_embed
( executor: E, embedded_collab: Vec<EmbeddedCollabQuery>, )
libs/database/src/collab/collab_db_ops.rs:628
↓ 1 callers
Function
batch_upload_files_to_s3
( workspace_id: &str, client: &Arc<dyn S3Client>, resources: Vec<UploadCollabResource>, )
services/appflowy-worker/src/import_worker/worker.rs:1281
↓ 1 callers
Function
buffer_size_from_content_length
(content_length: Option<i64>)
services/appflowy-worker/src/import_worker/worker.rs:854
↓ 1 callers
Method
build_folder
(&self, workspace_id: WorkspaceId)
services/appflowy-collaborate/src/collab/collab_manager.rs:92
↓ 1 callers
Method
build_getting_started_view
( &self, view_builder: ViewBuilder, getting_started_view_uuid: String, desktop_guide_view_uuid
libs/workspace-template/src/document/getting_started.rs:117
↓ 1 callers
Method
build_getting_started_view
( &self, view_builder: ViewBuilder, getting_started_view_uuid: String, )
libs/workspace-template/src/document/vault_template.rs:30
↓ 1 callers
Function
calculate_md5
Calculates the MD5 hash of a file and returns the base64-encoded MD5 digest. # Arguments `file_path` - The path of the file for which the MD5 hash is
libs/client-api/src/http_file.rs:289
↓ 1 callers
Method
calculate_missing_update
( &self, state_vector: StateVector, )
services/appflowy-collaborate/src/group/group_init.rs:355
↓ 1 callers
Method
can_delete
(&self)
libs/database-entity/src/dto.rs:591
↓ 1 callers
Method
can_read
(&self)
services/appflowy-collaborate/src/ws2/actors/workspace.rs:751
↓ 1 callers
Method
can_write
(&self)
services/appflowy-collaborate/src/ws2/actors/workspace.rs:754
↓ 1 callers
Method
can_write
(&self)
libs/database-entity/src/dto.rs:584
↓ 1 callers
Function
change_workspace_icon
( tx: &mut Transaction<'_, sqlx::Postgres>, workspace_id: &Uuid, icon: &str, )
libs/database/src/workspace.rs:109
↓ 1 callers
Function
chat_scope
()
src/api/chat.rs:38
↓ 1 callers
Method
check_ack_broadcast_contiguous
(&self, object_id: &Uuid)
libs/client-api/src/collab_sync/collab_stream.rs:472
↓ 1 callers
Function
check_blob_existence
( s3_client: &Arc<dyn S3Client>, s3_key: &str, )
services/appflowy-worker/src/import_worker/worker.rs:407
↓ 1 callers
Method
check_broadcast_contiguous
Checks if the given broadcast sequence number is contiguous with the current sequence. Verifies that the broadcast sequence number provided (`broadca
libs/client-api/src/collab_sync/collab_stream.rs:453
↓ 1 callers
Function
check_if_user_is_allowed_to_delete_comment
( pg_pool: &PgPool, user_uuid: &Uuid, view_id: &Uuid, comment_id: &Uuid, )
src/biz/workspace/ops.rs:669
↓ 1 callers
Function
check_publish_name_already_exists
Checks if the `publish_name` already exists for the workspace
src/biz/workspace/publish.rs:637
↓ 1 callers
Function
check_resp
(resp: reqwest::Response)
admin_frontend/tests/utils/mod.rs:98
↓ 1 callers
Function
check_workspace_namespace
(new_namespace: &str)
src/biz/workspace/publish.rs:241
↓ 1 callers
Method
clean_awareness_state
(&self, object_id: &Uuid)
libs/client-api-test/src/test_client.rs:292
↓ 1 callers
Method
cleanup_expired_cache
Remove expired entries from cache
services/appflowy-collaborate/src/ws2/actors/workspace.rs:915
↓ 1 callers
Method
clear_permission_cache
Clear all cached permissions (useful when user's workspace role changes)
services/appflowy-collaborate/src/ws2/actors/workspace.rs:909
↓ 1 callers
Method
cmp
(&self, other: &Self)
libs/client-api/src/collab_sync/collab_sink.rs:685
↓ 1 callers
Method
cmp
(&self, other: &Self)
libs/collab-rt-entity/src/client_message.rs:229
↓ 1 callers
Function
collab_folder_to_published_outline
Returns only folders that are published, or one of the nested subfolders is published. Exclude folders that are in the trash.
src/biz/collab/publish_outline.rs:11
↓ 1 callers
Function
collab_key
(workspace_id: &Uuid, object_id: &Uuid)
services/appflowy-worker/src/import_worker/worker.rs:1615
↓ 1 callers
Function
collab_key_prefix
(workspace_id: &Uuid, object_id: &Uuid)
services/appflowy-collaborate/src/collab/cache/disk_cache.rs:722
↓ 1 callers
Function
collab_response_to_json
Converts a CollabResponse to JSON
libs/client-api-test/src/assertion_utils.rs:141
↓ 1 callers
Function
collab_scope
()
src/api/workspace.rs:399
↓ 1 callers
Function
collab_to_doc_state
( collab: Collab, collab_type: CollabType, )
src/biz/collab/utils.rs:392
↓ 1 callers
Method
collab_update_sink
( &self, workspace_id: &Uuid, object_id: &Uuid, collab_type: CollabType, )
libs/collab-stream/src/client.rs:77
↓ 1 callers
Function
collect_completion_v2
(mut stream: CompletionStream)
libs/client-api-test/src/test_client.rs:1198
↓ 1 callers
Method
collect_snapshot_tasks
Collects all snapshot tasks for the workspace
services/appflowy-collaborate/src/collab/collab_manager.rs:411
↓ 1 callers
Method
complete_upload_and_get_metadata
( &self, object_key: &str, upload_id: &str, completed_multipart_upload: CompletedMultipartUplo
libs/database/src/file/s3_client_impl.rs:103
↓ 1 callers
Function
component_router
()
admin_frontend/src/web_app.rs:44
↓ 1 callers
Function
compute_embedding_records
( indexer_provider: &IndexerProvider, model: EmbeddingModel, unindexed_records: Vec<UnindexedCollab>,
libs/indexer/src/unindexed_workspace.rs:224
↓ 1 callers
Method
connect_all
Connects all workspaces
libs/client-api-test/src/workspace_ops.rs:83
↓ 1 callers
Function
connect_async
(url: &str, header_map: HeaderMap)
libs/client-websocket/src/web.rs:7
↓ 1 callers
Method
connect_ws_url
(&self)
libs/client-api/src/http_file.rs:261
↓ 1 callers
Function
convert_documents_to_text
(documents: Vec<LLMDocument>)
libs/llm-client/src/chat.rs:148
↓ 1 callers
Function
copy_buffer
(src: &[u8], dest: &mut [u8])
src/api/util.rs:207
↓ 1 callers
Method
create
(&self, _object_id: String)
libs/workspace-template/src/document/getting_started.rs:182
↓ 1 callers
Function
create_access_request
( pg_pool: &PgPool, mailer: AFCloudMailer, appflowy_web_url: &str, workspace_id: Uuid, view_id: Uuid
src/biz/access_request/ops.rs:25
↓ 1 callers
Method
create_and_edit_collab_with_data
( &mut self, object_id: Uuid, workspace_id: Uuid, collab_type: CollabType, encoded_collab_
libs/client-api-test/src/test_client_v2.rs:833
↓ 1 callers
Function
create_app
(listener: TcpListener, config: Config)
services/appflowy-worker/src/application.rs:79
↓ 1 callers
Function
create_board_page
( state: &AppState, user: RealtimeUser, workspace_id: Uuid, parent_view_id: &Uuid, name: Option<&str
src/biz/workspace/page_view.rs:1143
↓ 1 callers
Function
create_bucket_if_not_exists
( client: &aws_sdk_s3::Client, s3_setting: &S3Setting, )
src/application.rs:455
↓ 1 callers
Function
create_calendar_page
( state: &AppState, user: RealtimeUser, workspace_id: Uuid, parent_view_id: &Uuid, name: Option<&str
src/biz/workspace/page_view.rs:1169
↓ 1 callers
Function
create_card_status_field
()
src/biz/collab/database.rs:162
↓ 1 callers
Function
create_chat_and_ask_question
( test_client: &mut TestClient, workspace_id: &Uuid, rag_id: uuid::Uuid, chat_name: &str, question:
tests/search/document_search.rs:216
↓ 1 callers
Function
create_chat_message
( pg_pool: &PgPool, uid: i64, user_uuid: Uuid, chat_id: String, params: CreateChatMessageParams, )
src/biz/chat/ops.rs:127
↓ 1 callers
Function
create_chat_page
( state: &AppState, user: RealtimeUser, workspace_id: Uuid, parent_view_id: &Uuid, name: Option<&str
src/biz/workspace/page_view.rs:1314
↓ 1 callers
Method
create_collab_with_data
( &mut self, workspace_id: Uuid, object_id: Uuid, collab_type: CollabType, encoded_collab_
libs/client-api-test/src/test_client.rs:920
↓ 1 callers
Function
create_comment_on_published_view
( pg_pool: &PgPool, view_id: &Uuid, reply_comment_id: &Option<Uuid>, content: &str, user_uuid: &Uuid
src/biz/workspace/ops.rs:185
↓ 1 callers
Function
create_database_collab
( params: CreateDatabaseParams, )
libs/workspace-template/src/database/database_collab.rs:8
↓ 1 callers
Function
create_database_view
( state: &AppState, user: RealtimeUser, workspace_id: Uuid, database_view_id: &Uuid, view_layout: &V
src/biz/workspace/page_view.rs:2149
↓ 1 callers
Method
create_database_view
( &self, workspace_id: Uuid, view_id: &Uuid, params: &CreatePageDatabaseViewParams, )
libs/client-api/src/http_view.rs:393
↓ 1 callers
Function
create_date_field
()
src/biz/collab/database.rs:154
↓ 1 callers
Method
create_document_and_database_data
( &self, general_view_uuid: String, shared_view_uuid: String, getting_started_view_uuid: Strin
libs/workspace-template/src/document/getting_started.rs:41
↓ 1 callers
Function
create_document_collab
(document_id: &str, file_name: &str)
tests/search/document_search.rs:174
↓ 1 callers
Method
create_document_collab
(&self, workspace_id: Uuid, object_id: Uuid)
libs/client-api-test/src/test_client.rs:356
← previous
next →
801–900 of 3,042, ranked by callers