-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_corpus-index.ts
More file actions
129 lines (127 loc) · 4.4 KB
/
_corpus-index.ts
File metadata and controls
129 lines (127 loc) · 4.4 KB
1
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
export type CorpusType = "har" | "html"
export interface CorpusEntry {
url: string
type: CorpusType
description?: string // Helpful for HTML corpus to describe the captured state
}
export const CORPUS: Record<string, CorpusEntry> = {
gh_issue: {
description: "comment text box has some text",
type: "html",
url: "https://github.com/diffplug/selfie/issues/523",
},
// HAR corpus (initial page loads)
gh_issue_edit: {
description: "edit an existing comment on an issue",
type: "html",
url: "https://github.com/diffplug/gitcasso/issues/56",
},
gh_issue_edit_multiple: {
description: "edit an existing comment on an issue (root and appended)",
type: "html",
url: "https://github.com/diffplug/testing-deletable/issues/3",
},
gh_issue_new: {
description: "a new issue with some fields filled out",
type: "html",
url: "https://github.com/diffplug/gitcasso/issues/new",
},
gh_issue_new_complex_template: {
description: "a new issue with complex templating and multiple fields",
type: "html",
url: "https://github.com/anthropics/claude-code/issues",
},
gh_pr: {
type: "har",
url: "https://github.com/diffplug/selfie/pull/517",
},
gh_pr_edit: {
description: "edit an existing comment on a PR",
type: "html",
url: "https://github.com/diffplug/gitcasso/pull/58",
},
gh_pr_edit_multiple: {
description: "edit an existing comment on a PR (root and appended)",
type: "html",
url: "https://github.com/diffplug/testing-deletable/pull/5",
},
gh_pr_new: {
type: "har",
url: "https://github.com/diffplug/selfie/compare/main...cavia-porcellus:selfie:main?expand=1",
},
gh_project: {
description: "github project board initial load",
type: "html",
url: "https://github.com/orgs/diffplug/projects/12",
},
gh_project_draft: {
type: "html",
url: "https://github.com/orgs/diffplug/projects/12/views/1?pane=issue&itemId=129503329",
},
gh_project_draft_edit: {
description:
"editing an existing comment on a draft issue within a project",
type: "html",
url: "https://github.com/orgs/diffplug/projects/12/views/1?pane=issue&itemId=129503329",
},
gh_project_issue: {
description: "github project board issue add comment",
type: "html",
url: "https://github.com/orgs/diffplug/projects/12/views/1?pane=issue&itemId=129503239&issue=diffplug%7Cgitcasso%7C57",
},
gh_project_issue_edit: {
description: "editing an existing comment on a issue within a project",
type: "html",
url: "https://github.com/orgs/diffplug/projects/12/views/1?pane=issue&itemId=129503239&issue=diffplug%7Cgitcasso%7C57",
},
gh_project_issue_new: {
description: "creating a new issue within a project",
type: "html",
url: "https://github.com/orgs/diffplug/projects/12",
},
reddit_subreddit_home: {
description: "r/programming home page",
type: "html",
url: "https://www.reddit.com/r/programming/",
},
reddit_create_post_link_rich: {
description: "r/programming create link post (rich text)",
type: "html",
url: "https://www.reddit.com/r/programming/submit/?type=LINK",
},
reddit_create_post_link_md: {
description: "r/programming create link post (markdown)",
type: "html",
url: "https://www.reddit.com/r/programming/submit/?type=LINK",
},
reddit_create_post_text_md: {
description: "r/nba create text post (markdown)",
type: "html",
url: "https://www.reddit.com/r/nba/submit/?type=TEXT",
},
reddit_thread: {
description: "r/programming thread",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
reddit_thread_root_comment_md: {
description: "root comment (markdown)",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
reddit_thread_root_comment_rich: {
description: "root comment (rich text)",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
reddit_thread_comment_reply_md: {
description: "root comment (rich text)",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
reddit_thread_comment_reply_multi_md: {
description: "root comment (rich text)",
type: "html",
url: "https://www.reddit.com/r/programming/comments/1nq6g8p/postgresql_18_released/",
},
} as const