Skip to content

Commit 04214cf

Browse files
committed
updating for 1.1.0.3 #6
1 parent 68e599a commit 04214cf

File tree

9 files changed

+36
-19
lines changed

9 files changed

+36
-19
lines changed

discover-types--1.1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const __dirname = __dirname_from_meta(import.meta);
2727

2828
const perf = setup_PerformanceObserver();
2929

30-
const version = 'version_1_1_0_1';
31-
const sub_path = versions.version_1_1_0_1;
30+
const version = 'version_1_1_0_3';
31+
const sub_path = versions.version_1_1_0_3;
3232
try {
3333
performance.mark('start');
3434
const bar = new TypeDefinitionWriter(

generated-types/1.1/classes/CoreUObject/FGBuildableConveyorLift.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import {
66

77
import {FGBuildable__base__type} from './FGBuildable';
88

9+
import {boolean__type} from '../../../common/common/scalar';
10+
911
import {NativeClass__type} from '../../../common/common/unassigned';
1012

1113
export type FGBuildableConveyorLift__type =
@@ -17,6 +19,7 @@ export type FGBuildableConveyorLift__type =
1719
export type FGBuildableConveyorLift__properties__type = {
1820
mOutputMeshDisplayMode: mInputOutputMeshDisplayMode__type;
1921
mInputMeshDisplayMode: mInputOutputMeshDisplayMode__type;
22+
mIsBeltUsingInputRotation: boolean__type;
2023
};
2124

2225
export type FGBuildableConveyorLift__NativeClass =

lib/DocsSchema.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import version_1_1_0_1_schema from '../schema/1.1.schema.json' with {
1+
import version_1_1_0_3_schema from '../schema/1.1.schema.json' with {
22
type: 'json'
33
};
44

@@ -49,17 +49,17 @@ export class DocsSchemaByVersion
4949
readonly version_1_0_1_4: DocsSchemaByLanguageCode<
5050
typeof version_1_0_1_4_schema
5151
>;
52-
readonly version_1_1_0_1: DocsSchemaByLanguageCode<
53-
typeof version_1_1_0_1_schema
52+
readonly version_1_1_0_3: DocsSchemaByLanguageCode<
53+
typeof version_1_1_0_3_schema
5454
>;
5555

5656
constructor()
5757
{
5858
this.common = new DocsSchemaByLanguageCode({
5959
en_US: common_schema,
6060
});
61-
this.version_1_1_0_1 = new DocsSchemaByLanguageCode({
62-
en_US: version_1_1_0_1_schema,
61+
this.version_1_1_0_3 = new DocsSchemaByLanguageCode({
62+
en_US: version_1_1_0_3_schema,
6363
});
6464
this.version_1_0_1_4 = new DocsSchemaByLanguageCode({
6565
en_US: version_1_0_1_4_schema,

lib/DocsTsGenerator.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class DocsTsGeneratorVersion
121121
}
122122

123123
export type docs_versions = {
124-
version_1_1_0_1?: DocsTsGeneratorVersion,
124+
version_1_1_0_3?: DocsTsGeneratorVersion,
125125
version_1_0_1_4?: DocsTsGeneratorVersion,
126126
update8?: DocsTsGeneratorVersion,
127127
common: DocsTsGeneratorVersion,
@@ -202,8 +202,8 @@ export class DocsTsGenerator {
202202
) {
203203
if ('update8' === version) {
204204
return this.schema_update8();
205-
} else if ('version_1_1_0_1' === version) {
206-
return this.schema_version_1_1_0_1();
205+
} else if ('version_1_1_0_3' === version) {
206+
return this.schema_version_1_1_0_3();
207207
} else if ('version_1_0_1_4' === version) {
208208
return this.schema_version_1_0_1_4();
209209
} else if ('common' === version) {
@@ -256,18 +256,18 @@ export class DocsTsGenerator {
256256
}
257257

258258
// eslint-disable-next-line max-len
259-
async schema_version_1_1_0_1(): Promise<DocsSchemaByVersion['version_1_1_0_1']['en_US']['schema']>
259+
async schema_version_1_1_0_3(): Promise<DocsSchemaByVersion['version_1_1_0_3']['en_US']['schema']>
260260
{
261-
const schema = this.schema_data.version_1_1_0_1.en_US.schema;
261+
const schema = this.schema_data.version_1_1_0_3.en_US.schema;
262262
/*
263263
const schema_1_0 = await this.schema_version_1_0_1_4();
264264
this.ajv.removeSchema('1.0.schema.json');
265265
this.ajv.addSchema(schema_1_0);
266266
*/
267267

268268
// eslint-disable-next-line max-len
269-
await this.validate_schema<DocsSchemaByVersion['version_1_1_0_1']['en_US']['schema']>(
270-
'version_1_1_0_1',
269+
await this.validate_schema<DocsSchemaByVersion['version_1_1_0_3']['en_US']['schema']>(
270+
'version_1_1_0_3',
271271
schema,
272272
);
273273

lib/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const docs = new DocsTsGenerator({
3535
cache_path: `${__dirname}/../data/common/`,
3636
UnrealEngineString_quote_mode: 'original',
3737
}),
38-
version_1_1_0_1: new DocsTsGeneratorVersion({
38+
version_1_1_0_3: new DocsTsGeneratorVersion({
3939
docs_path: `${__dirname}/../data/1.1/en-US.json`,
4040
cache_path: `${__dirname}/../data/1.1/`,
4141
UnrealEngineString_quote_mode: 'double',

schema/1.1.optimised.schema.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,13 +1215,20 @@
12151215
},
12161216
"FGBuildableConveyorLift--properties": {
12171217
"type": "object",
1218-
"required": ["mOutputMeshDisplayMode", "mInputMeshDisplayMode"],
1218+
"required": [
1219+
"mOutputMeshDisplayMode",
1220+
"mInputMeshDisplayMode",
1221+
"mIsBeltUsingInputRotation"
1222+
],
12191223
"properties": {
12201224
"mOutputMeshDisplayMode": {
12211225
"$ref": "#/$defs/mInputOutputMeshDisplayMode"
12221226
},
12231227
"mInputMeshDisplayMode": {
12241228
"$ref": "#/$defs/mInputOutputMeshDisplayMode"
1229+
},
1230+
"mIsBeltUsingInputRotation": {
1231+
"$ref": "common.schema.json#/$defs/boolean"
12251232
}
12261233
}
12271234
},

schema/1.1.schema.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8155,13 +8155,20 @@
81558155
},
81568156
"FGBuildableConveyorLift--properties": {
81578157
"type": "object",
8158-
"required": ["mOutputMeshDisplayMode", "mInputMeshDisplayMode"],
8158+
"required": [
8159+
"mOutputMeshDisplayMode",
8160+
"mInputMeshDisplayMode",
8161+
"mIsBeltUsingInputRotation"
8162+
],
81598163
"properties": {
81608164
"mOutputMeshDisplayMode": {
81618165
"$ref": "#/$defs/mInputOutputMeshDisplayMode"
81628166
},
81638167
"mInputMeshDisplayMode": {
81648168
"$ref": "#/$defs/mInputOutputMeshDisplayMode"
8169+
},
8170+
"mIsBeltUsingInputRotation": {
8171+
"$ref": "common.schema.json#/$defs/boolean"
81658172
}
81668173
}
81678174
},

tests/lib/CustomParsingTypes/ValueToRegexFormatter.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626

2727
const versions_to_test:(Exclude<keyof docs_versions, 'common'>)[] = [
2828
'update8',
29-
'version_1_1_0_1',
29+
'version_1_1_0_3',
3030
];
3131

3232
for (const version of versions_to_test) {

version-configs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const versions: Record<keyof docs_versions, string> = {
66
common: 'common',
77
update8: 'update8',
88
version_1_0_1_4: '1.0',
9-
version_1_1_0_1: '1.1',
9+
version_1_1_0_3: '1.1',
1010
};
1111

1212
export const versions_list = Object.entries(versions) as [

0 commit comments

Comments
 (0)