Skip to content

Commit

Permalink
fix(graphql/@searchBy)!: Directive locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Mar 1, 2024
1 parent eedf598 commit b56b21b
Show file tree
Hide file tree
Showing 22 changed files with 47 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static function definition(): string {
}

/**
* @return non-empty-list<string>
* @return list<string>
*/
protected static function getDirectiveLocations(): array {
return [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ on

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorEqual
on
Expand All @@ -19,7 +17,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ on

directive @searchByOperatorAllOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorAnyOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -61,9 +59,7 @@ on

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorContains
on
Expand All @@ -85,7 +81,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -139,7 +134,6 @@ on

directive @searchByOperatorNot
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -187,7 +181,6 @@ on

directive @searchByOperatorRelationship
on
| ENUM
| FIELD_DEFINITION
| INPUT_FIELD_DEFINITION
| SCALAR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ on

directive @searchByOperatorAllOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorAnyOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -55,9 +53,7 @@ on

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorContains
on
Expand All @@ -79,7 +75,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -133,7 +128,6 @@ on

directive @searchByOperatorNot
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -181,7 +175,6 @@ on

directive @searchByOperatorRelationship
on
| ENUM
| FIELD_DEFINITION
| INPUT_FIELD_DEFINITION
| SCALAR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ on

directive @searchByOperatorAllOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorAnyOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -55,9 +53,7 @@ on

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorContains
on
Expand All @@ -79,7 +75,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -133,7 +128,6 @@ on

directive @searchByOperatorNot
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -181,7 +175,6 @@ on

directive @searchByOperatorRelationship
on
| ENUM
| FIELD_DEFINITION
| INPUT_FIELD_DEFINITION
| SCALAR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ on

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorEqual
on
Expand All @@ -31,7 +29,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ on

directive @searchByOperatorAllOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorAnyOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -55,9 +53,7 @@ on

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorContains
on
Expand All @@ -79,7 +75,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -133,7 +128,6 @@ on

directive @searchByOperatorNot
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -181,7 +175,6 @@ on

directive @searchByOperatorRelationship
on
| ENUM
| FIELD_DEFINITION
| INPUT_FIELD_DEFINITION
| SCALAR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ on

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorEqual
on
Expand All @@ -19,7 +17,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,17 @@ on

directive @searchByOperatorAllOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorAnyOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorContains
on
Expand All @@ -43,7 +39,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down Expand Up @@ -73,7 +68,6 @@ on

directive @searchByOperatorNot
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,12 @@ on

directive @searchByOperatorAllOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorEqual
on
Expand All @@ -36,7 +33,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,17 @@ on

directive @searchByOperatorAllOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorChild
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorEqual
on
Expand All @@ -54,7 +50,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,17 @@ on

directive @searchByOperatorAllOf
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorChild
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorCondition
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

directive @searchByOperatorEqual
on
Expand All @@ -54,7 +50,6 @@ on

directive @searchByOperatorField
on
| ENUM
| INPUT_FIELD_DEFINITION
| SCALAR

Expand Down
Loading

0 comments on commit b56b21b

Please sign in to comment.