@dosgato/templating 0.0.122 → 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.
@@ -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.
@@ -184,5 +187,11 @@ export interface UIConfig {
184
187
  * here. The data collected will be available when you retrieve assets.
185
188
  */
186
189
  assetMetaDialog?: UITemplate['dialog'];
190
+ tracing?: {
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;
195
+ };
187
196
  }
188
197
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.122",
3
+ "version": "0.0.124",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {