diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..66ac3eeb9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = false +insert_final_newline = false \ No newline at end of file diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index 6fd1a76e9..90b85102e 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -8556,6 +8556,10 @@ var doc = `{ "v1.UserSettings": { "type": "object", "properties": { + "default_list_for_new_tasks": { + "description": "If a task is created without a specified list this value should be used. Applies\nto tasks made directly in API and from clients.", + "type": "integer" + }, "discoverable_by_email": { "description": "If true, the user can be found when searching for their exact email.", "type": "boolean" @@ -8575,10 +8579,6 @@ var doc = `{ "overdue_tasks_reminders_enabled": { "description": "If enabled, the user will get an email for their overdue tasks each morning.", "type": "boolean" - }, - "default_list_for_new_tasks": { - "description": "If set this will be the default list used when a task is created with no specified list.", - "type": "integer" } } }, diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index 5e53bac87..1d0b96427 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -8539,6 +8539,10 @@ "v1.UserSettings": { "type": "object", "properties": { + "default_list_for_new_tasks": { + "description": "If a task is created without a specified list this value should be used. Applies\nto tasks made directly in API and from clients.", + "type": "integer" + }, "discoverable_by_email": { "description": "If true, the user can be found when searching for their exact email.", "type": "boolean" @@ -8558,10 +8562,6 @@ "overdue_tasks_reminders_enabled": { "description": "If enabled, the user will get an email for their overdue tasks each morning.", "type": "boolean" - }, - "default_list_for_new_tasks": { - "description": "If set this will be the default list used when a task is created with no specified list.", - "type": "integer" } } }, diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index 6cd83cfc0..51285dd5b 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -1178,6 +1178,11 @@ definitions: type: object v1.UserSettings: properties: + default_list_for_new_tasks: + description: |- + If a task is created without a specified list this value should be used. Applies + to tasks made directly in API and from clients. + type: integer discoverable_by_email: description: If true, the user can be found when searching for their exact email. @@ -1196,9 +1201,6 @@ definitions: description: If enabled, the user will get an email for their overdue tasks each morning. type: boolean - default_list_for_new_tasks: - description: If set this will be the default list used when a task is created with no specified list. - type: integer type: object v1.authInfo: properties: