online-compiler-widget 0.0.1
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/FileStorage/obj/FileStorage.csproj.EntityFrameworkCore.targets +28 -0
- package/README.md +1 -0
- package/eslint.config.js +26 -0
- package/index.html +13 -0
- package/openapitools.json +7 -0
- package/package.json +36 -0
- package/pnpm-workspace.yaml +2 -0
- package/public/vite.svg +1 -0
- package/src/App.css +49 -0
- package/src/App.tsx +84 -0
- package/src/api/.openapi-generator/FILES +25 -0
- package/src/api/.openapi-generator/VERSION +1 -0
- package/src/api/.openapi-generator-ignore +23 -0
- package/src/api/api.ts +1312 -0
- package/src/api/base.ts +62 -0
- package/src/api/common.ts +113 -0
- package/src/api/configuration.ts +121 -0
- package/src/api/docs/CompilationError.md +26 -0
- package/src/api/docs/CompileRequest.md +22 -0
- package/src/api/docs/CompileResult.md +28 -0
- package/src/api/docs/CompilerApi.md +263 -0
- package/src/api/docs/CreateFileDto.md +22 -0
- package/src/api/docs/CreateProjectRequest.md +20 -0
- package/src/api/docs/FileApi.md +274 -0
- package/src/api/docs/ProcessStatus.md +28 -0
- package/src/api/docs/ProjectApi.md +362 -0
- package/src/api/docs/ProjectInfo.md +24 -0
- package/src/api/docs/ProjectStats.md +28 -0
- package/src/api/docs/RenameFileDto.md +20 -0
- package/src/api/docs/RenameProjectRequest.md +20 -0
- package/src/api/docs/RunRequest.md +24 -0
- package/src/api/docs/RunResult.md +30 -0
- package/src/api/docs/RunningProjectInfo.md +26 -0
- package/src/api/docs/UpdateFileDto.md +20 -0
- package/src/api/git_push.sh +57 -0
- package/src/api/index.ts +18 -0
- package/src/assets/Badge.svg +17 -0
- package/src/assets/closeIcon.svg +20 -0
- package/src/assets/documentIcon.svg +11 -0
- package/src/assets/history.svg +11 -0
- package/src/assets/output.svg +12 -0
- package/src/assets/plus.svg +20 -0
- package/src/assets/react.svg +1 -0
- package/src/assets/save-icon.svg +11 -0
- package/src/assets/shield.svg +10 -0
- package/src/assets/start.svg +11 -0
- package/src/assets/stop.svg +11 -0
- package/src/components/CompilerWidget.module.scss +169 -0
- package/src/components/CompilerWidget.tsx +279 -0
- package/src/components/FileExplorer.module.scss +372 -0
- package/src/components/FileExplorer.tsx +285 -0
- package/src/components/MonacoEditorWrapper.module.scss +29 -0
- package/src/components/MonacoEditorWrapper.tsx +74 -0
- package/src/components/OutputPanel.module.scss +123 -0
- package/src/components/OutputPanel.tsx +53 -0
- package/src/components/RunContainer.module.scss +150 -0
- package/src/components/RunContainer.tsx +34 -0
- package/src/hooks/useCompiler.ts +228 -0
- package/src/hooks/useInitialNodes.ts +0 -0
- package/src/index.css +78 -0
- package/src/main.tsx +7 -0
- package/src/types/EditorDocument.ts +8 -0
- package/swagger.json +1020 -0
- package/tsconfig.app.json +29 -0
- package/tsconfig.json +7 -0
- package/tsconfig.node.json +26 -0
- package/vite.config.ts +8 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
# FileApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**apiFilesFileIdDeletePost**](#apifilesfileiddeletepost) | **POST** /api/files/{fileId}/delete | |
|
|
8
|
+
|[**apiFilesFileIdPost**](#apifilesfileidpost) | **POST** /api/files/{fileId} | |
|
|
9
|
+
|[**apiFilesFileIdRenamePost**](#apifilesfileidrenamepost) | **POST** /api/files/{fileId}/rename | |
|
|
10
|
+
|[**apiFilesFileIdSavePost**](#apifilesfileidsavepost) | **POST** /api/files/{fileId}/save | |
|
|
11
|
+
|[**apiFilesProjectProjectIdPost**](#apifilesprojectprojectidpost) | **POST** /api/files/project/{projectId} | |
|
|
12
|
+
|
|
13
|
+
# **apiFilesFileIdDeletePost**
|
|
14
|
+
> apiFilesFileIdDeletePost()
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
FileApi,
|
|
22
|
+
Configuration
|
|
23
|
+
} from './api';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new FileApi(configuration);
|
|
27
|
+
|
|
28
|
+
let fileId: string; // (default to undefined)
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.apiFilesFileIdDeletePost(
|
|
31
|
+
fileId
|
|
32
|
+
);
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
|
|
37
|
+
|Name | Type | Description | Notes|
|
|
38
|
+
|------------- | ------------- | ------------- | -------------|
|
|
39
|
+
| **fileId** | [**string**] | | defaults to undefined|
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
void (empty response body)
|
|
45
|
+
|
|
46
|
+
### Authorization
|
|
47
|
+
|
|
48
|
+
No authorization required
|
|
49
|
+
|
|
50
|
+
### HTTP request headers
|
|
51
|
+
|
|
52
|
+
- **Content-Type**: Not defined
|
|
53
|
+
- **Accept**: Not defined
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### HTTP response details
|
|
57
|
+
| Status code | Description | Response headers |
|
|
58
|
+
|-------------|-------------|------------------|
|
|
59
|
+
|**200** | OK | - |
|
|
60
|
+
|
|
61
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
62
|
+
|
|
63
|
+
# **apiFilesFileIdPost**
|
|
64
|
+
> string apiFilesFileIdPost()
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Example
|
|
68
|
+
|
|
69
|
+
```typescript
|
|
70
|
+
import {
|
|
71
|
+
FileApi,
|
|
72
|
+
Configuration
|
|
73
|
+
} from './api';
|
|
74
|
+
|
|
75
|
+
const configuration = new Configuration();
|
|
76
|
+
const apiInstance = new FileApi(configuration);
|
|
77
|
+
|
|
78
|
+
let fileId: string; // (default to undefined)
|
|
79
|
+
|
|
80
|
+
const { status, data } = await apiInstance.apiFilesFileIdPost(
|
|
81
|
+
fileId
|
|
82
|
+
);
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Parameters
|
|
86
|
+
|
|
87
|
+
|Name | Type | Description | Notes|
|
|
88
|
+
|------------- | ------------- | ------------- | -------------|
|
|
89
|
+
| **fileId** | [**string**] | | defaults to undefined|
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Return type
|
|
93
|
+
|
|
94
|
+
**string**
|
|
95
|
+
|
|
96
|
+
### Authorization
|
|
97
|
+
|
|
98
|
+
No authorization required
|
|
99
|
+
|
|
100
|
+
### HTTP request headers
|
|
101
|
+
|
|
102
|
+
- **Content-Type**: Not defined
|
|
103
|
+
- **Accept**: text/plain, application/json, text/json
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### HTTP response details
|
|
107
|
+
| Status code | Description | Response headers |
|
|
108
|
+
|-------------|-------------|------------------|
|
|
109
|
+
|**200** | OK | - |
|
|
110
|
+
|
|
111
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
112
|
+
|
|
113
|
+
# **apiFilesFileIdRenamePost**
|
|
114
|
+
> string apiFilesFileIdRenamePost()
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Example
|
|
118
|
+
|
|
119
|
+
```typescript
|
|
120
|
+
import {
|
|
121
|
+
FileApi,
|
|
122
|
+
Configuration,
|
|
123
|
+
RenameFileDto
|
|
124
|
+
} from './api';
|
|
125
|
+
|
|
126
|
+
const configuration = new Configuration();
|
|
127
|
+
const apiInstance = new FileApi(configuration);
|
|
128
|
+
|
|
129
|
+
let fileId: string; // (default to undefined)
|
|
130
|
+
let renameFileDto: RenameFileDto; // (optional)
|
|
131
|
+
|
|
132
|
+
const { status, data } = await apiInstance.apiFilesFileIdRenamePost(
|
|
133
|
+
fileId,
|
|
134
|
+
renameFileDto
|
|
135
|
+
);
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Parameters
|
|
139
|
+
|
|
140
|
+
|Name | Type | Description | Notes|
|
|
141
|
+
|------------- | ------------- | ------------- | -------------|
|
|
142
|
+
| **renameFileDto** | **RenameFileDto**| | |
|
|
143
|
+
| **fileId** | [**string**] | | defaults to undefined|
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Return type
|
|
147
|
+
|
|
148
|
+
**string**
|
|
149
|
+
|
|
150
|
+
### Authorization
|
|
151
|
+
|
|
152
|
+
No authorization required
|
|
153
|
+
|
|
154
|
+
### HTTP request headers
|
|
155
|
+
|
|
156
|
+
- **Content-Type**: application/json, text/json, application/*+json
|
|
157
|
+
- **Accept**: text/plain, application/json, text/json
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
### HTTP response details
|
|
161
|
+
| Status code | Description | Response headers |
|
|
162
|
+
|-------------|-------------|------------------|
|
|
163
|
+
|**200** | OK | - |
|
|
164
|
+
|
|
165
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
166
|
+
|
|
167
|
+
# **apiFilesFileIdSavePost**
|
|
168
|
+
> string apiFilesFileIdSavePost()
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### Example
|
|
172
|
+
|
|
173
|
+
```typescript
|
|
174
|
+
import {
|
|
175
|
+
FileApi,
|
|
176
|
+
Configuration,
|
|
177
|
+
UpdateFileDto
|
|
178
|
+
} from './api';
|
|
179
|
+
|
|
180
|
+
const configuration = new Configuration();
|
|
181
|
+
const apiInstance = new FileApi(configuration);
|
|
182
|
+
|
|
183
|
+
let fileId: string; // (default to undefined)
|
|
184
|
+
let updateFileDto: UpdateFileDto; // (optional)
|
|
185
|
+
|
|
186
|
+
const { status, data } = await apiInstance.apiFilesFileIdSavePost(
|
|
187
|
+
fileId,
|
|
188
|
+
updateFileDto
|
|
189
|
+
);
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Parameters
|
|
193
|
+
|
|
194
|
+
|Name | Type | Description | Notes|
|
|
195
|
+
|------------- | ------------- | ------------- | -------------|
|
|
196
|
+
| **updateFileDto** | **UpdateFileDto**| | |
|
|
197
|
+
| **fileId** | [**string**] | | defaults to undefined|
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### Return type
|
|
201
|
+
|
|
202
|
+
**string**
|
|
203
|
+
|
|
204
|
+
### Authorization
|
|
205
|
+
|
|
206
|
+
No authorization required
|
|
207
|
+
|
|
208
|
+
### HTTP request headers
|
|
209
|
+
|
|
210
|
+
- **Content-Type**: application/json, text/json, application/*+json
|
|
211
|
+
- **Accept**: text/plain, application/json, text/json
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
### HTTP response details
|
|
215
|
+
| Status code | Description | Response headers |
|
|
216
|
+
|-------------|-------------|------------------|
|
|
217
|
+
|**200** | OK | - |
|
|
218
|
+
|
|
219
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
220
|
+
|
|
221
|
+
# **apiFilesProjectProjectIdPost**
|
|
222
|
+
> string apiFilesProjectProjectIdPost()
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
### Example
|
|
226
|
+
|
|
227
|
+
```typescript
|
|
228
|
+
import {
|
|
229
|
+
FileApi,
|
|
230
|
+
Configuration,
|
|
231
|
+
CreateFileDto
|
|
232
|
+
} from './api';
|
|
233
|
+
|
|
234
|
+
const configuration = new Configuration();
|
|
235
|
+
const apiInstance = new FileApi(configuration);
|
|
236
|
+
|
|
237
|
+
let projectId: string; // (default to undefined)
|
|
238
|
+
let createFileDto: CreateFileDto; // (optional)
|
|
239
|
+
|
|
240
|
+
const { status, data } = await apiInstance.apiFilesProjectProjectIdPost(
|
|
241
|
+
projectId,
|
|
242
|
+
createFileDto
|
|
243
|
+
);
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### Parameters
|
|
247
|
+
|
|
248
|
+
|Name | Type | Description | Notes|
|
|
249
|
+
|------------- | ------------- | ------------- | -------------|
|
|
250
|
+
| **createFileDto** | **CreateFileDto**| | |
|
|
251
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### Return type
|
|
255
|
+
|
|
256
|
+
**string**
|
|
257
|
+
|
|
258
|
+
### Authorization
|
|
259
|
+
|
|
260
|
+
No authorization required
|
|
261
|
+
|
|
262
|
+
### HTTP request headers
|
|
263
|
+
|
|
264
|
+
- **Content-Type**: application/json, text/json, application/*+json
|
|
265
|
+
- **Accept**: text/plain, application/json, text/json
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
### HTTP response details
|
|
269
|
+
| Status code | Description | Response headers |
|
|
270
|
+
|-------------|-------------|------------------|
|
|
271
|
+
|**200** | OK | - |
|
|
272
|
+
|
|
273
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
274
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# ProcessStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**projectId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**isRunning** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**processId** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**startedAt** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**uptime** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ProcessStatus } from './api';
|
|
18
|
+
|
|
19
|
+
const instance: ProcessStatus = {
|
|
20
|
+
projectId,
|
|
21
|
+
isRunning,
|
|
22
|
+
processId,
|
|
23
|
+
startedAt,
|
|
24
|
+
uptime,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
# ProjectApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**apiProjectsCreatePost**](#apiprojectscreatepost) | **POST** /api/projects/create | |
|
|
8
|
+
|[**apiProjectsGet**](#apiprojectsget) | **GET** /api/projects | |
|
|
9
|
+
|[**apiProjectsProjectIdDelete**](#apiprojectsprojectiddelete) | **DELETE** /api/projects/{projectId} | |
|
|
10
|
+
|[**apiProjectsProjectIdDuplicatePost**](#apiprojectsprojectidduplicatepost) | **POST** /api/projects/{projectId}/duplicate | |
|
|
11
|
+
|[**apiProjectsProjectIdGet**](#apiprojectsprojectidget) | **GET** /api/projects/{projectId} | |
|
|
12
|
+
|[**apiProjectsProjectIdRenamePut**](#apiprojectsprojectidrenameput) | **PUT** /api/projects/{projectId}/rename | |
|
|
13
|
+
|[**apiProjectsProjectIdStatsGet**](#apiprojectsprojectidstatsget) | **GET** /api/projects/{projectId}/stats | |
|
|
14
|
+
|
|
15
|
+
# **apiProjectsCreatePost**
|
|
16
|
+
> string apiProjectsCreatePost()
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
ProjectApi,
|
|
24
|
+
Configuration,
|
|
25
|
+
CreateProjectRequest
|
|
26
|
+
} from './api';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new ProjectApi(configuration);
|
|
30
|
+
|
|
31
|
+
let createProjectRequest: CreateProjectRequest; // (optional)
|
|
32
|
+
|
|
33
|
+
const { status, data } = await apiInstance.apiProjectsCreatePost(
|
|
34
|
+
createProjectRequest
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **createProjectRequest** | **CreateProjectRequest**| | |
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**string**
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
No authorization required
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: application/json, text/json, application/*+json
|
|
56
|
+
- **Accept**: text/plain, application/json, text/json
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | OK | - |
|
|
63
|
+
|
|
64
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
65
|
+
|
|
66
|
+
# **apiProjectsGet**
|
|
67
|
+
> Array<ProjectInfo> apiProjectsGet()
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
ProjectApi,
|
|
75
|
+
Configuration
|
|
76
|
+
} from './api';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new ProjectApi(configuration);
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.apiProjectsGet();
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Parameters
|
|
85
|
+
This endpoint does not have any parameters.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Return type
|
|
89
|
+
|
|
90
|
+
**Array<ProjectInfo>**
|
|
91
|
+
|
|
92
|
+
### Authorization
|
|
93
|
+
|
|
94
|
+
No authorization required
|
|
95
|
+
|
|
96
|
+
### HTTP request headers
|
|
97
|
+
|
|
98
|
+
- **Content-Type**: Not defined
|
|
99
|
+
- **Accept**: text/plain, application/json, text/json
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### HTTP response details
|
|
103
|
+
| Status code | Description | Response headers |
|
|
104
|
+
|-------------|-------------|------------------|
|
|
105
|
+
|**200** | OK | - |
|
|
106
|
+
|
|
107
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
108
|
+
|
|
109
|
+
# **apiProjectsProjectIdDelete**
|
|
110
|
+
> apiProjectsProjectIdDelete()
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Example
|
|
114
|
+
|
|
115
|
+
```typescript
|
|
116
|
+
import {
|
|
117
|
+
ProjectApi,
|
|
118
|
+
Configuration
|
|
119
|
+
} from './api';
|
|
120
|
+
|
|
121
|
+
const configuration = new Configuration();
|
|
122
|
+
const apiInstance = new ProjectApi(configuration);
|
|
123
|
+
|
|
124
|
+
let projectId: string; // (default to undefined)
|
|
125
|
+
|
|
126
|
+
const { status, data } = await apiInstance.apiProjectsProjectIdDelete(
|
|
127
|
+
projectId
|
|
128
|
+
);
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Parameters
|
|
132
|
+
|
|
133
|
+
|Name | Type | Description | Notes|
|
|
134
|
+
|------------- | ------------- | ------------- | -------------|
|
|
135
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### Return type
|
|
139
|
+
|
|
140
|
+
void (empty response body)
|
|
141
|
+
|
|
142
|
+
### Authorization
|
|
143
|
+
|
|
144
|
+
No authorization required
|
|
145
|
+
|
|
146
|
+
### HTTP request headers
|
|
147
|
+
|
|
148
|
+
- **Content-Type**: Not defined
|
|
149
|
+
- **Accept**: Not defined
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### HTTP response details
|
|
153
|
+
| Status code | Description | Response headers |
|
|
154
|
+
|-------------|-------------|------------------|
|
|
155
|
+
|**200** | OK | - |
|
|
156
|
+
|
|
157
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
158
|
+
|
|
159
|
+
# **apiProjectsProjectIdDuplicatePost**
|
|
160
|
+
> string apiProjectsProjectIdDuplicatePost()
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
### Example
|
|
164
|
+
|
|
165
|
+
```typescript
|
|
166
|
+
import {
|
|
167
|
+
ProjectApi,
|
|
168
|
+
Configuration
|
|
169
|
+
} from './api';
|
|
170
|
+
|
|
171
|
+
const configuration = new Configuration();
|
|
172
|
+
const apiInstance = new ProjectApi(configuration);
|
|
173
|
+
|
|
174
|
+
let projectId: string; // (default to undefined)
|
|
175
|
+
|
|
176
|
+
const { status, data } = await apiInstance.apiProjectsProjectIdDuplicatePost(
|
|
177
|
+
projectId
|
|
178
|
+
);
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Parameters
|
|
182
|
+
|
|
183
|
+
|Name | Type | Description | Notes|
|
|
184
|
+
|------------- | ------------- | ------------- | -------------|
|
|
185
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Return type
|
|
189
|
+
|
|
190
|
+
**string**
|
|
191
|
+
|
|
192
|
+
### Authorization
|
|
193
|
+
|
|
194
|
+
No authorization required
|
|
195
|
+
|
|
196
|
+
### HTTP request headers
|
|
197
|
+
|
|
198
|
+
- **Content-Type**: Not defined
|
|
199
|
+
- **Accept**: text/plain, application/json, text/json
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
### HTTP response details
|
|
203
|
+
| Status code | Description | Response headers |
|
|
204
|
+
|-------------|-------------|------------------|
|
|
205
|
+
|**200** | OK | - |
|
|
206
|
+
|
|
207
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
208
|
+
|
|
209
|
+
# **apiProjectsProjectIdGet**
|
|
210
|
+
> ProjectInfo apiProjectsProjectIdGet()
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### Example
|
|
214
|
+
|
|
215
|
+
```typescript
|
|
216
|
+
import {
|
|
217
|
+
ProjectApi,
|
|
218
|
+
Configuration
|
|
219
|
+
} from './api';
|
|
220
|
+
|
|
221
|
+
const configuration = new Configuration();
|
|
222
|
+
const apiInstance = new ProjectApi(configuration);
|
|
223
|
+
|
|
224
|
+
let projectId: string; // (default to undefined)
|
|
225
|
+
|
|
226
|
+
const { status, data } = await apiInstance.apiProjectsProjectIdGet(
|
|
227
|
+
projectId
|
|
228
|
+
);
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Parameters
|
|
232
|
+
|
|
233
|
+
|Name | Type | Description | Notes|
|
|
234
|
+
|------------- | ------------- | ------------- | -------------|
|
|
235
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### Return type
|
|
239
|
+
|
|
240
|
+
**ProjectInfo**
|
|
241
|
+
|
|
242
|
+
### Authorization
|
|
243
|
+
|
|
244
|
+
No authorization required
|
|
245
|
+
|
|
246
|
+
### HTTP request headers
|
|
247
|
+
|
|
248
|
+
- **Content-Type**: Not defined
|
|
249
|
+
- **Accept**: text/plain, application/json, text/json
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
### HTTP response details
|
|
253
|
+
| Status code | Description | Response headers |
|
|
254
|
+
|-------------|-------------|------------------|
|
|
255
|
+
|**200** | OK | - |
|
|
256
|
+
|
|
257
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
258
|
+
|
|
259
|
+
# **apiProjectsProjectIdRenamePut**
|
|
260
|
+
> apiProjectsProjectIdRenamePut()
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
### Example
|
|
264
|
+
|
|
265
|
+
```typescript
|
|
266
|
+
import {
|
|
267
|
+
ProjectApi,
|
|
268
|
+
Configuration,
|
|
269
|
+
RenameProjectRequest
|
|
270
|
+
} from './api';
|
|
271
|
+
|
|
272
|
+
const configuration = new Configuration();
|
|
273
|
+
const apiInstance = new ProjectApi(configuration);
|
|
274
|
+
|
|
275
|
+
let projectId: string; // (default to undefined)
|
|
276
|
+
let renameProjectRequest: RenameProjectRequest; // (optional)
|
|
277
|
+
|
|
278
|
+
const { status, data } = await apiInstance.apiProjectsProjectIdRenamePut(
|
|
279
|
+
projectId,
|
|
280
|
+
renameProjectRequest
|
|
281
|
+
);
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### Parameters
|
|
285
|
+
|
|
286
|
+
|Name | Type | Description | Notes|
|
|
287
|
+
|------------- | ------------- | ------------- | -------------|
|
|
288
|
+
| **renameProjectRequest** | **RenameProjectRequest**| | |
|
|
289
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### Return type
|
|
293
|
+
|
|
294
|
+
void (empty response body)
|
|
295
|
+
|
|
296
|
+
### Authorization
|
|
297
|
+
|
|
298
|
+
No authorization required
|
|
299
|
+
|
|
300
|
+
### HTTP request headers
|
|
301
|
+
|
|
302
|
+
- **Content-Type**: application/json, text/json, application/*+json
|
|
303
|
+
- **Accept**: Not defined
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
### HTTP response details
|
|
307
|
+
| Status code | Description | Response headers |
|
|
308
|
+
|-------------|-------------|------------------|
|
|
309
|
+
|**200** | OK | - |
|
|
310
|
+
|
|
311
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
312
|
+
|
|
313
|
+
# **apiProjectsProjectIdStatsGet**
|
|
314
|
+
> ProjectStats apiProjectsProjectIdStatsGet()
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
### Example
|
|
318
|
+
|
|
319
|
+
```typescript
|
|
320
|
+
import {
|
|
321
|
+
ProjectApi,
|
|
322
|
+
Configuration
|
|
323
|
+
} from './api';
|
|
324
|
+
|
|
325
|
+
const configuration = new Configuration();
|
|
326
|
+
const apiInstance = new ProjectApi(configuration);
|
|
327
|
+
|
|
328
|
+
let projectId: string; // (default to undefined)
|
|
329
|
+
|
|
330
|
+
const { status, data } = await apiInstance.apiProjectsProjectIdStatsGet(
|
|
331
|
+
projectId
|
|
332
|
+
);
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
### Parameters
|
|
336
|
+
|
|
337
|
+
|Name | Type | Description | Notes|
|
|
338
|
+
|------------- | ------------- | ------------- | -------------|
|
|
339
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
### Return type
|
|
343
|
+
|
|
344
|
+
**ProjectStats**
|
|
345
|
+
|
|
346
|
+
### Authorization
|
|
347
|
+
|
|
348
|
+
No authorization required
|
|
349
|
+
|
|
350
|
+
### HTTP request headers
|
|
351
|
+
|
|
352
|
+
- **Content-Type**: Not defined
|
|
353
|
+
- **Accept**: text/plain, application/json, text/json
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
### HTTP response details
|
|
357
|
+
| Status code | Description | Response headers |
|
|
358
|
+
|-------------|-------------|------------------|
|
|
359
|
+
|**200** | OK | - |
|
|
360
|
+
|
|
361
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
362
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ProjectInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**projectId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**fileCount** | **number** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ProjectInfo } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: ProjectInfo = {
|
|
18
|
+
projectId,
|
|
19
|
+
name,
|
|
20
|
+
fileCount,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# ProjectStats
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**projectId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**fileCount** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**cSharpFiles** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**jsFiles** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**otherFiles** | **number** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ProjectStats } from './api';
|
|
18
|
+
|
|
19
|
+
const instance: ProjectStats = {
|
|
20
|
+
projectId,
|
|
21
|
+
fileCount,
|
|
22
|
+
cSharpFiles,
|
|
23
|
+
jsFiles,
|
|
24
|
+
otherFiles,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|