@appthen/cli 1.2.10 → 1.2.11
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/.gitignore +1 -0
- package/bin/main.js +45 -0
- package/dist/index.js +1108 -267
- package/package.json +1 -1
- package/tests/test-app/.appthen/shadow-space-100001-test-app-e99876b1.json +1406 -0
- package/tests/test-app/.appthen/shadow-space-unknown-user-test-app-e99876b1.json +1060 -0
- package/tests/test-app/.appthen/space-config.json +8 -0
- package/tests/test-app/docs/AI-Workflow.flow +112 -0
- package/tests/test-app/docs/Logic-1.flow +16 -0
- package/tests/test-app/docs/Logic.flow +16 -0
- package/tests/test-app/docs/Project-Blueprint-1.flow +119 -0
- package/tests/test-app/docs/Project-Blueprint.flow +119 -0
- package/tests/test-app/docs/README.md +3 -0
- package/tests/test-app/docs/claude.md +194 -0
- package/tests/test-app/docs/page_requirement_analysis.md +149 -0
- package/tests/test-app/docs//345/267/245/345/215/225/347/256/241/347/220/206/347/263/273/347/273/237/350/257/246/347/273/206/350/256/276/350/256/241.md +377 -0
- package/tests/test-app/src/apis/AddTodoPost.api.ts +42 -0
- package/tests/test-app/src/apis/DeleteTodoPost.api.ts +32 -0
- package/tests/test-app/src/apis/GetListPost.api.ts +38 -0
- package/tests/test-app/src/apis/TicketAttachmentUploadPost.api.ts +42 -0
- package/tests/test-app/src/apis/UpdateTodoPost.api.ts +46 -0
- package/tests/test-app/src/app.css +15 -0
- package/tests/test-app/src/cloud_functions/ticket|attachment|upload.node.ts +86 -0
- package/tests/test-app/src/cloud_functions/ticket|comment|add.node.ts +65 -0
- package/tests/test-app/src/cloud_functions/types|entity|Ticket.node.ts +88 -0
- package/tests/test-app/src/cloud_functions/types|entity|TicketAttachment.node.ts +70 -0
- package/tests/test-app/src/cloud_functions/types|entity|TicketCategory.node.ts +56 -0
- package/tests/test-app/src/cloud_functions/types|entity|TicketComment.node.ts +62 -0
- package/tests/test-app/src/cloud_functions/types|entity|TicketHistory.node.ts +74 -0
- package/tests/test-app/src/cloud_functions/types|entity|TicketPriority.node.ts +68 -0
- package/tests/test-app/src/cloud_functions/types|entity|TicketStatus.node.ts +63 -0
- package/tests/test-app/src/cloud_functions/types|models|CreateTicketParams.node.ts +20 -0
- package/tests/test-app/src/cloud_functions/types|models|TicketListParams.node.ts +30 -0
- package/tests/test-app/src/cloud_functions/types|models|UpdateTicketParams.node.ts +22 -0
- package/tests/test-app/src/components/Button.js +11 -0
- package/tests/test-app/src/components/MouduleDemoNzp.tsx +40 -0
- package/tests/test-app/src/components/Timeline.tsx +145 -0
- package/tests/test-app/src/index.ts +2 -0
- package/tests/test-app/src/modules/work_order_module/apis/TicketCommentAddPost.api.ts +48 -0
- package/tests/test-app/src/modules/work_order_module/apis/TicketCreatePost.api.ts +52 -0
- package/tests/test-app/src/modules/work_order_module/apis/TicketDeleteDelete.api.ts +39 -0
- package/tests/test-app/src/modules/work_order_module/apis/TicketDetailGet.api.ts +39 -0
- package/tests/test-app/src/modules/work_order_module/apis/TicketListGet.api.ts +61 -0
- package/tests/test-app/src/modules/work_order_module/apis/TicketUpdatePut.api.ts +57 -0
- package/tests/test-app/src/modules/work_order_module/apis/TrainDoorFaultListGet.ts +76 -0
- package/tests/test-app/src/modules/work_order_module/apis/TrainDoorListGet.ts +76 -0
- package/tests/test-app/src/modules/work_order_module/apis/TrainDoorOperationRecordsGet.ts +284 -0
- package/tests/test-app/src/modules/work_order_module/apis/TrainDoorStatisticsGet.ts +96 -0
- package/tests/test-app/src/modules/work_order_module/cloud_function/category|list.node.ts +40 -0
- package/tests/test-app/src/modules/work_order_module/cloud_function/priority|list.node.ts +26 -0
- package/tests/test-app/src/modules/work_order_module/cloud_function/status|list.node.ts +26 -0
- package/tests/test-app/src/modules/work_order_module/cloud_function/ticket|create.node.ts +54 -0
- package/tests/test-app/src/modules/work_order_module/cloud_function/ticket|delete.node.ts +55 -0
- package/tests/test-app/src/modules/work_order_module/cloud_function/ticket|detail.node.ts +65 -0
- package/tests/test-app/src/modules/work_order_module/cloud_function/ticket|list.node.ts +85 -0
- package/tests/test-app/src/modules/work_order_module/cloud_function/ticket|update.node.ts +73 -0
- package/tests/test-app/src/modules/work_order_module/data_model/Ticket.m.ts +85 -0
- package/tests/test-app/src/modules/work_order_module/data_model/TicketCategory.m.ts +53 -0
- package/tests/test-app/src/modules/work_order_module/data_model/TicketStatus.m.ts +60 -0
- package/tests/test-app/src/modules/work_order_module//345/267/245/345/215/225/347/263/273/347/273/237/344/272/247/345/223/201/350/256/276/350/256/241/346/226/207/346/241/243.md +301 -0
- package/tests/test-app/src/modules/work_order_module//345/267/245/345/215/225/347/263/273/347/273/237/345/274/200/345/217/221/344/273/273/345/212/241/345/210/206/345/267/245/346/226/207/346/241/243.md +345 -0
- package/tests/test-app/src/pages/SLAManagement.tsx +668 -0
- package/tests/test-app/src/pages/TicketCreate.tsx +27 -0
- package/tests/test-app/src/pages/TicketDetail.tsx +27 -0
- package/tests/test-app/src/pages/TicketList.tsx +27 -0
- package/tests/test-app/src/pages/TicketManagementPage.tsx +1238 -0
- package/tests/test-app/src/pages/VisualAIIDEUpgrade.tsx +245 -0
- package/tests/test-app/src/pages/appthen_guide/ComponentTreeUnderstanding.tsx +26 -0
- package/tests/test-app/src/pages/appthen_guide/DataBindingLearning.tsx +26 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout.tsx +155 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout10.tsx +157 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout2.tsx +156 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout3.tsx +156 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout4.tsx +157 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout5.tsx +157 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout6.tsx +157 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout7.tsx +157 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout8.tsx +157 -0
- package/tests/test-app/src/pages/back-end/adminRootLayout9.tsx +157 -0
- package/tests/test-app/src/pages/back-end/backgroundManagementSystem.css +5 -0
- package/tests/test-app/src/pages/back-end/backgroundManagementSystem.tsx +1745 -0
- package/tests/test-app/src/pages/component/WorkOrderCard.tsx +140 -0
- package/tests/test-app/src/pages/cover.tsx +42 -0
- package/tests/test-app/src/pages/data_dashboard/blueBrightGreenTechnologyWind.css +181 -0
- package/tests/test-app/src/pages/data_dashboard/blueBrightGreenTechnologyWind.tsx +225 -0
- package/tests/test-app/src/pages/data_dashboard/blueLargeScreen.css +181 -0
- package/tests/test-app/src/pages/data_dashboard/blueLargeScreen.tsx +138 -0
- package/tests/test-app/src/pages/data_dashboard/component_library/BlueBrightGreenBorder.tsx +47 -0
- package/tests/test-app/src/pages/data_dashboard/component_library/FullScreenContainer.tsx +133 -0
- package/tests/test-app/src/pages/description_of_mock_interface.md +32 -0
- package/tests/test-app/src/pages/digitalLargeScreen.css +181 -0
- package/tests/test-app/src/pages/digitalLargeScreen.tsx +1417 -0
- package/tests/test-app/src/pages/mobile_terminal/PersonalCenter.css +3 -0
- package/tests/test-app/src/pages/mobile_terminal/PersonalCenter.tsx +362 -0
- package/tests/test-app/src/pages/mobile_terminal/WorkOrderHomepage.tsx +337 -0
- package/tests/test-app/src/pages/mobile_terminal/newWorkOrder.tsx +224 -0
- package/tests/test-app/src/pages/mobile_terminal/tabbar.tsx +67 -0
- package/tests/test-app/src/pages/mobile_terminal/uiHandsOnPractice.tsx +638 -0
- package/tests/test-app/src/pages/mobile_terminal/workOrderDetails.tsx +346 -0
- package/tests/test-app/src/pages/mobile_terminal/workOrderPage.tsx +345 -0
- package/tests/test-app/src/pages/testPage.css +3 -0
- package/tests/test-app/src/pages/testPage.tsx +158 -0
- package/tests/test-app/src/pages/web_version/website.css +205 -0
- package/tests/test-app/src/pages/web_version/website.tsx +1066 -0
- package/tests/test-app/src/pages//345/276/205/345/212/236.apidoc.json +336 -0
- package/tests/test-app/src/project.json +1120 -0
- package/tests/test-app/src/store/global.store.ts +10 -0
- package/tests/test-app/src/types/CreateTicketParams.m.ts +20 -0
- package/tests/test-app/src/types/SLAPolicy.ts +50 -0
- package/tests/test-app/src/types/Ticket.ts +68 -0
- package/tests/test-app/src/types/TicketAttachment.m.ts +67 -0
- package/tests/test-app/src/types/TicketComment.m.ts +59 -0
- package/tests/test-app/src/types/TicketEvaluation.ts +44 -0
- package/tests/test-app/src/types/TicketHistory.m.ts +71 -0
- package/tests/test-app/src/types/TicketListParams.m.ts +30 -0
- package/tests/test-app/src/types/TicketPriority.m.ts +65 -0
- package/tests/test-app/src/types/TicketRecord.ts +47 -0
- package/tests/test-app/src/types/TrainDoor.ts +284 -0
- package/tests/test-app/src/types/UpdateTicketParams.m.ts +22 -0
- package/tests/test-app/src/utils/__afterRequest.util.ts +3 -0
- package/tests/test-app/src/utils/__beforeRequest.util.ts +10 -0
- package/tests/test-app/src/utils/testGlobalAction.util.ts +7 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
{
|
|
2
|
+
"host": "https://hhy547.laf.run",
|
|
3
|
+
"hostConstantName": "HostDomain",
|
|
4
|
+
"desc": "待办",
|
|
5
|
+
"apiDocStr": {
|
|
6
|
+
"openapi": "3.0.1",
|
|
7
|
+
"info": {
|
|
8
|
+
"title": "待办todo",
|
|
9
|
+
"description": "",
|
|
10
|
+
"version": "1.0.0"
|
|
11
|
+
},
|
|
12
|
+
"tags": [],
|
|
13
|
+
"paths": {
|
|
14
|
+
"/addTodo": {
|
|
15
|
+
"post": {
|
|
16
|
+
"summary": "新增待办",
|
|
17
|
+
"x-apifox-folder": "",
|
|
18
|
+
"x-apifox-status": "developing",
|
|
19
|
+
"deprecated": false,
|
|
20
|
+
"description": "",
|
|
21
|
+
"tags": [],
|
|
22
|
+
"parameters": [],
|
|
23
|
+
"requestBody": {
|
|
24
|
+
"content": {
|
|
25
|
+
"application/json": {
|
|
26
|
+
"schema": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"title": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"title": "标题"
|
|
32
|
+
},
|
|
33
|
+
"date": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"title": "日期"
|
|
36
|
+
},
|
|
37
|
+
"startTime": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"title": "开始时间"
|
|
40
|
+
},
|
|
41
|
+
"endTime": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"title": "结束时间"
|
|
44
|
+
},
|
|
45
|
+
"description": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"title": "描述信息"
|
|
48
|
+
},
|
|
49
|
+
"category": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"title": "分类"
|
|
52
|
+
},
|
|
53
|
+
"status": {
|
|
54
|
+
"type": "integer",
|
|
55
|
+
"title": "状态"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": [
|
|
59
|
+
"title",
|
|
60
|
+
"date",
|
|
61
|
+
"startTime",
|
|
62
|
+
"endTime",
|
|
63
|
+
"description",
|
|
64
|
+
"category",
|
|
65
|
+
"status"
|
|
66
|
+
],
|
|
67
|
+
"x-apifox-orders": [
|
|
68
|
+
"title",
|
|
69
|
+
"date",
|
|
70
|
+
"startTime",
|
|
71
|
+
"endTime",
|
|
72
|
+
"description",
|
|
73
|
+
"category",
|
|
74
|
+
"status"
|
|
75
|
+
],
|
|
76
|
+
"x-apifox-ignore-properties": []
|
|
77
|
+
},
|
|
78
|
+
"example": {
|
|
79
|
+
"title": "123",
|
|
80
|
+
"date": "2024-01-01",
|
|
81
|
+
"startTime": "14:20",
|
|
82
|
+
"endTime": "18:00",
|
|
83
|
+
"description": "待办描述",
|
|
84
|
+
"category": "生活",
|
|
85
|
+
"status": 2
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"responses": {
|
|
91
|
+
"200": {
|
|
92
|
+
"description": "成功",
|
|
93
|
+
"content": {
|
|
94
|
+
"application/json": {
|
|
95
|
+
"schema": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"properties": {},
|
|
98
|
+
"x-apifox-ignore-properties": [],
|
|
99
|
+
"x-apifox-orders": []
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"x-run-in-apifox": "https://apifox.com/web/project/4278294/apis/api-161957505-run",
|
|
106
|
+
"security": []
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"/getList": {
|
|
110
|
+
"post": {
|
|
111
|
+
"summary": "待办列表",
|
|
112
|
+
"x-apifox-folder": "",
|
|
113
|
+
"x-apifox-status": "released",
|
|
114
|
+
"deprecated": false,
|
|
115
|
+
"description": "",
|
|
116
|
+
"tags": [],
|
|
117
|
+
"parameters": [],
|
|
118
|
+
"requestBody": {
|
|
119
|
+
"content": {
|
|
120
|
+
"application/json": {
|
|
121
|
+
"schema": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"page": {
|
|
125
|
+
"type": "integer"
|
|
126
|
+
},
|
|
127
|
+
"pageSize": {
|
|
128
|
+
"type": "integer"
|
|
129
|
+
},
|
|
130
|
+
"status": {
|
|
131
|
+
"type": "integer"
|
|
132
|
+
},
|
|
133
|
+
"category": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"page",
|
|
139
|
+
"pageSize",
|
|
140
|
+
"status",
|
|
141
|
+
"category"
|
|
142
|
+
],
|
|
143
|
+
"x-apifox-orders": [
|
|
144
|
+
"page",
|
|
145
|
+
"pageSize",
|
|
146
|
+
"status",
|
|
147
|
+
"category"
|
|
148
|
+
],
|
|
149
|
+
"x-apifox-ignore-properties": []
|
|
150
|
+
},
|
|
151
|
+
"example": {
|
|
152
|
+
"page": 1,
|
|
153
|
+
"pageSize": 10,
|
|
154
|
+
"status": 9,
|
|
155
|
+
"category": "生活"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"responses": {
|
|
161
|
+
"200": {
|
|
162
|
+
"description": "成功",
|
|
163
|
+
"content": {
|
|
164
|
+
"application/json": {
|
|
165
|
+
"schema": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {},
|
|
168
|
+
"x-apifox-ignore-properties": [],
|
|
169
|
+
"x-apifox-orders": []
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"x-run-in-apifox": "https://apifox.com/web/project/4278294/apis/api-161957646-run",
|
|
176
|
+
"security": []
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"/deleteTodo": {
|
|
180
|
+
"post": {
|
|
181
|
+
"summary": "删除待办",
|
|
182
|
+
"x-apifox-folder": "",
|
|
183
|
+
"x-apifox-status": "released",
|
|
184
|
+
"deprecated": false,
|
|
185
|
+
"description": "",
|
|
186
|
+
"tags": [],
|
|
187
|
+
"parameters": [],
|
|
188
|
+
"requestBody": {
|
|
189
|
+
"content": {
|
|
190
|
+
"application/json": {
|
|
191
|
+
"schema": {
|
|
192
|
+
"type": "object",
|
|
193
|
+
"properties": {
|
|
194
|
+
"id": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"title": "id"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"required": [
|
|
200
|
+
"id"
|
|
201
|
+
],
|
|
202
|
+
"x-apifox-orders": [
|
|
203
|
+
"id"
|
|
204
|
+
],
|
|
205
|
+
"x-apifox-ignore-properties": []
|
|
206
|
+
},
|
|
207
|
+
"example": {
|
|
208
|
+
"id": "6626173715f48cf6da03d322"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"responses": {
|
|
214
|
+
"200": {
|
|
215
|
+
"description": "成功",
|
|
216
|
+
"content": {
|
|
217
|
+
"application/json": {
|
|
218
|
+
"schema": {
|
|
219
|
+
"type": "object",
|
|
220
|
+
"properties": {},
|
|
221
|
+
"x-apifox-ignore-properties": [],
|
|
222
|
+
"x-apifox-orders": []
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"x-run-in-apifox": "https://apifox.com/web/project/4278294/apis/api-161961622-run",
|
|
229
|
+
"security": []
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"/updateTodo": {
|
|
233
|
+
"post": {
|
|
234
|
+
"summary": "更新待办",
|
|
235
|
+
"x-apifox-folder": "",
|
|
236
|
+
"x-apifox-status": "released",
|
|
237
|
+
"deprecated": false,
|
|
238
|
+
"description": "",
|
|
239
|
+
"tags": [],
|
|
240
|
+
"parameters": [],
|
|
241
|
+
"requestBody": {
|
|
242
|
+
"content": {
|
|
243
|
+
"application/json": {
|
|
244
|
+
"schema": {
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"id": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
"title": {
|
|
251
|
+
"type": "string"
|
|
252
|
+
},
|
|
253
|
+
"date": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
"startTime": {
|
|
257
|
+
"type": "string"
|
|
258
|
+
},
|
|
259
|
+
"endTime": {
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
"description": {
|
|
263
|
+
"type": "string"
|
|
264
|
+
},
|
|
265
|
+
"category": {
|
|
266
|
+
"type": "string"
|
|
267
|
+
},
|
|
268
|
+
"status": {
|
|
269
|
+
"type": "integer"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"required": [
|
|
273
|
+
"id",
|
|
274
|
+
"title",
|
|
275
|
+
"date",
|
|
276
|
+
"startTime",
|
|
277
|
+
"endTime",
|
|
278
|
+
"description",
|
|
279
|
+
"category",
|
|
280
|
+
"status"
|
|
281
|
+
],
|
|
282
|
+
"x-apifox-orders": [
|
|
283
|
+
"id",
|
|
284
|
+
"title",
|
|
285
|
+
"date",
|
|
286
|
+
"startTime",
|
|
287
|
+
"endTime",
|
|
288
|
+
"description",
|
|
289
|
+
"category",
|
|
290
|
+
"status"
|
|
291
|
+
],
|
|
292
|
+
"x-apifox-ignore-properties": []
|
|
293
|
+
},
|
|
294
|
+
"example": {
|
|
295
|
+
"id": "660ffe0bd894a1618b354cc0",
|
|
296
|
+
"title": "12333333",
|
|
297
|
+
"date": "2024-01-01",
|
|
298
|
+
"startTime": "14:20",
|
|
299
|
+
"endTime": "18:00",
|
|
300
|
+
"description": "待办描述",
|
|
301
|
+
"category": {
|
|
302
|
+
"name": "生活",
|
|
303
|
+
"color": "red"
|
|
304
|
+
},
|
|
305
|
+
"status": 1
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"responses": {
|
|
311
|
+
"200": {
|
|
312
|
+
"description": "成功",
|
|
313
|
+
"content": {
|
|
314
|
+
"application/json": {
|
|
315
|
+
"schema": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"properties": {},
|
|
318
|
+
"x-apifox-ignore-properties": [],
|
|
319
|
+
"x-apifox-orders": []
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"x-run-in-apifox": "https://apifox.com/web/project/4278294/apis/api-161961697-run",
|
|
326
|
+
"security": []
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"components": {
|
|
331
|
+
"schemas": {},
|
|
332
|
+
"securitySchemes": {}
|
|
333
|
+
},
|
|
334
|
+
"servers": []
|
|
335
|
+
}
|
|
336
|
+
}
|