Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
775f0f6
Add support for projects V2
JoannaaKL Sep 17, 2025
74712bd
Add test
JoannaaKL Sep 17, 2025
3a8cf0c
Address feedback
JoannaaKL Sep 22, 2025
b754eeb
Merge branch 'master' into add-projects
JoannaaKL Sep 22, 2025
e93ed36
Remove header and rename functions
JoannaaKL Sep 22, 2025
99852cf
Update comments
JoannaaKL Sep 22, 2025
7664215
Copyright update
JoannaaKL Sep 22, 2025
89016d9
Merge branch 'master' into add-projects
JoannaaKL Sep 23, 2025
2b94765
Update comments
JoannaaKL Sep 23, 2025
a4b0a56
Generate docs
JoannaaKL Sep 23, 2025
696102b
Add list projects option
JoannaaKL Sep 23, 2025
469e03a
Generate openapi docs
JoannaaKL Sep 23, 2025
2dbe5b4
Results of generate
JoannaaKL Sep 23, 2025
478ef5a
Merge branch 'master' into add-projects
JoannaaKL Sep 23, 2025
c34802d
Merge branch 'master' into add-projects
JoannaaKL Sep 23, 2025
053a9e1
Update github/projects.go
JoannaaKL Sep 23, 2025
680a0d1
Rename url in test
JoannaaKL Sep 23, 2025
d8696b4
Generate again
JoannaaKL Sep 23, 2025
93dd34f
Merge branch 'master' into add-projects
JoannaaKL Sep 23, 2025
060aaae
Shorten functions for orgs
JoannaaKL Sep 24, 2025
98c28fa
Implemented all endpoints for project items
JoannaaKL Sep 24, 2025
a4b1014
Remove comments
JoannaaKL Sep 24, 2025
57766b6
Merge branch 'master' into add-project-items
JoannaaKL Sep 24, 2025
e59c224
Merge branch 'master' into add-project-items
JoannaaKL Sep 24, 2025
4e935dd
Add tests
JoannaaKL Sep 24, 2025
d18c303
Merge remote-tracking branch 'refs/remotes/origin/add-project-items' …
JoannaaKL Sep 24, 2025
0c5356d
More tests
JoannaaKL Sep 24, 2025
b2388d1
Merge remote-tracking branch 'upstream/master' into stephenotalora/ad…
stephenotalora Oct 27, 2025
551885f
fixes all conflicts between upstream/master and add-project-items branch
stephenotalora Oct 27, 2025
f4685c8
fixes additional conflicts between upstream and fork with openapi_ope…
stephenotalora Oct 27, 2025
8f6f699
adds missing endpoint for users project fields
stephenotalora Oct 27, 2025
9d94d0e
ensures projectNumber is in64 across the board
stephenotalora Oct 28, 2025
e6e7d9e
Merge remote-tracking branch 'upstream/master' into stephenotalora/ad…
stephenotalora Oct 28, 2025
16de153
updates from generate.sh
stephenotalora Oct 28, 2025
8a4bbd8
additional updates to project number
stephenotalora Oct 28, 2025
6a7c464
fixes additional linting errors
stephenotalora Oct 28, 2025
7e69a24
Implement methods for retrieving fields by project and field ID for b…
stephenotalora Oct 28, 2025
9191d85
adding generated updates
stephenotalora Oct 28, 2025
521e0ba
add additional tests to improve coverage for individual field retriev…
stephenotalora Oct 28, 2025
25561d3
reverts projectNumber from int64 to int
stephenotalora Oct 29, 2025
27dd1c4
fixes ProjectV2FieldOption.ID type from int64 to string
stephenotalora Oct 29, 2025
eac21dc
ensures projectNumber is an int across the board
stephenotalora Oct 29, 2025
31e34f0
makes all optional fields in existing structs reference types
stephenotalora Oct 29, 2025
032e591
additional updates following struct changes to reference types for co…
stephenotalora Oct 29, 2025
c2f8bfa
Refactors project field specific method names to match the standardiz…
stephenotalora Oct 30, 2025
00873b1
Refactors project specific method names to adhere to standardized nam…
stephenotalora Oct 30, 2025
7f8c2f9
Refctors project items specific method names to adhere to standardize…
stephenotalora Oct 30, 2025
8437626
additional cleanup due to refactor
stephenotalora Oct 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions github/event_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1150,15 +1150,18 @@ type FieldValue struct {

// ProjectV2Item represents an item belonging to a project.
type ProjectV2Item struct {
ID *int64 `json:"id,omitempty"`
NodeID *string `json:"node_id,omitempty"`
ProjectNodeID *string `json:"project_node_id,omitempty"`
ContentNodeID *string `json:"content_node_id,omitempty"`
ContentType *string `json:"content_type,omitempty"`
Creator *User `json:"creator,omitempty"`
CreatedAt *Timestamp `json:"created_at,omitempty"`
UpdatedAt *Timestamp `json:"updated_at,omitempty"`
ArchivedAt *Timestamp `json:"archived_at,omitempty"`
ID *int64 `json:"id,omitempty"`
NodeID *string `json:"node_id,omitempty"`
ProjectNodeID *string `json:"project_node_id,omitempty"`
ContentNodeID *string `json:"content_node_id,omitempty"`
ProjectURL *string `json:"project_url,omitempty"`
ContentType *string `json:"content_type,omitempty"`
Creator *User `json:"creator,omitempty"`
CreatedAt *Timestamp `json:"created_at,omitempty"`
UpdatedAt *Timestamp `json:"updated_at,omitempty"`
ArchivedAt *Timestamp `json:"archived_at,omitempty"`
ItemURL *string `json:"item_url,omitempty"`
Fields []*ProjectV2Field `json:"fields,omitempty"`
}

// PublicEvent is triggered when a private repository is open sourced.
Expand Down
120 changes: 120 additions & 0 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading