Refactor tutorial management and add AI image model functionality

- Updated application.properties for local database configuration.
- Introduced DateTimeHelper for timestamp parsing.
- Added MyAIImageModel and MyImageOptions for AI image processing.
- Enhanced Tutorial model to include created and modified timestamps.
- Implemented tutorial editing component with improved UI and functionality.
- Updated user API service to handle tutorial retrieval and updates.
- Refactored tutorials list component to support selection and batch deletion.
This commit is contained in:
liosha84
2025-07-12 18:30:09 +03:00
parent dbdc189c12
commit f9306f7af8
19 changed files with 930 additions and 101 deletions
@@ -1,6 +1,47 @@
export class Tutorial {
isSelected?: boolean;
id?: any;
title?: string;
description?: string;
published?: boolean;
created?: Date;
modified?: Date;
isEdit?: boolean;
}
export const TutorialColumns = [
{
key: 'isSelected',
type: 'isSelected',
label: '',
},
{
key: 'title',
type: 'text',
label: 'Title',
required: true,
},
{
key: 'published',
type: 'boolean',
label: 'Is Published',
},
{
key: 'created',
type: 'datetime',
label: 'Created Date',
required: true,
},
{
key: 'modified',
type: 'datetime',
label: 'Modified Date',
required: true
},
{
key: 'isEdit',
type: 'isEdit',
label: '',
}
];