| 1 |
directive @goField(forceResolver: Boolean, name: String, omittable: Boolean) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION |
| 2 |
directive @goModel(model: String, models: [String!], forceGenerate: Boolean) on OBJECT | INPUT_OBJECT | SCALAR | ENUM | INTERFACE | UNION |
| 3 |
type Attestation implements Node { |
| 4 |
id: ID! |
| 5 |
type: String! |
| 6 |
attestationCollection: AttestationCollection! |
| 7 |
} |
| 8 |
type AttestationCollection implements Node { |
| 9 |
id: ID! |
| 10 |
name: String! |
| 11 |
attestations: [Attestation!] |
| 12 |
statement: Statement! |
| 13 |
} |
| 14 |
""" |
| 15 |
AttestationCollectionWhereInput is used for filtering AttestationCollection objects. |
| 16 |
Input was generated by ent. |
| 17 |
""" |
| 18 |
input AttestationCollectionWhereInput { |
| 19 |
not: AttestationCollectionWhereInput |
| 20 |
and: [AttestationCollectionWhereInput!] |
| 21 |
or: [AttestationCollectionWhereInput!] |
| 22 |
""" |
| 23 |
id field predicates |
| 24 |
""" |
| 25 |
id: ID |
| 26 |
idNEQ: ID |
| 27 |
idIn: [ID!] |
| 28 |
idNotIn: [ID!] |
| 29 |
idGT: ID |
| 30 |
idGTE: ID |
| 31 |
idLT: ID |
| 32 |
idLTE: ID |
| 33 |
""" |
| 34 |
name field predicates |
| 35 |
""" |
| 36 |
name: String |
| 37 |
nameNEQ: String |
| 38 |
nameIn: [String!] |
| 39 |
nameNotIn: [String!] |
| 40 |
nameGT: String |
| 41 |
nameGTE: String |
| 42 |
nameLT: String |
| 43 |
nameLTE: String |
| 44 |
nameContains: String |
| 45 |
nameHasPrefix: String |
| 46 |
nameHasSuffix: String |
| 47 |
nameEqualFold: String |
| 48 |
nameContainsFold: String |
| 49 |
""" |
| 50 |
attestations edge predicates |
| 51 |
""" |
| 52 |
hasAttestations: Boolean |
| 53 |
hasAttestationsWith: [AttestationWhereInput!] |
| 54 |
""" |
| 55 |
statement edge predicates |
| 56 |
""" |
| 57 |
hasStatement: Boolean |
| 58 |
hasStatementWith: [StatementWhereInput!] |
| 59 |
} |
| 60 |
type AttestationPolicy implements Node { |
| 61 |
id: ID! |
| 62 |
name: String! |
| 63 |
statement: Statement |
| 64 |
} |
| 65 |
""" |
| 66 |
A connection to a list of items. |
| 67 |
""" |
| 68 |
type AttestationPolicyConnection { |
| 69 |
""" |
| 70 |
A list of edges. |
| 71 |
""" |
| 72 |
edges: [AttestationPolicyEdge] |
| 73 |
""" |
| 74 |
Information to aid in pagination. |
| 75 |
""" |
| 76 |
pageInfo: PageInfo! |
| 77 |
""" |
| 78 |
Identifies the total count of items in the connection. |
| 79 |
""" |
| 80 |
totalCount: Int! |
| 81 |
} |
| 82 |
""" |
| 83 |
An edge in a connection. |
| 84 |
""" |
| 85 |
type AttestationPolicyEdge { |
| 86 |
""" |
| 87 |
The item at the end of the edge. |
| 88 |
""" |
| 89 |
node: AttestationPolicy |
| 90 |
""" |
| 91 |
A cursor for use in pagination. |
| 92 |
""" |
| 93 |
cursor: Cursor! |
| 94 |
} |
| 95 |
""" |
| 96 |
AttestationPolicyWhereInput is used for filtering AttestationPolicy objects. |
| 97 |
Input was generated by ent. |
| 98 |
""" |
| 99 |
input AttestationPolicyWhereInput { |
| 100 |
not: AttestationPolicyWhereInput |
| 101 |
and: [AttestationPolicyWhereInput!] |
| 102 |
or: [AttestationPolicyWhereInput!] |
| 103 |
""" |
| 104 |
id field predicates |
| 105 |
""" |
| 106 |
id: ID |
| 107 |
idNEQ: ID |
| 108 |
idIn: [ID!] |
| 109 |
idNotIn: [ID!] |
| 110 |
idGT: ID |
| 111 |
idGTE: ID |
| 112 |
idLT: ID |
| 113 |
idLTE: ID |
| 114 |
""" |
| 115 |
name field predicates |
| 116 |
""" |
| 117 |
name: String |
| 118 |
nameNEQ: String |
| 119 |
nameIn: [String!] |
| 120 |
nameNotIn: [String!] |
| 121 |
nameGT: String |
| 122 |
nameGTE: String |
| 123 |
nameLT: String |
| 124 |
nameLTE: String |
| 125 |
nameContains: String |
| 126 |
nameHasPrefix: String |
| 127 |
nameHasSuffix: String |
| 128 |
nameEqualFold: String |
| 129 |
nameContainsFold: String |
| 130 |
""" |
| 131 |
statement edge predicates |
| 132 |
""" |
| 133 |
hasStatement: Boolean |
| 134 |
hasStatementWith: [StatementWhereInput!] |
| 135 |
} |
| 136 |
""" |
| 137 |
AttestationWhereInput is used for filtering Attestation objects. |
| 138 |
Input was generated by ent. |
| 139 |
""" |
| 140 |
input AttestationWhereInput { |
| 141 |
not: AttestationWhereInput |
| 142 |
and: [AttestationWhereInput!] |
| 143 |
or: [AttestationWhereInput!] |
| 144 |
""" |
| 145 |
id field predicates |
| 146 |
""" |
| 147 |
id: ID |
| 148 |
idNEQ: ID |
| 149 |
idIn: [ID!] |
| 150 |
idNotIn: [ID!] |
| 151 |
idGT: ID |
| 152 |
idGTE: ID |
| 153 |
idLT: ID |
| 154 |
idLTE: ID |
| 155 |
""" |
| 156 |
type field predicates |
| 157 |
""" |
| 158 |
type: String |
| 159 |
typeNEQ: String |
| 160 |
typeIn: [String!] |
| 161 |
typeNotIn: [String!] |
| 162 |
typeGT: String |
| 163 |
typeGTE: String |
| 164 |
typeLT: String |
| 165 |
typeLTE: String |
| 166 |
typeContains: String |
| 167 |
typeHasPrefix: String |
| 168 |
typeHasSuffix: String |
| 169 |
typeEqualFold: String |
| 170 |
typeContainsFold: String |
| 171 |
""" |
| 172 |
attestation_collection edge predicates |
| 173 |
""" |
| 174 |
hasAttestationCollection: Boolean |
| 175 |
hasAttestationCollectionWith: [AttestationCollectionWhereInput!] |
| 176 |
} |
| 177 |
""" |
| 178 |
Define a Relay Cursor type: |
| 179 |
https://relay.dev/graphql/connections.htm#sec-Cursor |
| 180 |
""" |
| 181 |
scalar Cursor |
| 182 |
type Dsse implements Node { |
| 183 |
id: ID! |
| 184 |
createdAt: Time |
| 185 |
gitoidSha256: String! |
| 186 |
payloadType: String! |
| 187 |
statement: Statement |
| 188 |
signatures: [Signature!] |
| 189 |
payloadDigests: [PayloadDigest!] |
| 190 |
} |
| 191 |
""" |
| 192 |
A connection to a list of items. |
| 193 |
""" |
| 194 |
type DsseConnection { |
| 195 |
""" |
| 196 |
A list of edges. |
| 197 |
""" |
| 198 |
edges: [DsseEdge] |
| 199 |
""" |
| 200 |
Information to aid in pagination. |
| 201 |
""" |
| 202 |
pageInfo: PageInfo! |
| 203 |
""" |
| 204 |
Identifies the total count of items in the connection. |
| 205 |
""" |
| 206 |
totalCount: Int! |
| 207 |
} |
| 208 |
""" |
| 209 |
An edge in a connection. |
| 210 |
""" |
| 211 |
type DsseEdge { |
| 212 |
""" |
| 213 |
The item at the end of the edge. |
| 214 |
""" |
| 215 |
node: Dsse |
| 216 |
""" |
| 217 |
A cursor for use in pagination. |
| 218 |
""" |
| 219 |
cursor: Cursor! |
| 220 |
} |
| 221 |
""" |
| 222 |
Ordering options for Dsse connections |
| 223 |
""" |
| 224 |
input DsseOrder { |
| 225 |
""" |
| 226 |
The ordering direction. |
| 227 |
""" |
| 228 |
direction: OrderDirection! = ASC |
| 229 |
""" |
| 230 |
The field by which to order Dsses. |
| 231 |
""" |
| 232 |
field: DsseOrderField! |
| 233 |
} |
| 234 |
""" |
| 235 |
Properties by which Dsse connections can be ordered. |
| 236 |
""" |
| 237 |
enum DsseOrderField { |
| 238 |
CREATED_AT |
| 239 |
} |
| 240 |
""" |
| 241 |
DsseWhereInput is used for filtering Dsse objects. |
| 242 |
Input was generated by ent. |
| 243 |
""" |
| 244 |
input DsseWhereInput { |
| 245 |
not: DsseWhereInput |
| 246 |
and: [DsseWhereInput!] |
| 247 |
or: [DsseWhereInput!] |
| 248 |
""" |
| 249 |
id field predicates |
| 250 |
""" |
| 251 |
id: ID |
| 252 |
idNEQ: ID |
| 253 |
idIn: [ID!] |
| 254 |
idNotIn: [ID!] |
| 255 |
idGT: ID |
| 256 |
idGTE: ID |
| 257 |
idLT: ID |
| 258 |
idLTE: ID |
| 259 |
""" |
| 260 |
created_at field predicates |
| 261 |
""" |
| 262 |
createdAt: Time |
| 263 |
createdAtNEQ: Time |
| 264 |
createdAtIn: [Time!] |
| 265 |
createdAtNotIn: [Time!] |
| 266 |
createdAtGT: Time |
| 267 |
createdAtGTE: Time |
| 268 |
createdAtLT: Time |
| 269 |
createdAtLTE: Time |
| 270 |
createdAtIsNil: Boolean |
| 271 |
createdAtNotNil: Boolean |
| 272 |
""" |
| 273 |
gitoid_sha256 field predicates |
| 274 |
""" |
| 275 |
gitoidSha256: String |
| 276 |
gitoidSha256NEQ: String |
| 277 |
gitoidSha256In: [String!] |
| 278 |
gitoidSha256NotIn: [String!] |
| 279 |
gitoidSha256GT: String |
| 280 |
gitoidSha256GTE: String |
| 281 |
gitoidSha256LT: String |
| 282 |
gitoidSha256LTE: String |
| 283 |
gitoidSha256Contains: String |
| 284 |
gitoidSha256HasPrefix: String |
| 285 |
gitoidSha256HasSuffix: String |
| 286 |
gitoidSha256EqualFold: String |
| 287 |
gitoidSha256ContainsFold: String |
| 288 |
""" |
| 289 |
payload_type field predicates |
| 290 |
""" |
| 291 |
payloadType: String |
| 292 |
payloadTypeNEQ: String |
| 293 |
payloadTypeIn: [String!] |
| 294 |
payloadTypeNotIn: [String!] |
| 295 |
payloadTypeGT: String |
| 296 |
payloadTypeGTE: String |
| 297 |
payloadTypeLT: String |
| 298 |
payloadTypeLTE: String |
| 299 |
payloadTypeContains: String |
| 300 |
payloadTypeHasPrefix: String |
| 301 |
payloadTypeHasSuffix: String |
| 302 |
payloadTypeEqualFold: String |
| 303 |
payloadTypeContainsFold: String |
| 304 |
""" |
| 305 |
statement edge predicates |
| 306 |
""" |
| 307 |
hasStatement: Boolean |
| 308 |
hasStatementWith: [StatementWhereInput!] |
| 309 |
""" |
| 310 |
signatures edge predicates |
| 311 |
""" |
| 312 |
hasSignatures: Boolean |
| 313 |
hasSignaturesWith: [SignatureWhereInput!] |
| 314 |
""" |
| 315 |
payload_digests edge predicates |
| 316 |
""" |
| 317 |
hasPayloadDigests: Boolean |
| 318 |
hasPayloadDigestsWith: [PayloadDigestWhereInput!] |
| 319 |
} |
| 320 |
""" |
| 321 |
An object with an ID. |
| 322 |
Follows the [Relay Global Object Identification Specification](https://relay.dev/graphql/objectidentification.htm) |
| 323 |
""" |
| 324 |
interface Node @goModel(model: "github.com/in-toto/archivista/ent.Noder") { |
| 325 |
""" |
| 326 |
The id of the object. |
| 327 |
""" |
| 328 |
id: ID! |
| 329 |
} |
| 330 |
""" |
| 331 |
Possible directions in which to order a list of items when provided an `orderBy` argument. |
| 332 |
""" |
| 333 |
enum OrderDirection { |
| 334 |
""" |
| 335 |
Specifies an ascending order for a given `orderBy` argument. |
| 336 |
""" |
| 337 |
ASC |
| 338 |
""" |
| 339 |
Specifies a descending order for a given `orderBy` argument. |
| 340 |
""" |
| 341 |
DESC |
| 342 |
} |
| 343 |
""" |
| 344 |
Information about pagination in a connection. |
| 345 |
https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo |
| 346 |
""" |
| 347 |
type PageInfo { |
| 348 |
""" |
| 349 |
When paginating forwards, are there more items? |
| 350 |
""" |
| 351 |
hasNextPage: Boolean! |
| 352 |
""" |
| 353 |
When paginating backwards, are there more items? |
| 354 |
""" |
| 355 |
hasPreviousPage: Boolean! |
| 356 |
""" |
| 357 |
When paginating backwards, the cursor to continue. |
| 358 |
""" |
| 359 |
startCursor: Cursor |
| 360 |
""" |
| 361 |
When paginating forwards, the cursor to continue. |
| 362 |
""" |
| 363 |
endCursor: Cursor |
| 364 |
} |
| 365 |
type PayloadDigest implements Node { |
| 366 |
id: ID! |
| 367 |
algorithm: String! |
| 368 |
value: String! |
| 369 |
dsse: Dsse |
| 370 |
} |
| 371 |
""" |
| 372 |
PayloadDigestWhereInput is used for filtering PayloadDigest objects. |
| 373 |
Input was generated by ent. |
| 374 |
""" |
| 375 |
input PayloadDigestWhereInput { |
| 376 |
not: PayloadDigestWhereInput |
| 377 |
and: [PayloadDigestWhereInput!] |
| 378 |
or: [PayloadDigestWhereInput!] |
| 379 |
""" |
| 380 |
id field predicates |
| 381 |
""" |
| 382 |
id: ID |
| 383 |
idNEQ: ID |
| 384 |
idIn: [ID!] |
| 385 |
idNotIn: [ID!] |
| 386 |
idGT: ID |
| 387 |
idGTE: ID |
| 388 |
idLT: ID |
| 389 |
idLTE: ID |
| 390 |
""" |
| 391 |
algorithm field predicates |
| 392 |
""" |
| 393 |
algorithm: String |
| 394 |
algorithmNEQ: String |
| 395 |
algorithmIn: [String!] |
| 396 |
algorithmNotIn: [String!] |
| 397 |
algorithmGT: String |
| 398 |
algorithmGTE: String |
| 399 |
algorithmLT: String |
| 400 |
algorithmLTE: String |
| 401 |
algorithmContains: String |
| 402 |
algorithmHasPrefix: String |
| 403 |
algorithmHasSuffix: String |
| 404 |
algorithmEqualFold: String |
| 405 |
algorithmContainsFold: String |
| 406 |
""" |
| 407 |
value field predicates |
| 408 |
""" |
| 409 |
value: String |
| 410 |
valueNEQ: String |
| 411 |
valueIn: [String!] |
| 412 |
valueNotIn: [String!] |
| 413 |
valueGT: String |
| 414 |
valueGTE: String |
| 415 |
valueLT: String |
| 416 |
valueLTE: String |
| 417 |
valueContains: String |
| 418 |
valueHasPrefix: String |
| 419 |
valueHasSuffix: String |
| 420 |
valueEqualFold: String |
| 421 |
valueContainsFold: String |
| 422 |
""" |
| 423 |
dsse edge predicates |
| 424 |
""" |
| 425 |
hasDsse: Boolean |
| 426 |
hasDsseWith: [DsseWhereInput!] |
| 427 |
} |
| 428 |
type Query { |
| 429 |
""" |
| 430 |
Fetches an object given its ID. |
| 431 |
""" |
| 432 |
node( |
| 433 |
""" |
| 434 |
ID of the object. |
| 435 |
""" |
| 436 |
id: ID! |
| 437 |
): Node |
| 438 |
""" |
| 439 |
Lookup nodes by a list of IDs. |
| 440 |
""" |
| 441 |
nodes( |
| 442 |
""" |
| 443 |
The list of node IDs. |
| 444 |
""" |
| 445 |
ids: [ID!]! |
| 446 |
): [Node]! |
| 447 |
attestationPolicies( |
| 448 |
""" |
| 449 |
Returns the elements in the list that come after the specified cursor. |
| 450 |
""" |
| 451 |
after: Cursor |
| 452 |
|
| 453 |
""" |
| 454 |
Returns the first _n_ elements from the list. |
| 455 |
""" |
| 456 |
first: Int |
| 457 |
|
| 458 |
""" |
| 459 |
Returns the elements in the list that come before the specified cursor. |
| 460 |
""" |
| 461 |
before: Cursor |
| 462 |
|
| 463 |
""" |
| 464 |
Returns the last _n_ elements from the list. |
| 465 |
""" |
| 466 |
last: Int |
| 467 |
|
| 468 |
""" |
| 469 |
Filtering options for AttestationPolicies returned from the connection. |
| 470 |
""" |
| 471 |
where: AttestationPolicyWhereInput |
| 472 |
): AttestationPolicyConnection! |
| 473 |
dsses( |
| 474 |
""" |
| 475 |
Returns the elements in the list that come after the specified cursor. |
| 476 |
""" |
| 477 |
after: Cursor |
| 478 |
|
| 479 |
""" |
| 480 |
Returns the first _n_ elements from the list. |
| 481 |
""" |
| 482 |
first: Int |
| 483 |
|
| 484 |
""" |
| 485 |
Returns the elements in the list that come before the specified cursor. |
| 486 |
""" |
| 487 |
before: Cursor |
| 488 |
|
| 489 |
""" |
| 490 |
Returns the last _n_ elements from the list. |
| 491 |
""" |
| 492 |
last: Int |
| 493 |
|
| 494 |
""" |
| 495 |
Ordering options for Dsses returned from the connection. |
| 496 |
""" |
| 497 |
orderBy: DsseOrder |
| 498 |
|
| 499 |
""" |
| 500 |
Filtering options for Dsses returned from the connection. |
| 501 |
""" |
| 502 |
where: DsseWhereInput |
| 503 |
): DsseConnection! |
| 504 |
subjects( |
| 505 |
""" |
| 506 |
Returns the elements in the list that come after the specified cursor. |
| 507 |
""" |
| 508 |
after: Cursor |
| 509 |
|
| 510 |
""" |
| 511 |
Returns the first _n_ elements from the list. |
| 512 |
""" |
| 513 |
first: Int |
| 514 |
|
| 515 |
""" |
| 516 |
Returns the elements in the list that come before the specified cursor. |
| 517 |
""" |
| 518 |
before: Cursor |
| 519 |
|
| 520 |
""" |
| 521 |
Returns the last _n_ elements from the list. |
| 522 |
""" |
| 523 |
last: Int |
| 524 |
|
| 525 |
""" |
| 526 |
Ordering options for Subjects returned from the connection. |
| 527 |
""" |
| 528 |
orderBy: SubjectOrder |
| 529 |
|
| 530 |
""" |
| 531 |
Filtering options for Subjects returned from the connection. |
| 532 |
""" |
| 533 |
where: SubjectWhereInput |
| 534 |
): SubjectConnection! |
| 535 |
} |
| 536 |
type Signature implements Node { |
| 537 |
id: ID! |
| 538 |
keyID: String! |
| 539 |
signature: String! |
| 540 |
dsse: Dsse |
| 541 |
timestamps: [Timestamp!] |
| 542 |
} |
| 543 |
""" |
| 544 |
SignatureWhereInput is used for filtering Signature objects. |
| 545 |
Input was generated by ent. |
| 546 |
""" |
| 547 |
input SignatureWhereInput { |
| 548 |
not: SignatureWhereInput |
| 549 |
and: [SignatureWhereInput!] |
| 550 |
or: [SignatureWhereInput!] |
| 551 |
""" |
| 552 |
id field predicates |
| 553 |
""" |
| 554 |
id: ID |
| 555 |
idNEQ: ID |
| 556 |
idIn: [ID!] |
| 557 |
idNotIn: [ID!] |
| 558 |
idGT: ID |
| 559 |
idGTE: ID |
| 560 |
idLT: ID |
| 561 |
idLTE: ID |
| 562 |
""" |
| 563 |
key_id field predicates |
| 564 |
""" |
| 565 |
keyID: String |
| 566 |
keyIDNEQ: String |
| 567 |
keyIDIn: [String!] |
| 568 |
keyIDNotIn: [String!] |
| 569 |
keyIDGT: String |
| 570 |
keyIDGTE: String |
| 571 |
keyIDLT: String |
| 572 |
keyIDLTE: String |
| 573 |
keyIDContains: String |
| 574 |
keyIDHasPrefix: String |
| 575 |
keyIDHasSuffix: String |
| 576 |
keyIDEqualFold: String |
| 577 |
keyIDContainsFold: String |
| 578 |
""" |
| 579 |
signature field predicates |
| 580 |
""" |
| 581 |
signature: String |
| 582 |
signatureNEQ: String |
| 583 |
signatureIn: [String!] |
| 584 |
signatureNotIn: [String!] |
| 585 |
signatureGT: String |
| 586 |
signatureGTE: String |
| 587 |
signatureLT: String |
| 588 |
signatureLTE: String |
| 589 |
signatureContains: String |
| 590 |
signatureHasPrefix: String |
| 591 |
signatureHasSuffix: String |
| 592 |
signatureEqualFold: String |
| 593 |
signatureContainsFold: String |
| 594 |
""" |
| 595 |
dsse edge predicates |
| 596 |
""" |
| 597 |
hasDsse: Boolean |
| 598 |
hasDsseWith: [DsseWhereInput!] |
| 599 |
""" |
| 600 |
timestamps edge predicates |
| 601 |
""" |
| 602 |
hasTimestamps: Boolean |
| 603 |
hasTimestampsWith: [TimestampWhereInput!] |
| 604 |
} |
| 605 |
type Statement implements Node { |
| 606 |
id: ID! |
| 607 |
predicate: String! |
| 608 |
subjects( |
| 609 |
""" |
| 610 |
Returns the elements in the list that come after the specified cursor. |
| 611 |
""" |
| 612 |
after: Cursor |
| 613 |
|
| 614 |
""" |
| 615 |
Returns the first _n_ elements from the list. |
| 616 |
""" |
| 617 |
first: Int |
| 618 |
|
| 619 |
""" |
| 620 |
Returns the elements in the list that come before the specified cursor. |
| 621 |
""" |
| 622 |
before: Cursor |
| 623 |
|
| 624 |
""" |
| 625 |
Returns the last _n_ elements from the list. |
| 626 |
""" |
| 627 |
last: Int |
| 628 |
|
| 629 |
""" |
| 630 |
Ordering options for Subjects returned from the connection. |
| 631 |
""" |
| 632 |
orderBy: SubjectOrder |
| 633 |
|
| 634 |
""" |
| 635 |
Filtering options for Subjects returned from the connection. |
| 636 |
""" |
| 637 |
where: SubjectWhereInput |
| 638 |
): SubjectConnection! |
| 639 |
policy: AttestationPolicy |
| 640 |
attestationCollections: AttestationCollection |
| 641 |
dsse: [Dsse!] |
| 642 |
} |
| 643 |
""" |
| 644 |
StatementWhereInput is used for filtering Statement objects. |
| 645 |
Input was generated by ent. |
| 646 |
""" |
| 647 |
input StatementWhereInput { |
| 648 |
not: StatementWhereInput |
| 649 |
and: [StatementWhereInput!] |
| 650 |
or: [StatementWhereInput!] |
| 651 |
""" |
| 652 |
id field predicates |
| 653 |
""" |
| 654 |
id: ID |
| 655 |
idNEQ: ID |
| 656 |
idIn: [ID!] |
| 657 |
idNotIn: [ID!] |
| 658 |
idGT: ID |
| 659 |
idGTE: ID |
| 660 |
idLT: ID |
| 661 |
idLTE: ID |
| 662 |
""" |
| 663 |
predicate field predicates |
| 664 |
""" |
| 665 |
predicate: String |
| 666 |
predicateNEQ: String |
| 667 |
predicateIn: [String!] |
| 668 |
predicateNotIn: [String!] |
| 669 |
predicateGT: String |
| 670 |
predicateGTE: String |
| 671 |
predicateLT: String |
| 672 |
predicateLTE: String |
| 673 |
predicateContains: String |
| 674 |
predicateHasPrefix: String |
| 675 |
predicateHasSuffix: String |
| 676 |
predicateEqualFold: String |
| 677 |
predicateContainsFold: String |
| 678 |
""" |
| 679 |
subjects edge predicates |
| 680 |
""" |
| 681 |
hasSubjects: Boolean |
| 682 |
hasSubjectsWith: [SubjectWhereInput!] |
| 683 |
""" |
| 684 |
policy edge predicates |
| 685 |
""" |
| 686 |
hasPolicy: Boolean |
| 687 |
hasPolicyWith: [AttestationPolicyWhereInput!] |
| 688 |
""" |
| 689 |
attestation_collections edge predicates |
| 690 |
""" |
| 691 |
hasAttestationCollections: Boolean |
| 692 |
hasAttestationCollectionsWith: [AttestationCollectionWhereInput!] |
| 693 |
""" |
| 694 |
dsse edge predicates |
| 695 |
""" |
| 696 |
hasDsse: Boolean |
| 697 |
hasDsseWith: [DsseWhereInput!] |
| 698 |
} |
| 699 |
type Subject implements Node { |
| 700 |
id: ID! |
| 701 |
createdAt: Time |
| 702 |
name: String! |
| 703 |
subjectDigests: [SubjectDigest!] |
| 704 |
statement: Statement |
| 705 |
} |
| 706 |
""" |
| 707 |
A connection to a list of items. |
| 708 |
""" |
| 709 |
type SubjectConnection { |
| 710 |
""" |
| 711 |
A list of edges. |
| 712 |
""" |
| 713 |
edges: [SubjectEdge] |
| 714 |
""" |
| 715 |
Information to aid in pagination. |
| 716 |
""" |
| 717 |
pageInfo: PageInfo! |
| 718 |
""" |
| 719 |
Identifies the total count of items in the connection. |
| 720 |
""" |
| 721 |
totalCount: Int! |
| 722 |
} |
| 723 |
type SubjectDigest implements Node { |
| 724 |
id: ID! |
| 725 |
algorithm: String! |
| 726 |
value: String! |
| 727 |
subject: Subject |
| 728 |
} |
| 729 |
""" |
| 730 |
SubjectDigestWhereInput is used for filtering SubjectDigest objects. |
| 731 |
Input was generated by ent. |
| 732 |
""" |
| 733 |
input SubjectDigestWhereInput { |
| 734 |
not: SubjectDigestWhereInput |
| 735 |
and: [SubjectDigestWhereInput!] |
| 736 |
or: [SubjectDigestWhereInput!] |
| 737 |
""" |
| 738 |
id field predicates |
| 739 |
""" |
| 740 |
id: ID |
| 741 |
idNEQ: ID |
| 742 |
idIn: [ID!] |
| 743 |
idNotIn: [ID!] |
| 744 |
idGT: ID |
| 745 |
idGTE: ID |
| 746 |
idLT: ID |
| 747 |
idLTE: ID |
| 748 |
""" |
| 749 |
algorithm field predicates |
| 750 |
""" |
| 751 |
algorithm: String |
| 752 |
algorithmNEQ: String |
| 753 |
algorithmIn: [String!] |
| 754 |
algorithmNotIn: [String!] |
| 755 |
algorithmGT: String |
| 756 |
algorithmGTE: String |
| 757 |
algorithmLT: String |
| 758 |
algorithmLTE: String |
| 759 |
algorithmContains: String |
| 760 |
algorithmHasPrefix: String |
| 761 |
algorithmHasSuffix: String |
| 762 |
algorithmEqualFold: String |
| 763 |
algorithmContainsFold: String |
| 764 |
""" |
| 765 |
value field predicates |
| 766 |
""" |
| 767 |
value: String |
| 768 |
valueNEQ: String |
| 769 |
valueIn: [String!] |
| 770 |
valueNotIn: [String!] |
| 771 |
valueGT: String |
| 772 |
valueGTE: String |
| 773 |
valueLT: String |
| 774 |
valueLTE: String |
| 775 |
valueContains: String |
| 776 |
valueHasPrefix: String |
| 777 |
valueHasSuffix: String |
| 778 |
valueEqualFold: String |
| 779 |
valueContainsFold: String |
| 780 |
""" |
| 781 |
subject edge predicates |
| 782 |
""" |
| 783 |
hasSubject: Boolean |
| 784 |
hasSubjectWith: [SubjectWhereInput!] |
| 785 |
} |
| 786 |
""" |
| 787 |
An edge in a connection. |
| 788 |
""" |
| 789 |
type SubjectEdge { |
| 790 |
""" |
| 791 |
The item at the end of the edge. |
| 792 |
""" |
| 793 |
node: Subject |
| 794 |
""" |
| 795 |
A cursor for use in pagination. |
| 796 |
""" |
| 797 |
cursor: Cursor! |
| 798 |
} |
| 799 |
""" |
| 800 |
Ordering options for Subject connections |
| 801 |
""" |
| 802 |
input SubjectOrder { |
| 803 |
""" |
| 804 |
The ordering direction. |
| 805 |
""" |
| 806 |
direction: OrderDirection! = ASC |
| 807 |
""" |
| 808 |
The field by which to order Subjects. |
| 809 |
""" |
| 810 |
field: SubjectOrderField! |
| 811 |
} |
| 812 |
""" |
| 813 |
Properties by which Subject connections can be ordered. |
| 814 |
""" |
| 815 |
enum SubjectOrderField { |
| 816 |
CREATED_AT |
| 817 |
} |
| 818 |
""" |
| 819 |
SubjectWhereInput is used for filtering Subject objects. |
| 820 |
Input was generated by ent. |
| 821 |
""" |
| 822 |
input SubjectWhereInput { |
| 823 |
not: SubjectWhereInput |
| 824 |
and: [SubjectWhereInput!] |
| 825 |
or: [SubjectWhereInput!] |
| 826 |
""" |
| 827 |
id field predicates |
| 828 |
""" |
| 829 |
id: ID |
| 830 |
idNEQ: ID |
| 831 |
idIn: [ID!] |
| 832 |
idNotIn: [ID!] |
| 833 |
idGT: ID |
| 834 |
idGTE: ID |
| 835 |
idLT: ID |
| 836 |
idLTE: ID |
| 837 |
""" |
| 838 |
created_at field predicates |
| 839 |
""" |
| 840 |
createdAt: Time |
| 841 |
createdAtNEQ: Time |
| 842 |
createdAtIn: [Time!] |
| 843 |
createdAtNotIn: [Time!] |
| 844 |
createdAtGT: Time |
| 845 |
createdAtGTE: Time |
| 846 |
createdAtLT: Time |
| 847 |
createdAtLTE: Time |
| 848 |
createdAtIsNil: Boolean |
| 849 |
createdAtNotNil: Boolean |
| 850 |
""" |
| 851 |
name field predicates |
| 852 |
""" |
| 853 |
name: String |
| 854 |
nameNEQ: String |
| 855 |
nameIn: [String!] |
| 856 |
nameNotIn: [String!] |
| 857 |
nameGT: String |
| 858 |
nameGTE: String |
| 859 |
nameLT: String |
| 860 |
nameLTE: String |
| 861 |
nameContains: String |
| 862 |
nameHasPrefix: String |
| 863 |
nameHasSuffix: String |
| 864 |
nameEqualFold: String |
| 865 |
nameContainsFold: String |
| 866 |
""" |
| 867 |
subject_digests edge predicates |
| 868 |
""" |
| 869 |
hasSubjectDigests: Boolean |
| 870 |
hasSubjectDigestsWith: [SubjectDigestWhereInput!] |
| 871 |
""" |
| 872 |
statement edge predicates |
| 873 |
""" |
| 874 |
hasStatement: Boolean |
| 875 |
hasStatementWith: [StatementWhereInput!] |
| 876 |
} |
| 877 |
type Timestamp implements Node { |
| 878 |
id: ID! |
| 879 |
type: String! |
| 880 |
timestamp: Time! |
| 881 |
signature: Signature |
| 882 |
} |
| 883 |
""" |
| 884 |
TimestampWhereInput is used for filtering Timestamp objects. |
| 885 |
Input was generated by ent. |
| 886 |
""" |
| 887 |
input TimestampWhereInput { |
| 888 |
not: TimestampWhereInput |
| 889 |
and: [TimestampWhereInput!] |
| 890 |
or: [TimestampWhereInput!] |
| 891 |
""" |
| 892 |
id field predicates |
| 893 |
""" |
| 894 |
id: ID |
| 895 |
idNEQ: ID |
| 896 |
idIn: [ID!] |
| 897 |
idNotIn: [ID!] |
| 898 |
idGT: ID |
| 899 |
idGTE: ID |
| 900 |
idLT: ID |
| 901 |
idLTE: ID |
| 902 |
""" |
| 903 |
type field predicates |
| 904 |
""" |
| 905 |
type: String |
| 906 |
typeNEQ: String |
| 907 |
typeIn: [String!] |
| 908 |
typeNotIn: [String!] |
| 909 |
typeGT: String |
| 910 |
typeGTE: String |
| 911 |
typeLT: String |
| 912 |
typeLTE: String |
| 913 |
typeContains: String |
| 914 |
typeHasPrefix: String |
| 915 |
typeHasSuffix: String |
| 916 |
typeEqualFold: String |
| 917 |
typeContainsFold: String |
| 918 |
""" |
| 919 |
timestamp field predicates |
| 920 |
""" |
| 921 |
timestamp: Time |
| 922 |
timestampNEQ: Time |
| 923 |
timestampIn: [Time!] |
| 924 |
timestampNotIn: [Time!] |
| 925 |
timestampGT: Time |
| 926 |
timestampGTE: Time |
| 927 |
timestampLT: Time |
| 928 |
timestampLTE: Time |
| 929 |
""" |
| 930 |
signature edge predicates |
| 931 |
""" |
| 932 |
hasSignature: Boolean |
| 933 |
hasSignatureWith: [SignatureWhereInput!] |
| 934 |
} |