Skip to content

Commit

Permalink
pulling boolean types into common types
Browse files Browse the repository at this point in the history
-   re: #4
  • Loading branch information
SignpostMarv committed Oct 13, 2024
1 parent 495ba43 commit 6c511da
Show file tree
Hide file tree
Showing 115 changed files with 637 additions and 625 deletions.
10 changes: 6 additions & 4 deletions common-imports.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"common_type__boolean__type": "common/scalar",
"common_type__boolean_extended__type": "common/scalar",
"common_type__decimal_string__type": "common/scalar",
"common_type__decimal_string__signed__type": "common/scalar",
"common_type__integer_string__type": "common/scalar",
"common_type__integer_string__signed__type": "common/scalar",
"common_type__class__type": "common/unassigned",
"common_type__class__no_description__type": "common/unassigned",
"common_type__class__no_description_or_display_name__type": "common/unassigned",
Expand All @@ -15,10 +21,6 @@
"common_type__xyz__type": "common/unassigned",
"common_type__xyz__integer__type": "common/unassigned",
"common_type__xyz_array__type": "common/unassigned",
"common_type__decimal_string__type": "common/scalar",
"common_type__decimal_string__signed__type": "common/scalar",
"common_type__integer_string__type": "common/scalar",
"common_type__integer_string__signed__type": "common/scalar",
"common_type__UnrealEngineString": "utils/validators",
"common_type__StringStartsWith": "utils/validators",
"common_type__StringPassedRegExp": "utils/validators"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import {boolean__type} from '../../common/scalar';

import {FGAmmoTypeProjectile__base__type} from './FGAmmoTypeProjectile';

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

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

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

export type FGAmmoTypeInstantHit__base__type =
FGAmmoTypeProjectile__base__type & {
mPlayFireEffects: boolean__type;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import {boolean__type} from '../../common/scalar';

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

import {
Expand All @@ -12,6 +10,7 @@ import {
import {FGItemDescriptor__FGResourceDescriptor__type} from './FGItemDescriptor';

import {
boolean__type,
decimal_string__type,
decimal_string__signed__type,
integer_string__type,
Expand Down
3 changes: 1 addition & 2 deletions generated-types/1.0/classes/CoreUObject/FGBuildable.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import {boolean__type} from '../../common/scalar';

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

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

import {
decimal_string__signed__type,
boolean__type,
decimal_string__type,
integer_string__type,
integer_string__signed__type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ import {
FGBuildableBlueprintDesigner__mk1__type,
} from '../../common/unassigned';

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

import {FGBuildable__base__type} from './FGBuildable';

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

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

import {
transformation__type,
mSnappedPassthroughs__type,
} from '../../common/unassigned';

import {FGBuildableConveyorBelt__base__type} from './FGBuildableConveyorBelt';

import {decimal_string__type} from '../../../common/common/scalar';
import {
decimal_string__type,
boolean__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,8 +1,9 @@
import {boolean__type} from '../../common/scalar';

import {FGBuildableWall__base__type} from './FGBuildableWall';

import {decimal_string__type} from '../../../common/common/scalar';
import {
decimal_string__type,
boolean__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,5 +1,3 @@
import {boolean__type} from '../../common/scalar';

import {FGBuildable__docking_station_base__type} from './FGBuildable';

import {
Expand All @@ -11,6 +9,7 @@ import {
import {
decimal_string__type,
integer_string__type,
boolean__type,
} from '../../../common/common/scalar';

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

import {FGBuildableWall__base__rectangle__type} from './FGBuildableWall';

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

import {FGBuildable__docking_station_base__type} from './FGBuildable';

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

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

import {FGBuildable__base__type} from './FGBuildable';

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

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

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

import {FGBuildable__extractor_base__shared__type} from './FGBuildable';

import {
Expand All @@ -11,6 +9,7 @@ import {

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

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

import {FGBuildableGenerator__base__type} from './FGBuildableGenerator';

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

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

import {FGBuildableGenerator__base__type} from './FGBuildableGenerator';

import {decimal_string__type} from '../../../common/common/scalar';
import {
boolean__type,
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,12 +1,11 @@
import {boolean__type} from '../../common/scalar';

import {FGBuildable__consumes_power_base__type} from './FGBuildable';

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

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

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

import {FGBuildable__base__type} from './FGBuildable';
Expand All @@ -10,7 +8,10 @@ import {
NativeClass__type,
} from '../../../common/common/unassigned';

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

export type FGBuildableLightSource__type =
FGBuildableLightSource__base__type & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import {mLightControlData__type} from '../../common/unassigned';

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

import {FGBuildable__circuits_base__type} from './FGBuildable';

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

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

export type FGBuildableLightsControlPanel__type =
FGBuildable__circuits_base__type & {
OnLightControlPanelStateChanged: empty_object__type;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {boolean__type, boolean_extended__type} from '../../common/scalar';

import {FGBuildable__consumes_power_base__type} from './FGBuildable';

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

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

import {FGBuildableManufacturer__base__type} from './FGBuildableManufacturer';

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

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

import {FGBuildable__base__type} from './FGBuildable';

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

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

import {FGBuildable__base__type} from './FGBuildable';

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

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

export type FGBuildablePillarLightweight__type = FGBuildable__base__type & {
mSize: xyz__type;
mIsSupport: boolean__type;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import {StringPassedRegExp} from '../../utils/validators';

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

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

import {FGBuildable__base__type} from './FGBuildable';

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

import {
empty_object__type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import {FGBuildable__pipeline_flow_accessory__type} from './FGBuildable';

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

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

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

Expand Down
3 changes: 1 addition & 2 deletions generated-types/1.0/classes/CoreUObject/FGBuildablePortal.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import {boolean__type} from '../../common/scalar';

import {FGBuildable__consumes_power_base__type} from './FGBuildable';

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

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

import {FGBuildablePortal__base__type} from './FGBuildablePortal';

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

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

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

import {FGBuildable__consumes_power_base__type} from './FGBuildable';

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

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

import {FGBuildable__base__type} from './FGBuildable';

import {decimal_string__type} from '../../../common/common/scalar';
import {
decimal_string__type,
boolean__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,7 +1,5 @@
import {mAspect__type} from '../../common/unassigned';

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

import {FGBuildable__base__type} from './FGBuildable';

import {
Expand All @@ -10,6 +8,7 @@ import {
} from '../../../common/common/unassigned';

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

0 comments on commit 6c511da

Please sign in to comment.