Commit bb64e45f authored by Philip Cunningham's avatar Philip Cunningham

Add more specific ID type for DastSiteProfiles

parent 121c98d5
......@@ -2321,7 +2321,7 @@ type DastSiteProfile {
"""
ID of the site profile
"""
id: ID!
id: DastSiteProfileID!
"""
The name of the site profile
......@@ -2406,7 +2406,7 @@ type DastSiteProfileCreatePayload {
"""
ID of the site profile.
"""
id: ID
id: DastSiteProfileID
}
"""
......
......@@ -6230,7 +6230,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "ID",
"name": "DastSiteProfileID",
"ofType": null
}
},
......@@ -6484,7 +6484,7 @@
],
"type": {
"kind": "SCALAR",
"name": "ID",
"name": "DastSiteProfileID",
"ofType": null
},
"isDeprecated": false,
......@@ -408,7 +408,7 @@ Represents a DAST Site Profile.
| Name | Type | Description |
| --- | ---- | ---------- |
| `id` | ID! | ID of the site profile |
| `id` | DastSiteProfileID! | ID of the site profile |
| `profileName` | String | The name of the site profile |
| `targetUrl` | String | The URL of the target to be scanned |
| `userPermissions` | DastSiteProfilePermissions! | Permissions for the current user on the resource |
......@@ -422,7 +422,7 @@ Autogenerated return type of DastSiteProfileCreate
| --- | ---- | ---------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `id` | ID | ID of the site profile. |
| `id` | DastSiteProfileID | ID of the site profile. |
## DastSiteProfileDeletePayload
......
......@@ -7,7 +7,7 @@ module Mutations
graphql_name 'DastSiteProfileCreate'
field :id, GraphQL::ID_TYPE,
field :id, ::Types::GlobalIDType[::DastSiteProfile],
null: true,
description: 'ID of the site profile.'
......
......@@ -9,7 +9,7 @@ module Types
expose_permissions Types::PermissionTypes::DastSiteProfile
field :id, GraphQL::ID_TYPE, null: false,
field :id, ::Types::GlobalIDType[::DastSiteProfile], null: false,
description: 'ID of the site profile'
field :profile_name, GraphQL::STRING_TYPE, null: true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment