@powerhousedao/reactor-api 1.12.1 → 1.13.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.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,24 @@
1
- ## 1.12.1 (2024-12-18)
1
+ ## 1.13.0 (2024-12-19)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **renown:** added initial renown sdk package ([2864fbc6](https://github.com/powerhouse-inc/powerhouse/commit/2864fbc6))
6
+ - **codegen:** operational processor template ([455314c7](https://github.com/powerhouse-inc/powerhouse/commit/455314c7))
7
+ - **reactor-api:** added operational processor ([e3dfb4da](https://github.com/powerhouse-inc/powerhouse/commit/e3dfb4da))
2
8
 
3
9
  ### 🩹 Fixes
4
10
 
5
- - **reactor-api:** update graphql dependency ([ed063402](https://github.com/powerhouse-inc/powerhouse/commit/ed063402))
11
+ - **reactor-api:** set proper operational datasource ([d040acfb](https://github.com/powerhouse-inc/powerhouse/commit/d040acfb))
12
+
13
+ ### 🧱 Updated Dependencies
14
+
15
+ - Updated document-model-libs to 1.124.0
16
+ - Updated document-drive to 1.12.1
17
+ - Updated @powerhousedao/scalars to 1.15.0
6
18
 
7
19
  ### ❤️ Thank You
8
20
 
21
+ - acaldas @acaldas
9
22
  - Frank
10
23
 
11
24
  ## 1.2.0 (2024-10-29)
package/dist/index.d.ts CHANGED
@@ -451,6 +451,12 @@ declare function startAPI(reactor: IDocumentDriveServer, options: Options): Prom
451
451
  declare const createSchema: (documentDriveServer: IDocumentDriveServer, resolvers: GraphQLResolverMap<Context>, typeDefs: DocumentNode) => graphql.GraphQLSchema;
452
452
  declare const getDocumentModelTypeDefs: (documentDriveServer: IDocumentDriveServer, typeDefs: DocumentNode) => DocumentNode;
453
453
 
454
+ declare abstract class OperationalProcessor<D extends Document = Document, S extends OperationScope = OperationScope> extends Processor<D, S> {
455
+ protected operationalStore: Db;
456
+ constructor(args: ProcessorSetupArgs, options?: ProcessorOptions);
457
+ onSetup(args: ProcessorSetupArgs): void;
458
+ }
459
+
454
460
  declare class ProcessorManager implements IProcessorManager {
455
461
  #private;
456
462
  private operationalStore;
@@ -461,4 +467,4 @@ declare class ProcessorManager implements IProcessorManager {
461
467
  registerProcessor(module: IProcessor | ProcessorClass): Promise<IProcessor>;
462
468
  }
463
469
 
464
- export { type API, AnalyticsProcessor, BaseProcessor, type Context, type Db, type IProcessor, type IProcessorManager, type ISubgraph, Processor, type ProcessorClass, ProcessorManager, type ProcessorOptions, type ProcessorSetupArgs, type ProcessorType, type ProcessorUpdate, Subgraph, type SubgraphArgs, type SubgraphClass, SubgraphManager, index$2 as analyticsSubgraph, createSchema, index$1 as driveSubgraph, getDbClient, getDocumentModelTypeDefs, isProcessorClass, isSubgraphClass, startAPI, index as systemSubgraph };
470
+ export { type API, AnalyticsProcessor, BaseProcessor, type Context, type Db, type IProcessor, type IProcessorManager, type ISubgraph, OperationalProcessor, Processor, type ProcessorClass, ProcessorManager, type ProcessorOptions, type ProcessorSetupArgs, type ProcessorType, type ProcessorUpdate, Subgraph, type SubgraphArgs, type SubgraphClass, SubgraphManager, index$2 as analyticsSubgraph, createSchema, index$1 as driveSubgraph, getDbClient, getDocumentModelTypeDefs, isProcessorClass, isSubgraphClass, startAPI, index as systemSubgraph };