File tree Expand file tree Collapse file tree 2 files changed +25
-9
lines changed
generated-types/0.3.7.7/classes Expand file tree Collapse file tree 2 files changed +25
-9
lines changed Original file line number Diff line number Diff line change @@ -727,9 +727,13 @@ type FGDescriptor_sinkable_base = FGDescriptor_base & {
727727 mResourceSinkPoints : docs_json_ts_common_types_integer_string ,
728728} ;
729729
730- type FGEquipment = hasClassName & {
731- mEquipmentSlot : 'ES_ARMS' | 'ES_BACK' ,
730+ type FGEquipment = FGEquipment_base & {
732731 mAttachSocket : 'None' | 'hand_rSocket' | 'hand_lSocket' | 'jumpingStilt_lSocket' | 'helmetSocket' ,
732+ } ;
733+
734+ type FGEquipment_base = hasClassName & {
735+ mEquipmentSlot : 'ES_ARMS' | 'ES_BACK' ,
736+ mAttachSocket : Exclude < string , '' > ,
733737 mCostToUse : '' | docs_json_ts_0_3_7_7_properties_ItemClass_Amount_list ,
734738 mArmAnimation : 'AE_Consumables' | 'AE_OneHandEquipment' | 'AE_ChainSaw' | 'AE_Generic2Hand' | 'AE_None' | 'AE_RebarGun' | 'AE_Rifle' | 'AE_ShockShank' | 'AE_StunSpear' | 'AE_PortableMiner' | 'AE_ObjectScanner' | 'AE_ColorGun' | 'AE_Nobelisk' | 'AE_Generic1Hand' ,
735739 mBackAnimation : 'BE_None' | 'BE_Jetpack' ,
@@ -1007,6 +1011,7 @@ export type {
10071011 FGDescriptor_sinkable ,
10081012 FGDescriptor_sinkable_base ,
10091013 FGEquipment ,
1014+ FGEquipment_base ,
10101015 FGEquipment_dispenser ,
10111016 FGEquipment_has_sound ,
10121017 FGEquipmentStunSpear_base ,
Original file line number Diff line number Diff line change 26502650 }
26512651 },
26522652 "FGEquipment" : {
2653+ "type" : " object" ,
2654+ "$ref" : " #/$defs/FGEquipment--base" ,
2655+ "required" : [" mAttachSocket" ],
2656+ "properties" : {
2657+ "mAttachSocket" : {
2658+ "type" : " string" ,
2659+ "enum" : [
2660+ " None" ,
2661+ " hand_rSocket" ,
2662+ " hand_lSocket" ,
2663+ " jumpingStilt_lSocket" ,
2664+ " helmetSocket"
2665+ ]
2666+ }
2667+ }
2668+ },
2669+ "FGEquipment--base" : {
26532670 "type" : " object" ,
26542671 "$ref" : " #/$defs/hasClassName" ,
26552672 "required" : [
26682685 },
26692686 "mAttachSocket" : {
26702687 "type" : " string" ,
2671- "enum" : [
2672- " None" ,
2673- " hand_rSocket" ,
2674- " hand_lSocket" ,
2675- " jumpingStilt_lSocket" ,
2676- " helmetSocket"
2677- ]
2688+ "minLength" : 1
26782689 },
26792690 "mCostToUse" : {
26802691 "oneOf" : [
You can’t perform that action at this time.
0 commit comments