Skip to content

Commit 91447df

Browse files
committed
fix: integrated test for slacklist
1 parent e302750 commit 91447df

36 files changed

+671
-481
lines changed

json-logs/samples/api/slackLists.create.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@
1515
"id": "",
1616
"options": {
1717
"format": "",
18-
"show_member_name": false
18+
"show_member_name": false,
19+
"choices": [
20+
{
21+
"value": "",
22+
"label": "",
23+
"color": ""
24+
}
25+
]
1926
}
2027
}
2128
],

json-logs/samples/api/slackLists.items.create.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@
77
"item": {
88
"id": "",
99
"list_id": "",
10-
"date_created": 0,
10+
"date_created": 12345,
1111
"created_by": "",
1212
"updated_by": "",
1313
"fields": [
1414
{
1515
"key": "",
1616
"column_id": "",
1717
"value": "",
18-
"rich_text": []
18+
"rich_text": [
19+
""
20+
],
21+
"checkbox": false
1922
}
2023
],
2124
"updated_timestamp": ""

json-logs/samples/api/slackLists.items.info.json

Lines changed: 105 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"provided": "",
77
"list": {
88
"id": "",
9-
"created": 0,
10-
"timestamp": 0,
9+
"created": 12345,
10+
"timestamp": 12345,
1111
"name": "",
1212
"title": "",
1313
"mimetype": "",
@@ -16,7 +16,7 @@
1616
"user": "",
1717
"user_team": "",
1818
"editable": false,
19-
"size": 0,
19+
"size": 12345,
2020
"mode": "",
2121
"is_external": false,
2222
"external_type": "",
@@ -25,14 +25,85 @@
2525
"display_as_bot": false,
2626
"username": "",
2727
"list_metadata": {
28-
"schema": [],
29-
"views": [],
30-
"integrations": [],
28+
"schema": [
29+
{
30+
"id": "",
31+
"name": "",
32+
"key": "",
33+
"type": "",
34+
"is_primary_column": false,
35+
"options": {
36+
"format": "",
37+
"show_member_name": false,
38+
"choices": [
39+
{
40+
"value": "",
41+
"label": "",
42+
"color": ""
43+
}
44+
]
45+
}
46+
}
47+
],
48+
"views": [
49+
{
50+
"id": "",
51+
"name": "",
52+
"type": "",
53+
"is_locked": false,
54+
"position": "1234567890",
55+
"columns": [
56+
{
57+
"visible": false,
58+
"key": "",
59+
"id": "",
60+
"position": "1234567890"
61+
}
62+
],
63+
"date_created": 12345,
64+
"created_by": "U00000000",
65+
"stick_column_left": false,
66+
"is_all_items_view": false,
67+
"default_view_key": "",
68+
"show_completed_items": false
69+
}
70+
],
71+
"integrations": [
72+
""
73+
],
3174
"icon": "",
3275
"description": "",
33-
"description_blocks": [],
76+
"description_blocks": [
77+
{
78+
"type": "",
79+
"block_id": "",
80+
"elements": [
81+
{
82+
"type": "",
83+
"elements": [
84+
{
85+
"type": "",
86+
"text": ""
87+
}
88+
]
89+
}
90+
]
91+
}
92+
],
3493
"is_trial": false,
35-
"subtask_schema": [],
94+
"subtask_schema": [
95+
{
96+
"id": "",
97+
"name": "",
98+
"key": "",
99+
"type": "",
100+
"is_primary_column": false,
101+
"options": {
102+
"format": "",
103+
"show_member_name": false
104+
}
105+
}
106+
],
36107
"creation_source": {
37108
"type": "",
38109
"reference_id": ""
@@ -42,27 +113,29 @@
42113
},
43114
"list_limits": {
44115
"over_row_maximum": false,
45-
"row_count_limit": 0,
46-
"row_count": 0,
47-
"archived_row_count": 0,
116+
"row_count_limit": 12345,
117+
"row_count": 12345,
118+
"archived_row_count": 12345,
48119
"over_column_maximum": false,
49-
"column_count": 0,
50-
"column_count_limit": 0,
120+
"column_count": 12345,
121+
"column_count_limit": 12345,
51122
"over_view_maximum": false,
52-
"view_count": 0,
53-
"view_count_limit": 0,
54-
"max_attachments_per_cell": 0
123+
"view_count": 12345,
124+
"view_count_limit": 12345,
125+
"max_attachments_per_cell": 12345
55126
},
56127
"url_private": "",
57128
"url_private_download": "",
58129
"permalink": "",
59130
"permalink_public": "",
60131
"last_editor": "",
61132
"list_csv_download_url": "",
62-
"updated": 0,
133+
"updated": 12345,
63134
"is_starred": false,
64135
"skipped_shares": false,
65-
"teams_shared_with": [],
136+
"teams_shared_with": [
137+
""
138+
],
66139
"is_restricted_sharing_enabled": false,
67140
"has_rich_preview": false,
68141
"file_access": "",
@@ -73,13 +146,23 @@
73146
"record": {
74147
"id": "",
75148
"list_id": "",
76-
"date_created": 0,
149+
"date_created": 12345,
77150
"created_by": "",
78151
"updated_by": "",
79-
"fields": [],
80-
"updated_timestamp": ""
152+
"fields": [
153+
{
154+
"key": "",
155+
"value": false,
156+
"checkbox": false,
157+
"column_id": ""
158+
}
159+
],
160+
"updated_timestamp": "",
161+
"is_subscribed": false
81162
},
82-
"subtasks": [],
163+
"subtasks": [
164+
""
165+
],
83166
"response_metadata": {
84167
"messages": [
85168
""

json-logs/samples/api/slackLists.items.list.json

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,57 @@
88
{
99
"id": "",
1010
"list_id": "",
11-
"date_created": 0,
11+
"date_created": 12345,
1212
"created_by": "",
1313
"updated_by": "",
1414
"fields": [
1515
{
1616
"key": "",
1717
"column_id": "",
1818
"value": "",
19-
"rich_text": []
19+
"rich_text": [
20+
{
21+
"type": "",
22+
"block_id": "",
23+
"elements": [
24+
{
25+
"type": "",
26+
"elements": [
27+
{
28+
"text": "",
29+
"type": ""
30+
}
31+
]
32+
}
33+
]
34+
}
35+
],
36+
"checkbox": false,
37+
"text": ""
38+
},
39+
{
40+
"key": "",
41+
"value": false,
42+
"checkbox": false,
43+
"column_id": "",
44+
"text": "",
45+
"rich_text": [
46+
{
47+
"type": "",
48+
"block_id": "",
49+
"elements": [
50+
{
51+
"type": "",
52+
"elements": [
53+
{
54+
"text": "",
55+
"type": ""
56+
}
57+
]
58+
}
59+
]
60+
}
61+
]
2062
}
2163
],
2264
"updated_timestamp": ""

0 commit comments

Comments
 (0)