Skip to content

Commit

Permalink
pull decimal-string types into common types
Browse files Browse the repository at this point in the history
-   re: #4
  • Loading branch information
SignpostMarv committed Oct 12, 2024
1 parent a49434d commit dae2241
Show file tree
Hide file tree
Showing 158 changed files with 1,152 additions and 1,050 deletions.
2 changes: 2 additions & 0 deletions common-imports.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"common_type__class__no_description_or_display_name__type": "common/unassigned",
"common_type__NativeClass__type": "common/unassigned",
"common_type__UnrealEngineString__array__type": "common/unassigned",
"common_type__decimal_string__type": "common/scalar",
"common_type__decimal_string__signed__type": "common/scalar",
"common_type__UnrealEngineString": "utils/validators",
"common_type__StringStartsWith": "utils/validators",
"common_type__StringPassedRegExp": "utils/validators"
Expand Down
4 changes: 3 additions & 1 deletion data-progress--common.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Data Progress

0.00% Complete (0 of 2)
0.00% Complete (0 of 4)

## /Script/CoreUObject.Class'/Script/FactoryGame.FGFauxEntry'

- [ ] faux
- [ ] faux
- [ ] faux
Binary file modified data/common/faux.json
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import {boolean__type, decimal_string__type} from '../../common/scalar';
import {boolean__type} from '../../common/scalar';

import {xyz__type} from '../../common/unassigned';

import {FGAmmoTypeProjectile__base__type} from './FGAmmoTypeProjectile';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGAmmoTypeInstantHit__base__type =
Expand Down
12 changes: 6 additions & 6 deletions generated-types/1.0/classes/CoreUObject/FGAmmoTypeProjectile.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import {
boolean__type,
decimal_string__type,
decimal_string__signed__type,
integer_string__type,
} from '../../common/scalar';
import {boolean__type, integer_string__type} from '../../common/scalar';

import {UnrealEngineString, StringStartsWith} from '../../utils/validators';

