mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Remove createdAt from Project interface
This commit is contained in:
2 files changed
+4
-16
No files matched your search
@@ -15,7 +15,6 @@ export interface Project {
|
||||
id: string;
|
||||
name: string;
|
||||
path: string;
|
||||
createdAt: Date;
|
||||
lastModified: Date;
|
||||
}
|
||||
|
||||
@@ -54,7 +53,6 @@ export class ProjectsManager {
|
||||
id,
|
||||
name: this.formatProjectName(id), // Use formatted directory name
|
||||
path: projectPath,
|
||||
createdAt: timestamp,
|
||||
lastModified: timestamp,
|
||||
};
|
||||
}
|
||||
@@ -86,7 +84,6 @@ export class ProjectsManager {
|
||||
id: dir, // basename of the path
|
||||
name: this.formatProjectName(dir), // Convert directory name to readable format
|
||||
path: projectPath,
|
||||
createdAt: modifiedDate, // Use modified time as creation time
|
||||
lastModified: modifiedDate,
|
||||
};
|
||||
|
||||
@@ -114,7 +111,6 @@ export class ProjectsManager {
|
||||
id, // basename of the path
|
||||
name: this.formatProjectName(id), // Convert directory name to readable format
|
||||
path: projectPath,
|
||||
createdAt: modifiedDate, // Use modified time as creation time
|
||||
lastModified: modifiedDate,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user