@dosgato/templating 0.0.123 → 0.0.124
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/dist/uitemplate.d.ts +7 -4
- package/package.json +1 -1
package/dist/uitemplate.d.ts
CHANGED
|
@@ -121,6 +121,9 @@ export interface DialogPageProp {
|
|
|
121
121
|
* API.
|
|
122
122
|
*/
|
|
123
123
|
export declare function dialogQuery<T = any>(query: string, variables?: any): Promise<T>;
|
|
124
|
+
export interface TracingEnvironment {
|
|
125
|
+
tracingServer: string;
|
|
126
|
+
}
|
|
124
127
|
/**
|
|
125
128
|
* A type for the config object that should be exported from a CMS instance's admin/local/index.js
|
|
126
129
|
* to configure how that instance should work.
|
|
@@ -185,10 +188,10 @@ export interface UIConfig {
|
|
|
185
188
|
*/
|
|
186
189
|
assetMetaDialog?: UITemplate['dialog'];
|
|
187
190
|
tracing?: {
|
|
188
|
-
init?: () => void;
|
|
189
|
-
startTransaction?: (name: string, details: any) => void;
|
|
190
|
-
endTransaction?: (name: string, details: any) => void;
|
|
191
|
-
event?: (name: string, details: any) => void;
|
|
191
|
+
init?: (env: TracingEnvironment) => void;
|
|
192
|
+
startTransaction?: (name: string, details: any, env: TracingEnvironment) => void;
|
|
193
|
+
endTransaction?: (name: string, details: any, env: TracingEnvironment) => void;
|
|
194
|
+
event?: (name: string, details: any, env: TracingEnvironment) => void;
|
|
192
195
|
};
|
|
193
196
|
}
|
|
194
197
|
export {};
|