@olympeio/runtime-web 9.13.0 → 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/import/olympe.dm/datamodel/.Primordial.newInst.json +1 -1
- package/import/olympe.dm/datamodel/05_permission_schema.updateInst.json +1 -1
- package/import/olympe.sc/datamodel/01_language.newInst.json +1 -1
- package/import/olympe.sc/datamodel/01_language.newRel.json +1 -1
- package/import/olympe.sc.ui/datamodel/03_categories.newInst.json +1 -1
- package/import/olympe.sc.ui/datamodel/03_categories.newRel.json +1 -1
- package/index.js +1787 -1784
- package/package.json +1 -1
- package/types/runtime.d.ts +5 -2
package/package.json
CHANGED
package/types/runtime.d.ts
CHANGED
|
@@ -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)
|
|
176
|
+
run($: BrickContext): void;
|
|
174
177
|
|
|
175
178
|
/**
|
|
176
179
|
* Called when the brick starts its lifecycle and gets initialized.
|