forges 0.0.0 → 0.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/LICENCE +21 -0
- package/README.md +72 -0
- package/dist/azure-devops/index.d.mts +2 -0
- package/dist/azure-devops/index.mjs +1 -0
- package/dist/azure-devops-DwQvL4TV.mjs +1355 -0
- package/dist/bitbucket/index.d.mts +2 -0
- package/dist/bitbucket/index.mjs +1 -0
- package/dist/bitbucket-CpcfJlYi.mjs +1171 -0
- package/dist/crypto-CQNEyYHD.mjs +156 -0
- package/dist/cursor-origin/index.d.mts +2 -0
- package/dist/cursor-origin/index.mjs +1 -0
- package/dist/cursor-origin-BhqYx2oW.mjs +980 -0
- package/dist/define-B2_4ob2i.d.mts +307 -0
- package/dist/define-D3yEXtKK.mjs +2276 -0
- package/dist/env.d.mts +46 -0
- package/dist/env.mjs +283 -0
- package/dist/fake/index.d.mts +227 -0
- package/dist/fake/index.mjs +1001 -0
- package/dist/fetch-D4pSRvvA.d.mts +1723 -0
- package/dist/forgejo/index.d.mts +2 -0
- package/dist/forgejo/index.mjs +1 -0
- package/dist/forgejo-BCefbHUN.mjs +2005 -0
- package/dist/gitea/index.d.mts +2 -0
- package/dist/gitea/index.mjs +22 -0
- package/dist/gitee/index.d.mts +2 -0
- package/dist/gitee/index.mjs +1 -0
- package/dist/gitee-CA-f7Rs8.mjs +1272 -0
- package/dist/github/index.d.mts +2 -0
- package/dist/github/index.mjs +1 -0
- package/dist/github-B0umL8_f.mjs +3259 -0
- package/dist/gitlab/index.d.mts +2 -0
- package/dist/gitlab/index.mjs +1 -0
- package/dist/gitlab-Bsr__Z0C.mjs +2378 -0
- package/dist/graphql-D7uGzZTf.mjs +366 -0
- package/dist/index-BQ6VS31s.d.mts +32 -0
- package/dist/index-C-jz9Mo3.d.mts +16 -0
- package/dist/index-C4fYzmK3.d.mts +102 -0
- package/dist/index-CQiIX4SH.d.mts +27 -0
- package/dist/index-CTj5gQzl.d.mts +35 -0
- package/dist/index-CliBWzOF.d.mts +23 -0
- package/dist/index-Cz_y-t3d.d.mts +36 -0
- package/dist/index-DEt25E1w.d.mts +77 -0
- package/dist/index-DIuS0EOy.d.mts +43 -0
- package/dist/index-uSpsMCrC.d.mts +26 -0
- package/dist/index.d.mts +41 -0
- package/dist/index.mjs +13 -0
- package/dist/kit.d.mts +183 -0
- package/dist/kit.mjs +4 -0
- package/dist/provider-CoZ7cCxp.d.mts +1439 -0
- package/dist/provider-Ed1YhkQN.mjs +169 -0
- package/dist/pushin/index.d.mts +2 -0
- package/dist/pushin/index.mjs +1 -0
- package/dist/pushin-CkxgJ2cU.mjs +343 -0
- package/dist/schema/Actor.json +96 -0
- package/dist/schema/AlertSupport.json +49 -0
- package/dist/schema/AuthKind.json +15 -0
- package/dist/schema/Branch.json +31 -0
- package/dist/schema/ChangedFile.json +58 -0
- package/dist/schema/Check.json +169 -0
- package/dist/schema/CheckRef.json +114 -0
- package/dist/schema/CheckState.json +14 -0
- package/dist/schema/ChecksSummary.json +34 -0
- package/dist/schema/CiJob.json +186 -0
- package/dist/schema/CiJobRef.json +132 -0
- package/dist/schema/CiRun.json +234 -0
- package/dist/schema/CiRunRef.json +103 -0
- package/dist/schema/CodeFragment.json +19 -0
- package/dist/schema/CodeMatch.json +128 -0
- package/dist/schema/Collaborator.json +169 -0
- package/dist/schema/Comment.json +336 -0
- package/dist/schema/CommentRef.json +158 -0
- package/dist/schema/Commit.json +307 -0
- package/dist/schema/CommitRef.json +104 -0
- package/dist/schema/CommitSignature.json +118 -0
- package/dist/schema/Comparison.json +355 -0
- package/dist/schema/Cursor.json +21 -0
- package/dist/schema/EventAction.json +33 -0
- package/dist/schema/EventDetail.json +649 -0
- package/dist/schema/EventKind.json +26 -0
- package/dist/schema/FileContent.json +73 -0
- package/dist/schema/FileStatus.json +15 -0
- package/dist/schema/ForgeCapabilities.json +737 -0
- package/dist/schema/ForgeEvent.json +789 -0
- package/dist/schema/ForgeInstance.json +7 -0
- package/dist/schema/ForgeKind.json +32 -0
- package/dist/schema/ForgeWarning.json +49 -0
- package/dist/schema/ForgeWarningCode.json +7 -0
- package/dist/schema/GetManyResult.json +699 -0
- package/dist/schema/Installation.json +131 -0
- package/dist/schema/InstallationToken.json +31 -0
- package/dist/schema/KnownForgeKind.json +19 -0
- package/dist/schema/Label.json +22 -0
- package/dist/schema/MergeMethod.json +14 -0
- package/dist/schema/Milestone.json +40 -0
- package/dist/schema/Notification.json +498 -0
- package/dist/schema/NotificationReason.json +28 -0
- package/dist/schema/NotificationRef.json +60 -0
- package/dist/schema/NotificationSubject.json +376 -0
- package/dist/schema/PerKind.json +49 -0
- package/dist/schema/PullBranches.json +125 -0
- package/dist/schema/PushCommit.json +24 -0
- package/dist/schema/Reaction.json +148 -0
- package/dist/schema/ReactionContent.json +17 -0
- package/dist/schema/ReactionSummary.json +70 -0
- package/dist/schema/Release.json +286 -0
- package/dist/schema/ReleaseAsset.json +169 -0
- package/dist/schema/ReleaseAssetRef.json +138 -0
- package/dist/schema/ReleaseRef.json +107 -0
- package/dist/schema/Repo.json +354 -0
- package/dist/schema/RepoFeatures.json +35 -0
- package/dist/schema/RepoPermissions.json +35 -0
- package/dist/schema/RepoRef.json +77 -0
- package/dist/schema/RepoRole.json +15 -0
- package/dist/schema/RepoVisibility.json +12 -0
- package/dist/schema/Review.json +371 -0
- package/dist/schema/ReviewComment.json +280 -0
- package/dist/schema/ReviewCommentInput.json +34 -0
- package/dist/schema/ReviewRef.json +158 -0
- package/dist/schema/ReviewState.json +15 -0
- package/dist/schema/Reviewer.json +133 -0
- package/dist/schema/SecurityAlert.json +219 -0
- package/dist/schema/SecurityAlertKind.json +14 -0
- package/dist/schema/SecurityAlertRef.json +122 -0
- package/dist/schema/SecuritySeverity.json +14 -0
- package/dist/schema/SourceKind.json +12 -0
- package/dist/schema/SubscriptionState.json +12 -0
- package/dist/schema/Support.json +23 -0
- package/dist/schema/Tag.json +25 -0
- package/dist/schema/TextLimits.json +18 -0
- package/dist/schema/Thread.json +653 -0
- package/dist/schema/ThreadKind.json +14 -0
- package/dist/schema/ThreadRef.json +131 -0
- package/dist/schema/ThreadStack.json +146 -0
- package/dist/schema/ThreadState.json +13 -0
- package/dist/schema/TreeEntry.json +46 -0
- package/dist/schema/TreeEntryType.json +13 -0
- package/dist/schema/UpsertCommentResult.json +355 -0
- package/dist/schema/User.json +123 -0
- package/dist/schema/Webhook.json +188 -0
- package/dist/schema/WebhookDeliveryRecord.json +173 -0
- package/dist/schema/WebhookDeliveryRef.json +135 -0
- package/dist/schema/WebhookRef.json +105 -0
- package/dist/schema/index.d.mts +4 -0
- package/dist/schema/index.mjs +3219 -0
- package/dist/tangled/index.d.mts +2 -0
- package/dist/tangled/index.mjs +1 -0
- package/dist/tangled-ChdPmiv-.mjs +1570 -0
- package/dist/testing/index.d.mts +123 -0
- package/dist/testing/index.mjs +242 -0
- package/dist/webhooks-rn9-8lxT.mjs +70 -0
- package/package.json +115 -3
- package/dist/.gitkeep +0 -0
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"base": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "The revision that the comparison starts from."
|
|
8
|
+
},
|
|
9
|
+
"head": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The revision that the comparison ends at."
|
|
12
|
+
},
|
|
13
|
+
"aheadBy": {
|
|
14
|
+
"type": "number",
|
|
15
|
+
"description": "The number of commits that `head` has and `base` lacks."
|
|
16
|
+
},
|
|
17
|
+
"behindBy": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"description": "The number of commits that `base` has and `head` lacks."
|
|
20
|
+
},
|
|
21
|
+
"commits": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": {
|
|
24
|
+
"$ref": "#/definitions/Commit"
|
|
25
|
+
},
|
|
26
|
+
"description": "The commits between the two revisions."
|
|
27
|
+
},
|
|
28
|
+
"files": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"$ref": "#/definitions/ChangedFile"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"mergeBaseSha": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The merge base, where the forge reports it."
|
|
37
|
+
},
|
|
38
|
+
"raw": {}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"base",
|
|
42
|
+
"head",
|
|
43
|
+
"commits",
|
|
44
|
+
"files",
|
|
45
|
+
"raw"
|
|
46
|
+
],
|
|
47
|
+
"description": "The difference between two revisions.",
|
|
48
|
+
"x-forges-type": "Comparison",
|
|
49
|
+
"definitions": {
|
|
50
|
+
"Actor": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"forge": {
|
|
54
|
+
"$ref": "#/definitions/ForgeKind"
|
|
55
|
+
},
|
|
56
|
+
"instance": {
|
|
57
|
+
"$ref": "#/definitions/ForgeInstance",
|
|
58
|
+
"description": "The host of the instance, such as `github.com` or `git.example.com`."
|
|
59
|
+
},
|
|
60
|
+
"login": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"id": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"name": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"avatarUrl": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"url": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"typeRaw": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"description": "Forge-reported account type, retained verbatim for callers that classify further."
|
|
78
|
+
},
|
|
79
|
+
"isBotHint": {
|
|
80
|
+
"type": "boolean",
|
|
81
|
+
"description": "Hint derived from forge metadata that the actor is automation. Callers own the classification policy."
|
|
82
|
+
},
|
|
83
|
+
"app": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {
|
|
86
|
+
"slug": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"id": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"slug"
|
|
95
|
+
],
|
|
96
|
+
"description": "The app behind a bot account, where the forge ties one to it (GitHub Apps' `slug[bot]` users)."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": [
|
|
100
|
+
"forge",
|
|
101
|
+
"id",
|
|
102
|
+
"instance",
|
|
103
|
+
"isBotHint",
|
|
104
|
+
"login"
|
|
105
|
+
],
|
|
106
|
+
"description": "An account: a user, an organisation or a bot.",
|
|
107
|
+
"x-forges-type": "Actor"
|
|
108
|
+
},
|
|
109
|
+
"ChangedFile": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"path": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"previousPath": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "Path before a rename or copy."
|
|
118
|
+
},
|
|
119
|
+
"status": {
|
|
120
|
+
"$ref": "#/definitions/FileStatus"
|
|
121
|
+
},
|
|
122
|
+
"statusRaw": {
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"additions": {
|
|
126
|
+
"type": "number"
|
|
127
|
+
},
|
|
128
|
+
"deletions": {
|
|
129
|
+
"type": "number"
|
|
130
|
+
},
|
|
131
|
+
"patch": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "Unified diff for the file, where the forge returns one inline."
|
|
134
|
+
},
|
|
135
|
+
"sha": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Blob sha after the change."
|
|
138
|
+
},
|
|
139
|
+
"isBinary": {
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"description": "The file is binary, so it has no patch."
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"required": [
|
|
145
|
+
"path",
|
|
146
|
+
"status"
|
|
147
|
+
],
|
|
148
|
+
"description": "A file that a commit or pull request changed.",
|
|
149
|
+
"x-forges-type": "ChangedFile"
|
|
150
|
+
},
|
|
151
|
+
"Commit": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"ref": {
|
|
155
|
+
"$ref": "#/definitions/CommitRef"
|
|
156
|
+
},
|
|
157
|
+
"sha": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "The full sha."
|
|
160
|
+
},
|
|
161
|
+
"message": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"author": {
|
|
165
|
+
"$ref": "#/definitions/CommitSignature",
|
|
166
|
+
"description": "Who wrote the change."
|
|
167
|
+
},
|
|
168
|
+
"committer": {
|
|
169
|
+
"$ref": "#/definitions/CommitSignature",
|
|
170
|
+
"description": "Who recorded the change."
|
|
171
|
+
},
|
|
172
|
+
"parents": {
|
|
173
|
+
"type": "array",
|
|
174
|
+
"items": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"url": {
|
|
179
|
+
"type": "string"
|
|
180
|
+
},
|
|
181
|
+
"stats": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {
|
|
184
|
+
"additions": {
|
|
185
|
+
"type": "number"
|
|
186
|
+
},
|
|
187
|
+
"deletions": {
|
|
188
|
+
"type": "number"
|
|
189
|
+
},
|
|
190
|
+
"total": {
|
|
191
|
+
"type": "number"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"additions",
|
|
196
|
+
"deletions"
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
"files": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"items": {
|
|
202
|
+
"$ref": "#/definitions/ChangedFile"
|
|
203
|
+
},
|
|
204
|
+
"description": "Present on `contents.commit`; absent from listings."
|
|
205
|
+
},
|
|
206
|
+
"raw": {}
|
|
207
|
+
},
|
|
208
|
+
"required": [
|
|
209
|
+
"ref",
|
|
210
|
+
"sha",
|
|
211
|
+
"message",
|
|
212
|
+
"parents",
|
|
213
|
+
"raw"
|
|
214
|
+
],
|
|
215
|
+
"description": "A commit.",
|
|
216
|
+
"x-forges-type": "Commit"
|
|
217
|
+
},
|
|
218
|
+
"CommitRef": {
|
|
219
|
+
"type": "object",
|
|
220
|
+
"properties": {
|
|
221
|
+
"forge": {
|
|
222
|
+
"$ref": "#/definitions/ForgeKind"
|
|
223
|
+
},
|
|
224
|
+
"instance": {
|
|
225
|
+
"$ref": "#/definitions/ForgeInstance",
|
|
226
|
+
"description": "The host of the instance, such as `github.com` or `git.example.com`."
|
|
227
|
+
},
|
|
228
|
+
"repo": {
|
|
229
|
+
"$ref": "#/definitions/RepoRef"
|
|
230
|
+
},
|
|
231
|
+
"sha": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"description": "The full sha of the commit."
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"required": [
|
|
237
|
+
"forge",
|
|
238
|
+
"instance",
|
|
239
|
+
"repo",
|
|
240
|
+
"sha"
|
|
241
|
+
],
|
|
242
|
+
"description": "A commit addressed by its full sha.",
|
|
243
|
+
"x-forges-type": "CommitRef"
|
|
244
|
+
},
|
|
245
|
+
"CommitSignature": {
|
|
246
|
+
"type": "object",
|
|
247
|
+
"properties": {
|
|
248
|
+
"actor": {
|
|
249
|
+
"$ref": "#/definitions/Actor",
|
|
250
|
+
"description": "The account, where the forge can match it."
|
|
251
|
+
},
|
|
252
|
+
"name": {
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
"email": {
|
|
256
|
+
"type": "string"
|
|
257
|
+
},
|
|
258
|
+
"date": {
|
|
259
|
+
"type": "string",
|
|
260
|
+
"format": "date-time",
|
|
261
|
+
"description": "When the commit was authored or committed."
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"description": "Git authorship, with the forge account behind it where the forge matched one.",
|
|
265
|
+
"x-forges-type": "CommitSignature"
|
|
266
|
+
},
|
|
267
|
+
"FileStatus": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"enum": [
|
|
270
|
+
"added",
|
|
271
|
+
"modified",
|
|
272
|
+
"removed",
|
|
273
|
+
"renamed",
|
|
274
|
+
"copied",
|
|
275
|
+
"changed"
|
|
276
|
+
],
|
|
277
|
+
"description": "How a commit or pull request changed a file.",
|
|
278
|
+
"x-forges-type": "FileStatus"
|
|
279
|
+
},
|
|
280
|
+
"ForgeInstance": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"description": "Host of a single forge deployment, for example `github.com` or `codeberg.org`.",
|
|
283
|
+
"x-forges-type": "ForgeInstance"
|
|
284
|
+
},
|
|
285
|
+
"ForgeKind": {
|
|
286
|
+
"anyOf": [
|
|
287
|
+
{
|
|
288
|
+
"$ref": "#/definitions/KnownForgeKind"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"type": "string"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"description": "Identifier of a forge implementation. Unknown forges are permitted so that third-party providers can be registered without a core release.",
|
|
295
|
+
"x-forges-type": "ForgeKind"
|
|
296
|
+
},
|
|
297
|
+
"KnownForgeKind": {
|
|
298
|
+
"type": "string",
|
|
299
|
+
"enum": [
|
|
300
|
+
"github",
|
|
301
|
+
"gitlab",
|
|
302
|
+
"bitbucket",
|
|
303
|
+
"forgejo",
|
|
304
|
+
"gitea",
|
|
305
|
+
"tangled",
|
|
306
|
+
"gitee",
|
|
307
|
+
"azure-devops",
|
|
308
|
+
"cursor-origin",
|
|
309
|
+
"pushin"
|
|
310
|
+
],
|
|
311
|
+
"description": "The forges this package ships providers for.",
|
|
312
|
+
"x-forges-type": "KnownForgeKind"
|
|
313
|
+
},
|
|
314
|
+
"RepoRef": {
|
|
315
|
+
"type": "object",
|
|
316
|
+
"properties": {
|
|
317
|
+
"forge": {
|
|
318
|
+
"$ref": "#/definitions/ForgeKind"
|
|
319
|
+
},
|
|
320
|
+
"instance": {
|
|
321
|
+
"$ref": "#/definitions/ForgeInstance",
|
|
322
|
+
"description": "The host of the instance, such as `github.com` or `git.example.com`."
|
|
323
|
+
},
|
|
324
|
+
"owner": {
|
|
325
|
+
"type": "string",
|
|
326
|
+
"description": "Full namespace path. On forges with nested groups (GitLab) this contains slashes, for example `acme/platform`; `name` never does."
|
|
327
|
+
},
|
|
328
|
+
"name": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"description": "Repository name. Empty for namespace-scoped refs."
|
|
331
|
+
},
|
|
332
|
+
"kind": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"enum": [
|
|
335
|
+
"repo",
|
|
336
|
+
"namespace"
|
|
337
|
+
],
|
|
338
|
+
"description": "`'namespace'` for subjects that belong to a group rather than a repository (GitLab epics). Absent means a repository."
|
|
339
|
+
},
|
|
340
|
+
"externalId": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"description": "Stable forge-native identifier that survives renames and transfers: a GitHub, Forgejo or Gitea numeric id, a GitLab project or group id, a Bitbucket UUID or a Tangled repo DID. {@link repoKey} prefers it over `owner` and `name`."
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"required": [
|
|
346
|
+
"forge",
|
|
347
|
+
"instance",
|
|
348
|
+
"name",
|
|
349
|
+
"owner"
|
|
350
|
+
],
|
|
351
|
+
"description": "Addresses a repository by its forge, instance, owner and name.",
|
|
352
|
+
"x-forges-type": "RepoRef"
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"nextUrl": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "Absolute URL of the next page, from a `Link` header or the body, on the requested origin."
|
|
8
|
+
},
|
|
9
|
+
"etag": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "A validator for a conditional request."
|
|
12
|
+
},
|
|
13
|
+
"token": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Opaque forge-native cursor, for example a GraphQL `endCursor`."
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"description": "Opaque-ish resumption token. Fields are optional because forges differ in what they support; callers should persist the whole object and hand it back.",
|
|
19
|
+
"x-forges-type": "Cursor",
|
|
20
|
+
"definitions": {}
|
|
21
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "string",
|
|
4
|
+
"enum": [
|
|
5
|
+
"opened",
|
|
6
|
+
"closed",
|
|
7
|
+
"reopened",
|
|
8
|
+
"merged",
|
|
9
|
+
"edited",
|
|
10
|
+
"created",
|
|
11
|
+
"deleted",
|
|
12
|
+
"submitted",
|
|
13
|
+
"labelled",
|
|
14
|
+
"unlabelled",
|
|
15
|
+
"assigned",
|
|
16
|
+
"unassigned",
|
|
17
|
+
"review_requested",
|
|
18
|
+
"synchronised",
|
|
19
|
+
"ready_for_review",
|
|
20
|
+
"converted_to_draft",
|
|
21
|
+
"published",
|
|
22
|
+
"renamed",
|
|
23
|
+
"transferred",
|
|
24
|
+
"archived",
|
|
25
|
+
"unarchived",
|
|
26
|
+
"added",
|
|
27
|
+
"removed",
|
|
28
|
+
"other"
|
|
29
|
+
],
|
|
30
|
+
"description": "What happened, independent of `kind`, so \"anything that closed\" is `action === 'closed'` whatever the subject.",
|
|
31
|
+
"x-forges-type": "EventAction",
|
|
32
|
+
"definitions": {}
|
|
33
|
+
}
|