-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
10,622 additions
and
411 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { ADD_PLACE } from './types'; | ||
|
||
export const addPlace = placeName => { | ||
return { | ||
type: ADD_PLACE, | ||
payload: placeName | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export const ADD_PLACE = 'ADD_PLACE' | ||
export const ADD_USER = 'ADD_USER' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { ADD_USER } from './types'; | ||
|
||
export const addUser = user => { | ||
return { | ||
type: ADD_USER, | ||
payload: user | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export default ArticleForm = { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"surname": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["name", "surname"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export default ContentTypes = { | ||
'article': { | ||
'label': 'Article', | ||
'description': 'Use articles for time-sensitive content like news, press releases or blog posts.' | ||
}, | ||
'page': { | ||
'label': 'Basic page', | ||
'description': 'Use basic pages for your static content, such as an "About us" page.' | ||
}, | ||
'collection': { | ||
'label': 'Collection', | ||
'description': 'A collection of digital heritage items.' | ||
}, | ||
'community': { | ||
'label': 'Community', | ||
'description': 'Community Groups can be used for content and user assignments, and community content can be made available to members of the group only.' | ||
}, | ||
'cultural_protocol': { | ||
'label': 'Cultural Protocol', | ||
'description': 'Cultural Protocols can be assigned to groups and to individual items. Using these protocols allows you to determine how content can be made available to members of the group. Examples of protocols are: "Gender: Male", or "Age: Elder". Read more about this on our wiki.' | ||
}, | ||
'digital_heritage': { | ||
'label': 'Digital Heritage', | ||
'description': 'Content & media items: images, movies, audio, documents' | ||
}, | ||
'panel': { | ||
'label': 'Panel', | ||
'description': 'A panel layout broken up into rows and columns.' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
export default DigitalHeritage = [{ | ||
"type": "tab", | ||
"label": "Mukurtu Essentials", | ||
"form": { | ||
"type": "object", | ||
"properties": { | ||
"Title": { | ||
"type": "string" | ||
}, | ||
"Summary": { | ||
"type": "string" | ||
}, | ||
"Media Assets": { | ||
"type": "string" | ||
}, | ||
"Communities and Protocols": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"Community": { | ||
"type": "string", | ||
"enum": ["Test Community 1", "Test Community 2"] | ||
}, | ||
"Protocol": { | ||
"type": "string", | ||
"enum": ["Test Protocol 1", "Test Protocol 2"] | ||
} | ||
}, | ||
"required": ["name", "surname"] | ||
}, | ||
}, | ||
"General": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": ["title", "surname"] | ||
}, | ||
"options": { | ||
fields: { | ||
"General": { | ||
label: "Categories" | ||
} | ||
} | ||
} | ||
}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.