-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from ArvidWedtstein/dev
Release
- Loading branch information
Showing
103 changed files
with
108,633 additions
and
20,657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
export const schema = gql` | ||
type Dino { | ||
id: String! | ||
created_at: DateTime | ||
name: String! | ||
synonyms: [String]! | ||
description: String | ||
taming_notice: String | ||
can_destroy: [String]! | ||
immobilized_by: [String]! | ||
base_stats: JSON | ||
gather_eff: JSON | ||
exp_per_kill: Float | ||
fits_through: [String]! | ||
egg_min: Float | ||
egg_max: Float | ||
tdps: Float | ||
eats: [String]! | ||
maturation_time: String | ||
weight_reduction: JSON | ||
incubation_time: Float | ||
affinity_needed: Float | ||
aff_inc: Float | ||
flee_threshold: Float | ||
hitboxes: JSON | ||
drops: [String]! | ||
food_consumption_base: Float | ||
food_consumption_mult: Float | ||
disable_ko: Boolean | ||
violent_tame: Boolean | ||
taming_bonus_attr: Float | ||
disable_food: Boolean | ||
disable_mult: Boolean | ||
water_movement: Boolean | ||
admin_note: String | ||
base_points: Float | ||
method: [String]! | ||
knockout: [String]! | ||
non_violent_food_affinity_mult: Float | ||
non_violent_food_rate_mult: Float | ||
taming_interval: Float | ||
base_taming_time: Float | ||
exp_per_kill_adj: Float | ||
disable_tame: Boolean | ||
x_variant: Boolean | ||
} | ||
type Query { | ||
dinos: [Dino!]! @requireAuth | ||
dino(id: String!): Dino @requireAuth | ||
} | ||
input CreateDinoInput { | ||
created_at: DateTime | ||
name: String! | ||
synonyms: [String]! | ||
description: String | ||
taming_notice: String | ||
can_destroy: [String]! | ||
immobilized_by: [String]! | ||
base_stats: JSON | ||
gather_eff: JSON | ||
exp_per_kill: Float | ||
fits_through: [String]! | ||
egg_min: Float | ||
egg_max: Float | ||
tdps: Float | ||
eats: [String]! | ||
maturation_time: String | ||
weight_reduction: JSON | ||
incubation_time: Float | ||
affinity_needed: Float | ||
aff_inc: Float | ||
flee_threshold: Float | ||
hitboxes: JSON | ||
drops: [String]! | ||
food_consumption_base: Float | ||
food_consumption_mult: Float | ||
disable_ko: Boolean | ||
violent_tame: Boolean | ||
taming_bonus_attr: Float | ||
disable_food: Boolean | ||
disable_mult: Boolean | ||
water_movement: Boolean | ||
admin_note: String | ||
base_points: Float | ||
method: [String]! | ||
knockout: [String]! | ||
non_violent_food_affinity_mult: Float | ||
non_violent_food_rate_mult: Float | ||
taming_interval: Float | ||
base_taming_time: Float | ||
exp_per_kill_adj: Float | ||
disable_tame: Boolean | ||
x_variant: Boolean | ||
} | ||
input UpdateDinoInput { | ||
created_at: DateTime | ||
name: String | ||
synonyms: [String]! | ||
description: String | ||
taming_notice: String | ||
can_destroy: [String]! | ||
immobilized_by: [String]! | ||
base_stats: JSON | ||
gather_eff: JSON | ||
exp_per_kill: Float | ||
fits_through: [String]! | ||
egg_min: Float | ||
egg_max: Float | ||
tdps: Float | ||
eats: [String]! | ||
maturation_time: String | ||
weight_reduction: JSON | ||
incubation_time: Float | ||
affinity_needed: Float | ||
aff_inc: Float | ||
flee_threshold: Float | ||
hitboxes: JSON | ||
drops: [String]! | ||
food_consumption_base: Float | ||
food_consumption_mult: Float | ||
disable_ko: Boolean | ||
violent_tame: Boolean | ||
taming_bonus_attr: Float | ||
disable_food: Boolean | ||
disable_mult: Boolean | ||
water_movement: Boolean | ||
admin_note: String | ||
base_points: Float | ||
method: [String]! | ||
knockout: [String]! | ||
non_violent_food_affinity_mult: Float | ||
non_violent_food_rate_mult: Float | ||
taming_interval: Float | ||
base_taming_time: Float | ||
exp_per_kill_adj: Float | ||
disable_tame: Boolean | ||
x_variant: Boolean | ||
} | ||
type Mutation { | ||
createDino(input: CreateDinoInput!): Dino! @requireAuth | ||
updateDino(id: String!, input: UpdateDinoInput!): Dino! @requireAuth | ||
deleteDino(id: String!): Dino! @requireAuth | ||
} | ||
` |
Oops, something went wrong.