You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 24, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: app/models/graph/types/starship.rb
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,14 @@ module Types
10
10
11
11
# Starship Specific Fields
12
12
13
-
field:starshipClass,types.Stringdo
13
+
field:starshipClass,!types.Stringdo
14
14
description"The class of this starship, such as \"Starfighter\" or \"Deep Space Mobile Battlestation\""
15
15
property:starship_class
16
16
end
17
17
18
-
field:hyperdriveRating,types.Float,"The class of this starships hyperdrive.",property: :hyperdrive_rating
18
+
field:hyperdriveRating,!types.Float,"The class of this starships hyperdrive.",property: :hyperdrive_rating
19
19
20
-
field:MGLT,types.Intdo
20
+
field:MGLT,!types.Intdo
21
21
description"
22
22
The Maximum number of Megalights this starship can travel in a standard hour.
23
23
A \"Megalight\" is a standard unit of distance and has never been
@@ -30,31 +30,31 @@ module Types
30
30
31
31
# Transport Interface Fields
32
32
33
-
field:name,types.String,"The name of this starship. The common name, such as \"Death Star\"."
34
-
field:model,types.String,"The model or official name of this starship. Such as \"T-65 X-wing\" or \"DS-1 Orbital Battle Station\"."
33
+
field:name,!types.String,"The name of this starship. The common name, such as \"Death Star\"."
34
+
field:model,!types.String,"The model or official name of this starship. Such as \"T-65 X-wing\" or \"DS-1 Orbital Battle Station\"."
35
35
36
-
field:manufacturer,types.String,"The manufacturer of this starship."
37
-
field:costInCredits,types.Float,"The cost of this starship new, in galactic credits",property: :cost_in_credits
38
-
field:length,types.Float,"The length of this starship in meters."
39
-
field:crew,types.String,"The number of personnel needed to run or pilot this starship."
40
-
field:passengers,types.String,"The number of non-essential people this starship can transport."
36
+
field:manufacturer,!types.String,"The manufacturer of this starship."
37
+
field:costInCredits,!types.Float,"The cost of this starship new, in galactic credits",property: :cost_in_credits
38
+
field:length,!types.Float,"The length of this starship in meters."
39
+
field:crew,!types.String,"The number of personnel needed to run or pilot this starship."
40
+
field:passengers,!types.String,"The number of non-essential people this starship can transport."
41
41
42
42
field:maxAtmospheringSpeed,types.Intdo
43
43
description"The maximum speed of this starship in atmosphere. null
44
44
if this starship is incapable of atmosphering flight."
45
45
property:max_atmosphering_speed
46
46
end
47
47
48
-
field:cargoCapacity,types.Floatdo
48
+
field:cargoCapacity,!types.Floatdo
49
49
description"The maximum number of kilograms that this starship can transport."
50
50
property:cargo_capacity
51
51
end
52
52
53
-
field:consumables,types.String,"The maximum length of time that this starship can provide consumables for its entire crew without having to resupply."
53
+
field:consumables,!types.String,"The maximum length of time that this starship can provide consumables for its entire crew without having to resupply."
0 commit comments