pareto-core 0.1.246 → 0.1.248

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.
@@ -1,6 +1,10 @@
1
1
  import { type Command } from './command.js';
2
2
  import { type Query } from './query.js';
3
- export type Resource<Commands extends Record<string, Command<any, any>>, Queries extends Record<string, Query<any, any, any>>> = {
4
- 'commands': Commands;
5
- 'queries': Queries;
3
+ export type Resource = {
4
+ 'commands': {
5
+ [key: string]: Command<any, any>;
6
+ };
7
+ 'queries': {
8
+ [key: string]: Query<any, any, any>;
9
+ };
6
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pareto-core",
3
- "version": "0.1.246",
3
+ "version": "0.1.248",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Corno",
6
6
  "description": "the core language constructs for the Pareto programming language (in TypeScript)",