Project Tree
Generated navigation artifact. Do not edit manually. Regenerate with:
npm run docs:tree
This file represents the repository layout and is not an architecture source of truth.
.
|-- app
| |-- (app)
| | |-- control-tower
| | | +-- page.tsx
| | |-- dashboard
| | | |-- page.tsx
| | | +-- timeline.tsx
| | |-- expense-reports
| | | |-- [reportId]
| | | | +-- page.tsx
| | | +-- page.tsx
| | |-- my-space
| | | +-- page.tsx
| | |-- layout.tsx
| | +-- page.tsx
| |-- api
| | |-- auth
| | | +-- google
| | | |-- callback
| | | | +-- route.ts
| | | +-- route.ts
| | |-- drive
| | | +-- files
| | | +-- route.ts
| | |-- expense-reports
| | | |-- [reportId]
| | | | |-- items
| | | | | |-- [itemId]
| | | | | | +-- route.ts
| | | | | +-- route.ts
| | | | +-- route.ts
| | | |-- catalogs
| | | | +-- route.ts
| | | +-- route.ts
| | +-- workspaces
| | +-- route.ts
| |-- auth
| | +-- callback
| | +-- route.ts
| |-- calendar
| | +-- page.tsx
| |-- clients
| | +-- page.tsx
| |-- history
| | +-- page.tsx
| |-- login
| | +-- page.tsx
| |-- tasks
| | +-- page.tsx
| |-- globals.css
| |-- layout.tsx
| |-- loading.tsx
| +-- page.tsx
|-- components
| |-- calendar
| | +-- CalendarPreview.tsx
| |-- dashboard
| | +-- dashboard-client.tsx
| |-- expense-reports
| | |-- expense-report-item-dialog.tsx
| | |-- expense-report-items-page.tsx
| | +-- new-expense-report-dialog.tsx
| |-- layout
| | |-- active-workspace-section.tsx
| | |-- app-sidebar.tsx
| | |-- command-center.tsx
| | |-- header.tsx
| | |-- index.tsx
| | |-- my-workspace-section.tsx
| | |-- notificationPanel.tsx
| | |-- rightSidebar.tsx
| | |-- sidebar.tsx
| | |-- sidebar-navigation.tsx
| | |-- user-menu.tsx
| | |-- workspace-loading-overlay.tsx
| | |-- workspace-switcher.tsx
| | |-- workspace-switcher-dialog.tsx
| | +-- workspace-theme-inset.tsx
| |-- providers
| | +-- workspace-provider.tsx
| |-- ui
| | |-- button.tsx
| | |-- card.tsx
| | |-- collapsible.tsx
| | |-- dialog.tsx
| | |-- dropdown-menu.tsx
| | |-- input.tsx
| | |-- label.tsx
| | |-- separator.tsx
| | |-- sheet.tsx
| | |-- sidebar.tsx
| | |-- skeleton.tsx
| | +-- tooltip.tsx
| |-- loading.tsx
| +-- theme-toggle.tsx
|-- database
| |-- migrations
| | |-- 001_init.sql
| | |-- 002_create_integrations.sql
| | |-- 003_make_user_id_nullable_integrations.sql
| | |-- 004_update_documents_for_drive.sql
| | |-- 005_add_user_id_to_documents.sql
| | |-- 006_add_document_hierarchy_and_sync_support.sql
| | |-- 007_add_web_content_link_to_documents.sql
| | |-- 008_create_normalized_documents.sql
| | |-- 009_create_workspaces.sql
| | |-- 010_create_workspace_sources.sql
| | |-- 011_add_workspace_relations_to_documents.sql
| | |-- 012_create_workspace_users.sql
| | |-- 013_add_workspace_id_to_normalized_documents.sql
| | |-- 014_add_metadata_to_integrations.sql
| | |-- 015_create_application_schemas.sql
| | |-- 016_remove_legacy_company_model.sql
| | |-- 017_move_operational_tables_to_tuasesor_schema.sql
| | |-- 018_create_profiles_and_audit_foundation.sql
| | |-- 019_rename_workspace_users_to_workspace_members.sql
| | |-- 020_create_profile_trigger.sql
| | |-- 021_fix_profiles_auth_users_foreign_key.sql
| | |-- 022_remove_duplicate_profiles_foreign_key.sql
| | |-- 023_align_identity_and_workspace_model.sql
| | |-- 024_create_workspace_member_permissions.sql
| | |-- 025_add_profile_type_to_profiles.sql
| | |-- 026_create_profile_specialties_foundation.sql
| | |-- 027_configure_non_public_schema_permissions.sql
| | |-- 028_deduplicate_integrations_before_unique_constraint.sql
| | |-- 029_create_expense_reports_domain.sql
| | |-- 030_add_status_to_profiles.sql
| | |-- 031_sync_auth_user_profile_metadata.sql
| | |-- 032_strengthen_expense_reports_integrity.sql
| | |-- 033_enable_expense_reports_rls.sql
| | |-- 034_grant_expense_reports_write_permissions.sql
| | |-- 035_create_expense_report_rpc.sql
| | |-- 036_enable_workspace_catalog_rls.sql
| | |-- 037_secure_integrations_and_documents.sql
| | |-- 038_add_workspace_write_authorization.sql
| | |-- 039_apply_workspace_write_authorization_rls.sql
| | |-- 040_apply_workspace_write_authorization_rpc.sql
| | |-- 041_secure_expense_report_item_mutations.sql
| | +-- 042_allow_workspace_members_to_select_workspaces.sql
| |-- real-data
| | +-- 001_profiles_jose_jp.sql
| |-- rollback
| | |-- 037_secure_integrations_and_documents_rollback.sql
| | |-- 038_add_workspace_write_authorization_rollback.sql
| | |-- 039_apply_workspace_write_authorization_rls_rollback.sql
| | +-- 040_apply_workspace_write_authorization_rpc_rollback.sql
| |-- schema
| | |-- schema.md
| | +-- schema.sql
| |-- scripts
| | |-- export-schema.ps1
| | |-- generate-schema-markdown.mjs
| | +-- sync-supabase-migrations.ps1
| |-- seeds
| | |-- 001_seed.sql
| | |-- 002_expense_reports_seed.sql
| | +-- 003_multi_workspace_validation_seed.sql
| |-- tests
| | |-- 001_expense_reports_workspace_isolation.sql
| | +-- 002_expense_report_item_mutations.sql
| +-- schema.dbml
|-- docs
| |-- database
| | |-- data-dictionary.md
| | |-- schema.md
| | +-- schema.sql
| |-- references
| | +-- CORTEXA_PLATFORM.md
| |-- repository
| | +-- project-tree.md
| |-- ARCHITECTURE.md
| |-- DATABASE.md
| |-- ECOSYSTEM.md
| +-- REPOSITORY.md
|-- documentation
| |-- blog
| | |-- 2021-08-26-welcome
| | | |-- docusaurus-plushie-banner.jpeg
| | | +-- index.mdx
| | |-- 2019-05-28-first-blog-post.mdx
| | |-- 2019-05-29-long-blog-post.mdx
| | |-- 2021-08-01-mdx-blog-post.mdx
| | |-- authors.yml
| | +-- tags.yml
| |-- docs
| | |-- database
| | | |-- data-dictionary.md
| | | +-- schema.md
| | |-- references
| | | +-- CORTEXA_PLATFORM.md
| | |-- repository
| | | +-- project-tree.md
| | |-- ARCHITECTURE.md
| | |-- DATABASE.md
| | |-- ECOSYSTEM.md
| | |-- README.md
| | +-- REPOSITORY.md
| |-- src
| | |-- components
| | | +-- HomepageFeatures
| | | |-- index.tsx
| | | +-- styles.module.css
| | |-- css
| | | +-- custom.css
| | +-- pages
| | |-- index.module.css
| | |-- index.tsx
| | +-- markdown-page.mdx
| |-- static
| | |-- img
| | | |-- docusaurus.png
| | | |-- docusaurus-social-card.jpg
| | | |-- favicon.ico
| | | |-- logo.svg
| | | |-- undraw_docusaurus_mountain.svg
| | | |-- undraw_docusaurus_react.svg
| | | +-- undraw_docusaurus_tree.svg
| | +-- .nojekyll
| |-- .gitignore
| |-- docusaurus.config.ts
| |-- package.json
| |-- package-lock.json
| |-- postcss.config.js
| |-- README.md
| |-- sidebars.ts
| +-- tsconfig.json
|-- hooks
| +-- use-mobile.ts
|-- lib
| |-- supabase
| | |-- client.ts
| | |-- middleware.ts
| | +-- server.ts
| |-- workspaces
| | |-- workspace-theme.ts
| | +-- workspace-theme-styles.ts
| |-- supabase-client.ts
| +-- utils.ts
|-- scripts
| |-- dev-clean-run.ps1
| |-- generate-project-tree.ps1
| +-- sync-docusaurus-docs.ps1
|-- server
| |-- auth
| | |-- google
| | | +-- google.controller.ts
| | |-- providers
| | | +-- google.ts
| | |-- services
| | | |-- current-profile-service.ts
| | | |-- google-auth-service.ts
| | | |-- workspace-access-service.ts
| | | |-- workspace-membership-service.ts
| | | +-- workspace-service.ts
| | +-- storage
| | +-- supabase-auth-storage.ts
| |-- connectors
| | +-- google-drive.ts
| +-- expense-reports
| |-- expense-reports.repository.ts
| |-- expense-reports.service.ts
| +-- expense-reports.types.ts
|-- supabase
| |-- .branches
| | +-- _current_branch
| |-- migrations
| | |-- 039_local_baseline_prerequisites.sql
| | |-- 040_baseline_schema.sql
| | +-- 041_secure_expense_report_item_mutations.sql
| |-- snippets
| |-- .gitignore
| |-- config.toml
| +-- seed.sql
|-- .gitignore
|-- components.json
|-- middleware.ts
|-- next.config.mjs
|-- next-env.d.ts
|-- package.json
|-- package-lock.json
|-- postcss.config.js
|-- README.md
|-- tailwind.config.ts
+-- tsconfig.json