<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fct-drive/frontend/lib/drive_types.ts, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.d464.sh/fct-drive/'/>
<entry>
<title>feat: improve DriveLogEntry types with discriminated unions</title>
<updated>2025-08-14T14:34:42+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-14T14:34:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/fct-drive/commit/?id=6c70d6a60b286f7cfbbde4e428d41c8de2c7e77a'/>
<id>6c70d6a60b286f7cfbbde4e428d41c8de2c7e77a</id>
<content type='text'>
- Replace generic DriveLogEntry with action-specific discriminated unions
- Add DriveLogEntryCreateFile, CreateDir, Remove, Rename types
- Update Drive_log parsing to create correct union types based on action
- Add type guards (isCreateFileEntry, isRenameEntry, etc.) for safe access
- Enhance History UI to properly display rename operations (old → new)
- Change log_id to revision to match Rust OperationHeader structure
- Improve type safety and maintainability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Replace generic DriveLogEntry with action-specific discriminated unions
- Add DriveLogEntryCreateFile, CreateDir, Remove, Rename types
- Update Drive_log parsing to create correct union types based on action
- Add type guards (isCreateFileEntry, isRenameEntry, etc.) for safe access
- Enhance History UI to properly display rename operations (old → new)
- Change log_id to revision to match Rust OperationHeader structure
- Improve type safety and maintainability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Drive_log function and /api/log endpoint</title>
<updated>2025-08-11T15:59:12+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-11T15:59:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/fct-drive/commit/?id=6b71b7f2365001bf0d474cca1625c82e310abf63'/>
<id>6b71b7f2365001bf0d474cca1625c82e310abf63</id>
<content type='text'>
- Added DriveLogEntry type for log entries with timestamp, log_id, email, action, path, blob_id, size
- Implemented Drive_log function that executes fctdrive log and parses tab-separated output
- Created /api/log GET endpoint that returns JSON array of all log entries

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Added DriveLogEntry type for log entries with timestamp, log_id, email, action, path, blob_id, size
- Implemented Drive_log function that executes fctdrive log and parses tab-separated output
- Created /api/log GET endpoint that returns JSON array of all log entries

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify frontend by removing FileItem conversion layer</title>
<updated>2025-08-11T15:48:14+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-11T15:48:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/fct-drive/commit/?id=741d42c7ab635180ab416dc749e1bcb774a22f5e'/>
<id>741d42c7ab635180ab416dc749e1bcb774a22f5e</id>
<content type='text'>
- Remove FileItem interface and 300+ lines of mock data
- Eliminate transformTreeNodes() conversion function
- Update component to use DriveTreeNode[] directly
- Rename /api/list to /api/tree with server-side tree building
- Add Drive_tree() function and DriveTreeNode types
- Significantly reduce code complexity and memory usage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove FileItem interface and 300+ lines of mock data
- Eliminate transformTreeNodes() conversion function
- Update component to use DriveTreeNode[] directly
- Rename /api/list to /api/tree with server-side tree building
- Add Drive_tree() function and DriveTreeNode types
- Significantly reduce code complexity and memory usage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>snapshot</title>
<updated>2025-08-11T14:46:44+00:00</updated>
<author>
<name>diogo464</name>
<email>diogo464@d464.sh</email>
</author>
<published>2025-08-11T14:46:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.d464.sh/fct-drive/commit/?id=32b008a9c0c8e0130ab10bc96ffea9232f9cf95a'/>
<id>32b008a9c0c8e0130ab10bc96ffea9232f9cf95a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
