apiVersion |
Type : number
|
Default value : 1
|
baseURL |
Type : string
|
Default value : "http://localhost:8000/"
|
baseURLDemo |
Type : string
|
Default value : "https://framadate-api.cipherbliss.com/"
|
baseURLProd |
Type : string
|
Default value : "https://framadate.org/"
|
environment |
Type : object
|
Default value : {
production: false,
baseHref: baseURL,
baseApiHref: baseURL + "api/v" + apiVersion
}
|
testOnDemo |
Type : number
|
Default value : 0
|
baseConfigValues |
Type : object
|
Default value : {
pollType: "classic",
title: "",
description: "",
myName: "",
myEmail: "",
}
|
basicSlicesOfDay |
Type : TimeSlices[]
|
Default value : [
{literal: 'matin'},
{literal: 'midi'},
{literal: 'soir'}
]
|
currentDay |
Default value : new Date().getDate()
|
currentMonth |
Default value : new Date().getMonth()
|
currentYear |
Default value : new Date().getFullYear()
|
defaultAnswers |
Type : PollAnswer[]
|
Default value : [{
id: 0,
text: 'réponse de démo 1',
file: '',
url: 'https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574',
literal: `${currentYear}-${currentMonth}-${currentDay}`,
date_object: new Date(),
timeList: otherSlicesOfDay
},
{
id: 1,
text: 'réponse 2',
file: '',
url: 'https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574',
literal: `${currentYear}-${currentMonth}-${currentDay + 1}`,
date_object: new Date(),
timeList: basicSlicesOfDay
},
{
id: 2,
text: 'la réponse D',
file: '',
url: 'https://mastodon.cipherbliss.com/system/media_attachments/files/001/439/118/original/6fcf149bd902841b.png?1579471574',
literal: `${currentYear}-${currentMonth}-${currentDay + 2}`,
date_object: new Date(),
timeList: otherSlicesOfDay
}]
|
defaultDates |
Type : DateChoice[]
|
Default value : [
{
literal: `${currentYear}-${currentMonth}-${currentDay}`,
date_object: new Date(),
timeList: defaultTimeOfDay
},
{
literal: `${currentYear}-${currentMonth}-${currentDay + 1}`,
date_object: new Date(),
timeList: defaultTimeOfDay
},
{
literal: `${currentYear}-${currentMonth}-${currentDay + 2}`,
date_object: new Date(),
timeList: defaultTimeOfDay
}
]
|
defaultTimeOfDay |
Type : TimeSlices[]
|
Default value : (() => {
return [...basicSlicesOfDay]
})()
|
otherDefaultDates |
Type : DateChoice[]
|
Default value : [
{
literal: `${currentYear}-${currentMonth}-${currentDay}`,
date_object: new Date(),
timeList: otherTimeOfDay
},
{
literal: `${currentYear}-${currentMonth}-${currentDay + 1}`,
date_object: new Date(currentYear, currentMonth, currentDay + 1),
timeList: defaultTimeOfDay
},
{
literal: `${currentYear}-${currentMonth}-${currentDay + 2}`,
date_object: new Date(),
timeList: otherTimeOfDay
}
]
|
otherSlicesOfDay |
Type : TimeSlices[]
|
Default value : [
{literal: 'aux aurores'},
{literal: 'au petit dej'},
{literal: 'au deuxième petit dej des hobbits'}
]
|
otherTimeOfDay |
Type : TimeSlices[]
|
Default value : (() => {
return [...otherSlicesOfDay]
})()
|
ButtonWithLinkToAnotherStory |
Default value : () => ({
component: Button,
props: {
text: 'Go to Welcome Story',
onClick: linkTo('Welcome'),
},
})
|
Emoji |
Default value : () => ({
component: Button,
props: {
text: '😀 😎 👍 💯',
},
})
|
Text |
Default value : () => ({
component: Button,
props: {
text: 'Hello Button',
},
})
|
WithSomeEmojiAndAction |
Default value : () => ({
component: Button,
props: {
text: '😀 😎 👍 💯',
onClick: action('This was clicked OMG'),
},
})
|
context |
Default value : require.context('./', true, /\.spec\.ts$/)
|
require |
Type : any
|
DATE_VALUE_ACCESSOR |
Type : any
|
Default value : {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => DateValueAccessor),
multi: true
}
|
environment |
Type : object
|
Default value : {
production: true,
baseHref: "https://framadate-api.cipherbliss.com/",
baseApiHref: 'https://framadate-api.cipherbliss.com/api/v1'
}
|
graphOptions |
Type : object
|
Default value : {
legend: {display: false},
scales: {
xAxes: [
{
gridLines: {drawBorder: false, display: false},
display: false,
stacked: true,
ticks: {
beginAtZero: true,
maxRotation: 0,
minRotation: 0
}
}
],
yAxes: [
{
gridLines: {drawBorder: true, display: false},
display: true,
stacked: true
}
]
}
}
|
mockChoice |
Type : object
|
Default value : {
"id": 11,
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Les mondes engloutis",
"url": null,
"answer": null,
}
|
mockGraphConfig |
Type : object
|
Default value : {
step: 0,
stepMax: 3,
pollType: "special dates",
title: "",
description: "",
myName: "",
visibility: "link_only",
// date specific poll
allowSeveralHours: "true",
dateLgfgfgfgist: ["jeudi", "vendredi", "samedi"], // sets of days as strings
timeList: ["08:00", "08:30", "09:00"], // ranges of time expressed as strings
answers: [
{
id: 0,
text: "no"
},
{
id: 1,
text: "yes"
},
{
id: 2,
text: "maybe"
},
{
id: 3,
text: "maybe"
},
{
id: 4,
text: "maybe"
},
{
id: 5,
text: "maybe"
},
{
id: 6,
text: "maybe"
},
{
id: 7,
text: "maybe"
},
{
id: 8,
text: "maybe"
}
]
}
|
mockPoll3 |
Type : object
|
Default value : {
"message": "your poll config",
"poll": {
"id": 4,
"title": "dessin animé préféré",
"customUrl": null,
"description": "choisissez votre animé préféré",
"creationDate": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"expiracyDate": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"owner": {
"__initializer__": null,
"__cloner__": null,
"__isInitialized__": true,
"pseudo": "tk_TEST",
"email": "tktest@tktest.com"
},
"kind": "text",
"allowedAnswers": [
// "yes", "maybe", "no"
"yes",
],
"modificationPolicy": "everybody",
"mailOnComment": null,
"mailOnVote": null,
"hideResults": null,
"showResultEvenIfPasswords": null,
"votes": {},
"stacksOfVotes": {},
"choices": {},
"choices_count": {
"counts": {
"10": {
"choice_id": 10,
"choice_text": "Les mystérieuses cités d'or",
"id": 4,
"score": 2.5,
"yes": {
"count": 2,
"people": [
"voting_people_TEST",
"voting_people_TEST"
]
},
"maybe": {
"count": 1,
"people": [
"Nikolas Edison"
]
},
"no": {
"count": 1,
"people": [
"voting_people_TEST"
]
}
},
"9": {
"choice_id": 9,
"choice_text": "Boumbo petite automobile",
"id": 5,
"score": 2.5,
"yes": {
"count": 2,
"people": [
"voting_people_TEST",
"Billie Jean"
]
},
"maybe": {
"count": 1,
"people": [
"voting_people_TEST"
]
},
"no": {
"count": 0,
"people": []
}
},
"12": {
"choice_id": 12,
"choice_text": "Foot 2 rue",
"id": 14,
"score": 0.5,
"yes": {
"count": 0,
"people": []
},
"maybe": {
"count": 1,
"people": [
"Nikolas Edison"
]
},
"no": {
"count": 0,
"people": []
}
},
"11": {
"choice_id": 11,
"choice_text": "Les mondes engloutis",
"id": 15,
"score": 1.5,
"yes": {
"count": 1,
"people": [
"Billie Jean"
]
},
"maybe": {
"count": 1,
"people": [
"Wulfila"
]
},
"no": {
"count": 0,
"people": []
}
},
"13": {
"choice_id": 13,
"choice_text": "Le chat, la vache, et l'océan",
"id": 16,
"score": 1,
"yes": {
"count": 1,
"people": [
"Wulfila"
]
},
"maybe": {
"count": 0,
"people": []
},
"no": {
"count": 0,
"people": []
}
}
},
"maxScore": 2.5
},
"comments": {},
"defaultExpiracyDaysFromNow": 60
},
"stacks_count": 5,
"stacks": [
{
"id": 3,
"pseudo": "voting_people_TEST",
"creation_date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"id": 3,
"vote_id": 5,
"value": "maybe",
"choice_id": 9,
"text": "Boumbo petite automobile"
},
"10": {
"id": 3,
"vote_id": 4,
"value": "yes",
"choice_id": 10,
"text": "Les mystérieuses cités d'or"
},
"11": {
"choice_id": 11
},
"12": {
"choice_id": 12
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
}
}
},
{
"id": 4,
"pseudo": "voting_people_TEST",
"creation_date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"id": 4,
"vote_id": 6,
"value": "yes",
"choice_id": 9,
"text": "Boumbo petite automobile"
},
"10": {
"id": 4,
"vote_id": 8,
"value": "no",
"choice_id": 10,
"text": "Les mystérieuses cités d'or"
},
"11": {
"choice_id": 11
},
"12": {
"choice_id": 12
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
}
}
},
{
"id": 7,
"pseudo": "Nikolas Edison",
"creation_date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"choice_id": 9
},
"10": {
"id": 7,
"vote_id": 13,
"value": "maybe",
"choice_id": 10,
"text": "Les mystérieuses cités d'or"
},
"11": {
"choice_id": 11
},
"12": {
"id": 7,
"vote_id": 14,
"value": "maybe",
"choice_id": 12,
"text": "Foot 2 rue"
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
}
}
},
{
"id": 8,
"pseudo": "Wulfila",
"creation_date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"choice_id": 9
},
"10": {
"choice_id": 10
},
"11": {
"id": 8,
"vote_id": 15,
"value": "maybe",
"choice_id": 11,
"text": "Les mondes engloutis"
},
"12": {
"choice_id": 12
},
"13": {
"id": 8,
"vote_id": 16,
"value": "yes",
"choice_id": 13,
"text": "Le chat, la vache, et l'océan"
},
"14": {
"choice_id": 14
}
}
},
{
"id": 9,
"pseudo": "Billie Jean",
"creation_date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"id": 9,
"vote_id": 17,
"value": "yes",
"choice_id": 9,
"text": "Boumbo petite automobile"
},
"10": {
"choice_id": 10
},
"11": {
"id": 9,
"vote_id": 18,
"value": "yes",
"choice_id": 11,
"text": "Les mondes engloutis"
},
"12": {
"choice_id": 12
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
}
}
}
],
"choices_count": {
"counts": {
"10": {
"choice_id": 10,
"choice_text": "Les mystérieuses cités d'or",
"id": 4,
"score": 2.5,
"yes": {
"count": 2,
"people": [
"voting_people_TEST",
"voting_people_TEST"
]
},
"maybe": {
"count": 1,
"people": [
"Nikolas Edison"
]
},
"no": {
"count": 1,
"people": [
"voting_people_TEST"
]
}
},
"9": {
"choice_id": 9,
"choice_text": "Boumbo petite automobile",
"id": 5,
"score": 2.5,
"yes": {
"count": 2,
"people": [
"voting_people_TEST",
"Billie Jean"
]
},
"maybe": {
"count": 1,
"people": [
"voting_people_TEST"
]
},
"no": {
"count": 0,
"people": []
}
},
"12": {
"choice_id": 12,
"choice_text": "Foot 2 rue",
"id": 14,
"score": 0.5,
"yes": {
"count": 0,
"people": []
},
"maybe": {
"count": 1,
"people": [
"Nikolas Edison"
]
},
"no": {
"count": 0,
"people": []
}
},
"11": {
"choice_id": 11,
"choice_text": "Les mondes engloutis",
"id": 15,
"score": 1.5,
"yes": {
"count": 1,
"people": [
"Billie Jean"
]
},
"maybe": {
"count": 1,
"people": [
"Wulfila"
]
},
"no": {
"count": 0,
"people": []
}
},
"13": {
"choice_id": 13,
"choice_text": "Le chat, la vache, et l'océan",
"id": 16,
"score": 1,
"yes": {
"count": 1,
"people": [
"Wulfila"
]
},
"maybe": {
"count": 0,
"people": []
},
"no": {
"count": 0,
"people": []
}
}
},
"maxScore": 2.5
},
"choices": [
{
"id": 8,
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Vic le viking",
"url": null
},
{
"id": 9,
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Boumbo petite automobile",
"url": null
},
{
"id": 10,
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Les mystérieuses cités d'or",
"url": null
},
{
"id": 11,
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Les mondes engloutis",
"url": null
},
{
"id": 12,
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Foot 2 rue",
"url": null
},
{
"id": 13,
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Le chat, la vache, et l'océan",
"url": null
},
{
"id": 14,
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Digimon",
"url": null
}
],
"comments": [
{
"id": 3,
"text": "allez boumbo!",
"pseudo": "tk_TEST_commentateur",
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
}
},
{
"id": 4,
"text": "je suis pour la team rocket de digimon",
"pseudo": "tk_TEST",
"date": {
"date": "2020-01-30 12:25:13.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
}
}
],
"comments_count": 2
}
|
mockSuccessVote |
Type : object
|
Default value : {
"message": "you created a vote stack from an existing owner : tktest@tktest.com",
"poll": {
"id": 4,
"title": "dessin animé préféré",
"customUrl": null,
"description": "choisissez votre animé préféré",
"creationDate": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"expiracyDate": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"owner": {
"__initializer__": null,
"__cloner__": null,
"__isInitialized__": true,
"pseudo": "tk_TEST",
"email": "tktest@tktest.com"
},
"kind": "text",
"allowedAnswers": [
"yes"
],
"modificationPolicy": "everybody",
"mailOnComment": null,
"mailOnVote": null,
"hideResults": null,
"showResultEvenIfPasswords": null,
"votes": {},
"stacksOfVotes": {},
"choices": {},
"comments": {},
"defaultExpiracyDaysFromNow": 60
},
"vote_stack": {
"id": 10,
"modifier_token": "V46C6b58c456B39kTI19KSfp1y8Zz7Wyg500xMdjNB823st221Gb509VX1AOsnhV93fhol1f8P30OblKFoI76u54T94rH92x5c95TdW1W2eH0hb55q8",
"pseudo": "tk_TEST",
"creation_date": {
"date": "2020-02-04 12:36:07.530846",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"id": 22,
"value": "yes",
"choice_id": 8,
"text": "Vic le viking",
"stack_id": 10
},
"9": {
"choice_id": 9
},
"10": {
"choice_id": 10
},
"11": {
"choice_id": 11
},
"12": {
"choice_id": 12
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
},
"5": {
"id": 19,
"value": "yes",
"choice_id": 5,
"text": "2020-02-04 12:35:37",
"stack_id": 10
},
"6": {
"id": 20,
"value": "yes",
"choice_id": 6,
"text": "2020-02-04 12:35:37",
"stack_id": 10
},
"7": {
"id": 21,
"value": "yes",
"choice_id": 7,
"text": "2020-02-04 12:35:37",
"stack_id": 10
}
}
},
"stacks": [
{
"id": 3,
"modifier_token": "5e39570956e5d",
"pseudo": "voting_people_TEST",
"creation_date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"id": 5,
"value": "maybe",
"choice_id": 9,
"text": "Boumbo petite automobile",
"stack_id": 3
},
"10": {
"id": 4,
"value": "yes",
"choice_id": 10,
"text": "Les mystérieuses cités d'or",
"stack_id": 3
},
"11": {
"choice_id": 11
},
"12": {
"choice_id": 12
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
}
}
},
{
"id": 4,
"modifier_token": "5e39570956e5d",
"pseudo": "voting_people_TEST",
"creation_date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"id": 6,
"value": "yes",
"choice_id": 9,
"text": "Boumbo petite automobile",
"stack_id": 4
},
"10": {
"id": 8,
"value": "no",
"choice_id": 10,
"text": "Les mystérieuses cités d'or",
"stack_id": 4
},
"11": {
"choice_id": 11
},
"12": {
"choice_id": 12
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
}
}
},
{
"id": 7,
"modifier_token": "5e3957095ca23",
"pseudo": "Nikolas Edison",
"creation_date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"choice_id": 9
},
"10": {
"id": 13,
"value": "maybe",
"choice_id": 10,
"text": "Les mystérieuses cités d'or",
"stack_id": 7
},
"11": {
"choice_id": 11
},
"12": {
"id": 14,
"value": "maybe",
"choice_id": 12,
"text": "Foot 2 rue",
"stack_id": 7
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
}
}
},
{
"id": 8,
"modifier_token": "5e3957095ca2d",
"pseudo": "Wulfila",
"creation_date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"choice_id": 9
},
"10": {
"choice_id": 10
},
"11": {
"id": 15,
"value": "maybe",
"choice_id": 11,
"text": "Les mondes engloutis",
"stack_id": 8
},
"12": {
"choice_id": 12
},
"13": {
"id": 16,
"value": "yes",
"choice_id": 13,
"text": "Le chat, la vache, et l'océan",
"stack_id": 8
},
"14": {
"choice_id": 14
}
}
},
{
"id": 9,
"modifier_token": "5e3957095ca34",
"pseudo": "Billie Jean",
"creation_date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"choice_id": 8
},
"9": {
"id": 17,
"value": "yes",
"choice_id": 9,
"text": "Boumbo petite automobile",
"stack_id": 9
},
"10": {
"choice_id": 10
},
"11": {
"id": 18,
"value": "yes",
"choice_id": 11,
"text": "Les mondes engloutis",
"stack_id": 9
},
"12": {
"choice_id": 12
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
}
}
},
{
"id": 10,
"modifier_token": "V46C6b58c456B39kTI19KSfp1y8Zz7Wyg500xMdjNB823st221Gb509VX1AOsnhV93fhol1f8P30OblKFoI76u54T94rH92x5c95TdW1W2eH0hb55q8",
"pseudo": "tk_TEST",
"creation_date": {
"date": "2020-02-04 12:36:07.530846",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"votes": {
"8": {
"id": 22,
"value": "yes",
"choice_id": 8,
"text": "Vic le viking",
"stack_id": 10
},
"9": {
"choice_id": 9
},
"10": {
"choice_id": 10
},
"11": {
"choice_id": 11
},
"12": {
"choice_id": 12
},
"13": {
"choice_id": 13
},
"14": {
"choice_id": 14
},
"5": {
"id": 19,
"value": "yes",
"choice_id": 5,
"text": "2020-02-04 12:35:37",
"stack_id": 10
},
"6": {
"id": 20,
"value": "yes",
"choice_id": 6,
"text": "2020-02-04 12:35:37",
"stack_id": 10
},
"7": {
"id": 21,
"value": "yes",
"choice_id": 7,
"text": "2020-02-04 12:35:37",
"stack_id": 10
}
}
}
],
"comments": [
{
"id": 3,
"text": "allez boumbo!",
"pseudo": "tk_TEST_commentateur",
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
}
},
{
"id": 4,
"text": "je suis pour la team rocket de digimon",
"pseudo": "tk_TEST",
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
}
}
],
"choices": [
{
"id": 8,
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Vic le viking",
"url": null
},
{
"id": 9,
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Boumbo petite automobile",
"url": null
},
{
"id": 10,
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Les mystérieuses cités d'or",
"url": null
},
{
"id": 11,
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Les mondes engloutis",
"url": null
},
{
"id": 12,
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Foot 2 rue",
"url": null
},
{
"id": 13,
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Le chat, la vache, et l'océan",
"url": null
},
{
"id": 14,
"date": {
"date": "2020-02-04 12:35:37.000000",
"timezone_type": 3,
"timezone": "Europe/Berlin"
},
"text": "Digimon",
"url": null
}
],
"choices_count": {
"counts": {
"10": {
"choice_id": 10,
"choice_text": "Les mystérieuses cités d'or",
"id": 4,
"score": 2.5,
"yes": {
"count": 2,
"people": [
"voting_people_TEST",
"voting_people_TEST"
]
},
"maybe": {
"count": 1,
"people": [
"Nikolas Edison"
]
},
"no": {
"count": 1,
"people": [
"voting_people_TEST"
]
}
},
"9": {
"choice_id": 9,
"choice_text": "Boumbo petite automobile",
"id": 5,
"score": 2.5,
"yes": {
"count": 2,
"people": [
"voting_people_TEST",
"Billie Jean"
]
},
"maybe": {
"count": 1,
"people": [
"voting_people_TEST"
]
},
"no": {
"count": 0,
"people": []
}
},
"12": {
"choice_id": 12,
"choice_text": "Foot 2 rue",
"id": 14,
"score": 0.5,
"yes": {
"count": 0,
"people": []
},
"maybe": {
"count": 1,
"people": [
"Nikolas Edison"
]
},
"no": {
"count": 0,
"people": []
}
},
"11": {
"choice_id": 11,
"choice_text": "Les mondes engloutis",
"id": 15,
"score": 1.5,
"yes": {
"count": 1,
"people": [
"Billie Jean"
]
},
"maybe": {
"count": 1,
"people": [
"Wulfila"
]
},
"no": {
"count": 0,
"people": []
}
},
"13": {
"choice_id": 13,
"choice_text": "Le chat, la vache, et l'océan",
"id": 16,
"score": 1,
"yes": {
"count": 1,
"people": [
"Wulfila"
]
},
"maybe": {
"count": 0,
"people": []
},
"no": {
"count": 0,
"people": []
}
},
"5": {
"choice_id": 5,
"choice_text": "2020-02-04 12:35:37",
"id": 19,
"score": 1,
"yes": {
"count": 1,
"people": [
"tk_TEST"
]
},
"maybe": {
"count": 0,
"people": []
},
"no": {
"count": 0,
"people": []
}
},
"6": {
"choice_id": 6,
"choice_text": "2020-02-04 12:35:37",
"id": 20,
"score": 1,
"yes": {
"count": 1,
"people": [
"tk_TEST"
]
},
"maybe": {
"count": 0,
"people": []
},
"no": {
"count": 0,
"people": []
}
},
"7": {
"choice_id": 7,
"choice_text": "2020-02-04 12:35:37",
"id": 21,
"score": 1,
"yes": {
"count": 1,
"people": [
"tk_TEST"
]
},
"maybe": {
"count": 0,
"people": []
},
"no": {
"count": 0,
"people": []
}
},
"8": {
"choice_id": 8,
"choice_text": "Vic le viking",
"id": 22,
"score": 1,
"yes": {
"count": 1,
"people": [
"tk_TEST"
]
},
"maybe": {
"count": 0,
"people": []
},
"no": {
"count": 0,
"people": []
}
}
},
"maxScore": 2.5
},
"vote_count": 6,
"owner": {
"__initializer__": null,
"__cloner__": null,
"__isInitialized__": true,
"pseudo": "tk_TEST",
"email": "tktest@tktest.com"
},
"owner_modifier_token": "V46C6b58c456B39kTI19KSfp1y8Zz7Wyg500xMdjNB823st221Gb509VX1AOsnhV93fhol1f8P30OblKFoI76u54T94rH92x5c95TdW1W2eH0hb55q8",
"admin_key": "9uE27daM8dG1P9z74B89z299W0JF0ne15eER37g2v3d86mk123318v516UUbey4z3C87Wbo65V3c7cHsBTELvhl8b82d61WBMR2U66USNc7idS8810f",
"json_you_sent": {
"pseudo": "mon pseudo",
"email": "tktest@tktest.com",
"votes": [
{
"choice_id": 5,
"value": "yes"
},
{
"choice_id": 6,
"value": "yes"
},
{
"choice_id": 7,
"value": "yes"
},
{
"choice_id": 8,
"value": "yes"
}
]
}
}
|
ToStorybook |
Default value : () => ({
component: Welcome,
props: {},
})
|