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
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { TutorialEditComponent } from './tutorial-edit.component';
describe('TutorialEditComponent', () => {
let component: TutorialEditComponent;
let fixture: ComponentFixture<TutorialEditComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [TutorialEditComponent]
})
.compileComponents();
fixture = TestBed.createComponent(TutorialEditComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});