Skip to content

Commit 3b7c6e6

Browse files
authored
Merge pull request #170 from theopenlane/feat-rollupupdates
pull in updates, generate output
2 parents 866d61c + 195c8a4 commit 3b7c6e6

16 files changed

+574
-282
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
hooks:
1515
- id: yamlfmt
1616
- repo: https://github.com/adhtruong/mirrors-typos
17-
rev: v1.43.3
17+
rev: v1.45.0
1818
hooks:
1919
- id: typos
2020
- repo: local

.task/checksum/generate-client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7267756bc30e7a1291b814f593370e42
1+
12532b6a2de151ff17239eaa2da55ba4

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ go 1.25.8
44

55
require (
66
github.com/99designs/gqlgen v0.17.89
7-
github.com/gqlgo/gqlgenc v0.33.1
7+
github.com/gqlgo/gqlgenc v0.35.1
88
github.com/pkg/errors v0.9.1
99
github.com/rs/zerolog v1.35.0
1010
github.com/samber/lo v1.53.0
11-
github.com/theopenlane/core/common v1.0.16
11+
github.com/theopenlane/core/common v1.0.17
1212
github.com/theopenlane/entx v0.24.0
1313
github.com/theopenlane/httpsling v0.3.0
1414
github.com/theopenlane/iam v0.27.5

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ github.com/gorilla/securecookie v1.1.2 h1:YCIWL56dvtr73r6715mJs5ZvhtnY73hBvEF8kX
8080
github.com/gorilla/securecookie v1.1.2/go.mod h1:NfCASbcHqRSY+3a8tlWJwsQap2VX5pwzwo4h3eOamfo=
8181
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5THxAzdVpqr6/geYxZytqFMBCOtn/ujyeo=
8282
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA=
83-
github.com/gqlgo/gqlgenc v0.33.1 h1:r4wNp20L2NNE/59rIZoBPNVmHyrcKAyYPLP6DiwZ54Q=
84-
github.com/gqlgo/gqlgenc v0.33.1/go.mod h1:saXWMb8bbHVR0r+iwTslksNO06lx9rKXagrjzPfG+rQ=
83+
github.com/gqlgo/gqlgenc v0.35.1 h1:wHg+0/SEU4Jp+gb5ted1i7jls2i3AqMuCOuUClOo+9Q=
84+
github.com/gqlgo/gqlgenc v0.35.1/go.mod h1:qszcs75kQw4fEP7szUpzPGPLtF8idQX7qGVrZDnvSuA=
8585
github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k=
8686
github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
8787
github.com/hashicorp/hcl/v2 v2.24.0 h1:2QJdZ454DSsYGoaE6QheQZjtKZSUs9Nh2izTWiwQxvE=
@@ -136,8 +136,8 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu
136136
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
137137
github.com/theopenlane/core v1.14.2 h1:MBwnG1CbxxDiMgiOAabzpYxp8ZNWVQnrQyc/MrStNhA=
138138
github.com/theopenlane/core v1.14.2/go.mod h1:lejxUaCo6EjWOQKXW146IDjaV4SKK1HRaWd96FHl1Jw=
139-
github.com/theopenlane/core/common v1.0.16 h1:2IMvfuHVchGdGqVRiiYu6FFtYu2+7YyiKFbb4mV3XQI=
140-
github.com/theopenlane/core/common v1.0.16/go.mod h1:+OOhH2NYhLgngkFgkwJZdFTgbB6e+X+pXVXBG8hrZ/M=
139+
github.com/theopenlane/core/common v1.0.17 h1:kdrlGHfEGpx4PRhUq8G4xiIW+U0FmmLXD5XjF6wEozw=
140+
github.com/theopenlane/core/common v1.0.17/go.mod h1:+OOhH2NYhLgngkFgkwJZdFTgbB6e+X+pXVXBG8hrZ/M=
141141
github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA=
142142
github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM=
143143
github.com/theopenlane/entx v0.24.0 h1:GObAYJF/LvtjA5+seUf+9vpviNbHDQRKc+QDJtcmuIA=

graphclient/graphclient.go

Lines changed: 250 additions & 250 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

graphclient/models.go

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

query/assessmentresponse.graphql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
mutation CreateAssessmentResponse($input: CreateAssessmentResponseInput!) {
32
createAssessmentResponse(input: $input) {
43
assessmentResponse {
@@ -27,7 +26,7 @@ mutation DeleteAssessmentResponse($deleteAssessmentResponseId: ID!) {
2726
}
2827
}
2928

30-
query GetAllAssessmentResponses($first: Int, $last: Int, $after: Cursor, $before: Cursor, $orderBy: [AssessmentResponseOrder!]){
29+
query GetAllAssessmentResponses($first: Int, $last: Int, $after: Cursor, $before: Cursor, $orderBy: [AssessmentResponseOrder!]) {
3130
assessmentResponses(
3231
first: $first
3332
last: $last
@@ -63,6 +62,7 @@ query GetAllAssessmentResponses($first: Int, $last: Int, $after: Cursor, $before
6362
}
6463
}
6564
}
65+
6666
query GetAssessmentResponseByID($assessmentResponseId: ID!) {
6767
assessmentResponse(id: $assessmentResponseId) {
6868
assessmentID
@@ -84,7 +84,7 @@ query GetAssessmentResponseByID($assessmentResponseId: ID!) {
8484
}
8585

8686
query GetAssessmentResponses($first: Int, $last: Int, $after: Cursor, $before: Cursor, $where: AssessmentResponseWhereInput, $orderBy: [AssessmentResponseOrder!]) {
87-
assessmentResponses(
87+
assessmentResponses(
8888
first: $first
8989
last: $last
9090
after: $after

query/controlextended.graphql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
mutation CreateControlsByClone($input: CloneControlInput!) {
2-
createControlsByClone(input: $input) {
1+
mutation CloneBulkCSVControl($input: Upload!) {
2+
cloneBulkCSVControl(input: $input) {
33
controls {
44
assessmentMethods
55
assessmentObjectives
@@ -20,6 +20,7 @@ mutation CreateControlsByClone($input: CloneControlInput!) {
2020
references
2121
referenceFramework
2222
referenceFrameworkRevision
23+
referenceID
2324
source
2425
standardID
2526
status
@@ -43,8 +44,8 @@ mutation CreateControlsByClone($input: CloneControlInput!) {
4344
}
4445
}
4546

46-
mutation CloneBulkCSVControl($input: Upload!) {
47-
cloneBulkCSVControl(input: $input) {
47+
mutation CreateControlsByClone($input: CloneControlInput!) {
48+
createControlsByClone(input: $input) {
4849
controls {
4950
assessmentMethods
5051
assessmentObjectives
@@ -65,7 +66,6 @@ mutation CloneBulkCSVControl($input: Upload!) {
6566
references
6667
referenceFramework
6768
referenceFrameworkRevision
68-
referenceID
6969
source
7070
standardID
7171
status

query/controlobjective.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ mutation DeleteControlObjective($deleteControlObjectiveId: ID!) {
115115
}
116116
}
117117

118-
query GetAllControlObjectives($first: Int, $last: Int, $after: Cursor, $before: Cursor, $orderBy: [ControlObjectiveOrder!]){
118+
query GetAllControlObjectives($first: Int, $last: Int, $after: Cursor, $before: Cursor, $orderBy: [ControlObjectiveOrder!]) {
119119
controlObjectives(
120120
first: $first
121121
last: $last
@@ -203,7 +203,7 @@ query GetControlObjectiveByID($controlObjectiveId: ID!) {
203203
}
204204

205205
query GetControlObjectives($first: Int, $last: Int, $after: Cursor, $before: Cursor, $where: ControlObjectiveWhereInput, $orderBy: [ControlObjectiveOrder!]) {
206-
controlObjectives(
206+
controlObjectives(
207207
first: $first
208208
last: $last
209209
after: $after

query/finding.graphql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
mutation CreateBulkCSVFinding($input: Upload!) {
32
createBulkCSVFinding(input: $input) {
43
findings {
@@ -155,7 +154,7 @@ mutation DeleteFinding($deleteFindingId: ID!) {
155154
}
156155
}
157156

158-
query GetAllFindings($first: Int, $last: Int, $after: Cursor, $before: Cursor, $orderBy: [FindingOrder!]){
157+
query GetAllFindings($first: Int, $last: Int, $after: Cursor, $before: Cursor, $orderBy: [FindingOrder!]) {
159158
findings(
160159
first: $first
161160
last: $last
@@ -239,6 +238,7 @@ query GetAllFindings($first: Int, $last: Int, $after: Cursor, $before: Cursor, $
239238
}
240239
}
241240
}
241+
242242
query GetFindingByID($findingId: ID!) {
243243
finding(id: $findingId) {
244244
assessmentID
@@ -308,7 +308,7 @@ query GetFindingByID($findingId: ID!) {
308308
}
309309

310310
query GetFindings($first: Int, $last: Int, $after: Cursor, $before: Cursor, $where: FindingWhereInput, $orderBy: [FindingOrder!]) {
311-
findings(
311+
findings(
312312
first: $first
313313
last: $last
314314
after: $after

0 commit comments

Comments
 (0)