Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
d6abfba9
There was an error fetching the commit references. Please try again later.
Commit
d6abfba9
authored
6 years ago
by
Lukas Mauß
Browse files
Options
Downloads
Patches
Plain Diff
Fix modules for new backend
parent
2ad009c3
1 merge request
!117
Resolve "Content creation refactoring"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/models/content-group.ts
+11
-0
11 additions, 0 deletions
src/app/models/content-group.ts
src/app/models/room.ts
+3
-1
3 additions, 1 deletion
src/app/models/room.ts
with
14 additions
and
1 deletion
src/app/models/content-group.ts
0 → 100644
+
11
−
0
View file @
d6abfba9
export
class
ContentGroup
{
name
:
string
;
contentIds
:
string
[];
autoSort
:
boolean
;
constructor
(
name
:
string
,
contentIds
:
string
[],
autoSort
:
boolean
)
{
this
.
name
=
name
;
this
.
contentIds
=
contentIds
;
this
.
autoSort
=
autoSort
;
}
}
This diff is collapsed.
Click to expand it.
src/app/models/room.ts
+
3
−
1
View file @
d6abfba9
import
{
ContentGroup
}
from
'
./content-group
'
;
export
class
Room
{
id
:
string
;
revision
:
string
;
...
...
@@ -6,5 +8,5 @@ export class Room {
name
:
string
;
description
:
string
;
closed
:
boolean
;
contentGroups
:
{[
key
:
string
]:
[
string
]}
;
contentGroups
:
ContentGroup
[]
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment