gitverse-api-sdk 5.1.0 → 5.2.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 +112 -7
- package/dist/api/actions.d.ts +313 -544
- package/dist/api/emails.d.ts +41 -206
- package/dist/api/issues.d.ts +100 -480
- package/dist/api/organizations.d.ts +67 -228
- package/dist/api/pages.d.ts +33 -197
- package/dist/api/pulls.d.ts +75 -520
- package/dist/api/releases.d.ts +135 -384
- package/dist/api/repositories.d.ts +354 -1067
- package/dist/api/repositories.js.map +2 -2
- package/dist/api/stars.d.ts +55 -272
- package/dist/api/teams.d.ts +51 -288
- package/dist/api/users.d.ts +52 -263
- package/dist/client.d.ts +118 -150
- package/dist/enums.d.ts +47 -48
- package/dist/errors.d.ts +39 -73
- package/dist/index.d.ts +54 -2442
- package/dist/types.d.ts +1028 -904
- package/dist/utils.d.ts +72 -61
- package/package.json +1 -3
package/dist/api/releases.d.ts
CHANGED
|
@@ -1,386 +1,137 @@
|
|
|
1
|
+
import type { GitVerseClient } from "../client";
|
|
2
|
+
import type { Attachment, CreateReleaseParams, Release, UpdateReleaseParams } from "../types";
|
|
1
3
|
/**
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
*
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
readonly PUT: "PUT"
|
|
136
|
-
};
|
|
137
|
-
type HTTPMethods = (typeof HTTPMethods)[keyof typeof HTTPMethods];
|
|
138
|
-
/**
|
|
139
|
-
* Параметры для конфигурации GitVerse клиента
|
|
140
|
-
*/
|
|
141
|
-
interface GitVerseClientConfig {
|
|
142
|
-
/**
|
|
143
|
-
* Базовый URL API GitVerse
|
|
144
|
-
* @default 'https://api.gitverse.ru'
|
|
145
|
-
*/
|
|
146
|
-
baseUrl?: string;
|
|
147
|
-
/**
|
|
148
|
-
* Токен доступа для авторизации в API
|
|
149
|
-
*/
|
|
150
|
-
token?: string;
|
|
151
|
-
/**
|
|
152
|
-
* Версия API
|
|
153
|
-
* @default '1'
|
|
154
|
-
*/
|
|
155
|
-
apiVersion?: string;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Основной класс для работы с GitVerse API
|
|
159
|
-
*/
|
|
160
|
-
declare class GitVerseClient {
|
|
161
|
-
private baseUrl;
|
|
162
|
-
private token?;
|
|
163
|
-
private apiVersion;
|
|
164
|
-
/**
|
|
165
|
-
* Callback для обработки предупреждений об устаревшей версии API
|
|
166
|
-
*/
|
|
167
|
-
onApiVersionWarning?: (warning: ApiVersionWarning) => void;
|
|
168
|
-
/**
|
|
169
|
-
* Создает новый экземпляр GitVerse клиента
|
|
170
|
-
* @param config Конфигурация клиента
|
|
171
|
-
*/
|
|
172
|
-
constructor(config?: GitVerseClientConfig);
|
|
173
|
-
/**
|
|
174
|
-
* Устанавливает токен авторизации
|
|
175
|
-
* @param token Токен доступа
|
|
176
|
-
*/
|
|
177
|
-
setToken(token: string): void;
|
|
178
|
-
/**
|
|
179
|
-
* Извлекает информацию о Rate Limit из заголовков ответа
|
|
180
|
-
*/
|
|
181
|
-
private extractRateLimitInfo;
|
|
182
|
-
/**
|
|
183
|
-
* Извлекает информацию о версии API из заголовков ответа
|
|
184
|
-
*/
|
|
185
|
-
private extractApiVersionInfo;
|
|
186
|
-
/**
|
|
187
|
-
* Извлекает метаданные из заголовков ответа
|
|
188
|
-
*/
|
|
189
|
-
private extractMetadata;
|
|
190
|
-
/**
|
|
191
|
-
* Выполняет API-запрос с учетом авторизации и версии API
|
|
192
|
-
* @param path Путь к API-ресурсу
|
|
193
|
-
* @param method HTTP-метод
|
|
194
|
-
* @param body Тело запроса (опционально)
|
|
195
|
-
* @param options Опции запроса (опционально)
|
|
196
|
-
* @returns Ответ от API
|
|
197
|
-
* @throws {RateLimitError} При превышении лимита запросов (429)
|
|
198
|
-
* @throws {GitVerseApiError} При других ошибках API
|
|
199
|
-
*/
|
|
200
|
-
request<T>(path: string, method: HTTPMethods, body?: unknown, options?: RequestOptions): Promise<T>;
|
|
201
|
-
/**
|
|
202
|
-
* Выполняет GET-запрос
|
|
203
|
-
* @param path Путь к API-ресурсу
|
|
204
|
-
* @param options Опции запроса (опционально)
|
|
205
|
-
* @returns Ответ от API
|
|
206
|
-
*/
|
|
207
|
-
get<T>(path: string, options?: RequestOptions): Promise<T>;
|
|
208
|
-
/**
|
|
209
|
-
* Выполняет POST-запрос
|
|
210
|
-
* @param path Путь к API-ресурсу
|
|
211
|
-
* @param body Тело запроса
|
|
212
|
-
* @param options Опции запроса (опционально)
|
|
213
|
-
* @returns Ответ от API
|
|
214
|
-
*/
|
|
215
|
-
post<T>(path: string, body?: unknown, options?: RequestOptions): Promise<T>;
|
|
216
|
-
/**
|
|
217
|
-
* Выполняет PUT-запрос
|
|
218
|
-
* @param path Путь к API-ресурсу
|
|
219
|
-
* @param body Тело запроса
|
|
220
|
-
* @param options Опции запроса (опционально)
|
|
221
|
-
* @returns Ответ от API
|
|
222
|
-
*/
|
|
223
|
-
put<T>(path: string, body?: unknown, options?: RequestOptions): Promise<T>;
|
|
224
|
-
/**
|
|
225
|
-
* Выполняет DELETE-запрос
|
|
226
|
-
* @param path Путь к API-ресурсу
|
|
227
|
-
* @param body Тело запроса (опционально)
|
|
228
|
-
* @param options Опции запроса (опционально)
|
|
229
|
-
* @returns Ответ от API
|
|
230
|
-
*/
|
|
231
|
-
delete<T>(path: string, body?: unknown, options?: RequestOptions): Promise<T>;
|
|
232
|
-
/**
|
|
233
|
-
* Выполняет PATCH-запрос
|
|
234
|
-
* @param path Путь к API-ресурсу
|
|
235
|
-
* @param body Тело запроса
|
|
236
|
-
* @param options Опции запроса (опционально)
|
|
237
|
-
* @returns Ответ от API
|
|
238
|
-
*/
|
|
239
|
-
patch<T>(path: string, body?: unknown, options?: RequestOptions): Promise<T>;
|
|
240
|
-
/**
|
|
241
|
-
* Выполняет загрузку файла через multipart/form-data
|
|
242
|
-
* @param path Путь к API-ресурсу
|
|
243
|
-
* @param fieldName Имя поля для файла
|
|
244
|
-
* @param file Файл для загрузки (Blob или ArrayBuffer)
|
|
245
|
-
* @param fileName Имя файла
|
|
246
|
-
* @param options Опции запроса (опционально)
|
|
247
|
-
* @returns Ответ от API
|
|
248
|
-
*/
|
|
249
|
-
uploadFile<T>(path: string, fieldName: string, file: Blob | ArrayBuffer, fileName: string, options?: RequestOptions): Promise<T>;
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* API для работы с релизами
|
|
253
|
-
*/
|
|
254
|
-
declare class ReleasesApi {
|
|
255
|
-
private client;
|
|
256
|
-
/**
|
|
257
|
-
* Создает новый экземпляр API
|
|
258
|
-
* @param client GitVerse клиент
|
|
259
|
-
*/
|
|
260
|
-
constructor(client: GitVerseClient);
|
|
261
|
-
/**
|
|
262
|
-
* Returns a list of releases
|
|
263
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
264
|
-
* @param repo Name of the repository without the .git extension
|
|
265
|
-
* @param queryParams Параметры запроса
|
|
266
|
-
* @param options Опции запроса
|
|
267
|
-
* @returns Release[]
|
|
268
|
-
*/
|
|
269
|
-
list(owner: string, repo: string, queryParams?: {
|
|
270
|
-
page?: number
|
|
271
|
-
per_page?: number
|
|
272
|
-
draft?: boolean
|
|
273
|
-
pre_release?: boolean
|
|
274
|
-
}, options?: {
|
|
275
|
-
signal?: AbortSignal
|
|
276
|
-
}): Promise<Release[]>;
|
|
277
|
-
/**
|
|
278
|
-
* Create a release
|
|
279
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
280
|
-
* @param repo Name of the repository without the .git extension
|
|
281
|
-
* @param params Parameters for creating the release
|
|
282
|
-
* @param options Опции запроса
|
|
283
|
-
* @returns Release
|
|
284
|
-
*/
|
|
285
|
-
create(owner: string, repo: string, params: CreateReleaseParams, options?: {
|
|
286
|
-
signal?: AbortSignal
|
|
287
|
-
}): Promise<Release>;
|
|
288
|
-
/**
|
|
289
|
-
* Gets a release by its tag name
|
|
290
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
291
|
-
* @param repo Name of the repository without the .git extension
|
|
292
|
-
* @param tag Tag name of the release to retrieve (e.g., 'v1.0.0')
|
|
293
|
-
* @param options Опции запроса
|
|
294
|
-
* @returns Release
|
|
295
|
-
*/
|
|
296
|
-
getByTag(owner: string, repo: string, tag: string, options?: {
|
|
297
|
-
signal?: AbortSignal
|
|
298
|
-
}): Promise<Release>;
|
|
299
|
-
/**
|
|
300
|
-
* Deletes a release by its tag name
|
|
301
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
302
|
-
* @param repo Name of the repository without the .git extension
|
|
303
|
-
* @param tag Tag name of the release to delete (e.g., 'v1.0.0')
|
|
304
|
-
* @param options Опции запроса
|
|
305
|
-
* @returns void
|
|
306
|
-
*/
|
|
307
|
-
deleteByTag(owner: string, repo: string, tag: string, options?: {
|
|
308
|
-
signal?: AbortSignal
|
|
309
|
-
}): Promise<void>;
|
|
310
|
-
/**
|
|
311
|
-
* Return a release
|
|
312
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
313
|
-
* @param repo Name of the repository without the .git extension
|
|
314
|
-
* @param release_id Identifier of the release
|
|
315
|
-
* @param options Опции запроса
|
|
316
|
-
* @returns Release
|
|
317
|
-
*/
|
|
318
|
-
get(owner: string, repo: string, release_id: string, options?: {
|
|
319
|
-
signal?: AbortSignal
|
|
320
|
-
}): Promise<Release>;
|
|
321
|
-
/**
|
|
322
|
-
* Edit a release
|
|
323
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
324
|
-
* @param repo Name of the repository without the .git extension
|
|
325
|
-
* @param release_id Identifier of the release
|
|
326
|
-
* @param params Parameters for editing the release
|
|
327
|
-
* @param options Опции запроса
|
|
328
|
-
* @returns Release
|
|
329
|
-
*/
|
|
330
|
-
update(owner: string, repo: string, release_id: string, params: UpdateReleaseParams, options?: {
|
|
331
|
-
signal?: AbortSignal
|
|
332
|
-
}): Promise<Release>;
|
|
333
|
-
/**
|
|
334
|
-
* Delete a release
|
|
335
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
336
|
-
* @param repo Name of the repository without the .git extension
|
|
337
|
-
* @param release_id Identifier of the release
|
|
338
|
-
* @param options Опции запроса
|
|
339
|
-
* @returns void
|
|
340
|
-
*/
|
|
341
|
-
delete(owner: string, repo: string, release_id: string, options?: {
|
|
342
|
-
signal?: AbortSignal
|
|
343
|
-
}): Promise<void>;
|
|
344
|
-
/**
|
|
345
|
-
* Returns a list of assets (files) for a release
|
|
346
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
347
|
-
* @param repo Name of the repository without the .git extension
|
|
348
|
-
* @param release_id Identifier of the release
|
|
349
|
-
* @param queryParams Параметры запроса
|
|
350
|
-
* @param options Опции запроса
|
|
351
|
-
* @returns Attachment[]
|
|
352
|
-
*/
|
|
353
|
-
listAssets(owner: string, repo: string, release_id: string, queryParams?: {
|
|
354
|
-
page?: number
|
|
355
|
-
per_page?: number
|
|
356
|
-
}, options?: {
|
|
357
|
-
signal?: AbortSignal
|
|
358
|
-
}): Promise<Attachment[]>;
|
|
359
|
-
/**
|
|
360
|
-
* Upload asset to release
|
|
361
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
362
|
-
* @param repo Name of the repository without the .git extension
|
|
363
|
-
* @param release_id Identifier of the release
|
|
364
|
-
* @param queryParams Параметры запроса
|
|
365
|
-
* @param options Опции запроса
|
|
366
|
-
* @returns Attachment
|
|
367
|
-
*/
|
|
368
|
-
uploadAsset(owner: string, repo: string, release_id: string, queryParams?: {
|
|
369
|
-
name: string
|
|
370
|
-
}, options?: {
|
|
371
|
-
signal?: AbortSignal
|
|
372
|
-
}): Promise<Attachment>;
|
|
373
|
-
/**
|
|
374
|
-
* Delete asset from release
|
|
375
|
-
* @param owner Owner of the repository (owner or organization name)
|
|
376
|
-
* @param repo Name of the repository without the .git extension
|
|
377
|
-
* @param release_id Identifier of the release
|
|
378
|
-
* @param asset_id Identifier of the asset
|
|
379
|
-
* @param options Опции запроса
|
|
380
|
-
* @returns void
|
|
381
|
-
*/
|
|
382
|
-
deleteAsset(owner: string, repo: string, release_id: string, asset_id: string, options?: {
|
|
383
|
-
signal?: AbortSignal
|
|
384
|
-
}): Promise<void>;
|
|
4
|
+
* API для работы с релизами
|
|
5
|
+
*/
|
|
6
|
+
export declare class ReleasesApi {
|
|
7
|
+
private client;
|
|
8
|
+
/**
|
|
9
|
+
* Создает новый экземпляр API
|
|
10
|
+
* @param client GitVerse клиент
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: GitVerseClient);
|
|
13
|
+
/**
|
|
14
|
+
* Returns a list of releases
|
|
15
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
16
|
+
* @param repo Name of the repository without the .git extension
|
|
17
|
+
* @param queryParams Параметры запроса
|
|
18
|
+
* @param options Опции запроса
|
|
19
|
+
* @returns Release[]
|
|
20
|
+
*/
|
|
21
|
+
list(owner: string, repo: string, queryParams?: {
|
|
22
|
+
page?: number;
|
|
23
|
+
per_page?: number;
|
|
24
|
+
draft?: boolean;
|
|
25
|
+
pre_release?: boolean;
|
|
26
|
+
}, options?: {
|
|
27
|
+
signal?: AbortSignal;
|
|
28
|
+
}): Promise<Release[]>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a release
|
|
31
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
32
|
+
* @param repo Name of the repository without the .git extension
|
|
33
|
+
* @param params Parameters for creating the release
|
|
34
|
+
* @param options Опции запроса
|
|
35
|
+
* @returns Release
|
|
36
|
+
*/
|
|
37
|
+
create(owner: string, repo: string, params: CreateReleaseParams, options?: {
|
|
38
|
+
signal?: AbortSignal;
|
|
39
|
+
}): Promise<Release>;
|
|
40
|
+
/**
|
|
41
|
+
* Gets a release by its tag name
|
|
42
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
43
|
+
* @param repo Name of the repository without the .git extension
|
|
44
|
+
* @param tag Tag name of the release to retrieve (e.g., 'v1.0.0')
|
|
45
|
+
* @param options Опции запроса
|
|
46
|
+
* @returns Release
|
|
47
|
+
*/
|
|
48
|
+
getByTag(owner: string, repo: string, tag: string, options?: {
|
|
49
|
+
signal?: AbortSignal;
|
|
50
|
+
}): Promise<Release>;
|
|
51
|
+
/**
|
|
52
|
+
* Deletes a release by its tag name
|
|
53
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
54
|
+
* @param repo Name of the repository without the .git extension
|
|
55
|
+
* @param tag Tag name of the release to delete (e.g., 'v1.0.0')
|
|
56
|
+
* @param options Опции запроса
|
|
57
|
+
* @returns void
|
|
58
|
+
*/
|
|
59
|
+
deleteByTag(owner: string, repo: string, tag: string, options?: {
|
|
60
|
+
signal?: AbortSignal;
|
|
61
|
+
}): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Return a release
|
|
64
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
65
|
+
* @param repo Name of the repository without the .git extension
|
|
66
|
+
* @param release_id Identifier of the release
|
|
67
|
+
* @param options Опции запроса
|
|
68
|
+
* @returns Release
|
|
69
|
+
*/
|
|
70
|
+
get(owner: string, repo: string, release_id: string, options?: {
|
|
71
|
+
signal?: AbortSignal;
|
|
72
|
+
}): Promise<Release>;
|
|
73
|
+
/**
|
|
74
|
+
* Edit a release
|
|
75
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
76
|
+
* @param repo Name of the repository without the .git extension
|
|
77
|
+
* @param release_id Identifier of the release
|
|
78
|
+
* @param params Parameters for editing the release
|
|
79
|
+
* @param options Опции запроса
|
|
80
|
+
* @returns Release
|
|
81
|
+
*/
|
|
82
|
+
update(owner: string, repo: string, release_id: string, params: UpdateReleaseParams, options?: {
|
|
83
|
+
signal?: AbortSignal;
|
|
84
|
+
}): Promise<Release>;
|
|
85
|
+
/**
|
|
86
|
+
* Delete a release
|
|
87
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
88
|
+
* @param repo Name of the repository without the .git extension
|
|
89
|
+
* @param release_id Identifier of the release
|
|
90
|
+
* @param options Опции запроса
|
|
91
|
+
* @returns void
|
|
92
|
+
*/
|
|
93
|
+
delete(owner: string, repo: string, release_id: string, options?: {
|
|
94
|
+
signal?: AbortSignal;
|
|
95
|
+
}): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Returns a list of assets (files) for a release
|
|
98
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
99
|
+
* @param repo Name of the repository without the .git extension
|
|
100
|
+
* @param release_id Identifier of the release
|
|
101
|
+
* @param queryParams Параметры запроса
|
|
102
|
+
* @param options Опции запроса
|
|
103
|
+
* @returns Attachment[]
|
|
104
|
+
*/
|
|
105
|
+
listAssets(owner: string, repo: string, release_id: string, queryParams?: {
|
|
106
|
+
page?: number;
|
|
107
|
+
per_page?: number;
|
|
108
|
+
}, options?: {
|
|
109
|
+
signal?: AbortSignal;
|
|
110
|
+
}): Promise<Attachment[]>;
|
|
111
|
+
/**
|
|
112
|
+
* Upload asset to release
|
|
113
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
114
|
+
* @param repo Name of the repository without the .git extension
|
|
115
|
+
* @param release_id Identifier of the release
|
|
116
|
+
* @param queryParams Параметры запроса
|
|
117
|
+
* @param options Опции запроса
|
|
118
|
+
* @returns Attachment
|
|
119
|
+
*/
|
|
120
|
+
uploadAsset(owner: string, repo: string, release_id: string, queryParams?: {
|
|
121
|
+
name: string;
|
|
122
|
+
}, options?: {
|
|
123
|
+
signal?: AbortSignal;
|
|
124
|
+
}): Promise<Attachment>;
|
|
125
|
+
/**
|
|
126
|
+
* Delete asset from release
|
|
127
|
+
* @param owner Owner of the repository (owner or organization name)
|
|
128
|
+
* @param repo Name of the repository without the .git extension
|
|
129
|
+
* @param release_id Identifier of the release
|
|
130
|
+
* @param asset_id Identifier of the asset
|
|
131
|
+
* @param options Опции запроса
|
|
132
|
+
* @returns void
|
|
133
|
+
*/
|
|
134
|
+
deleteAsset(owner: string, repo: string, release_id: string, asset_id: string, options?: {
|
|
135
|
+
signal?: AbortSignal;
|
|
136
|
+
}): Promise<void>;
|
|
385
137
|
}
|
|
386
|
-
export { ReleasesApi };
|