Skip to content

Commit

Permalink
adding satisfactory 1.0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
SignpostMarv committed Dec 11, 2024
1 parent 7844c9b commit 9be24f5
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
export const docs = new DocsTsGenerator({
ajv,
docs_versions: {
version_1_0_1_2: new DocsTsGeneratorVersion({
version_1_0_1_3: new DocsTsGeneratorVersion({
docs_path: `${__dirname}/../data/1.0/en-US.json`,
cache_path: `${__dirname}/../data/1.0/`,
UnrealEngineString_quote_mode: 'double',
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions discover-types--1.0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const __dirname = __dirname_from_meta(import.meta);

const perf = setup_PerformanceObserver();

const version = 'version_1_0_1_2';
const sub_path = versions.version_1_0_1_2;
const version = 'version_1_0_1_3';
const sub_path = versions.version_1_0_1_3;
try {
performance.mark('start');
const bar = new TypeDefinitionWriter(
Expand Down
10 changes: 5 additions & 5 deletions lib/DocsSchema.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import version_1_0_1_2_schema from '../schema/1.0.schema.json' with {
import version_1_0_1_3_schema from '../schema/1.0.schema.json' with {
type: 'json'
};

Expand Down Expand Up @@ -42,17 +42,17 @@ export class DocsSchemaByVersion
{
readonly common: DocsSchemaByLanguageCode<typeof common_schema>;
readonly update8: DocsSchemaByLanguageCode<typeof update8_schema>;
readonly version_1_0_1_2: DocsSchemaByLanguageCode<
typeof version_1_0_1_2_schema
readonly version_1_0_1_3: DocsSchemaByLanguageCode<
typeof version_1_0_1_3_schema
>;

constructor()
{
this.common = new DocsSchemaByLanguageCode({
en_US: common_schema,
});
this.version_1_0_1_2 = new DocsSchemaByLanguageCode({
en_US: version_1_0_1_2_schema,
this.version_1_0_1_3 = new DocsSchemaByLanguageCode({
en_US: version_1_0_1_3_schema,
});
this.update8 = new DocsSchemaByLanguageCode({
en_US: update8_schema,
Expand Down
14 changes: 7 additions & 7 deletions lib/DocsTsGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class DocsTsGeneratorVersion
}

export type docs_versions = {
version_1_0_1_2?: DocsTsGeneratorVersion,
version_1_0_1_3?: DocsTsGeneratorVersion,
update8?: DocsTsGeneratorVersion,
common: DocsTsGeneratorVersion,
};
Expand Down Expand Up @@ -201,8 +201,8 @@ export class DocsTsGenerator {
) {
if ('update8' === version) {
return this.schema_update8();
} else if ('version_1_0_1_2' === version) {
return this.schema_version_1_0_1_2();
} else if ('version_1_0_1_3' === version) {
return this.schema_version_1_0_1_3();
} else if ('common' === version) {
return this.schema_common();
}
Expand Down Expand Up @@ -239,13 +239,13 @@ export class DocsTsGenerator {
}

// eslint-disable-next-line max-len
async schema_version_1_0_1_2(): Promise<DocsSchemaByVersion['version_1_0_1_2']['en_US']['schema']>
async schema_version_1_0_1_3(): Promise<DocsSchemaByVersion['version_1_0_1_3']['en_US']['schema']>
{
const schema = this.schema_data.version_1_0_1_2.en_US.schema;
const schema = this.schema_data.version_1_0_1_3.en_US.schema;

// eslint-disable-next-line max-len
await this.validate_schema<DocsSchemaByVersion['version_1_0_1_2']['en_US']['schema']>(
'version_1_0_1_2',
await this.validate_schema<DocsSchemaByVersion['version_1_0_1_3']['en_US']['schema']>(
'version_1_0_1_3',
schema,
);

Expand Down
2 changes: 1 addition & 1 deletion lib/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const docs = new DocsTsGenerator({
cache_path: `${__dirname}/../data/common/`,
UnrealEngineString_quote_mode: 'original',
}),
version_1_0_1_2: new DocsTsGeneratorVersion({
version_1_0_1_3: new DocsTsGeneratorVersion({
docs_path: `${__dirname}/../data/1.0/en-US.json`,
cache_path: `${__dirname}/../data/1.0/`,
UnrealEngineString_quote_mode: 'double',
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions validate-Docs--1.0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const __dirname = __dirname_from_meta(import.meta);

setup_PerformanceObserver();

const version = 'version_1_0_1_2';
const sub_path = versions.version_1_0_1_2;
const version = 'version_1_0_1_3';
const sub_path = versions.version_1_0_1_3;

try {
await docs.get(version);
Expand Down
2 changes: 1 addition & 1 deletion version-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
export const versions: Record<keyof docs_versions, string> = {
common: 'common',
update8: 'update8',
version_1_0_1_2: '1.0',
version_1_0_1_3: '1.0',
};

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

0 comments on commit 9be24f5

Please sign in to comment.