Expand All @@ -19,6 +14,11 @@ import {

import {FGItemDescriptor__FGResourceDescriptor__type} from './FGItemDescriptor';

import {
decimal_string__type,
decimal_string__signed__type,
} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGAmmoTypeProjectile__type = FGAmmoTypeProjectile__base__type & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import {integer_string__type, decimal_string__type} from '../../common/scalar';
import {integer_string__type} from '../../common/scalar';

import {FGAmmoTypeProjectile__base__type} from './FGAmmoTypeProjectile';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGAmmoTypeSpreadshot__type = FGAmmoTypeProjectile__base__type & {
Expand Down
7 changes: 5 additions & 2 deletions generated-types/1.0/classes/CoreUObject/FGBuildable.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import {
decimal_string__signed__type,
boolean__type,
decimal_string__type,
integer_string__type,
integer_string__signed__type,
} from '../../common/scalar';
Expand All @@ -15,6 +13,11 @@ import {

import {StringPassedRegExp} from '../../utils/validators';

import {
decimal_string__signed__type,
decimal_string__type,
} from '../../../common/common/scalar';

import {
UnrealEngineString__array__type,
class__type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {decimal_string__type} from '../../common/scalar';

import {FGBuildable__base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableBeamLightweight__type = FGBuildable__base__type & {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ import {

import {
integer_string__signed__type,
decimal_string__type,
boolean__type,
} from '../../common/scalar';

import {FGBuildable__base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableBlueprintDesigner__base__type =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import {
integer_string__signed__type,
decimal_string__type,
integer_string__type,
} from '../../common/scalar';

import {empty_object__type} from '../../common/unassigned';

import {FGBuildable__base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableConveyorBelt__type =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {decimal_string__type, boolean__type} from '../../common/scalar';
import {boolean__type} from '../../common/scalar';

import {
transformation__type,
Expand All @@ -7,6 +7,8 @@ import {

import {FGBuildableConveyorBelt__base__type} from './FGBuildableConveyorBelt';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableConveyorLift__type =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import {decimal_string__type, boolean__type} from '../../common/scalar';
import {boolean__type} from '../../common/scalar';

import {FGBuildableWall__base__type} from './FGBuildableWall';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableCornerWall__type = FGBuildableWall__base__type & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import {empty_object__type, xy__type} from '../../common/unassigned';

import {
decimal_string__type,
integer_string__type,
boolean__type,
} from '../../common/scalar';
import {integer_string__type, boolean__type} from '../../common/scalar';

import {FGBuildable__docking_station_base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableDockingStation__type =
Expand Down
8 changes: 3 additions & 5 deletions generated-types/1.0/classes/CoreUObject/FGBuildableDoor.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import {
boolean__type,
decimal_string__type,
integer_string__type,
} from '../../common/scalar';
import {boolean__type, integer_string__type} from '../../common/scalar';

import {FGBuildableWall__base__rectangle__type} from './FGBuildableWall';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableDoor__type = FGBuildableDoor__base__type & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import {
boolean__type,
boolean_extended__type,
decimal_string__type,
integer_string__type,
} from '../../common/scalar';

import {xyz__type} from '../../common/unassigned';

import {FGBuildable__docking_station_base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableDroneStation__type =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {FGBuildable__consumes_power_base__type} from './FGBuildable';

import {decimal_string__type} from '../../common/scalar';
import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {decimal_string__type} from '../../common/scalar';

import {mEventType__type} from '../../common/unassigned';

import {FGBuildable__consumes_power_base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableFactorySimpleProducer__type =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {decimal_string__type, boolean__type} from '../../common/scalar';
import {boolean__type} from '../../common/scalar';

import {
empty_object__type,
Expand All @@ -7,6 +7,8 @@ import {

import {FGBuildable__base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

export type FGBuildableFoundation__type = FGBuildableFoundation__base__type;

export type FGBuildableFoundation__base__type = FGBuildable__base__type & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import {None__type, empty_object__type} from '../../common/unassigned';

import {
decimal_string__type,
boolean__type,
integer_string__type,
} from '../../common/scalar';
import {boolean__type, integer_string__type} from '../../common/scalar';

import {FGBuildable__extractor_base__shared__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {
UnrealEngineString__array__type,
NativeClass__type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {decimal_string__type} from '../../common/scalar';

import {FGBuildable__consumes_power_base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

export type FGBuildableGenerator__base__type =
FGBuildable__consumes_power_base__type & {
mPowerProduction: decimal_string__type;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import {
integer_string__type,
boolean__type,
decimal_string__type,
} from '../../common/scalar';
import {integer_string__type, boolean__type} from '../../common/scalar';

import {FGBuildableGenerator__base__type} from './FGBuildableGenerator';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableGeneratorFuel__base__type =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import {boolean__type, decimal_string__type} from '../../common/scalar';
import {boolean__type} from '../../common/scalar';

import {FGBuildableGenerator__base__type} from './FGBuildableGenerator';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableGeneratorGeoThermal__type =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import {integer_string__type, decimal_string__type} from '../../common/scalar';
import {integer_string__type} from '../../common/scalar';

import {FGBuildableGeneratorFuel__base__type} from './FGBuildableGeneratorFuel';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableGeneratorNuclear__type =
Expand Down
7 changes: 5 additions & 2 deletions generated-types/1.0/classes/CoreUObject/FGBuildableJumppad.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import {
integer_string__type,
integer_string__signed__type,
decimal_string__type,
decimal_string__signed__type,
boolean__type,
} from '../../common/scalar';

Expand All @@ -14,6 +12,11 @@ import {

import {FGBuildable__consumes_power_base__type} from './FGBuildable';

import {
decimal_string__type,
decimal_string__signed__type,
} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableJumppad__type =
Expand Down
4 changes: 3 additions & 1 deletion generated-types/1.0/classes/CoreUObject/FGBuildableLadder.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import {decimal_string__type, integer_string__type} from '../../common/scalar';
import {integer_string__type} from '../../common/scalar';

import {FGBuildable__base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableLadder__type = FGBuildable__base__type & {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import {
mLightControlData__type,
} from '../../common/unassigned';

import {boolean__type, decimal_string__type} from '../../common/scalar';
import {boolean__type} from '../../common/scalar';

import {FGBuildable__base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableLightSource__type =
Expand Down
4 changes: 2 additions & 2 deletions generated-types/1.0/classes/CoreUObject/FGBuildableMAM.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {decimal_string__type} from '../../common/scalar';

import {FGBuildable__occupied__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableMAM__type = FGBuildable__occupied__type & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
integer_string__type,
decimal_string__type,
boolean__type,
boolean_extended__type,
} from '../../common/scalar';
Expand All @@ -12,6 +11,8 @@ import {

import {FGBuildable__consumes_power_base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableManufacturer__type =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import {decimal_string__type, boolean__type} from '../../common/scalar';

import {empty_object__type, xyz_array__type} from '../../common/unassigned';

import {boolean__type} from '../../common/scalar';

import {FGBuildableManufacturer__base__type} from './FGBuildableManufacturer';

import {decimal_string__type} from '../../../common/common/scalar';

import {NativeClass__type} from '../../../common/common/unassigned';

export type FGBuildableManufacturerVariablePower__base__type =
Expand Down
Loading

0 comments on commit dae2241

Please sign in to comment.