@twin.org/engine-types 0.0.1-next.26 → 0.0.1-next.27

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.
@@ -405,6 +405,7 @@ function initialiseAuditableItemGraphComponent(engineCore, context, instanceConf
405
405
  initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.changesetEntityStorageType, "AuditableItemGraphChangeset");
406
406
  component = new auditableItemGraphService.AuditableItemGraphService({
407
407
  immutableProofComponentType: context.defaultTypes.immutableProofComponent,
408
+ eventBusComponentType: context.defaultTypes.eventBusComponent,
408
409
  ...instanceConfig.options
409
410
  });
410
411
  instanceType = auditableItemGraphService.AuditableItemGraphService.NAMESPACE;
@@ -459,6 +460,7 @@ function initialiseAuditableItemStreamComponent(engineCore, context, instanceCon
459
460
  initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.streamEntryEntityStorageType, "AuditableItemStreamEntry");
460
461
  component = new auditableItemStreamService.AuditableItemStreamService({
461
462
  immutableProofComponentType: context.defaultTypes.immutableProofComponent,
463
+ eventBusComponentType: context.defaultTypes.eventBusComponent,
462
464
  ...instanceConfig.options
463
465
  });
464
466
  instanceType = auditableItemStreamService.AuditableItemStreamService.NAMESPACE;
@@ -1113,6 +1115,7 @@ function initialiseImmutableProofComponent(engineCore, context, instanceConfig,
1113
1115
  immutableStorageType: context.defaultTypes.immutableStorageConnector,
1114
1116
  identityConnectorType: context.defaultTypes.identityConnector,
1115
1117
  backgroundTaskConnectorType: context.defaultTypes.backgroundTaskConnector,
1118
+ eventBusComponentType: context.defaultTypes.eventBusComponent,
1116
1119
  ...instanceConfig.options
1117
1120
  });
1118
1121
  instanceType = immutableProofService.ImmutableProofService.NAMESPACE;
@@ -403,6 +403,7 @@ function initialiseAuditableItemGraphComponent(engineCore, context, instanceConf
403
403
  initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.changesetEntityStorageType, "AuditableItemGraphChangeset");
404
404
  component = new AuditableItemGraphService({
405
405
  immutableProofComponentType: context.defaultTypes.immutableProofComponent,
406
+ eventBusComponentType: context.defaultTypes.eventBusComponent,
406
407
  ...instanceConfig.options
407
408
  });
408
409
  instanceType = AuditableItemGraphService.NAMESPACE;
@@ -457,6 +458,7 @@ function initialiseAuditableItemStreamComponent(engineCore, context, instanceCon
457
458
  initialiseEntityStorageConnector(engineCore, context, instanceConfig.options?.streamEntryEntityStorageType, "AuditableItemStreamEntry");
458
459
  component = new AuditableItemStreamService({
459
460
  immutableProofComponentType: context.defaultTypes.immutableProofComponent,
461
+ eventBusComponentType: context.defaultTypes.eventBusComponent,
460
462
  ...instanceConfig.options
461
463
  });
462
464
  instanceType = AuditableItemStreamService.NAMESPACE;
@@ -1111,6 +1113,7 @@ function initialiseImmutableProofComponent(engineCore, context, instanceConfig,
1111
1113
  immutableStorageType: context.defaultTypes.immutableStorageConnector,
1112
1114
  identityConnectorType: context.defaultTypes.identityConnector,
1113
1115
  backgroundTaskConnectorType: context.defaultTypes.backgroundTaskConnector,
1116
+ eventBusComponentType: context.defaultTypes.eventBusComponent,
1114
1117
  ...instanceConfig.options
1115
1118
  });
1116
1119
  instanceType = ImmutableProofService.NAMESPACE;
@@ -9,6 +9,7 @@ export type AuditableItemGraphComponentConfig = {
9
9
  immutableProofComponentType?: string;
10
10
  vertexEntityStorageType?: string;
11
11
  changesetEntityStorageType?: string;
12
+ eventBusComponentType?: string;
12
13
  config?: IAuditableItemGraphServiceConfig;
13
14
  };
14
15
  };
@@ -9,6 +9,7 @@ export type AuditableItemStreamComponentConfig = {
9
9
  immutableProofComponentType?: string;
10
10
  streamEntityStorageType?: string;
11
11
  streamEntryEntityStorageType?: string;
12
+ eventBusComponentType?: string;
12
13
  config?: IAuditableItemStreamServiceConfig;
13
14
  };
14
15
  };
@@ -11,6 +11,7 @@ export type ImmutableProofComponentConfig = {
11
11
  immutableStorageType?: string;
12
12
  identityConnectorType?: string;
13
13
  backgroundTaskConnectorType?: string;
14
+ eventBusComponentType?: string;
14
15
  config?: IImmutableProofServiceConfig;
15
16
  };
16
17
  };
@@ -26,6 +26,10 @@ Auditable item graph component config types.
26
26
 
27
27
  > `optional` **changesetEntityStorageType**: `string`
28
28
 
29
+ ### options.eventBusComponentType?
30
+
31
+ > `optional` **eventBusComponentType**: `string`
32
+
29
33
  ### options.config?
30
34
 
31
35
  > `optional` **config**: `IAuditableItemGraphServiceConfig`
@@ -26,6 +26,10 @@ Auditable item stream component config types.
26
26
 
27
27
  > `optional` **streamEntryEntityStorageType**: `string`
28
28
 
29
+ ### options.eventBusComponentType?
30
+
31
+ > `optional` **eventBusComponentType**: `string`
32
+
29
33
  ### options.config?
30
34
 
31
35
  > `optional` **config**: `IAuditableItemStreamServiceConfig`
@@ -34,6 +34,10 @@ Immutable proof component config types.
34
34
 
35
35
  > `optional` **backgroundTaskConnectorType**: `string`
36
36
 
37
+ ### options.eventBusComponentType?
38
+
39
+ > `optional` **eventBusComponentType**: `string`
40
+
37
41
  ### options.config?
38
42
 
39
43
  > `optional` **config**: `IImmutableProofServiceConfig`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/engine-types",
3
- "version": "0.0.1-next.26",
3
+ "version": "0.0.1-next.27",
4
4
  "description": "Types to use in an engine.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  "@twin.org/crypto": "next",
19
19
  "@twin.org/data-core": "next",
20
20
  "@twin.org/data-schema-org": "next",
21
- "@twin.org/engine-models": "0.0.1-next.26",
21
+ "@twin.org/engine-models": "0.0.1-next.27",
22
22
  "@twin.org/entity": "next",
23
23
  "@twin.org/modules": "next",
24
24
  "@twin.org/nameof": "next"