@adeficior/data-modifier-thermal 2.0.0-rc.20260816171656 → 2.0.0

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.
@@ -0,0 +1,9 @@
1
+ import type { IngredientSerializer, ResultSerializer } from "@adeficior/data-modifier-ingredients";
2
+ import type { RecipeEmitter } from "@adeficior/data-modifier-recipes";
3
+ export type ThermalRecipeHelper = {};
4
+ export declare class ThermalRecipeHelperImpl implements ThermalRecipeHelper {
5
+ private readonly emitter;
6
+ private readonly ingredients;
7
+ private readonly results;
8
+ constructor(emitter: RecipeEmitter, ingredients: IngredientSerializer, results: ResultSerializer);
9
+ }
package/dist/helper.js ADDED
@@ -0,0 +1,11 @@
1
+ export class ThermalRecipeHelperImpl {
2
+ emitter;
3
+ ingredients;
4
+ results;
5
+ constructor(emitter, ingredients, results) {
6
+ this.emitter = emitter;
7
+ this.ingredients = ingredients;
8
+ this.results = results;
9
+ }
10
+ }
11
+ //# sourceMappingURL=helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../src/helper.ts"],"names":[],"mappings":"AASA,MAAM,OAAO,uBAAuB;IAEf;IACA;IACA;IAHnB,YACmB,OAAsB,EACtB,WAAiC,EACjC,OAAyB;QAFzB,YAAO,GAAP,OAAO,CAAe;QACtB,gBAAW,GAAX,WAAW,CAAsB;QACjC,YAAO,GAAP,OAAO,CAAkB;IACzC,CAAC;CACL"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export type { ThermalRecipeHelper } from "./helper";
1
2
  export { default } from "./module";
2
3
  export * from "./serializer";
3
4
  export * from "./serializer/catalyst";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC"}
package/dist/module.d.ts CHANGED
@@ -1,2 +1,7 @@
1
- declare const _default: import("@adeficior/data-modifier-core").ModuleConfig<import("@adeficior/data-modifier-core").ModuleTypes>;
1
+ import type { ThermalRecipeHelper } from "./helper";
2
+ declare const _default: import("@adeficior/data-modifier-core").ModuleConfig<{
3
+ services: {
4
+ "helper:recipes:thermal": ThermalRecipeHelper;
5
+ };
6
+ }>;
2
7
  export default _default;
package/dist/module.js CHANGED
@@ -1,13 +1,21 @@
1
1
  import { defineModule } from "@adeficior/data-modifier-core";
2
2
  import { name } from "../package.json";
3
+ import { ThermalRecipeHelperImpl } from "./helper";
3
4
  import { registerSerializers } from "./registration";
4
5
  export default defineModule({
5
6
  importModule: name,
6
7
  dependencies: {
7
8
  "@adeficior/data-modifier-recipes": "required",
8
9
  },
10
+ types: {
11
+ services: {
12
+ "helper:recipes:thermal": "ThermalRecipeHelper",
13
+ },
14
+ },
15
+ promote: [{ service: "helper:recipes:thermal", key: "recipes.thermal" }],
9
16
  setup: (pack) => {
10
17
  pack.hook("recipes:register-serializer", registerSerializers);
18
+ pack.service("helper:recipes:thermal", (container) => new ThermalRecipeHelperImpl(container.get("emitter:recipes"), container.get("serializer:ingredients"), container.get("serializer:results")));
11
19
  },
12
20
  });
13
21
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY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,CACJ,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,23 +1,22 @@
1
1
  {
2
2
  "name": "@adeficior/data-modifier-thermal",
3
3
  "description": "data-modifier module adding compatibility for the thermal series",
4
- "version": "2.0.0-rc.20260816171656",
4
+ "version": "2.0.0",
5
5
  "exports": { ".": "./dist/index.js" },
6
- "types": "./dist/index.d.ts",
7
- "files": ["dist"],
8
6
  "type": "module",
9
- "devDependencies": {
10
- "@adeficior/data-modifier-recipes": "^2.0.0-rc.20260816171656"
11
- },
7
+ "devDependencies": { "@adeficior/data-modifier-recipes": "^2.0.0" },
12
8
  "peerDependencies": {
13
- "@adeficior/pack-resolver": "^2.0.0",
9
+ "@adeficior/pack-resolver": "^2.0.1",
14
10
  "typescript": "^5",
15
11
  "zod": "^4.4.3",
16
- "@adeficior/data-modifier-core": "^2.0.0-rc.20260816171656",
17
- "@adeficior/data-modifier-recipes": "^2.0.0-rc.20260816171656",
18
- "@adeficior/data-modifier-ingredients": "^2.0.0-rc.20260816171656",
19
- "@adeficior/data-modifier-tags": "^2.0.0-rc.20260816171656"
12
+ "@adeficior/data-modifier-core": "^2.0.0",
13
+ "@adeficior/data-modifier-recipes": "^2.0.0",
14
+ "@adeficior/data-modifier-ingredients": "^2.0.0",
15
+ "@adeficior/data-modifier-tags": "^2.0.0"
20
16
  },
17
+ "typesVersions": { "*": {} },
18
+ "types": "./dist/index.d.ts",
19
+ "files": ["dist"],
21
20
  "bugs": { "url": "https://github.com/Adeficior/DataModifier/issues" },
22
21
  "homepage": "https://github.com/Adeficior/DataModifier#readme",
23
22
  "license": "LGPL-3.0-or-later",