@satisfactory-dev/docs.json.ts 0.11.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common-imports.json +63 -0
- package/data-progress--common.md +38 -0
- package/data-progress--version_1_0_0_0.md +0 -0
- package/foo.log +837 -1093
- package/generated-types/1.0/classes/CoreUObject/FGAmmoTypeInstantHit.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGAmmoTypeProjectile.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGAmmoTypeSpreadshot.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildable.d.ts +10 -38
- package/generated-types/1.0/classes/CoreUObject/FGBuildableAttachmentMerger.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableAttachmentSplitter.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableBeamLightweight.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableBlueprintDesigner.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableCircuitSwitch.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableConveyorBelt.d.ts +6 -3
- package/generated-types/1.0/classes/CoreUObject/FGBuildableConveyorLift.d.ts +7 -3
- package/generated-types/1.0/classes/CoreUObject/FGBuildableCornerWall.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableCornerWallLightweight.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableDockingStation.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableDoor.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableDroneStation.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableFactory.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableFactoryBuilding.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableFactorySimpleProducer.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableFloodlight.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableFoundation.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableFoundationLightweight.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableFrackingActivator.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableFrackingExtractor.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableGenerator.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableGeneratorFuel.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableGeneratorGeoThermal.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableGeneratorNuclear.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableJumppad.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableLadder.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableLightSource.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableLightsControlPanel.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableMAM.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableManufacturer.d.ts +6 -3
- package/generated-types/1.0/classes/CoreUObject/FGBuildableManufacturerVariablePower.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePassthrough.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePassthroughPipeHyper.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePillarLightweight.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePipeHyper.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePipeReservoir.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePipeline.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePipelineJunction.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePipelinePump.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePipelineSupport.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePoleBase.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePoleLightweight.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePortal.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePortalSatellite.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePowerBooster.d.ts +6 -3
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePowerPole.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePowerStorage.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildablePriorityPowerSwitch.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableRadarTower.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableRailroadSignal.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableRailroadStation.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableRailroadTrack.d.ts +2 -11
- package/generated-types/1.0/classes/CoreUObject/FGBuildableRamp.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableRampLightweight.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableResourceExtractor.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableResourceSink.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableResourceSinkShop.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableSnowDispenser.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableSpaceElevator.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableSplitterSmart.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableStorage.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableTradingPost.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableTrainPlatform.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableTrainPlatformCargo.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableTrainPlatformEmpty.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableWalkway.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableWalkwayLightweight.d.ts +2 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableWall.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableWallLightweight.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGBuildableWaterPump.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableWidgetSign.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildableWire.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGBuildingDescriptor.d.ts +4 -8
- package/generated-types/1.0/classes/CoreUObject/FGCentralStorageContainer.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGChainsaw.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGChargedWeapon.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGConsumableDescriptor.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGConsumableEquipment.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGConveyorPoleStackable.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGCustomizationRecipe.d.ts +2 -14
- package/generated-types/1.0/classes/CoreUObject/FGEquipment.d.ts +3 -24
- package/generated-types/1.0/classes/CoreUObject/FGEquipmentDescriptor.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGEquipmentStunSpear.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGEquipmentZipline.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGGasMask.d.ts +7 -3
- package/generated-types/1.0/classes/CoreUObject/FGGolfCartDispenser.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGHoverPack.d.ts +3 -2
- package/generated-types/1.0/classes/CoreUObject/FGItemDescriptor.d.ts +6 -42
- package/generated-types/1.0/classes/CoreUObject/FGItemDescriptorBiomass.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGItemDescriptorNuclearFuel.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGItemDescriptorPowerBoosterFuel.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGJetPack.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGJumpingStilts.d.ts +3 -3
- package/generated-types/1.0/classes/CoreUObject/FGObjectScanner.d.ts +6 -2
- package/generated-types/1.0/classes/CoreUObject/FGParachute.d.ts +16 -5
- package/generated-types/1.0/classes/CoreUObject/FGPipeHyperStart.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGPoleDescriptor.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGPortableMinerDispenser.d.ts +2 -1
- package/generated-types/1.0/classes/CoreUObject/FGPowerShardDescriptor.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGRecipe.d.ts +1 -1
- package/generated-types/1.0/classes/CoreUObject/FGResourceDescriptor.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGSchematic.d.ts +6 -122
- package/generated-types/1.0/classes/CoreUObject/FGSuitBase.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGVehicleDescriptor.d.ts +2 -2
- package/generated-types/1.0/classes/CoreUObject/FGWeapon.d.ts +3 -2
- package/generated-types/1.0/common/unassigned.d.ts +2 -115
- package/generated-types/common/classes/CoreUObject/FGFauxEntry.d.ts +7 -0
- package/generated-types/common/classes/CoreUObject/FGSchematic.d.ts +74 -0
- package/generated-types/common/common/scalar.js +1 -0
- package/generated-types/common/common/unassigned.d.ts +377 -0
- package/generated-types/common/common/unassigned.js +1 -0
- package/generated-types/common/utils/validators.d.ts +14 -0
- package/generated-types/common/utils/validators.js +14 -0
- package/generated-types/update8/classes/CoreUObject/FGAmmoTypeInstantHit.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGAmmoTypeProjectile.d.ts +3 -2
- package/generated-types/update8/classes/CoreUObject/FGAmmoTypeSpreadshot.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildable.d.ts +4 -38
- package/generated-types/update8/classes/CoreUObject/FGBuildableAttachmentMerger.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableAttachmentSplitter.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableBeamLightweight.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableBlueprintDesigner.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableCircuitSwitch.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableConveyorBelt.d.ts +6 -3
- package/generated-types/update8/classes/CoreUObject/FGBuildableConveyorLift.d.ts +7 -3
- package/generated-types/update8/classes/CoreUObject/FGBuildableCornerWall.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableDockingStation.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableDoor.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableDroneStation.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableFactory.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableFactoryBuilding.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableFactorySimpleProducer.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableFloodlight.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableFoundation.d.ts +3 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableFoundationLightweight.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableFrackingActivator.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableFrackingExtractor.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableGenerator.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableGeneratorFuel.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableGeneratorGeoThermal.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableGeneratorNuclear.d.ts +3 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableJumppad.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableLadder.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableLightSource.d.ts +3 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableLightsControlPanel.d.ts +3 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableMAM.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableManufacturer.d.ts +7 -3
- package/generated-types/update8/classes/CoreUObject/FGBuildableManufacturerVariablePower.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePassthrough.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePassthroughPipeHyper.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildablePillarLightweight.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePipeHyper.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePipeReservoir.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePipeline.d.ts +3 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePipelineJunction.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildablePipelinePump.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePipelineSupport.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePoleLightweight.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePowerPole.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePowerStorage.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildablePriorityPowerSwitch.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableRadarTower.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableRailroadSignal.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableRailroadStation.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableRailroadTrack.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableRamp.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableResourceExtractor.d.ts +3 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableResourceSink.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableResourceSinkShop.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableSnowDispenser.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableSpaceElevator.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableSplitterSmart.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableStair.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableStorage.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableTradingPost.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableTrainPlatform.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableTrainPlatformCargo.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableTrainPlatformEmpty.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableWalkway.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableWalkwayLightweight.d.ts +2 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableWall.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableWallLightweight.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGBuildableWaterPump.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableWidgetSign.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildableWire.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGBuildingDescriptor.d.ts +4 -8
- package/generated-types/update8/classes/CoreUObject/FGChainsaw.d.ts +3 -2
- package/generated-types/update8/classes/CoreUObject/FGChargedWeapon.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGConsumableDescriptor.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGConsumableEquipment.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGConveyorPoleStackable.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGCustomizationRecipe.d.ts +2 -14
- package/generated-types/update8/classes/CoreUObject/FGEquipment.d.ts +4 -25
- package/generated-types/update8/classes/CoreUObject/FGEquipmentDescriptor.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGEquipmentStunSpear.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGEquipmentZipline.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGGasMask.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGGolfCartDispenser.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGHoverPack.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGItemDescriptor.d.ts +5 -42
- package/generated-types/update8/classes/CoreUObject/FGItemDescriptorBiomass.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGItemDescriptorNuclearFuel.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGJetPack.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGJumpingStilts.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGObjectScanner.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGParachute.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGPipeHyperStart.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGPoleDescriptor.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGPortableMinerDispenser.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGRecipe.d.ts +1 -1
- package/generated-types/update8/classes/CoreUObject/FGResourceDescriptor.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGSchematic.d.ts +5 -122
- package/generated-types/update8/classes/CoreUObject/FGSuitBase.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGVehicleDescriptor.d.ts +2 -2
- package/generated-types/update8/classes/CoreUObject/FGWeapon.d.ts +3 -2
- package/generated-types/update8/common/unassigned.d.ts +3 -116
- package/lib/CustomParsingTypes/TypedString.d.ts +5 -3
- package/lib/CustomParsingTypes/TypedString.js +11 -6
- package/lib/CustomParsingTypes/ValueToRegexFormatter.d.ts +7 -0
- package/lib/CustomParsingTypes/ValueToRegexFormatter.js +70 -2
- package/lib/DataDiscovery/CustomTypes/BooleanOrBooleanExtended.d.ts +2 -2
- package/lib/DataDiscovery/CustomTypes/BooleanOrBooleanExtended.js +3 -1
- package/lib/DataDiscovery/CustomTypes/TypedString.d.ts +2 -0
- package/lib/DataDiscovery/CustomTypes/TypedString.js +4 -3
- package/lib/DataDiscovery/JsonSchema/Object.d.ts +5 -2
- package/lib/DataDiscovery/JsonSchema/Object.js +35 -4
- package/lib/DataDiscovery/JsonSchema/OneOf.js +3 -0
- package/lib/DataDiscovery/JsonSchema/Ref.js +10 -2
- package/lib/DataDiscovery.js +10 -1
- package/lib/DocsSchema.d.ts +2 -0
- package/lib/DocsSchema.js +7 -0
- package/lib/DocsToAutoImport/from_Node_array.js +12 -12
- package/lib/DocsTsAutoImports.d.ts +4 -1
- package/lib/DocsTsAutoImports.js +45 -4
- package/lib/DocsTsGenerator.d.ts +9635 -10401
- package/lib/DocsTsGenerator.js +29 -6
- package/lib/DocsValidation.js +2 -0
- package/lib/StringStartsWith.d.ts +5 -0
- package/lib/StringStartsWith.js +15 -0
- package/lib/TsFactoryWrapper.js +2 -1
- package/lib/TypeDefinitionDiscovery/CustomParsingTypes/typed_string.d.ts +2 -2
- package/lib/TypeDefinitionDiscovery/CustomParsingTypes/typed_string.js +2 -2
- package/lib/TypeDefinitionDiscovery/JsonSchema/Object/ExtendsObject.d.ts +3 -3
- package/lib/TypeDefinitionDiscovery/JsonSchema/Object/ExtendsObject.js +9 -3
- package/lib/TypeDefinitionDiscovery/JsonSchema/ObjectType.d.ts +4 -2
- package/lib/TypeDefinitionDiscovery/JsonSchema/ObjectType.js +10 -2
- package/lib/TypeDefinitionDiscovery.js +56 -10
- package/lib/TypeDefinitionWriter.js +26 -6
- package/lib/TypesDiscovery/JsonSchema/$ref.d.ts +7 -0
- package/lib/TypesDiscovery/JsonSchema/$ref.js +42 -0
- package/lib/TypesDiscovery.js +7 -4
- package/lib/helpers.js +5 -0
- package/package.json +1 -1
- package/schema/1.0.schema.json +1236 -2584
- package/schema/common.schema.json +2005 -0
- package/schema/update8.schema.json +803 -2216
- package/types-progress--common.md +98 -0
- package/types-progress--update8.md +58 -47
- package/types-progress--version_1_0_0_0.md +65 -48
- package/generated-types/update8/common/scalar.d.ts +0 -7
- /package/generated-types/{1.0/common/scalar.js → common/classes/CoreUObject/FGFauxEntry.js} +0 -0
- /package/generated-types/{update8/common/scalar.js → common/classes/CoreUObject/FGSchematic.js} +0 -0
- /package/generated-types/{1.0 → common}/common/scalar.d.ts +0 -0
|
@@ -1,136 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { integer_string__type, boolean__type, decimal_string__signed__type, decimal_string__type } from '../../common/scalar';
|
|
3
|
-
import { UnrealEngineString__array__type, ItemClass__type, quaternion__type, SpecifiedColor__type, xy__type, empty_object__type, Texture2D__type, mEventType__optional_csv__type, None__type, class__type, NativeClass__type } from '../../common/unassigned';
|
|
1
|
+
import { common_base__FGSchematic__mUnlocks__type, common_base__FGSchematic__base__mSchematicDependencies__mRequireAllSchematicsToBePurchased__type, common_base__FGSchematic__base__mSchematicDependencies__mGamePhase__type, common_base__FGSchematic__base__type, NativeClass__type } from '../../../common/common/unassigned';
|
|
4
2
|
export type FGSchematic__type = FGSchematic__base__type;
|
|
5
|
-
export type FGSchematic__base__type =
|
|
6
|
-
FullName: StringPassedRegExp<'^BlueprintGeneratedClass /Game/FactoryGame/(Schematics|Events/Christmas)/'>;
|
|
3
|
+
export type FGSchematic__base__type = common_base__FGSchematic__base__type & {
|
|
7
4
|
mType: 'EST_Custom' | 'EST_ResourceSink' | 'EST_Milestone' | 'EST_Alternate' | 'EST_MAM' | 'EST_HardDrive' | 'EST_Tutorial';
|
|
8
|
-
mSubCategories: '' | [None__type, ...None__type[]] | [
|
|
9
|
-
UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Schematics/'>>,
|
|
10
|
-
...UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Schematics/'>>[]
|
|
11
|
-
];
|
|
12
|
-
mMenuPriority: decimal_string__signed__type;
|
|
13
|
-
mTechTier: integer_string__type;
|
|
14
|
-
mCost: '' | ItemClass__type;
|
|
15
|
-
mTimeToComplete: decimal_string__type;
|
|
16
|
-
mRelevantShopSchematics: '' | [
|
|
17
|
-
(UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Schematics/ResourceSink/'>> | None__type),
|
|
18
|
-
...(UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Schematics/ResourceSink/'>> | None__type)[]
|
|
19
|
-
];
|
|
20
|
-
mIsPlayerSpecific: boolean__type;
|
|
21
5
|
mUnlocks: [
|
|
22
|
-
...(FGSchematic__mUnlocks_Class__type |
|
|
6
|
+
...(FGSchematic__mUnlocks_Class__type | common_base__FGSchematic__mUnlocks__type)[]
|
|
23
7
|
];
|
|
24
|
-
mSchematicIcon: {
|
|
25
|
-
DrawAs: 'Image';
|
|
26
|
-
ImageSize: xy__type;
|
|
27
|
-
Margin: empty_object__type;
|
|
28
|
-
TintColor: SpecifiedColor__type;
|
|
29
|
-
OutlineSettings: {
|
|
30
|
-
CornerRadii: quaternion__type;
|
|
31
|
-
Color: SpecifiedColor__type;
|
|
32
|
-
RoundingType: 'HalfHeightRadius';
|
|
33
|
-
};
|
|
34
|
-
ResourceObject?: Texture2D__type;
|
|
35
|
-
UVRegion: {
|
|
36
|
-
Min: xy__type;
|
|
37
|
-
Max: xy__type;
|
|
38
|
-
bIsValid: boolean__type;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
mSmallSchematicIcon: Texture2D__type;
|
|
42
8
|
mSchematicDependencies: [
|
|
43
|
-
...({
|
|
44
|
-
Class: StringPassedRegExp<'BP_[A-Z][A-z]+_C$'>;
|
|
45
|
-
mSchematics: [
|
|
46
|
-
FGSchematic__mUnlocks_mSchematics__mSchematics__type,
|
|
47
|
-
...FGSchematic__mUnlocks_mSchematics__mSchematics__type[]
|
|
48
|
-
];
|
|
49
|
-
mRequireAllSchematicsToBePurchased: boolean__type;
|
|
50
|
-
} | {
|
|
51
|
-
Class: 'BP_GamePhaseReachedDependency_C';
|
|
9
|
+
...(common_base__FGSchematic__base__mSchematicDependencies__mRequireAllSchematicsToBePurchased__type | (common_base__FGSchematic__base__mSchematicDependencies__mGamePhase__type & {
|
|
52
10
|
mGamePhase: 'EGP_FoodCourt';
|
|
53
|
-
})[]
|
|
11
|
+
}))[]
|
|
54
12
|
];
|
|
55
|
-
mDependenciesBlocksSchematicAccess: boolean__type;
|
|
56
|
-
mHiddenUntilDependenciesMet: boolean__type;
|
|
57
|
-
mRelevantEvents: mEventType__optional_csv__type;
|
|
58
|
-
mIncludeInBuilds: 'IIB_PublicBuilds';
|
|
59
13
|
};
|
|
60
14
|
export type FGSchematic__mUnlocks_Class__type = {
|
|
61
15
|
Class: 'BP_UnlockInfoOnly_C' | 'BP_UnlockCheckmark_C' | 'BP_UnlockCustomizer_C' | 'BP_UnlockMap_C' | 'BP_UnlockBuildEfficiency_C' | 'BP_UnlockBuildOverclock_C';
|
|
62
16
|
};
|
|
63
|
-
export type FGSchematic__mUnlocks_equipment_slots__type = {
|
|
64
|
-
Class: 'BP_UnlockArmEquipmentSlot_C';
|
|
65
|
-
mNumArmEquipmentSlotsToUnlock: integer_string__type;
|
|
66
|
-
};
|
|
67
|
-
export type FGSchematic__mUnlocks_inventory_slots__type = {
|
|
68
|
-
Class: 'BP_UnlockInventorySlot_C';
|
|
69
|
-
mNumInventorySlotsToUnlock: integer_string__type;
|
|
70
|
-
};
|
|
71
|
-
export type FGSchematic__mUnlocks_mEmotes__type = {
|
|
72
|
-
Class: 'BP_UnlockEmote_C';
|
|
73
|
-
mEmotes: UnrealEngineString__array__type;
|
|
74
|
-
};
|
|
75
|
-
export type FGSchematic__mUnlocks_mItemsToGive__type = {
|
|
76
|
-
Class: 'BP_UnlockGiveItem_C';
|
|
77
|
-
mItemsToGive: ItemClass__type;
|
|
78
|
-
};
|
|
79
|
-
export type FGSchematic__mUnlocks_mRecipes__type = {
|
|
80
|
-
Class: 'BP_UnlockRecipe_C' | 'BP_UnlockBlueprints_C';
|
|
81
|
-
mRecipes: UnrealEngineString__array__type;
|
|
82
|
-
};
|
|
83
|
-
export type FGSchematic__mUnlocks_mScannableObjects__type = {
|
|
84
|
-
Class: 'BP_UnlockScannableObject_C';
|
|
85
|
-
mScannableObjects: [
|
|
86
|
-
{
|
|
87
|
-
ItemDescriptor: UnrealEngineString;
|
|
88
|
-
ActorsAllowedToScan: [
|
|
89
|
-
UnrealEngineString<'/Script/CoreUObject.Class'>,
|
|
90
|
-
...UnrealEngineString<'/Script/CoreUObject.Class'>[]
|
|
91
|
-
];
|
|
92
|
-
},
|
|
93
|
-
...{
|
|
94
|
-
ItemDescriptor: UnrealEngineString;
|
|
95
|
-
ActorsAllowedToScan: [
|
|
96
|
-
UnrealEngineString<'/Script/CoreUObject.Class'>,
|
|
97
|
-
...UnrealEngineString<'/Script/CoreUObject.Class'>[]
|
|
98
|
-
];
|
|
99
|
-
}[]
|
|
100
|
-
];
|
|
101
|
-
};
|
|
102
|
-
export type FGSchematic__mUnlocks_mSchematics__type = {
|
|
103
|
-
Class: 'BP_UnlockSchematic_C';
|
|
104
|
-
mSchematics: [
|
|
105
|
-
FGSchematic__mUnlocks_mSchematics__mSchematics__type,
|
|
106
|
-
...FGSchematic__mUnlocks_mSchematics__mSchematics__type[]
|
|
107
|
-
];
|
|
108
|
-
};
|
|
109
|
-
export type FGSchematic__mUnlocks_mSchematics__mSchematics__type = UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Schematics/' | '/Game/FactoryGame/Events/Christmas/'>>;
|
|
110
|
-
export type FGSchematic__mUnlocks_mTapeUnlocks__type = {
|
|
111
|
-
Class: 'FGUnlockTape';
|
|
112
|
-
mTapeUnlocks: [
|
|
113
|
-
UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Resource/Tape/'>>,
|
|
114
|
-
...UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Resource/Tape/'>>[]
|
|
115
|
-
];
|
|
116
|
-
};
|
|
117
|
-
export type FGSchematic__mUnlocks_resources_to_scan__type = {
|
|
118
|
-
Class: 'BP_UnlockScannableResource_C';
|
|
119
|
-
mResourcesToAddToScanner: '' | [
|
|
120
|
-
UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Resource/'>>,
|
|
121
|
-
...UnrealEngineString<'/Script/Engine.BlueprintGeneratedClass', StringStartsWith<'/Game/FactoryGame/Resource/'>>[]
|
|
122
|
-
];
|
|
123
|
-
mResourcePairsToAddToScanner: [
|
|
124
|
-
{
|
|
125
|
-
ResourceDescriptor: UnrealEngineString;
|
|
126
|
-
ResourceNodeType?: 'FrackingCore' | 'Geyser';
|
|
127
|
-
},
|
|
128
|
-
...{
|
|
129
|
-
ResourceDescriptor: UnrealEngineString;
|
|
130
|
-
ResourceNodeType?: 'FrackingCore' | 'Geyser';
|
|
131
|
-
}[]
|
|
132
|
-
];
|
|
133
|
-
};
|
|
134
17
|
export type FGSchematic__with_unlocks__type = FGSchematic__base__type & {
|
|
135
18
|
mUnlockName: Exclude<string, ''>;
|
|
136
19
|
mUnlockDescription: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UnrealEngineString, StringStartsWith } from '../../utils/validators';
|
|
2
|
-
import { decimal_string__type, boolean__type } from '../../common/scalar';
|
|
3
2
|
import { FGEquipment__base__type } from './FGEquipment';
|
|
4
|
-
import {
|
|
3
|
+
import { decimal_string__type, boolean__type } from '../../../common/common/scalar';
|
|
4
|
+
import { NativeClass__type } from '../../../common/common/unassigned';
|
|
5
5
|
export type FGSuitBase__type = FGEquipment__base__type & {
|
|
6
6
|
mImmunity: decimal_string__type;
|
|
7
7
|
mIsWorking: boolean__type;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { decimal_string__type, integer_string__type } from '../../common/scalar';
|
|
2
1
|
import { FGItemDescriptor__FGResourceDescriptor__FGPoleDescriptor__type } from './FGItemDescriptor';
|
|
3
|
-
import {
|
|
2
|
+
import { decimal_string__type, integer_string__type } from '../../../common/common/scalar';
|
|
3
|
+
import { NativeClass__type } from '../../../common/common/unassigned';
|
|
4
4
|
export type FGVehicleDescriptor__fueled_with_inventory__type = FGVehicleDescriptor__with_inventory__type & {
|
|
5
5
|
mFuelConsumption: decimal_string__type;
|
|
6
6
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { boolean__type, decimal_string__type, integer_string__type } from '../../common/scalar';
|
|
1
|
+
import { weaponState__type } from '../../common/unassigned';
|
|
3
2
|
import { FGEquipment__base__type } from './FGEquipment';
|
|
3
|
+
import { empty_object__type, UnrealEngineString__array__type, NativeClass__type } from '../../../common/common/unassigned';
|
|
4
|
+
import { boolean__type, decimal_string__type, integer_string__type } from '../../../common/common/scalar';
|
|
4
5
|
export type FGWeapon__base__type = FGEquipment__base__type & {
|
|
5
6
|
mShowCycleAmmoRadialMenuTimer: empty_object__type;
|
|
6
7
|
mOnWeaponStateChanged: empty_object__type;
|
|
@@ -1,27 +1,7 @@
|
|
|
1
|
-
import { UnrealEngineString
|
|
2
|
-
import { integer_string__type, decimal_string__type, decimal_string__signed__type, boolean__type } from './scalar';
|
|
1
|
+
import { UnrealEngineString } from '../utils/validators';
|
|
3
2
|
import { FGBuildableResourceExtractor__miner__base__type } from '../classes/CoreUObject/FGBuildableResourceExtractor';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export type class__no_description__type = class__no_description_or_display_name__type & {
|
|
8
|
-
mDisplayName: string;
|
|
9
|
-
};
|
|
10
|
-
export type class__no_description_or_display_name__type = {
|
|
11
|
-
ClassName: Exclude<string, ''>;
|
|
12
|
-
};
|
|
13
|
-
export type color__type = {
|
|
14
|
-
B: integer_string__type;
|
|
15
|
-
G: integer_string__type;
|
|
16
|
-
R: integer_string__type;
|
|
17
|
-
A: integer_string__type;
|
|
18
|
-
};
|
|
19
|
-
export type color_decimal__type = {
|
|
20
|
-
R: decimal_string__type;
|
|
21
|
-
G: decimal_string__type;
|
|
22
|
-
B: decimal_string__type;
|
|
23
|
-
A: decimal_string__type;
|
|
24
|
-
};
|
|
3
|
+
import { decimal_string__type, boolean__type } from '../../common/common/scalar';
|
|
4
|
+
import { InfinityExtrap__type, None__type, empty_object__type } from '../../common/common/unassigned';
|
|
25
5
|
export type EditorCurveData__type = {
|
|
26
6
|
EditorCurveData: {
|
|
27
7
|
DefaultValue: decimal_string__type;
|
|
@@ -30,42 +10,14 @@ export type EditorCurveData__type = {
|
|
|
30
10
|
};
|
|
31
11
|
ExternalCurve?: UnrealEngineString<'/Script/Engine.CurveFloat', '/Game/FactoryGame/Resource/Parts/SpikedRebar/SpikedRebar_Falloff.SpikedRebar_Falloff' | '/Game/FactoryGame/Resource/Parts/CartridgeStandard/LinearDamageFalloff.LinearDamageFalloff'>;
|
|
32
12
|
};
|
|
33
|
-
export type empty_object__type = '()';
|
|
34
13
|
export type FGBuildableResourceExtractor__miner_mk3__type = FGBuildableResourceExtractor__miner__base__type & {
|
|
35
14
|
mInternalMiningState_0: 'NewEnumerator0';
|
|
36
15
|
mToggleMiningStateHandle_0: empty_object__type;
|
|
37
16
|
mMinimumDrillTime_0: decimal_string__type;
|
|
38
17
|
mMaximumDrillTime_0: decimal_string__type;
|
|
39
18
|
};
|
|
40
|
-
export type InfinityExtrap__type = 'RCCE_Constant';
|
|
41
|
-
export type ItemClass__type = [
|
|
42
|
-
{
|
|
43
|
-
ItemClass: UnrealEngineString;
|
|
44
|
-
Amount?: integer_string__type;
|
|
45
|
-
},
|
|
46
|
-
...{
|
|
47
|
-
ItemClass: UnrealEngineString;
|
|
48
|
-
Amount?: integer_string__type;
|
|
49
|
-
}[]
|
|
50
|
-
];
|
|
51
|
-
export type ItemClass__amount_required__type = [
|
|
52
|
-
{
|
|
53
|
-
ItemClass: UnrealEngineString;
|
|
54
|
-
Amount: integer_string__type;
|
|
55
|
-
},
|
|
56
|
-
...{
|
|
57
|
-
ItemClass: UnrealEngineString;
|
|
58
|
-
Amount: integer_string__type;
|
|
59
|
-
}[]
|
|
60
|
-
];
|
|
61
|
-
export type mAspect__type = 'RSA_None';
|
|
62
19
|
export type MaterialSlotName__type = 'lambert1' | 'lambert10' | 'lambert9_001' | 'lambert2' | 'Material_002' | 'Material_003' | 'Rocket1' | 'Rocket2' | 'Rifle' | '01 - Default';
|
|
63
|
-
export type mBatteryStatus__type = 'BS_Idle';
|
|
64
20
|
export type mChainsawState__type = None__type;
|
|
65
|
-
export type mDamageTypes__type = [
|
|
66
|
-
UnrealEngineString<'/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_PointDamageType_Energy.BP_PointDamageType_Energy_C' | '/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_PointDamageType_Gas.BP_PointDamageType_Gas_C' | '/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_RadialDamageType_Gas.BP_RadialDamageType_Gas_C' | '/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_PointDamageType_Physical.BP_PointDamageType_Physical_C' | '/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_RadialDamageType_Explosive.BP_RadialDamageType_Explosive_C'>,
|
|
67
|
-
...UnrealEngineString<'/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_PointDamageType_Energy.BP_PointDamageType_Energy_C' | '/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_PointDamageType_Gas.BP_PointDamageType_Gas_C' | '/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_RadialDamageType_Gas.BP_RadialDamageType_Gas_C' | '/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_PointDamageType_Physical.BP_PointDamageType_Physical_C' | '/Game/FactoryGame/-Shared/Blueprint/DamageTypes/BP_RadialDamageType_Explosive.BP_RadialDamageType_Explosive_C'>[]
|
|
68
|
-
];
|
|
69
21
|
export type mDisableSnapOn__type = {
|
|
70
22
|
Front: boolean__type;
|
|
71
23
|
Right: boolean__type;
|
|
@@ -178,74 +130,9 @@ export type mDisableSnapOn__type = {
|
|
|
178
130
|
Left: boolean__type;
|
|
179
131
|
Top: boolean__type;
|
|
180
132
|
};
|
|
181
|
-
export type mDockingRuleSet__type = {
|
|
182
|
-
DockForDuration: decimal_string__type;
|
|
183
|
-
};
|
|
184
|
-
export type mEventType__type = 'EV_Christmas';
|
|
185
|
-
export type mEventType__optional_csv__type = '' | [mEventType__type, ...mEventType__type[]];
|
|
186
|
-
export type mForm__type = 'RF_SOLID' | 'RF_LIQUID' | 'RF_GAS' | 'RF_INVALID';
|
|
187
133
|
export type mLightControlData__type = {
|
|
188
134
|
Intensity: decimal_string__type;
|
|
189
135
|
};
|
|
190
136
|
export type mOutputInventoryHandlerData__type = empty_object__type;
|
|
191
|
-
export type mPlatformDockingStatus__type = 'ETPDS_None';
|
|
192
137
|
export type mSnappedPassthroughs__type = '';
|
|
193
|
-
export type NativeClass__type = {
|
|
194
|
-
NativeClass: UnrealEngineString<'/Script/CoreUObject.Class', StringStartsWith<'/Script/FactoryGame.FG'>>;
|
|
195
|
-
};
|
|
196
|
-
export type None__type = 'None';
|
|
197
|
-
export type pitch_yaw_roll__type = {
|
|
198
|
-
Pitch: decimal_string__signed__type;
|
|
199
|
-
Yaw: decimal_string__signed__type;
|
|
200
|
-
Roll: decimal_string__signed__type;
|
|
201
|
-
};
|
|
202
|
-
export type quaternion__type = {
|
|
203
|
-
X: decimal_string__signed__type;
|
|
204
|
-
Y: decimal_string__signed__type;
|
|
205
|
-
Z: decimal_string__signed__type;
|
|
206
|
-
W: decimal_string__type;
|
|
207
|
-
};
|
|
208
|
-
export type SpecifiedColor__type = {
|
|
209
|
-
SpecifiedColor: color_decimal__type;
|
|
210
|
-
};
|
|
211
|
-
export type Texture2D__type = StringStartsWith<'Texture2D /Game/FactoryGame/'> | None__type | UnrealEngineString<'/Script/Engine.Texture2D'>;
|
|
212
|
-
export type transformation__type = {
|
|
213
|
-
Rotation: quaternion__type;
|
|
214
|
-
Translation: xyz__type;
|
|
215
|
-
Scale3D: xyz__type;
|
|
216
|
-
};
|
|
217
|
-
export type UnrealEngineString__array__type = [
|
|
218
|
-
UnrealEngineString,
|
|
219
|
-
...UnrealEngineString[]
|
|
220
|
-
];
|
|
221
138
|
export type weaponState__type = 'EWS_Unequipped';
|
|
222
|
-
export type xy__type = {
|
|
223
|
-
X: decimal_string__signed__type;
|
|
224
|
-
Y: decimal_string__signed__type;
|
|
225
|
-
};
|
|
226
|
-
export type xy__integer__type = {
|
|
227
|
-
X: integer_string__type;
|
|
228
|
-
Y: integer_string__type;
|
|
229
|
-
};
|
|
230
|
-
export type xyz__type = {
|
|
231
|
-
X: decimal_string__signed__type;
|
|
232
|
-
Y: decimal_string__signed__type;
|
|
233
|
-
Z: decimal_string__signed__type;
|
|
234
|
-
};
|
|
235
|
-
export type xyz__integer__type = {
|
|
236
|
-
X: integer_string__type;
|
|
237
|
-
Y: integer_string__type;
|
|
238
|
-
Z: integer_string__type;
|
|
239
|
-
};
|
|
240
|
-
export type xyz_array__type = [
|
|
241
|
-
{
|
|
242
|
-
X: decimal_string__type;
|
|
243
|
-
Y: decimal_string__signed__type;
|
|
244
|
-
Z: decimal_string__signed__type;
|
|
245
|
-
},
|
|
246
|
-
...{
|
|
247
|
-
X: decimal_string__type;
|
|
248
|
-
Y: decimal_string__signed__type;
|
|
249
|
-
Z: decimal_string__signed__type;
|
|
250
|
-
}[]
|
|
251
|
-
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Ajv, { SchemaObject } from 'ajv/dist/2020';
|
|
2
|
-
import { local_ref } from '../StringStartsWith';
|
|
2
|
+
import { common_ref, local_ref } from '../StringStartsWith';
|
|
3
3
|
import { UnrealEngineString_parent_type } from './UnrealEngineString';
|
|
4
4
|
import { const_schema_type } from './TypedStringConst';
|
|
5
5
|
import { enum_schema_type } from './TypedStringEnum';
|
|
@@ -70,7 +70,7 @@ export declare const pattern_properties_schema: {
|
|
|
70
70
|
export declare function generate_object_parent_schema(): {
|
|
71
71
|
$ref: string;
|
|
72
72
|
};
|
|
73
|
-
export declare function generate_typed_string_$defs($defs: local_ref<string>[]): {
|
|
73
|
+
export declare function generate_typed_string_$defs($defs: local_ref<string>[], common_$defs: common_ref<string>[]): {
|
|
74
74
|
typed_string_subtypes: {
|
|
75
75
|
oneOf: ({
|
|
76
76
|
type: string;
|
|
@@ -205,7 +205,7 @@ export declare function generate_typed_string_$defs($defs: local_ref<string>[]):
|
|
|
205
205
|
properties: {
|
|
206
206
|
$ref: {
|
|
207
207
|
type: string;
|
|
208
|
-
enum: `#/$defs/${string}`[];
|
|
208
|
+
enum: (`#/$defs/${string}` | `common.schema.json#/$defs/${string}`)[];
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
211
|
$ref?: undefined;
|
|
@@ -431,6 +431,8 @@ export declare class TypedString {
|
|
|
431
431
|
protected constructor();
|
|
432
432
|
configure_ajv($defs: {
|
|
433
433
|
[key: string]: SchemaObject;
|
|
434
|
+
}, common_$defs: {
|
|
435
|
+
[key: string]: SchemaObject;
|
|
434
436
|
}, ajv: Ajv): void;
|
|
435
437
|
static instance(): TypedString;
|
|
436
438
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { local_ref, } from '../StringStartsWith';
|
|
1
|
+
import { common_ref, local_ref, } from '../StringStartsWith';
|
|
2
2
|
import { UnrealEngineString_parent_schema, UnrealEngineString_schema_definitions, } from './UnrealEngineString';
|
|
3
3
|
import { typed_string_const_schema, } from './TypedStringConst';
|
|
4
4
|
import { ValueToRegexFormatter, } from './ValueToRegexFormatter';
|
|
@@ -31,7 +31,7 @@ export const pattern_properties_schema = {
|
|
|
31
31
|
export function generate_object_parent_schema() {
|
|
32
32
|
return { $ref: '#/$defs/typed_string_parent_type' };
|
|
33
33
|
}
|
|
34
|
-
export function generate_typed_string_$defs($defs) {
|
|
34
|
+
export function generate_typed_string_$defs($defs, common_$defs) {
|
|
35
35
|
return {
|
|
36
36
|
...UnrealEngineString_schema_definitions,
|
|
37
37
|
typed_string_subtypes: {
|
|
@@ -43,7 +43,10 @@ export function generate_typed_string_$defs($defs) {
|
|
|
43
43
|
properties: {
|
|
44
44
|
$ref: {
|
|
45
45
|
type: 'string',
|
|
46
|
-
enum:
|
|
46
|
+
enum: [
|
|
47
|
+
...$defs,
|
|
48
|
+
...common_$defs,
|
|
49
|
+
],
|
|
47
50
|
},
|
|
48
51
|
},
|
|
49
52
|
},
|
|
@@ -169,14 +172,16 @@ export class TypedString {
|
|
|
169
172
|
static _instance;
|
|
170
173
|
constructor() {
|
|
171
174
|
}
|
|
172
|
-
configure_ajv($defs, ajv) {
|
|
175
|
+
configure_ajv($defs, common_$defs, ajv) {
|
|
173
176
|
if (this.already_configured.has(ajv)) {
|
|
174
177
|
return;
|
|
175
178
|
}
|
|
176
179
|
const local_refs = Object.keys($defs).map(local_ref);
|
|
180
|
+
const common_refs = Object.keys(common_$defs).map(common_ref);
|
|
181
|
+
local_refs.push(...common_refs.map((e) => e.substring(18)));
|
|
177
182
|
this.already_configured.add(ajv);
|
|
178
183
|
const meta_schema = {
|
|
179
|
-
$defs: generate_typed_string_$defs(local_refs),
|
|
184
|
+
$defs: generate_typed_string_$defs(local_refs, common_refs),
|
|
180
185
|
oneOf: [
|
|
181
186
|
{ $ref: '#/$defs/typed_string_object_type' },
|
|
182
187
|
{ $ref: '#/$defs/typed_string_object_pattern_type' },
|
|
@@ -184,7 +189,7 @@ export class TypedString {
|
|
|
184
189
|
{ $ref: '#/$defs/typed_string_prefixItems_type' },
|
|
185
190
|
],
|
|
186
191
|
};
|
|
187
|
-
const formatter = new ValueToRegexFormatter($defs);
|
|
192
|
+
const formatter = new ValueToRegexFormatter($defs, common_$defs);
|
|
188
193
|
ajv.addKeyword({
|
|
189
194
|
keyword: 'typed_string',
|
|
190
195
|
type: 'string',
|
|
@@ -5,17 +5,24 @@ export declare class ValueToRegexFormatter {
|
|
|
5
5
|
private typed_string_pattern_general;
|
|
6
6
|
private UnrealEngineString;
|
|
7
7
|
private readonly $defs;
|
|
8
|
+
private readonly common_$defs;
|
|
8
9
|
private readonly supported_$ref_object;
|
|
10
|
+
private readonly supported_common_$ref_object;
|
|
9
11
|
constructor($defs: {
|
|
10
12
|
[key: string]: SchemaObject;
|
|
13
|
+
}, common_$defs: {
|
|
14
|
+
[key: string]: SchemaObject;
|
|
11
15
|
});
|
|
12
16
|
pattern_from_value(value: unknown): {
|
|
13
17
|
pattern: string;
|
|
14
18
|
};
|
|
15
19
|
private is_supported_$ref_object;
|
|
20
|
+
private is_supported_common_$ref_object;
|
|
21
|
+
private is_supported_common_$ref_object_aliased;
|
|
16
22
|
private is_supported_definition;
|
|
17
23
|
private is_Texture2D_basic;
|
|
18
24
|
private prepare_$ref_regex;
|
|
25
|
+
private prepare_common_$ref_regex;
|
|
19
26
|
private Texture2D_basic_regex;
|
|
20
27
|
private typed_string_array_inner_to_regex;
|
|
21
28
|
private typed_string_object_inner_to_regex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { is_non_empty_array, is_string, object_has_non_empty_array_property, object_has_property, object_has_property_that_equals, object_only_has_that_property, value_is_non_array_object, } from '@satisfactory-dev/predicates.ts';
|
|
2
2
|
import { annoyingly_have_to_escape_property, } from './CustomPairingTypes';
|
|
3
|
-
import { local_ref, } from '../StringStartsWith';
|
|
3
|
+
import { common_ref, local_ref, } from '../StringStartsWith';
|
|
4
4
|
import { NoMatchError, } from '../Exceptions';
|
|
5
5
|
import { is_UnrealEngineString_parent, UnrealEngineString, } from './UnrealEngineString';
|
|
6
6
|
import { typed_string_const, } from './TypedStringConst';
|
|
@@ -15,14 +15,20 @@ export class ValueToRegexFormatter {
|
|
|
15
15
|
typed_string_pattern_general;
|
|
16
16
|
UnrealEngineString;
|
|
17
17
|
$defs;
|
|
18
|
+
common_$defs;
|
|
18
19
|
supported_$ref_object;
|
|
19
|
-
|
|
20
|
+
// eslint-disable-next-line max-len
|
|
21
|
+
supported_common_$ref_object;
|
|
22
|
+
constructor($defs, common_$defs) {
|
|
20
23
|
this.$defs = $defs;
|
|
24
|
+
this.common_$defs = common_$defs;
|
|
21
25
|
this.UnrealEngineString = UnrealEngineString.ajv_macro_generator(true);
|
|
22
26
|
this.typed_string_const = typed_string_const;
|
|
23
27
|
this.typed_string_enum = typed_string_enum;
|
|
24
28
|
this.typed_string_pattern_general = typed_string_pattern_general;
|
|
25
29
|
this.supported_$ref_object = this.prepare_$ref_regex($defs);
|
|
30
|
+
// eslint-disable-next-line max-len
|
|
31
|
+
this.supported_common_$ref_object = this.prepare_common_$ref_regex(common_$defs);
|
|
26
32
|
}
|
|
27
33
|
pattern_from_value(value) {
|
|
28
34
|
return {
|
|
@@ -33,6 +39,17 @@ export class ValueToRegexFormatter {
|
|
|
33
39
|
return (object_only_has_that_property(maybe, '$ref', is_string)
|
|
34
40
|
&& object_has_property(this.supported_$ref_object, maybe.$ref));
|
|
35
41
|
}
|
|
42
|
+
is_supported_common_$ref_object(maybe) {
|
|
43
|
+
return (object_only_has_that_property(maybe, '$ref', is_string)
|
|
44
|
+
&& object_has_property(this.supported_common_$ref_object, maybe.$ref));
|
|
45
|
+
}
|
|
46
|
+
is_supported_common_$ref_object_aliased(maybe) {
|
|
47
|
+
return (object_only_has_that_property(maybe, '$ref', is_string)
|
|
48
|
+
&& !this.is_supported_$ref_object(maybe)
|
|
49
|
+
&& !this.is_supported_common_$ref_object(maybe)
|
|
50
|
+
&& maybe.$ref.startsWith('#/$defs/')
|
|
51
|
+
&& object_has_property(this.supported_common_$ref_object, `common.schema.json${maybe.$ref}`));
|
|
52
|
+
}
|
|
36
53
|
is_supported_definition(maybe) {
|
|
37
54
|
return (this.typed_string_const.is_supported_schema(maybe)
|
|
38
55
|
|| this.typed_string_enum.is_supported_schema(maybe)
|
|
@@ -61,6 +78,17 @@ export class ValueToRegexFormatter {
|
|
|
61
78
|
];
|
|
62
79
|
}));
|
|
63
80
|
}
|
|
81
|
+
prepare_common_$ref_regex($defs) {
|
|
82
|
+
return Object.fromEntries(Object.entries($defs)
|
|
83
|
+
.filter(maybe => {
|
|
84
|
+
return this.is_supported_definition(maybe[1]);
|
|
85
|
+
}).map(entry => {
|
|
86
|
+
return [
|
|
87
|
+
common_ref(entry[0]),
|
|
88
|
+
this.value_to_regex(entry[1]),
|
|
89
|
+
];
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
64
92
|
Texture2D_basic_regex() {
|
|
65
93
|
return `(?:Texture2D \\/Game\\/FactoryGame\\/(?:[A-Z][A-Za-z0-9_.]+/)*[A-Z][A-Za-z_.0-9-]+(?::[A-Z][A-Za-z0-9]+)?)`;
|
|
66
94
|
}
|
|
@@ -102,6 +130,12 @@ export class ValueToRegexFormatter {
|
|
|
102
130
|
else if (this.is_supported_$ref_object(value)) {
|
|
103
131
|
return this.supported_$ref_object[value.$ref];
|
|
104
132
|
}
|
|
133
|
+
else if (this.is_supported_common_$ref_object(value)) {
|
|
134
|
+
return this.supported_common_$ref_object[value.$ref];
|
|
135
|
+
}
|
|
136
|
+
else if (this.is_supported_common_$ref_object_aliased(value)) {
|
|
137
|
+
return this.supported_common_$ref_object[`common.schema.json${value.$ref}`];
|
|
138
|
+
}
|
|
105
139
|
else if (this.typed_string_const.is_supported_schema(value)) {
|
|
106
140
|
return this.typed_string_const.value_regex(value);
|
|
107
141
|
}
|
|
@@ -130,6 +164,26 @@ export class ValueToRegexFormatter {
|
|
|
130
164
|
.map((e) => this.value_to_regex(e))
|
|
131
165
|
.join('|')})`;
|
|
132
166
|
}
|
|
167
|
+
else if (object_only_has_that_property(value, '$ref', is_string)
|
|
168
|
+
&& value.$ref.startsWith('common.schema.json#/$defs/')
|
|
169
|
+
&& value.$ref.substring(26) in this.common_$defs
|
|
170
|
+
&& object_only_has_that_property(this.common_$defs[value.$ref.substring(26)], 'oneOf')
|
|
171
|
+
&& is_non_empty_array(this.common_$defs[value.$ref.substring(26)].oneOf, value_is_non_array_object)) {
|
|
172
|
+
const oneOf = this.common_$defs[value.$ref.substring(26)].oneOf;
|
|
173
|
+
return `(?:${oneOf
|
|
174
|
+
.map((e) => this.value_to_regex(e))
|
|
175
|
+
.join('|')})`;
|
|
176
|
+
}
|
|
177
|
+
else if (object_only_has_that_property(value, '$ref', is_string)
|
|
178
|
+
&& value.$ref.startsWith('#/$defs/')
|
|
179
|
+
&& value.$ref.substring(8) in this.common_$defs
|
|
180
|
+
&& object_only_has_that_property(this.common_$defs[value.$ref.substring(8)], 'oneOf')
|
|
181
|
+
&& is_non_empty_array(this.common_$defs[value.$ref.substring(8)].oneOf, value_is_non_array_object)) {
|
|
182
|
+
const oneOf = this.common_$defs[value.$ref.substring(8)].oneOf;
|
|
183
|
+
return `(?:${oneOf
|
|
184
|
+
.map((e) => this.value_to_regex(e))
|
|
185
|
+
.join('|')})`;
|
|
186
|
+
}
|
|
133
187
|
else if (undefined === this.supported_$ref_object
|
|
134
188
|
&& object_only_has_that_property(value, '$ref', is_string)
|
|
135
189
|
&& value.$ref.startsWith('#/$defs/')
|
|
@@ -137,6 +191,20 @@ export class ValueToRegexFormatter {
|
|
|
137
191
|
&& this.is_supported_definition(this.$defs[value.$ref.substring(8)])) {
|
|
138
192
|
return this.value_to_regex(this.$defs[value.$ref.substring(8)]);
|
|
139
193
|
}
|
|
194
|
+
else if (undefined === this.supported_common_$ref_object
|
|
195
|
+
&& object_only_has_that_property(value, '$ref', is_string)
|
|
196
|
+
&& value.$ref.startsWith('common.schema.json#/$defs/')
|
|
197
|
+
&& value.$ref.substring(26) in this.common_$defs
|
|
198
|
+
&& this.is_supported_definition(this.common_$defs[value.$ref.substring(26)])) {
|
|
199
|
+
return this.value_to_regex(this.common_$defs[value.$ref.substring(26)]);
|
|
200
|
+
}
|
|
201
|
+
else if (undefined === this.supported_common_$ref_object
|
|
202
|
+
&& object_only_has_that_property(value, '$ref', is_string)
|
|
203
|
+
&& value.$ref.startsWith('#/$defs/')
|
|
204
|
+
&& value.$ref.substring(8) in this.common_$defs
|
|
205
|
+
&& this.is_supported_definition(this.common_$defs[value.$ref.substring(8)])) {
|
|
206
|
+
return this.value_to_regex(this.common_$defs[value.$ref.substring(8)]);
|
|
207
|
+
}
|
|
140
208
|
else if (this.is_Texture2D_basic(value)) {
|
|
141
209
|
return this.Texture2D_basic_regex();
|
|
142
210
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Ajv, { SchemaObject } from 'ajv/dist/2020';
|
|
2
|
-
import { local_ref } from '../../StringStartsWith';
|
|
2
|
+
import { common_ref, local_ref } from '../../StringStartsWith';
|
|
3
3
|
import { ConverterMatchesSchema, ExpressionResult } from '../Generator';
|
|
4
4
|
import { FalseLiteral, NullLiteral, TrueLiteral } from 'typescript';
|
|
5
5
|
export type schema_type = SchemaObject & {
|
|
6
|
-
$ref: local_ref<'boolean' | 'boolean-extended'
|
|
6
|
+
$ref: (local_ref<'boolean' | 'boolean-extended'> | common_ref<'boolean' | 'boolean-extended'>);
|
|
7
7
|
};
|
|
8
8
|
export declare class BooleanConverter extends ConverterMatchesSchema<schema_type, 'True' | 'False' | '', TrueLiteral | FalseLiteral | NullLiteral> {
|
|
9
9
|
constructor(ajv: Ajv);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { local_ref, } from '../../StringStartsWith';
|
|
1
|
+
import { common_ref, local_ref, } from '../../StringStartsWith';
|
|
2
2
|
import { ConverterMatchesSchema, ExpressionResult, } from '../Generator';
|
|
3
3
|
import ts from 'typescript';
|
|
4
4
|
const schema = {
|
|
@@ -9,6 +9,8 @@ const schema = {
|
|
|
9
9
|
$ref: { type: 'string', enum: [
|
|
10
10
|
local_ref('boolean'),
|
|
11
11
|
local_ref('boolean-extended'),
|
|
12
|
+
common_ref('boolean'),
|
|
13
|
+
common_ref('boolean-extended'),
|
|
12
14
|
] },
|
|
13
15
|
},
|
|
14
16
|
};
|
|
@@ -9,6 +9,8 @@ export declare class TypedStringConverter extends ConverterMatchesSchema<typed_s
|
|
|
9
9
|
private readonly regex_schema_cache;
|
|
10
10
|
constructor(discovery: DataDiscovery, $defs: {
|
|
11
11
|
[key: string]: SchemaObject;
|
|
12
|
+
}, common_$defs: {
|
|
13
|
+
[key: string]: SchemaObject;
|
|
12
14
|
});
|
|
13
15
|
can_convert_schema_and_raw_data(schema: SchemaObject, raw_data: unknown): Promise<boolean>;
|
|
14
16
|
convert(schema: typed_string_parent_type, raw_data: string): Promise<ExpressionResult<ArrayLiteralExpression | ObjectLiteralExpression>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { is_string, } from '@satisfactory-dev/predicates.ts';
|
|
2
2
|
import { Converter, ConverterMatchesSchema, ExpressionResult, } from '../Generator';
|
|
3
3
|
import { generate_object_parent_schema, generate_typed_string_$defs, } from '../../CustomParsingTypes/TypedString';
|
|
4
|
-
import { local_ref, } from '../../StringStartsWith';
|
|
4
|
+
import { common_ref, local_ref, } from '../../StringStartsWith';
|
|
5
5
|
import { NoMatchError, } from '../../Exceptions';
|
|
6
6
|
import { string_to_array, string_to_object, } from '../../DocsValidation';
|
|
7
7
|
import { compile, } from '@satisfactory-dev/ajv-utilities';
|
|
@@ -11,13 +11,14 @@ export class TypedStringConverter extends ConverterMatchesSchema {
|
|
|
11
11
|
$defs;
|
|
12
12
|
discovery;
|
|
13
13
|
regex_schema_cache = {};
|
|
14
|
-
constructor(discovery, $defs) {
|
|
14
|
+
constructor(discovery, $defs, common_$defs) {
|
|
15
15
|
const local_refs = Object.keys($defs).map(local_ref);
|
|
16
|
+
const common_refs = Object.keys(common_$defs).map(common_ref);
|
|
16
17
|
super(discovery.docs.ajv, {
|
|
17
18
|
...generate_object_parent_schema(),
|
|
18
19
|
$defs: {
|
|
19
20
|
...$defs,
|
|
20
|
-
...generate_typed_string_$defs(local_refs),
|
|
21
|
+
...generate_typed_string_$defs(local_refs, common_refs),
|
|
21
22
|
},
|
|
22
23
|
});
|
|
23
24
|
this.discovery = discovery;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Converter, ConverterMatchesSchema, ExpressionResult } from '../Generator';
|
|
2
2
|
import { DataDiscovery } from '../../DataDiscovery';
|
|
3
3
|
import { SchemaObject } from 'ajv/dist/2020';
|
|
4
|
-
import { local_ref } from '../../StringStartsWith';
|
|
4
|
+
import { common_ref, local_ref } from '../../StringStartsWith';
|
|
5
5
|
import { Expression, ObjectLiteralExpression } from 'typescript';
|
|
6
6
|
import { typed_string_inner_object_pattern_type } from '../../CustomParsingTypes/TypedString';
|
|
7
7
|
export type schema_type = {
|
|
@@ -38,7 +38,10 @@ declare abstract class ObjectConverterMatchesSchema<Schema extends SchemaObject,
|
|
|
38
38
|
protected resolve_converters_for_$ref($ref: local_ref<string>): Promise<{
|
|
39
39
|
[key: string]: Converter<SchemaObject>;
|
|
40
40
|
}>;
|
|
41
|
-
protected
|
|
41
|
+
protected resolve_converters_for_common_$ref($ref: common_ref<string>): Promise<{
|
|
42
|
+
[key: string]: Converter<SchemaObject>;
|
|
43
|
+
}>;
|
|
44
|
+
protected resolve_schema(schema: SchemaObject, depth?: number, is_common?: boolean): Promise<{
|
|
42
45
|
[key: string]: SchemaObject;
|
|
43
46
|
}>;
|
|
44
47
|
}
|