initiative-plugin-sdk 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/client.d.ts +4 -0
- package/dist/client.js.map +1 -1
- package/dist/define.d.ts +4 -0
- package/dist/define.js.map +1 -1
- package/dist/plugin-api.generated.d.ts +165 -6
- package/dist/plugin-api.generated.js +30 -1
- package/dist/plugin-api.generated.js.map +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/dist/statements.d.ts +11 -1
- package/dist/statements.js +10 -2
- package/dist/statements.js.map +1 -1
- package/package.json +1 -1
- package/schemas/plugin-api.json +734 -39
package/schemas/plugin-api.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Initiative plug-in API",
|
|
5
|
-
"version": "8.
|
|
5
|
+
"version": "8.1.0",
|
|
6
6
|
"x-initiative-source": {
|
|
7
|
-
"version": "0.
|
|
8
|
-
"commit": "
|
|
7
|
+
"version": "0.76.0",
|
|
8
|
+
"commit": "4aa7e82158a2d07a8b19690e6c7a99c7159600ac"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"servers": [
|
|
@@ -2812,6 +2812,145 @@
|
|
|
2812
2812
|
]
|
|
2813
2813
|
}
|
|
2814
2814
|
},
|
|
2815
|
+
"/projects/{project_id}/task-types/": {
|
|
2816
|
+
"get": {
|
|
2817
|
+
"tags": [
|
|
2818
|
+
"task-types",
|
|
2819
|
+
"task-types"
|
|
2820
|
+
],
|
|
2821
|
+
"summary": "List Task Types",
|
|
2822
|
+
"operationId": "list_task_types",
|
|
2823
|
+
"security": [
|
|
2824
|
+
{
|
|
2825
|
+
"PluginToken": []
|
|
2826
|
+
}
|
|
2827
|
+
],
|
|
2828
|
+
"responses": {
|
|
2829
|
+
"200": {
|
|
2830
|
+
"description": "Successful Response",
|
|
2831
|
+
"content": {
|
|
2832
|
+
"application/json": {
|
|
2833
|
+
"schema": {
|
|
2834
|
+
"type": "array",
|
|
2835
|
+
"items": {
|
|
2836
|
+
"$ref": "#/components/schemas/TaskTypeRead"
|
|
2837
|
+
},
|
|
2838
|
+
"title": "Response List Task Types"
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
},
|
|
2843
|
+
"422": {
|
|
2844
|
+
"description": "Validation Error",
|
|
2845
|
+
"content": {
|
|
2846
|
+
"application/json": {
|
|
2847
|
+
"schema": {
|
|
2848
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2853
|
+
},
|
|
2854
|
+
"x-plugin-scope": "projects:read",
|
|
2855
|
+
"parameters": [
|
|
2856
|
+
{
|
|
2857
|
+
"name": "project_id",
|
|
2858
|
+
"in": "path",
|
|
2859
|
+
"required": true,
|
|
2860
|
+
"schema": {
|
|
2861
|
+
"type": "integer",
|
|
2862
|
+
"title": "Project Id"
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"name": "session_token",
|
|
2867
|
+
"in": "cookie",
|
|
2868
|
+
"required": false,
|
|
2869
|
+
"schema": {
|
|
2870
|
+
"anyOf": [
|
|
2871
|
+
{
|
|
2872
|
+
"type": "string"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"type": "null"
|
|
2876
|
+
}
|
|
2877
|
+
],
|
|
2878
|
+
"title": "Session Token"
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
]
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
"/projects/{project_id}/task-types/gallery": {
|
|
2885
|
+
"get": {
|
|
2886
|
+
"tags": [
|
|
2887
|
+
"task-types",
|
|
2888
|
+
"task-types"
|
|
2889
|
+
],
|
|
2890
|
+
"summary": "List Task Type Gallery",
|
|
2891
|
+
"description": "The ready-made types the project can add, grouped by what they are for,\nin the reader's language.",
|
|
2892
|
+
"operationId": "list_task_type_gallery",
|
|
2893
|
+
"security": [
|
|
2894
|
+
{
|
|
2895
|
+
"PluginToken": []
|
|
2896
|
+
}
|
|
2897
|
+
],
|
|
2898
|
+
"responses": {
|
|
2899
|
+
"200": {
|
|
2900
|
+
"description": "Successful Response",
|
|
2901
|
+
"content": {
|
|
2902
|
+
"application/json": {
|
|
2903
|
+
"schema": {
|
|
2904
|
+
"type": "array",
|
|
2905
|
+
"items": {
|
|
2906
|
+
"$ref": "#/components/schemas/TaskTypeGalleryGroup"
|
|
2907
|
+
},
|
|
2908
|
+
"title": "Response List Task Type Gallery"
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
},
|
|
2913
|
+
"422": {
|
|
2914
|
+
"description": "Validation Error",
|
|
2915
|
+
"content": {
|
|
2916
|
+
"application/json": {
|
|
2917
|
+
"schema": {
|
|
2918
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2923
|
+
},
|
|
2924
|
+
"x-plugin-scope": "projects:read",
|
|
2925
|
+
"parameters": [
|
|
2926
|
+
{
|
|
2927
|
+
"name": "project_id",
|
|
2928
|
+
"in": "path",
|
|
2929
|
+
"required": true,
|
|
2930
|
+
"schema": {
|
|
2931
|
+
"type": "integer",
|
|
2932
|
+
"title": "Project Id"
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"name": "session_token",
|
|
2937
|
+
"in": "cookie",
|
|
2938
|
+
"required": false,
|
|
2939
|
+
"schema": {
|
|
2940
|
+
"anyOf": [
|
|
2941
|
+
{
|
|
2942
|
+
"type": "string"
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"type": "null"
|
|
2946
|
+
}
|
|
2947
|
+
],
|
|
2948
|
+
"title": "Session Token"
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2951
|
+
]
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2815
2954
|
"/tasks/": {
|
|
2816
2955
|
"get": {
|
|
2817
2956
|
"tags": [
|
|
@@ -3022,6 +3161,140 @@
|
|
|
3022
3161
|
]
|
|
3023
3162
|
}
|
|
3024
3163
|
},
|
|
3164
|
+
"/tasks/groups": {
|
|
3165
|
+
"get": {
|
|
3166
|
+
"tags": [
|
|
3167
|
+
"tasks"
|
|
3168
|
+
],
|
|
3169
|
+
"summary": "List Task Groups",
|
|
3170
|
+
"description": "The groups of the task list these filters answer with, in the order the\nlist shows them, and the groups each task is in.",
|
|
3171
|
+
"operationId": "list_task_groups",
|
|
3172
|
+
"security": [
|
|
3173
|
+
{
|
|
3174
|
+
"PluginToken": []
|
|
3175
|
+
}
|
|
3176
|
+
],
|
|
3177
|
+
"responses": {
|
|
3178
|
+
"200": {
|
|
3179
|
+
"description": "Successful Response",
|
|
3180
|
+
"content": {
|
|
3181
|
+
"application/json": {
|
|
3182
|
+
"schema": {
|
|
3183
|
+
"$ref": "#/components/schemas/GroupsResponse"
|
|
3184
|
+
}
|
|
3185
|
+
}
|
|
3186
|
+
}
|
|
3187
|
+
},
|
|
3188
|
+
"422": {
|
|
3189
|
+
"description": "Validation Error",
|
|
3190
|
+
"content": {
|
|
3191
|
+
"application/json": {
|
|
3192
|
+
"schema": {
|
|
3193
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
3194
|
+
}
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
}
|
|
3198
|
+
},
|
|
3199
|
+
"x-plugin-scope": "projects:read",
|
|
3200
|
+
"parameters": [
|
|
3201
|
+
{
|
|
3202
|
+
"name": "group_by",
|
|
3203
|
+
"in": "query",
|
|
3204
|
+
"required": true,
|
|
3205
|
+
"schema": {
|
|
3206
|
+
"type": "string",
|
|
3207
|
+
"maxLength": 64,
|
|
3208
|
+
"description": "The field the list is grouped by, as the field catalog's ``groupings`` name it, or ``property:<id>``",
|
|
3209
|
+
"title": "Group By"
|
|
3210
|
+
},
|
|
3211
|
+
"description": "The field the list is grouped by, as the field catalog's ``groupings`` name it, or ``property:<id>``"
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"name": "bucket",
|
|
3215
|
+
"in": "query",
|
|
3216
|
+
"required": false,
|
|
3217
|
+
"schema": {
|
|
3218
|
+
"anyOf": [
|
|
3219
|
+
{
|
|
3220
|
+
"$ref": "#/components/schemas/DateBucket"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"type": "null"
|
|
3224
|
+
}
|
|
3225
|
+
],
|
|
3226
|
+
"description": "For a date: the bucket of the calendar it groups by",
|
|
3227
|
+
"title": "Bucket"
|
|
3228
|
+
},
|
|
3229
|
+
"description": "For a date: the bucket of the calendar it groups by"
|
|
3230
|
+
},
|
|
3231
|
+
{
|
|
3232
|
+
"name": "conditions",
|
|
3233
|
+
"in": "query",
|
|
3234
|
+
"required": false,
|
|
3235
|
+
"content": {
|
|
3236
|
+
"application/json": {
|
|
3237
|
+
"schema": {
|
|
3238
|
+
"type": "array",
|
|
3239
|
+
"items": {
|
|
3240
|
+
"anyOf": [
|
|
3241
|
+
{
|
|
3242
|
+
"$ref": "#/components/schemas/FilterCondition"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"$ref": "#/components/schemas/FilterGroup"
|
|
3246
|
+
}
|
|
3247
|
+
]
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"name": "include_archived",
|
|
3255
|
+
"in": "query",
|
|
3256
|
+
"required": false,
|
|
3257
|
+
"schema": {
|
|
3258
|
+
"type": "boolean",
|
|
3259
|
+
"default": false,
|
|
3260
|
+
"title": "Include Archived"
|
|
3261
|
+
}
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"name": "tz",
|
|
3265
|
+
"in": "query",
|
|
3266
|
+
"required": false,
|
|
3267
|
+
"schema": {
|
|
3268
|
+
"anyOf": [
|
|
3269
|
+
{
|
|
3270
|
+
"type": "string"
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
"type": "null"
|
|
3274
|
+
}
|
|
3275
|
+
],
|
|
3276
|
+
"title": "Tz"
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"name": "session_token",
|
|
3281
|
+
"in": "cookie",
|
|
3282
|
+
"required": false,
|
|
3283
|
+
"schema": {
|
|
3284
|
+
"anyOf": [
|
|
3285
|
+
{
|
|
3286
|
+
"type": "string"
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
"type": "null"
|
|
3290
|
+
}
|
|
3291
|
+
],
|
|
3292
|
+
"title": "Session Token"
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
]
|
|
3296
|
+
}
|
|
3297
|
+
},
|
|
3025
3298
|
"/tasks/column-limits": {
|
|
3026
3299
|
"get": {
|
|
3027
3300
|
"tags": [
|
|
@@ -13530,6 +13803,18 @@
|
|
|
13530
13803
|
],
|
|
13531
13804
|
"title": "CounterViewMode"
|
|
13532
13805
|
},
|
|
13806
|
+
"DateBucket": {
|
|
13807
|
+
"type": "string",
|
|
13808
|
+
"enum": [
|
|
13809
|
+
"day",
|
|
13810
|
+
"week",
|
|
13811
|
+
"month",
|
|
13812
|
+
"quarter",
|
|
13813
|
+
"year"
|
|
13814
|
+
],
|
|
13815
|
+
"title": "DateBucket",
|
|
13816
|
+
"description": "What a date is grouped by: the calendar's day, week, month, quarter or\nyear it falls in. A week starts on Monday, as Postgres counts one."
|
|
13817
|
+
},
|
|
13533
13818
|
"FileCreate": {
|
|
13534
13819
|
"properties": {
|
|
13535
13820
|
"properties": {
|
|
@@ -15227,17 +15512,70 @@
|
|
|
15227
15512
|
"type": "object",
|
|
15228
15513
|
"title": "GalleryUpdate"
|
|
15229
15514
|
},
|
|
15230
|
-
"
|
|
15515
|
+
"GroupRead": {
|
|
15231
15516
|
"properties": {
|
|
15232
|
-
"
|
|
15233
|
-
"
|
|
15234
|
-
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
"
|
|
15238
|
-
|
|
15239
|
-
|
|
15240
|
-
|
|
15517
|
+
"key": {
|
|
15518
|
+
"type": "string",
|
|
15519
|
+
"title": "Key"
|
|
15520
|
+
},
|
|
15521
|
+
"label": {
|
|
15522
|
+
"anyOf": [
|
|
15523
|
+
{
|
|
15524
|
+
"type": "string"
|
|
15525
|
+
},
|
|
15526
|
+
{
|
|
15527
|
+
"type": "null"
|
|
15528
|
+
}
|
|
15529
|
+
],
|
|
15530
|
+
"title": "Label"
|
|
15531
|
+
}
|
|
15532
|
+
},
|
|
15533
|
+
"type": "object",
|
|
15534
|
+
"required": [
|
|
15535
|
+
"key"
|
|
15536
|
+
],
|
|
15537
|
+
"title": "GroupRead",
|
|
15538
|
+
"description": "One group of a grouped list."
|
|
15539
|
+
},
|
|
15540
|
+
"GroupsResponse": {
|
|
15541
|
+
"properties": {
|
|
15542
|
+
"groups": {
|
|
15543
|
+
"items": {
|
|
15544
|
+
"$ref": "#/components/schemas/GroupRead"
|
|
15545
|
+
},
|
|
15546
|
+
"type": "array",
|
|
15547
|
+
"title": "Groups"
|
|
15548
|
+
},
|
|
15549
|
+
"rows": {
|
|
15550
|
+
"additionalProperties": {
|
|
15551
|
+
"items": {
|
|
15552
|
+
"type": "string"
|
|
15553
|
+
},
|
|
15554
|
+
"type": "array"
|
|
15555
|
+
},
|
|
15556
|
+
"type": "object",
|
|
15557
|
+
"title": "Rows"
|
|
15558
|
+
}
|
|
15559
|
+
},
|
|
15560
|
+
"type": "object",
|
|
15561
|
+
"required": [
|
|
15562
|
+
"groups",
|
|
15563
|
+
"rows"
|
|
15564
|
+
],
|
|
15565
|
+
"title": "GroupsResponse",
|
|
15566
|
+
"description": "A list's groups by one field, and the groups each row is in."
|
|
15567
|
+
},
|
|
15568
|
+
"HTTPValidationError": {
|
|
15569
|
+
"properties": {
|
|
15570
|
+
"detail": {
|
|
15571
|
+
"items": {
|
|
15572
|
+
"$ref": "#/components/schemas/ValidationError"
|
|
15573
|
+
},
|
|
15574
|
+
"type": "array",
|
|
15575
|
+
"title": "Detail"
|
|
15576
|
+
}
|
|
15577
|
+
},
|
|
15578
|
+
"type": "object",
|
|
15241
15579
|
"title": "HTTPValidationError"
|
|
15242
15580
|
},
|
|
15243
15581
|
"InitiativeCan": {
|
|
@@ -15678,7 +16016,7 @@
|
|
|
15678
16016
|
"value"
|
|
15679
16017
|
],
|
|
15680
16018
|
"title": "PluginValueSummary",
|
|
15681
|
-
"description": "One value an installed plug-in shows on an item: a key its pinned\nversion declares as a field there."
|
|
16019
|
+
"description": "One value an installed plug-in shows on an item: a key its pinned\nversion declares as a field there. A list field's value is an array of its\nelements, newest first, each with its ``ref``."
|
|
15682
16020
|
},
|
|
15683
16021
|
"PollOptionRead": {
|
|
15684
16022
|
"properties": {
|
|
@@ -16745,6 +17083,13 @@
|
|
|
16745
17083
|
},
|
|
16746
17084
|
"type": "array",
|
|
16747
17085
|
"title": "Task Statuses"
|
|
17086
|
+
},
|
|
17087
|
+
"task_types": {
|
|
17088
|
+
"items": {
|
|
17089
|
+
"$ref": "#/components/schemas/TaskTypeRead"
|
|
17090
|
+
},
|
|
17091
|
+
"type": "array",
|
|
17092
|
+
"title": "Task Types"
|
|
16748
17093
|
}
|
|
16749
17094
|
},
|
|
16750
17095
|
"type": "object",
|
|
@@ -16773,7 +17118,8 @@
|
|
|
16773
17118
|
"owner_plugin",
|
|
16774
17119
|
"initiative",
|
|
16775
17120
|
"task_summary",
|
|
16776
|
-
"task_statuses"
|
|
17121
|
+
"task_statuses",
|
|
17122
|
+
"task_types"
|
|
16777
17123
|
],
|
|
16778
17124
|
"title": "ProjectRead"
|
|
16779
17125
|
},
|
|
@@ -18169,6 +18515,15 @@
|
|
|
18169
18515
|
"title": "ReactionGroup",
|
|
18170
18516
|
"description": "One emoji on one target, and who chose it."
|
|
18171
18517
|
},
|
|
18518
|
+
"RecurrenceStrategy": {
|
|
18519
|
+
"type": "string",
|
|
18520
|
+
"enum": [
|
|
18521
|
+
"fixed",
|
|
18522
|
+
"rolling"
|
|
18523
|
+
],
|
|
18524
|
+
"title": "RecurrenceStrategy",
|
|
18525
|
+
"description": "How a repeating task's next date is counted."
|
|
18526
|
+
},
|
|
18172
18527
|
"RemovalReason": {
|
|
18173
18528
|
"type": "string",
|
|
18174
18529
|
"enum": [
|
|
@@ -18586,14 +18941,22 @@
|
|
|
18586
18941
|
"title": "Recurrence"
|
|
18587
18942
|
},
|
|
18588
18943
|
"recurrence_strategy": {
|
|
18589
|
-
"
|
|
18590
|
-
"enum": [
|
|
18591
|
-
"fixed",
|
|
18592
|
-
"rolling"
|
|
18593
|
-
],
|
|
18594
|
-
"title": "Recurrence Strategy",
|
|
18944
|
+
"$ref": "#/components/schemas/RecurrenceStrategy",
|
|
18595
18945
|
"default": "fixed"
|
|
18596
18946
|
},
|
|
18947
|
+
"recurrence_limit": {
|
|
18948
|
+
"anyOf": [
|
|
18949
|
+
{
|
|
18950
|
+
"type": "integer",
|
|
18951
|
+
"maximum": 24,
|
|
18952
|
+
"minimum": 1
|
|
18953
|
+
},
|
|
18954
|
+
{
|
|
18955
|
+
"type": "null"
|
|
18956
|
+
}
|
|
18957
|
+
],
|
|
18958
|
+
"title": "Recurrence Limit"
|
|
18959
|
+
},
|
|
18597
18960
|
"description": {
|
|
18598
18961
|
"anyOf": [
|
|
18599
18962
|
{
|
|
@@ -18642,6 +19005,17 @@
|
|
|
18642
19005
|
],
|
|
18643
19006
|
"title": "Task Status Id"
|
|
18644
19007
|
},
|
|
19008
|
+
"task_type_id": {
|
|
19009
|
+
"anyOf": [
|
|
19010
|
+
{
|
|
19011
|
+
"type": "integer"
|
|
19012
|
+
},
|
|
19013
|
+
{
|
|
19014
|
+
"type": "null"
|
|
19015
|
+
}
|
|
19016
|
+
],
|
|
19017
|
+
"title": "Task Type Id"
|
|
19018
|
+
},
|
|
18645
19019
|
"tag_ids": {
|
|
18646
19020
|
"items": {
|
|
18647
19021
|
"type": "integer"
|
|
@@ -18711,14 +19085,22 @@
|
|
|
18711
19085
|
"title": "Recurrence"
|
|
18712
19086
|
},
|
|
18713
19087
|
"recurrence_strategy": {
|
|
18714
|
-
"
|
|
18715
|
-
"enum": [
|
|
18716
|
-
"fixed",
|
|
18717
|
-
"rolling"
|
|
18718
|
-
],
|
|
18719
|
-
"title": "Recurrence Strategy",
|
|
19088
|
+
"$ref": "#/components/schemas/RecurrenceStrategy",
|
|
18720
19089
|
"default": "fixed"
|
|
18721
19090
|
},
|
|
19091
|
+
"recurrence_limit": {
|
|
19092
|
+
"anyOf": [
|
|
19093
|
+
{
|
|
19094
|
+
"type": "integer",
|
|
19095
|
+
"maximum": 24,
|
|
19096
|
+
"minimum": 1
|
|
19097
|
+
},
|
|
19098
|
+
{
|
|
19099
|
+
"type": "null"
|
|
19100
|
+
}
|
|
19101
|
+
],
|
|
19102
|
+
"title": "Recurrence Limit"
|
|
19103
|
+
},
|
|
18722
19104
|
"description_excerpt": {
|
|
18723
19105
|
"anyOf": [
|
|
18724
19106
|
{
|
|
@@ -18752,6 +19134,13 @@
|
|
|
18752
19134
|
"task_status": {
|
|
18753
19135
|
"$ref": "#/components/schemas/TaskStatusRead"
|
|
18754
19136
|
},
|
|
19137
|
+
"task_type_id": {
|
|
19138
|
+
"type": "integer",
|
|
19139
|
+
"title": "Task Type Id"
|
|
19140
|
+
},
|
|
19141
|
+
"task_type": {
|
|
19142
|
+
"$ref": "#/components/schemas/TaskTypeRead"
|
|
19143
|
+
},
|
|
18755
19144
|
"created_at": {
|
|
18756
19145
|
"type": "string",
|
|
18757
19146
|
"format": "date-time",
|
|
@@ -18820,6 +19209,24 @@
|
|
|
18820
19209
|
"title": "Recurrence Shift",
|
|
18821
19210
|
"default": 0
|
|
18822
19211
|
},
|
|
19212
|
+
"recurrence_anchor": {
|
|
19213
|
+
"anyOf": [
|
|
19214
|
+
{
|
|
19215
|
+
"type": "string",
|
|
19216
|
+
"format": "date-time"
|
|
19217
|
+
},
|
|
19218
|
+
{
|
|
19219
|
+
"type": "null"
|
|
19220
|
+
}
|
|
19221
|
+
],
|
|
19222
|
+
"title": "Recurrence Anchor"
|
|
19223
|
+
},
|
|
19224
|
+
"recurrence_anchor_count": {
|
|
19225
|
+
"type": "integer",
|
|
19226
|
+
"minimum": 0,
|
|
19227
|
+
"title": "Recurrence Anchor Count",
|
|
19228
|
+
"default": 0
|
|
19229
|
+
},
|
|
18823
19230
|
"recurrence_until": {
|
|
18824
19231
|
"anyOf": [
|
|
18825
19232
|
{
|
|
@@ -18952,12 +19359,15 @@
|
|
|
18952
19359
|
"due_date",
|
|
18953
19360
|
"recurrence",
|
|
18954
19361
|
"recurrence_strategy",
|
|
19362
|
+
"recurrence_limit",
|
|
18955
19363
|
"description_excerpt",
|
|
18956
19364
|
"has_description",
|
|
18957
19365
|
"id",
|
|
18958
19366
|
"project_id",
|
|
18959
19367
|
"task_status_id",
|
|
18960
19368
|
"task_status",
|
|
19369
|
+
"task_type_id",
|
|
19370
|
+
"task_type",
|
|
18961
19371
|
"created_at",
|
|
18962
19372
|
"updated_at",
|
|
18963
19373
|
"completed_at",
|
|
@@ -18967,6 +19377,8 @@
|
|
|
18967
19377
|
"assignees",
|
|
18968
19378
|
"recurrence_occurrence_count",
|
|
18969
19379
|
"recurrence_shift",
|
|
19380
|
+
"recurrence_anchor",
|
|
19381
|
+
"recurrence_anchor_count",
|
|
18970
19382
|
"recurrence_until",
|
|
18971
19383
|
"comment_count",
|
|
18972
19384
|
"blocked_by_open_count",
|
|
@@ -19185,14 +19597,22 @@
|
|
|
19185
19597
|
"title": "Recurrence"
|
|
19186
19598
|
},
|
|
19187
19599
|
"recurrence_strategy": {
|
|
19188
|
-
"
|
|
19189
|
-
"enum": [
|
|
19190
|
-
"fixed",
|
|
19191
|
-
"rolling"
|
|
19192
|
-
],
|
|
19193
|
-
"title": "Recurrence Strategy",
|
|
19600
|
+
"$ref": "#/components/schemas/RecurrenceStrategy",
|
|
19194
19601
|
"default": "fixed"
|
|
19195
19602
|
},
|
|
19603
|
+
"recurrence_limit": {
|
|
19604
|
+
"anyOf": [
|
|
19605
|
+
{
|
|
19606
|
+
"type": "integer",
|
|
19607
|
+
"maximum": 24,
|
|
19608
|
+
"minimum": 1
|
|
19609
|
+
},
|
|
19610
|
+
{
|
|
19611
|
+
"type": "null"
|
|
19612
|
+
}
|
|
19613
|
+
],
|
|
19614
|
+
"title": "Recurrence Limit"
|
|
19615
|
+
},
|
|
19196
19616
|
"description": {
|
|
19197
19617
|
"anyOf": [
|
|
19198
19618
|
{
|
|
@@ -19221,6 +19641,13 @@
|
|
|
19221
19641
|
"task_status": {
|
|
19222
19642
|
"$ref": "#/components/schemas/TaskStatusRead"
|
|
19223
19643
|
},
|
|
19644
|
+
"task_type_id": {
|
|
19645
|
+
"type": "integer",
|
|
19646
|
+
"title": "Task Type Id"
|
|
19647
|
+
},
|
|
19648
|
+
"task_type": {
|
|
19649
|
+
"$ref": "#/components/schemas/TaskTypeRead"
|
|
19650
|
+
},
|
|
19224
19651
|
"created_at": {
|
|
19225
19652
|
"type": "string",
|
|
19226
19653
|
"format": "date-time",
|
|
@@ -19299,6 +19726,24 @@
|
|
|
19299
19726
|
"title": "Recurrence Shift",
|
|
19300
19727
|
"default": 0
|
|
19301
19728
|
},
|
|
19729
|
+
"recurrence_anchor": {
|
|
19730
|
+
"anyOf": [
|
|
19731
|
+
{
|
|
19732
|
+
"type": "string",
|
|
19733
|
+
"format": "date-time"
|
|
19734
|
+
},
|
|
19735
|
+
{
|
|
19736
|
+
"type": "null"
|
|
19737
|
+
}
|
|
19738
|
+
],
|
|
19739
|
+
"title": "Recurrence Anchor"
|
|
19740
|
+
},
|
|
19741
|
+
"recurrence_anchor_count": {
|
|
19742
|
+
"type": "integer",
|
|
19743
|
+
"minimum": 0,
|
|
19744
|
+
"title": "Recurrence Anchor Count",
|
|
19745
|
+
"default": 0
|
|
19746
|
+
},
|
|
19302
19747
|
"recurrence_until": {
|
|
19303
19748
|
"anyOf": [
|
|
19304
19749
|
{
|
|
@@ -19398,11 +19843,14 @@
|
|
|
19398
19843
|
"due_date",
|
|
19399
19844
|
"recurrence",
|
|
19400
19845
|
"recurrence_strategy",
|
|
19846
|
+
"recurrence_limit",
|
|
19401
19847
|
"description",
|
|
19402
19848
|
"id",
|
|
19403
19849
|
"project_id",
|
|
19404
19850
|
"task_status_id",
|
|
19405
19851
|
"task_status",
|
|
19852
|
+
"task_type_id",
|
|
19853
|
+
"task_type",
|
|
19406
19854
|
"created_at",
|
|
19407
19855
|
"updated_at",
|
|
19408
19856
|
"completed_at",
|
|
@@ -19413,6 +19861,8 @@
|
|
|
19413
19861
|
"assignees",
|
|
19414
19862
|
"recurrence_occurrence_count",
|
|
19415
19863
|
"recurrence_shift",
|
|
19864
|
+
"recurrence_anchor",
|
|
19865
|
+
"recurrence_anchor_count",
|
|
19416
19866
|
"recurrence_until",
|
|
19417
19867
|
"series_id",
|
|
19418
19868
|
"series_size",
|
|
@@ -19493,6 +19943,232 @@
|
|
|
19493
19943
|
],
|
|
19494
19944
|
"title": "TaskStatusRead"
|
|
19495
19945
|
},
|
|
19946
|
+
"TaskTypeGalleryEntry": {
|
|
19947
|
+
"properties": {
|
|
19948
|
+
"key": {
|
|
19949
|
+
"type": "string",
|
|
19950
|
+
"title": "Key"
|
|
19951
|
+
},
|
|
19952
|
+
"name": {
|
|
19953
|
+
"type": "string",
|
|
19954
|
+
"title": "Name"
|
|
19955
|
+
},
|
|
19956
|
+
"hint": {
|
|
19957
|
+
"type": "string",
|
|
19958
|
+
"title": "Hint"
|
|
19959
|
+
},
|
|
19960
|
+
"icon": {
|
|
19961
|
+
"type": "string",
|
|
19962
|
+
"title": "Icon"
|
|
19963
|
+
},
|
|
19964
|
+
"color": {
|
|
19965
|
+
"type": "string",
|
|
19966
|
+
"title": "Color"
|
|
19967
|
+
},
|
|
19968
|
+
"layout_preset": {
|
|
19969
|
+
"type": "string",
|
|
19970
|
+
"title": "Layout Preset"
|
|
19971
|
+
},
|
|
19972
|
+
"fields": {
|
|
19973
|
+
"items": {
|
|
19974
|
+
"$ref": "#/components/schemas/TaskTypeGalleryField"
|
|
19975
|
+
},
|
|
19976
|
+
"type": "array",
|
|
19977
|
+
"title": "Fields"
|
|
19978
|
+
},
|
|
19979
|
+
"starting_values": {
|
|
19980
|
+
"anyOf": [
|
|
19981
|
+
{
|
|
19982
|
+
"$ref": "#/components/schemas/TaskTypeStartingValues"
|
|
19983
|
+
},
|
|
19984
|
+
{
|
|
19985
|
+
"type": "null"
|
|
19986
|
+
}
|
|
19987
|
+
]
|
|
19988
|
+
}
|
|
19989
|
+
},
|
|
19990
|
+
"type": "object",
|
|
19991
|
+
"required": [
|
|
19992
|
+
"key",
|
|
19993
|
+
"name",
|
|
19994
|
+
"hint",
|
|
19995
|
+
"icon",
|
|
19996
|
+
"color",
|
|
19997
|
+
"layout_preset",
|
|
19998
|
+
"fields"
|
|
19999
|
+
],
|
|
20000
|
+
"title": "TaskTypeGalleryEntry",
|
|
20001
|
+
"description": "One ready-made type, in the reader's language."
|
|
20002
|
+
},
|
|
20003
|
+
"TaskTypeGalleryField": {
|
|
20004
|
+
"properties": {
|
|
20005
|
+
"name": {
|
|
20006
|
+
"type": "string",
|
|
20007
|
+
"title": "Name"
|
|
20008
|
+
},
|
|
20009
|
+
"type": {
|
|
20010
|
+
"type": "string",
|
|
20011
|
+
"title": "Type"
|
|
20012
|
+
}
|
|
20013
|
+
},
|
|
20014
|
+
"type": "object",
|
|
20015
|
+
"required": [
|
|
20016
|
+
"name",
|
|
20017
|
+
"type"
|
|
20018
|
+
],
|
|
20019
|
+
"title": "TaskTypeGalleryField"
|
|
20020
|
+
},
|
|
20021
|
+
"TaskTypeGalleryGroup": {
|
|
20022
|
+
"properties": {
|
|
20023
|
+
"key": {
|
|
20024
|
+
"type": "string",
|
|
20025
|
+
"title": "Key"
|
|
20026
|
+
},
|
|
20027
|
+
"name": {
|
|
20028
|
+
"type": "string",
|
|
20029
|
+
"title": "Name"
|
|
20030
|
+
},
|
|
20031
|
+
"entries": {
|
|
20032
|
+
"items": {
|
|
20033
|
+
"$ref": "#/components/schemas/TaskTypeGalleryEntry"
|
|
20034
|
+
},
|
|
20035
|
+
"type": "array",
|
|
20036
|
+
"title": "Entries"
|
|
20037
|
+
}
|
|
20038
|
+
},
|
|
20039
|
+
"type": "object",
|
|
20040
|
+
"required": [
|
|
20041
|
+
"key",
|
|
20042
|
+
"name",
|
|
20043
|
+
"entries"
|
|
20044
|
+
],
|
|
20045
|
+
"title": "TaskTypeGalleryGroup"
|
|
20046
|
+
},
|
|
20047
|
+
"TaskTypeRead": {
|
|
20048
|
+
"properties": {
|
|
20049
|
+
"id": {
|
|
20050
|
+
"type": "integer",
|
|
20051
|
+
"title": "Id"
|
|
20052
|
+
},
|
|
20053
|
+
"project_id": {
|
|
20054
|
+
"type": "integer",
|
|
20055
|
+
"title": "Project Id"
|
|
20056
|
+
},
|
|
20057
|
+
"name": {
|
|
20058
|
+
"type": "string",
|
|
20059
|
+
"title": "Name"
|
|
20060
|
+
},
|
|
20061
|
+
"position": {
|
|
20062
|
+
"type": "integer",
|
|
20063
|
+
"title": "Position"
|
|
20064
|
+
},
|
|
20065
|
+
"is_default": {
|
|
20066
|
+
"type": "boolean",
|
|
20067
|
+
"title": "Is Default"
|
|
20068
|
+
},
|
|
20069
|
+
"color": {
|
|
20070
|
+
"type": "string",
|
|
20071
|
+
"title": "Color"
|
|
20072
|
+
},
|
|
20073
|
+
"icon": {
|
|
20074
|
+
"type": "string",
|
|
20075
|
+
"title": "Icon"
|
|
20076
|
+
},
|
|
20077
|
+
"layout_preset": {
|
|
20078
|
+
"type": "string",
|
|
20079
|
+
"title": "Layout Preset"
|
|
20080
|
+
},
|
|
20081
|
+
"starting_values": {
|
|
20082
|
+
"anyOf": [
|
|
20083
|
+
{
|
|
20084
|
+
"$ref": "#/components/schemas/TaskTypeStartingValues"
|
|
20085
|
+
},
|
|
20086
|
+
{
|
|
20087
|
+
"type": "null"
|
|
20088
|
+
}
|
|
20089
|
+
]
|
|
20090
|
+
}
|
|
20091
|
+
},
|
|
20092
|
+
"type": "object",
|
|
20093
|
+
"required": [
|
|
20094
|
+
"id",
|
|
20095
|
+
"project_id",
|
|
20096
|
+
"name",
|
|
20097
|
+
"position",
|
|
20098
|
+
"is_default",
|
|
20099
|
+
"color",
|
|
20100
|
+
"icon",
|
|
20101
|
+
"layout_preset",
|
|
20102
|
+
"starting_values"
|
|
20103
|
+
],
|
|
20104
|
+
"title": "TaskTypeRead",
|
|
20105
|
+
"description": "One kind of task in a project, and the shape its page is drawn as until\nthe page is changed."
|
|
20106
|
+
},
|
|
20107
|
+
"TaskTypeStartingValues": {
|
|
20108
|
+
"properties": {
|
|
20109
|
+
"description": {
|
|
20110
|
+
"anyOf": [
|
|
20111
|
+
{
|
|
20112
|
+
"type": "string",
|
|
20113
|
+
"x-mentions": "markdown",
|
|
20114
|
+
"description": "A person is mentioned as `@[](<reference>)`, by your reference for them, with no name: read who they are from the members search (`members:read`). Write a mention the same way. A stored file comes without its path: `![alt]()`, `[name]()`."
|
|
20115
|
+
},
|
|
20116
|
+
{
|
|
20117
|
+
"type": "null"
|
|
20118
|
+
}
|
|
20119
|
+
],
|
|
20120
|
+
"title": "Description"
|
|
20121
|
+
},
|
|
20122
|
+
"checklist": {
|
|
20123
|
+
"items": {
|
|
20124
|
+
"type": "string",
|
|
20125
|
+
"maxLength": 2000,
|
|
20126
|
+
"minLength": 1,
|
|
20127
|
+
"x-mentions": "markdown",
|
|
20128
|
+
"description": "A person is mentioned as `@[](<reference>)`, by your reference for them, with no name: read who they are from the members search (`members:read`). Write a mention the same way. A stored file comes without its path: `![alt]()`, `[name]()`."
|
|
20129
|
+
},
|
|
20130
|
+
"type": "array",
|
|
20131
|
+
"maxItems": 50,
|
|
20132
|
+
"title": "Checklist"
|
|
20133
|
+
},
|
|
20134
|
+
"priority": {
|
|
20135
|
+
"anyOf": [
|
|
20136
|
+
{
|
|
20137
|
+
"$ref": "#/components/schemas/TaskPriority"
|
|
20138
|
+
},
|
|
20139
|
+
{
|
|
20140
|
+
"type": "null"
|
|
20141
|
+
}
|
|
20142
|
+
]
|
|
20143
|
+
},
|
|
20144
|
+
"recurrence": {
|
|
20145
|
+
"anyOf": [
|
|
20146
|
+
{
|
|
20147
|
+
"type": "string",
|
|
20148
|
+
"maxLength": 4000,
|
|
20149
|
+
"description": "RFC 5545 recurrence lines: one RRULE, and optional EXDATE and RDATE lines in UTC. The rule's days are as picked in the request's tz, or UTC days without one. POST /recurrence/preview lists its next starts."
|
|
20150
|
+
},
|
|
20151
|
+
{
|
|
20152
|
+
"type": "null"
|
|
20153
|
+
}
|
|
20154
|
+
],
|
|
20155
|
+
"title": "Recurrence"
|
|
20156
|
+
},
|
|
20157
|
+
"recurrence_strategy": {
|
|
20158
|
+
"anyOf": [
|
|
20159
|
+
{
|
|
20160
|
+
"$ref": "#/components/schemas/RecurrenceStrategy"
|
|
20161
|
+
},
|
|
20162
|
+
{
|
|
20163
|
+
"type": "null"
|
|
20164
|
+
}
|
|
20165
|
+
]
|
|
20166
|
+
}
|
|
20167
|
+
},
|
|
20168
|
+
"type": "object",
|
|
20169
|
+
"title": "TaskTypeStartingValues",
|
|
20170
|
+
"description": "What a new task of a type starts with, field by field, where whoever\nmakes it leaves that field empty. A repeat starts only on a task with a\ndate to count from."
|
|
20171
|
+
},
|
|
19496
20172
|
"TaskUpdate": {
|
|
19497
20173
|
"properties": {
|
|
19498
20174
|
"properties": {
|
|
@@ -19557,6 +20233,17 @@
|
|
|
19557
20233
|
],
|
|
19558
20234
|
"title": "Task Status Id"
|
|
19559
20235
|
},
|
|
20236
|
+
"task_type_id": {
|
|
20237
|
+
"anyOf": [
|
|
20238
|
+
{
|
|
20239
|
+
"type": "integer"
|
|
20240
|
+
},
|
|
20241
|
+
{
|
|
20242
|
+
"type": "null"
|
|
20243
|
+
}
|
|
20244
|
+
],
|
|
20245
|
+
"title": "Task Type Id"
|
|
20246
|
+
},
|
|
19560
20247
|
"status_category": {
|
|
19561
20248
|
"anyOf": [
|
|
19562
20249
|
{
|
|
@@ -19676,17 +20363,25 @@
|
|
|
19676
20363
|
"recurrence_strategy": {
|
|
19677
20364
|
"anyOf": [
|
|
19678
20365
|
{
|
|
19679
|
-
"
|
|
19680
|
-
|
|
19681
|
-
|
|
19682
|
-
|
|
19683
|
-
|
|
20366
|
+
"$ref": "#/components/schemas/RecurrenceStrategy"
|
|
20367
|
+
},
|
|
20368
|
+
{
|
|
20369
|
+
"type": "null"
|
|
20370
|
+
}
|
|
20371
|
+
]
|
|
20372
|
+
},
|
|
20373
|
+
"recurrence_limit": {
|
|
20374
|
+
"anyOf": [
|
|
20375
|
+
{
|
|
20376
|
+
"type": "integer",
|
|
20377
|
+
"maximum": 24,
|
|
20378
|
+
"minimum": 1
|
|
19684
20379
|
},
|
|
19685
20380
|
{
|
|
19686
20381
|
"type": "null"
|
|
19687
20382
|
}
|
|
19688
20383
|
],
|
|
19689
|
-
"title": "Recurrence
|
|
20384
|
+
"title": "Recurrence Limit"
|
|
19690
20385
|
},
|
|
19691
20386
|
"tag_ids": {
|
|
19692
20387
|
"anyOf": [
|