Skip to content
Snippets Groups Projects

Start writing tests and stuff

Files
8
@@ -32,33 +32,102 @@ checklistapi.checklist.*:
weight:
type: weight
label: 'Weight'
<<<<<<< HEAD
tasks:
type: sequence
label: 'Tasks'
sequence:
type: mapping
label: 'Task'
mapping:
title:
type: label
label: 'Title'
description:
type: text
label: 'Description'
group:
type: string
label: 'Group'
nullable: true
conditions:
type: sequence
label: 'Fulfillment conditions'
sequence:
type: condition.plugin.[id]
label: 'Condition plugin configuration'
weight:
type: weight
label: 'Weight'
links:
type: sequence
label: 'Links'
sequence:
type: mapping
label: 'Link'
mapping:
text:
type: label
label: 'Link text'
uri:
type: string
label: 'Link URI'
weight:
type: weight
label: 'Weight'
options:
type: mapping
label: 'URL options'
mapping:
query:
type: ignore
label: 'Query parameters'
fragment:
type: string
label: 'Named anchor'
absolute:
type: boolean
label: 'Generate absolute URL'
attributes:
type: ignore
label: 'Link attributes'
language:
type: langcode
label: 'Language code'
https:
type: boolean
label: 'Generate HTTPS URL'
storage:
type: checklist.storage.[type]
label: 'Storage options'
checklist.storage:
type: mapping
label: 'Storage options'
mapping:
type:
type: string
label: 'Plugin ID'
checklist.storage.config:
type: checklist.storage
label: 'Config storage options'
checklist.storage.key_value:
type: checklist.storage
label: 'Key-value storage options'
mapping:
expire_in:
type: integer
label: 'How long, in seconds, to store the current task state'
checklistapi.progress.*:
type: config_object
label: "Checklist saved progress"
mapping:
progress:
type: mapping
label: "The saved progress data."
mapping:
"#changed":
type: integer
label: "Last changed timestamp"
"#changed_by":
type: string
label: "Last change user ID"
"#completed_items":
type: integer
label: "Number of completed items"
"#items":
type: sequence
label: "Checklist items"
sequence:
type: mapping
mapping:
"#completed":
type: integer
label: "Completed timestamp"
"#uid":
type: string
label: "Completed user ID"
task_states:
type: sequence
label: 'Task states'
sequence:
type: string
label: 'Task state'
Loading