@openmrs/esm-globals 7.0.1-pre.3256 → 7.0.1-pre.3259
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/.turbo/turbo-build.log +1 -1
- package/dist/types.d.ts +3 -5
- package/package.json +1 -1
- package/src/types.ts +3 -3
package/.turbo/turbo-build.log
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -127,9 +127,9 @@ export type PageDefinition = {
|
|
|
127
127
|
*/
|
|
128
128
|
offline?: boolean;
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* If supplied, the page will be rendered within the DOM element with the specified ID. Defaults to "omrs-apps-container" if not supplied.
|
|
131
131
|
*/
|
|
132
|
-
|
|
132
|
+
containerDomId?: string;
|
|
133
133
|
} & ({
|
|
134
134
|
/**
|
|
135
135
|
* Either a string or a boolean.
|
|
@@ -161,9 +161,7 @@ export type PageDefinition = {
|
|
|
161
161
|
* @internal
|
|
162
162
|
* A definition of a page after the app has been registered.
|
|
163
163
|
*/
|
|
164
|
-
export type RegisteredPageDefinition =
|
|
165
|
-
order: number;
|
|
166
|
-
};
|
|
164
|
+
export type RegisteredPageDefinition = PageDefinition & AppComponent;
|
|
167
165
|
/**
|
|
168
166
|
* A definition of an extension as extracted from an app's routes.json
|
|
169
167
|
*/
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -136,9 +136,9 @@ export type PageDefinition = {
|
|
|
136
136
|
*/
|
|
137
137
|
offline?: boolean;
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* If supplied, the page will be rendered within the DOM element with the specified ID. Defaults to "omrs-apps-container" if not supplied.
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
containerDomId?: string;
|
|
142
142
|
} & (
|
|
143
143
|
| {
|
|
144
144
|
/**
|
|
@@ -174,7 +174,7 @@ export type PageDefinition = {
|
|
|
174
174
|
* @internal
|
|
175
175
|
* A definition of a page after the app has been registered.
|
|
176
176
|
*/
|
|
177
|
-
export type RegisteredPageDefinition =
|
|
177
|
+
export type RegisteredPageDefinition = PageDefinition & AppComponent;
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* A definition of an extension as extracted from an app's routes.json
|