@satisfactory-dev/docs.json.ts 0.14.1 → 0.14.2

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 CHANGED
@@ -77,7 +77,7 @@
77
77
  export const docs = new DocsTsGenerator({
78
78
  ajv,
79
79
  docs_versions: {
80
- version_1_0_1_0: new DocsTsGeneratorVersion({
80
+ version_1_0_1_1: 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',
@@ -1,4 +1,4 @@
1
- import version_1_0_1_0_schema from '../schema/1.0.schema.json';
1
+ import version_1_0_1_1_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 version_1_0_1_0: DocsSchemaByLanguageCode<typeof version_1_0_1_0_schema>;
19
+ readonly version_1_0_1_1: DocsSchemaByLanguageCode<typeof version_1_0_1_1_schema>;
20
20
  constructor();
21
21
  }
22
22
  export {};
package/lib/DocsSchema.js CHANGED
@@ -1,4 +1,4 @@
1
- import version_1_0_1_0_schema from '../schema/1.0.schema.json' with {
1
+ import version_1_0_1_1_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
- version_1_0_1_0;
25
+ version_1_0_1_1;
26
26
  constructor() {
27
27
  this.common = new DocsSchemaByLanguageCode({
28
28
  en_US: common_schema,
29
29
  });
30
- this.version_1_0_1_0 = new DocsSchemaByLanguageCode({
31
- en_US: version_1_0_1_0_schema,
30
+ this.version_1_0_1_1 = new DocsSchemaByLanguageCode({
31
+ en_US: version_1_0_1_1_schema,
32
32
  });
33
33
  this.update8 = new DocsSchemaByLanguageCode({
34
34
  en_US: update8_schema,
@@ -33,7 +33,7 @@ export declare class DocsTsGeneratorVersion {
33
33
  });
34
34
  }
35
35
  export type docs_versions = {
36
- version_1_0_1_0?: DocsTsGeneratorVersion;
36
+ version_1_0_1_1?: DocsTsGeneratorVersion;
37
37
  update8?: DocsTsGeneratorVersion;
38
38
  common: DocsTsGeneratorVersion;
39
39
  };
@@ -14543,7 +14543,7 @@ export declare class DocsTsGenerator {
14543
14543
  }>;
14544
14544
  schema_common(): Promise<DocsSchemaByVersion['common']['en_US']['schema']>;
14545
14545
  schema_update8(): Promise<DocsSchemaByVersion['update8']['en_US']['schema']>;
14546
- schema_version_1_0_1_0(): Promise<DocsSchemaByVersion['version_1_0_1_0']['en_US']['schema']>;
14546
+ schema_version_1_0_1_1(): Promise<DocsSchemaByVersion['version_1_0_1_1']['en_US']['schema']>;
14547
14547
  private load;
14548
14548
  private load_from_file;
14549
14549
  private validate;
@@ -91,8 +91,8 @@ export class DocsTsGenerator {
91
91
  if ('update8' === version) {
92
92
  return this.schema_update8();
93
93
  }
94
- else if ('version_1_0_1_0' === version) {
95
- return this.schema_version_1_0_1_0();
94
+ else if ('version_1_0_1_1' === version) {
95
+ return this.schema_version_1_0_1_1();
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 schema_version_1_0_1_0() {
118
- const schema = this.schema_data.version_1_0_1_0.en_US.schema;
117
+ async schema_version_1_0_1_1() {
118
+ const schema = this.schema_data.version_1_0_1_1.en_US.schema;
119
119
  // eslint-disable-next-line max-len
120
- await this.validate_schema('version_1_0_1_0', schema);
120
+ await this.validate_schema('version_1_0_1_1', 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
- version_1_0_1_0: new DocsTsGeneratorVersion({
27
+ version_1_0_1_1: 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
@@ -38,5 +38,5 @@
38
38
  "typescript": "~5.5.2",
39
39
  "typescript-eslint": "^8.2.0"
40
40
  },
41
- "version": "0.14.1"
41
+ "version": "0.14.2"
42
42
  }