Skip to content
Snippets Groups Projects
Verified Commit 7d49b22e authored by Lukas Maximilian Kimpel's avatar Lukas Maximilian Kimpel
Browse files

Rename content-carousel

Rename models
parent 1688a9b5
Branches
Tags
1 merge request!97Resolve "Refactor project structure"
Pipeline #13747 passed with stage
in 1 minute and 5 seconds
Showing
with 16 additions and 16 deletions
...@@ -15,7 +15,7 @@ import { AnswerStatisticsComponent } from './components/fragments/statistics/sta ...@@ -15,7 +15,7 @@ import { AnswerStatisticsComponent } from './components/fragments/statistics/sta
import { AddContentComponent } from './components/pages/content-create/content-create.component'; import { AddContentComponent } from './components/pages/content-create/content-create.component';
import { import {
ParticipantContentCarouselPageComponent ParticipantContentCarouselPageComponent
} from './components/pages/participant-content-carousel-page/participant-content-carousel-page.component'; } from './components/pages/content-carousel/content-carousel.component';
const routes: Routes = [ const routes: Routes = [
{ {
......
...@@ -76,7 +76,7 @@ import { CreatorChoiceContentComponent } from './components/fragments/content-ch ...@@ -76,7 +76,7 @@ import { CreatorChoiceContentComponent } from './components/fragments/content-ch
import { AddContentComponent } from './components/pages/content-create/content-create.component'; import { AddContentComponent } from './components/pages/content-create/content-create.component';
import { import {
ParticipantContentCarouselPageComponent ParticipantContentCarouselPageComponent
} from './components/pages/participant-content-carousel-page/participant-content-carousel-page.component'; } from './components/pages/content-carousel/content-carousel.component';
import { ParticipantTextContentComponent } from './components/fragments/content-text-participant/content-text-participant.component'; import { ParticipantTextContentComponent } from './components/fragments/content-text-participant/content-text-participant.component';
import { CreatorTextContentComponent } from './components/fragments/content-text-creator/content-text-creator.component'; import { CreatorTextContentComponent } from './components/fragments/content-text-creator/content-text-creator.component';
import { AuthenticationInterceptor } from './interceptors/authentication.interceptor'; import { AuthenticationInterceptor } from './interceptors/authentication.interceptor';
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { AnswerOption } from '../../../models/answer-option'; import { AnswerOption } from '../../../models/answer-option';
import { ChoiceContent } from '../../../models/choice-content'; import { ChoiceContent } from '../../../models/content-choice';
import { ContentService } from '../../../services/http/content.service'; import { ContentService } from '../../../services/http/content.service';
export class DisplayAnswer { export class DisplayAnswer {
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { ChoiceContent } from '../../../models/choice-content'; import { ChoiceContent } from '../../../models/content-choice';
import { AnswerOption } from '../../../models/answer-option'; import { AnswerOption } from '../../../models/answer-option';
import { ContentAnswerService } from '../../../services/http/content-answer.service'; import { ContentAnswerService } from '../../../services/http/content-answer.service';
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { TextContent } from '../../../models/text-content'; import { TextContent } from '../../../models/content-text';
import { ContentService } from '../../../services/http/content.service'; import { ContentService } from '../../../services/http/content.service';
@Component({ @Component({
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { TextContent } from '../../../models/text-content'; import { TextContent } from '../../../models/content-text';
import { ContentAnswerService } from '../../../services/http/content-answer.service'; import { ContentAnswerService } from '../../../services/http/content-answer.service';
import { AnswerText } from '../../../models/answer-text'; import { AnswerText } from '../../../models/answer-text';
......
...@@ -5,8 +5,8 @@ import { Content } from '../../../models/content'; ...@@ -5,8 +5,8 @@ import { Content } from '../../../models/content';
import { ContentService } from '../../../services/http/content.service'; import { ContentService } from '../../../services/http/content.service';
import { ContentAnswerService } from '../../../services/http/content-answer.service'; import { ContentAnswerService } from '../../../services/http/content-answer.service';
import { AnswerText } from '../../../models/answer-text'; import { AnswerText } from '../../../models/answer-text';
import { ChoiceAnswer } from '../../../models/choice-answer'; import { ChoiceAnswer } from '../../../models/answer-choice';
import { ContentType } from '../../../models/content-type'; import { ContentType } from '../../../models/content-type.enum';
@Component({ @Component({
selector: 'app-answer-statistics', selector: 'app-answer-statistics',
......
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ParticipantContentCarouselPageComponent } from './participant-content-carousel-page.component'; import { ParticipantContentCarouselPageComponent } from './content-carousel.component';
describe('ParticipantContentCarouselPageComponent', () => { describe('ParticipantContentCarouselPageComponent', () => {
let component: ParticipantContentCarouselPageComponent; let component: ParticipantContentCarouselPageComponent;
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Content } from '../../../models/content'; import { Content } from '../../../models/content';
import { ContentType } from '../../../models/content-type'; import { ContentType } from '../../../models/content-type.enum';
@Component({ @Component({
selector: 'app-participant-content-carousel-page', selector: 'app-participant-content-carousel-page',
templateUrl: './participant-content-carousel-page.component.html', templateUrl: './content-carousel.component.html',
styleUrls: ['./participant-content-carousel-page.component.scss'] styleUrls: ['./content-carousel.component.scss']
}) })
export class ParticipantContentCarouselPageComponent implements OnInit { export class ParticipantContentCarouselPageComponent implements OnInit {
ContentType: ContentType; ContentType: ContentType;
......
File moved
import { AnswerOption } from './answer-option'; import { AnswerOption } from './answer-option';
import { Content } from './content'; import { Content } from './content';
import { ContentType } from './content-type'; import { ContentType } from './content-type.enum';
export class ChoiceContent extends Content { export class ChoiceContent extends Content {
options: AnswerOption[]; options: AnswerOption[];
......
import { Content } from './content'; import { Content } from './content';
import { ContentType } from './content-type'; import { ContentType } from './content-type.enum';
export class TextContent extends Content { export class TextContent extends Content {
......
import { ContentType } from './content-type'; import { ContentType } from './content-type.enum';
export class Content { export class Content {
contentId: string; contentId: string;
......
import { InMemoryDbService } from 'angular-in-memory-web-api'; import { InMemoryDbService } from 'angular-in-memory-web-api';
import { ContentType } from '../../models/content-type'; import { ContentType } from '../../models/content-type.enum';
export class InMemoryDataService implements InMemoryDbService { export class InMemoryDataService implements InMemoryDbService {
/** /**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment