@satisfactory-dev/docs.json.ts 0.14.4 → 0.14.5
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/README.md +1 -1
- package/lib/DocsSchema.d.ts +2 -2
- package/lib/DocsSchema.js +4 -4
- package/lib/DocsTsGenerator.d.ts +2 -2
- package/lib/DocsTsGenerator.js +5 -5
- package/lib/helpers.js +1 -1
- package/package.json +1 -1
- /package/{data-progress--version_1_0_1_3.md → data-progress--version_1_0_1_4.md} +0 -0
- /package/{types-progress--version_1_0_1_3.md → types-progress--version_1_0_1_4.md} +0 -0
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
export const docs = new DocsTsGenerator({
|
|
78
78
|
ajv,
|
|
79
79
|
docs_versions: {
|
|
80
|
-
|
|
80
|
+
version_1_0_1_4: new DocsTsGeneratorVersion({
|
|
81
81
|
docs_path: `${__dirname}/../data/1.0/en-US.json`,
|
|
82
82
|
cache_path: `${__dirname}/../data/1.0/`,
|
|
83
83
|
UnrealEngineString_quote_mode: 'double',
|
package/lib/DocsSchema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import version_1_0_1_4_schema from '../schema/1.0.schema.json';
|
|
2
2
|
import update8_schema from '../schema/update8.schema.json';
|
|
3
3
|
import common_schema from '../schema/common.schema.json';
|
|
4
4
|
export declare class DocsSchema<schema> {
|
|
@@ -16,7 +16,7 @@ declare class DocsSchemaByLanguageCode<en_US> {
|
|
|
16
16
|
export declare class DocsSchemaByVersion {
|
|
17
17
|
readonly common: DocsSchemaByLanguageCode<typeof common_schema>;
|
|
18
18
|
readonly update8: DocsSchemaByLanguageCode<typeof update8_schema>;
|
|
19
|
-
readonly
|
|
19
|
+
readonly version_1_0_1_4: DocsSchemaByLanguageCode<typeof version_1_0_1_4_schema>;
|
|
20
20
|
constructor();
|
|
21
21
|
}
|
|
22
22
|
export {};
|
package/lib/DocsSchema.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import version_1_0_1_4_schema from '../schema/1.0.schema.json' with {
|
|
2
2
|
type: 'json'
|
|
3
3
|
};
|
|
4
4
|
import update8_schema from '../schema/update8.schema.json' with {
|
|
@@ -22,13 +22,13 @@ class DocsSchemaByLanguageCode {
|
|
|
22
22
|
export class DocsSchemaByVersion {
|
|
23
23
|
common;
|
|
24
24
|
update8;
|
|
25
|
-
|
|
25
|
+
version_1_0_1_4;
|
|
26
26
|
constructor() {
|
|
27
27
|
this.common = new DocsSchemaByLanguageCode({
|
|
28
28
|
en_US: common_schema,
|
|
29
29
|
});
|
|
30
|
-
this.
|
|
31
|
-
en_US:
|
|
30
|
+
this.version_1_0_1_4 = new DocsSchemaByLanguageCode({
|
|
31
|
+
en_US: version_1_0_1_4_schema,
|
|
32
32
|
});
|
|
33
33
|
this.update8 = new DocsSchemaByLanguageCode({
|
|
34
34
|
en_US: update8_schema,
|
package/lib/DocsTsGenerator.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare class DocsTsGeneratorVersion {
|
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
export type docs_versions = {
|
|
36
|
-
|
|
36
|
+
version_1_0_1_4?: DocsTsGeneratorVersion;
|
|
37
37
|
update8?: DocsTsGeneratorVersion;
|
|
38
38
|
common: DocsTsGeneratorVersion;
|
|
39
39
|
};
|
|
@@ -14557,7 +14557,7 @@ export declare class DocsTsGenerator {
|
|
|
14557
14557
|
}>;
|
|
14558
14558
|
schema_common(): Promise<DocsSchemaByVersion['common']['en_US']['schema']>;
|
|
14559
14559
|
schema_update8(): Promise<DocsSchemaByVersion['update8']['en_US']['schema']>;
|
|
14560
|
-
|
|
14560
|
+
schema_version_1_0_1_4(): Promise<DocsSchemaByVersion['version_1_0_1_4']['en_US']['schema']>;
|
|
14561
14561
|
private load;
|
|
14562
14562
|
private load_from_file;
|
|
14563
14563
|
private validate;
|
package/lib/DocsTsGenerator.js
CHANGED
|
@@ -91,8 +91,8 @@ export class DocsTsGenerator {
|
|
|
91
91
|
if ('update8' === version) {
|
|
92
92
|
return this.schema_update8();
|
|
93
93
|
}
|
|
94
|
-
else if ('
|
|
95
|
-
return this.
|
|
94
|
+
else if ('version_1_0_1_4' === version) {
|
|
95
|
+
return this.schema_version_1_0_1_4();
|
|
96
96
|
}
|
|
97
97
|
else if ('common' === version) {
|
|
98
98
|
return this.schema_common();
|
|
@@ -114,10 +114,10 @@ export class DocsTsGenerator {
|
|
|
114
114
|
return schema;
|
|
115
115
|
}
|
|
116
116
|
// eslint-disable-next-line max-len
|
|
117
|
-
async
|
|
118
|
-
const schema = this.schema_data.
|
|
117
|
+
async schema_version_1_0_1_4() {
|
|
118
|
+
const schema = this.schema_data.version_1_0_1_4.en_US.schema;
|
|
119
119
|
// eslint-disable-next-line max-len
|
|
120
|
-
await this.validate_schema('
|
|
120
|
+
await this.validate_schema('version_1_0_1_4', schema);
|
|
121
121
|
return schema;
|
|
122
122
|
}
|
|
123
123
|
async load(version) {
|
package/lib/helpers.js
CHANGED
|
@@ -24,7 +24,7 @@ export const docs = new DocsTsGenerator({
|
|
|
24
24
|
cache_path: `${__dirname}/../data/common/`,
|
|
25
25
|
UnrealEngineString_quote_mode: 'original',
|
|
26
26
|
}),
|
|
27
|
-
|
|
27
|
+
version_1_0_1_4: new DocsTsGeneratorVersion({
|
|
28
28
|
docs_path: `${__dirname}/../data/1.0/en-US.json`,
|
|
29
29
|
cache_path: `${__dirname}/../data/1.0/`,
|
|
30
30
|
UnrealEngineString_quote_mode: 'double',
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|