diff --git a/package.json b/package.json index f850c4ad4..c4195cf2f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "@ai-sdk/svelte": "^1.1.24", - "@appwrite.io/console": "https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@935b30f", + "@appwrite.io/console": "https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@8836b0c", "@appwrite.io/pink-icons": "0.25.0", "@appwrite.io/pink-icons-svelte": "^2.0.0-RC.1", "@appwrite.io/pink-legacy": "^1.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 725d81880..3e0f40dd8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^1.1.24 version: 1.1.24(svelte@5.25.3)(zod@3.24.3) '@appwrite.io/console': - specifier: https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@935b30f - version: https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@935b30f + specifier: https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@8836b0c + version: https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@8836b0c '@appwrite.io/pink-icons': specifier: 0.25.0 version: 0.25.0 @@ -257,8 +257,8 @@ packages: '@analytics/type-utils@0.6.2': resolution: {integrity: sha512-TD+xbmsBLyYy/IxFimW/YL/9L2IEnM7/EoV9Aeh56U64Ify8o27HJcKjo38XY9Tcn0uOq1AX3thkKgvtWvwFQg==} - '@appwrite.io/console@https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@935b30f': - resolution: {tarball: https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@935b30f} + '@appwrite.io/console@https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@8836b0c': + resolution: {tarball: https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@8836b0c} version: 1.9.0 '@appwrite.io/pink-icons-svelte@2.0.0-RC.1': @@ -2544,8 +2544,8 @@ packages: loupe@3.1.3: resolution: {integrity: sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==} - loupe@3.1.4: - resolution: {integrity: sha512-wJzkKwJrheKtknCOKNEtDK4iqg/MxmZheEMtSTYvnzRdEYaZzmgH976nenp8WdJRdx5Vc1X/9MO0Oszl6ezeXg==} + loupe@3.2.0: + resolution: {integrity: sha512-2NCfZcT5VGVNX9mSZIxLRkEAegDGBpuQZBy13desuHeVORmBDyAET4TkJr4SjqQy3A8JDofMN6LpkK8Xcm/dlw==} lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} @@ -3646,7 +3646,7 @@ snapshots: '@analytics/type-utils@0.6.2': {} - '@appwrite.io/console@https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@935b30f': {} + '@appwrite.io/console@https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@8836b0c': {} '@appwrite.io/pink-icons-svelte@2.0.0-RC.1(svelte@5.25.3)': dependencies: @@ -5037,7 +5037,7 @@ snapshots: '@vitest/utils@3.2.4': dependencies: '@vitest/pretty-format': 3.2.4 - loupe: 3.1.4 + loupe: 3.2.0 tinyrainbow: 2.0.0 '@vue/compiler-core@3.5.13': @@ -6177,7 +6177,7 @@ snapshots: loupe@3.1.3: {} - loupe@3.1.4: {} + loupe@3.2.0: {} lru-cache@10.4.3: {} diff --git a/src/lib/actions/analytics.ts b/src/lib/actions/analytics.ts index e3ac82596..d9c86e0d9 100644 --- a/src/lib/actions/analytics.ts +++ b/src/lib/actions/analytics.ts @@ -148,9 +148,9 @@ export enum Click { ConnectRepositoryClick = 'click_connect_repository', CreditsRedeemClick = 'click_credits_redeem', CloudSignupClick = 'click_cloud_signup', - DatabaseColumnDelete = 'click_column_delete', + DatabaseAttributeDelete = 'click_attribute_delete', DatabaseIndexDelete = 'click_index_delete', - DatabaseTableDelete = 'click_table_delete', + DatabaseCollectionDelete = 'click_collection_delete', DatabaseDatabaseDelete = 'click_database_delete', DatabaseImportCsv = 'click_database_import_csv', DomainCreateClick = 'click_domain_create', @@ -273,22 +273,22 @@ export enum Submit { DatabaseDelete = 'submit_database_delete', DatabaseUpdateName = 'submit_database_update_name', DatabaseImportCsv = 'submit_database_import_csv', - ColumnCreate = 'submit_column_create', - ColumnUpdate = 'submit_column_update', - ColumnDelete = 'submit_column_delete', - RowCreate = 'submit_row_create', - RowDelete = 'submit_row_delete', - RowUpdate = 'submit_row_update', - RowUpdatePermissions = 'submit_row_update_permissions', + AttributeCreate = 'submit_attribute_create', + AttributeUpdate = 'submit_attribute_update', + AttributeDelete = 'submit_attribute_delete', + DocumentCreate = 'submit_document_create', + DocumentDelete = 'submit_document_delete', + DocumentUpdate = 'submit_document_update', + DocumentUpdatePermissions = 'submit_document_update_permissions', IndexCreate = 'submit_index_create', IndexDelete = 'submit_index_delete', - TableCreate = 'submit_row_create', - TableDelete = 'submit_row_delete', - TableUpdateName = 'submit_row_update_name', - TableUpdatePermissions = 'submit_row_update_permissions', - TableUpdateSecurity = 'submit_row_update_security', - TableUpdateEnabled = 'submit_row_update_enabled', - TableUpdateDisplayNames = 'submit_row_update_display_names', + CollectionCreate = 'submit_collection_create', + CollectionDelete = 'submit_collection_delete', + CollectionUpdateName = 'submit_collection_update_name', + CollectionUpdatePermissions = 'submit_collection_update_permissions', + CollectionUpdateSecurity = 'submit_collection_update_security', + CollectionUpdateEnabled = 'submit_collection_update_enabled', + CollectionUpdateDisplayNames = 'submit_collection_update_display_names', FunctionCreate = 'submit_function_create', FunctionDelete = 'submit_function_delete', FunctionUpdateName = 'submit_function_update_name', diff --git a/src/lib/commandCenter/commands.ts b/src/lib/commandCenter/commands.ts index fa8427d30..b191b892f 100644 --- a/src/lib/commandCenter/commands.ts +++ b/src/lib/commandCenter/commands.ts @@ -28,10 +28,10 @@ const groups = [ 'integrations', 'migrations', 'users', - 'tables', - 'columns', + 'collections', + 'attributes', 'indexes', - 'rows', + 'documents', 'teams', 'security', 'buckets', diff --git a/src/lib/commandCenter/panels/ai.svelte b/src/lib/commandCenter/panels/ai.svelte index 5181a99a2..58407c678 100644 --- a/src/lib/commandCenter/panels/ai.svelte +++ b/src/lib/commandCenter/panels/ai.svelte @@ -27,7 +27,7 @@ const examples = [ 'How to add platform in the console?', 'How can I manage users, permissions, and access control in Appwrite?', - 'How can I set up database tables and rows in Appwrite?', + 'How can I set up database collections and documents in Appwrite?', 'How do I configure and manage server-side functions in Appwrite?', 'How to add custom domain in the console?' ]; diff --git a/src/lib/commandCenter/panels/tables.svelte b/src/lib/commandCenter/panels/collections.svelte similarity index 59% rename from src/lib/commandCenter/panels/tables.svelte rename to src/lib/commandCenter/panels/collections.svelte index 8fb86e37b..140d2e6ba 100644 --- a/src/lib/commandCenter/panels/tables.svelte +++ b/src/lib/commandCenter/panels/collections.svelte @@ -1,9 +1,9 @@