CONA/
├── apps/ # Applications
│ ├── webapp/ # Next.js web application
│ │ ├── app/ # Next.js App Router pages
│ │ │ ├── (pages)/ # Route groups
│ │ │ ├── api/ # API routes
│ │ │ ├── hooks/ # React hooks
│ │ │ ├── lib/ # App-specific libraries
│ │ │ │ ├── actions/ # Server actions
│ │ │ │ ├── auth/ # Authentication logic
│ │ │ │ ├── services/ # External services
│ │ │ │ ├── third-party-actions/ # Integration APIs
│ │ │ │ ├── types/ # App-specific types
│ │ │ │ ├── utils/ # App-specific utilities
│ │ │ │ └── workflows/ # Workflow definitions
│ │ │ ├── providers/ # React providers
│ │ │ └── ui/ # UI components
│ │ │ ├── cards/ # Card components
│ │ │ ├── columns/ # Table columns
│ │ │ ├── comboboxes/ # Dropdown components
│ │ │ ├── elements/ # Composite elements
│ │ │ ├── forms/ # Form components
│ │ │ ├── modals/ # Modal dialogs
│ │ │ └── skeletons/ # Loading skeletons
│ │ └── ... # Config files, etc.
│ ├── temporal-workers/ # Temporal workflow workers
│ │ └── src/ # Worker implementation
│ └── internal-docs/ # Internal documentation
│
├── packages/ # Shared packages
│ ├── core/ # @cona/core
│ │ └── src/ # Business logic & domain models
│ │ ├── accounting_periods/ # Accounting period operations
│ │ ├── actors/ # Actor management
│ │ ├── addresses/ # Address handling
│ │ ├── documents/ # Document processing
│ │ ├── entities/ # Entity management
│ │ ├── integrations/ # Integration core logic
│ │ ├── reconciliation/ # Transaction reconciliation
│ │ └── ... # Other business domains
│ ├── database/ # @cona/database
│ │ ├── prisma/ # Database schema & migrations
│ │ └── src/ # Database client & utilities
│ ├── temporal-workflows/ # @cona/temporal-workflows
│ │ └── src/ # Workflow definitions & activities
│ │ ├── activities/ # Temporal activities
│ │ ├── workflows/ # Workflow definitions
│ │ └── types/ # Workflow types
│ ├── temporal-config/ # @cona/temporal-config
│ │ └── src/ # Temporal client configuration
│ ├── ui/ # @cona/ui
│ │ └── src/ # Reusable UI components
│ │ └── components/ # Shadcn/UI components
│ ├── utils/ # @cona/utils
│ │ └── src/ # Shared utility functions
│ │ ├── encryption.ts # Data encryption/decryption
│ │ ├── date.ts # Date utilities
│ │ └── ... # Other utilities
│ ├── types/ # @cona/types
│ │ └── src/ # Shared TypeScript types
│ ├── config-eslint/ # ESLint configuration
│ ├── config-typescript/ # TypeScript configuration
│ └── tailwind-config/ # Tailwind CSS configuration
│
├── package.json # Root package.json
├── pnpm-workspace.yaml # PNPM workspace configuration
└── pnpm-lock.yaml # Dependency lock file