@olympeio/runtime-web 9.12.2 → 9.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olympeio/runtime-web",
3
- "version": "9.12.2",
3
+ "version": "9.14.0",
4
4
  "description": "Olympe Web Runtime Environment",
5
5
  "types": "types/index.d.ts",
6
6
  "dependencies": {
@@ -133,7 +133,7 @@ export class BrickContext extends Context {
133
133
  * @param selector the context selector
134
134
  * @param selector.modelTag tag of the "type" of context you want to find in the parent tree
135
135
  */
136
- getClosest(selector: {modelTag: InstanceOrTag}): BrickContext;
136
+ getClosest(selector: { modelTag: InstanceOrTag }): BrickContext;
137
137
 
138
138
  /**
139
139
  * Listen to the creation of the context with the specified id.
@@ -151,6 +151,9 @@ export class BrickContext extends Context {
151
151
  getBrickTag(): string | null;
152
152
  }
153
153
 
154
+ /**
155
+ * Bricks are the fundamental building blocks of an Olympe application. They encapsulate discrete functionality and can be combined and reused to create complex applications and services.
156
+ */
154
157
  export abstract class Brick extends CloudObject {
155
158
 
156
159
  /**
@@ -170,7 +173,7 @@ export abstract class Brick extends CloudObject {
170
173
  *
171
174
  * @param $ the brick context
172
175
  */
173
- run($: BrickContext) : void;
176
+ run($: BrickContext): void;
174
177
 
175
178
  /**
176
179
  * Called when the brick starts its lifecycle and gets initialized.