@ms-cloudpack/common-types 0.24.5 → 0.24.6
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/lib/TelemetryConfig.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import type { PageLoadTimePerformanceEntry } from '@ms-cloudpack/common-types-browser';
|
|
1
2
|
export interface TelemetryConfig {
|
|
2
3
|
/**
|
|
3
4
|
* Application Insights connection string.
|
|
4
5
|
*/
|
|
5
|
-
connectionString
|
|
6
|
+
connectionString?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Cloudpack will query this performance entry to determine the page load time.
|
|
9
|
+
*/
|
|
10
|
+
pageLoadTimePerformanceEntry?: PageLoadTimePerformanceEntry;
|
|
6
11
|
}
|
|
7
12
|
//# sourceMappingURL=TelemetryConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TelemetryConfig.d.ts","sourceRoot":"","sources":["../src/TelemetryConfig.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"TelemetryConfig.d.ts","sourceRoot":"","sources":["../src/TelemetryConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAEvF,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,4BAA4B,CAAC,EAAE,4BAA4B,CAAC;CAC7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TelemetryConfig.js","sourceRoot":"","sources":["../src/TelemetryConfig.ts"],"names":[],"mappings":"","sourcesContent":["
|
|
1
|
+
{"version":3,"file":"TelemetryConfig.js","sourceRoot":"","sources":["../src/TelemetryConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { PageLoadTimePerformanceEntry } from '@ms-cloudpack/common-types-browser';\n\nexport interface TelemetryConfig {\n /**\n * Application Insights connection string.\n */\n connectionString?: string;\n\n /**\n * Cloudpack will query this performance entry to determine the page load time.\n */\n pageLoadTimePerformanceEntry?: PageLoadTimePerformanceEntry;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/common-types",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.6",
|
|
4
4
|
"description": "Common types for Cloudpack.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
+
"@ms-cloudpack/common-types-browser": "^0.5.4",
|
|
17
18
|
"@types/express": "^4.17.16"
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {
|
package/schema/AppConfig.json
CHANGED
|
@@ -742,12 +742,41 @@
|
|
|
742
742
|
"connectionString": {
|
|
743
743
|
"type": "string",
|
|
744
744
|
"description": "Application Insights connection string."
|
|
745
|
+
},
|
|
746
|
+
"pageLoadTimePerformanceEntry": {
|
|
747
|
+
"$ref": "#/definitions/PageLoadTimePerformanceEntry",
|
|
748
|
+
"description": "Cloudpack will query this performance entry to determine the page load time."
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
"additionalProperties": false
|
|
752
|
+
},
|
|
753
|
+
"PageLoadTimePerformanceEntry": {
|
|
754
|
+
"type": "object",
|
|
755
|
+
"properties": {
|
|
756
|
+
"name": {
|
|
757
|
+
"type": "string",
|
|
758
|
+
"description": "The name of the performance mark/measure to query."
|
|
759
|
+
},
|
|
760
|
+
"type": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"enum": [
|
|
763
|
+
"mark",
|
|
764
|
+
"measure"
|
|
765
|
+
],
|
|
766
|
+
"description": "The type of performance entry to query.",
|
|
767
|
+
"default": "mark"
|
|
768
|
+
},
|
|
769
|
+
"timeout": {
|
|
770
|
+
"type": "number",
|
|
771
|
+
"description": "The maximum time in milliseconds to wait for the performance mark to be set.",
|
|
772
|
+
"default": "5 mins"
|
|
745
773
|
}
|
|
746
774
|
},
|
|
747
775
|
"required": [
|
|
748
|
-
"
|
|
776
|
+
"name"
|
|
749
777
|
],
|
|
750
|
-
"additionalProperties": false
|
|
778
|
+
"additionalProperties": false,
|
|
779
|
+
"description": "Client and server side object for Cloudpack to detect app-specific page load time entry"
|
|
751
780
|
},
|
|
752
781
|
"Features": {
|
|
753
782
|
"type": "object",
|
package/schema/UserConfig.json
CHANGED
|
@@ -743,12 +743,41 @@
|
|
|
743
743
|
"connectionString": {
|
|
744
744
|
"type": "string",
|
|
745
745
|
"description": "Application Insights connection string."
|
|
746
|
+
},
|
|
747
|
+
"pageLoadTimePerformanceEntry": {
|
|
748
|
+
"$ref": "#/definitions/PageLoadTimePerformanceEntry",
|
|
749
|
+
"description": "Cloudpack will query this performance entry to determine the page load time."
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"additionalProperties": false
|
|
753
|
+
},
|
|
754
|
+
"PageLoadTimePerformanceEntry": {
|
|
755
|
+
"type": "object",
|
|
756
|
+
"properties": {
|
|
757
|
+
"name": {
|
|
758
|
+
"type": "string",
|
|
759
|
+
"description": "The name of the performance mark/measure to query."
|
|
760
|
+
},
|
|
761
|
+
"type": {
|
|
762
|
+
"type": "string",
|
|
763
|
+
"enum": [
|
|
764
|
+
"mark",
|
|
765
|
+
"measure"
|
|
766
|
+
],
|
|
767
|
+
"description": "The type of performance entry to query.",
|
|
768
|
+
"default": "mark"
|
|
769
|
+
},
|
|
770
|
+
"timeout": {
|
|
771
|
+
"type": "number",
|
|
772
|
+
"description": "The maximum time in milliseconds to wait for the performance mark to be set.",
|
|
773
|
+
"default": "5 mins"
|
|
746
774
|
}
|
|
747
775
|
},
|
|
748
776
|
"required": [
|
|
749
|
-
"
|
|
777
|
+
"name"
|
|
750
778
|
],
|
|
751
|
-
"additionalProperties": false
|
|
779
|
+
"additionalProperties": false,
|
|
780
|
+
"description": "Client and server side object for Cloudpack to detect app-specific page load time entry"
|
|
752
781
|
},
|
|
753
782
|
"Features": {
|
|
754
783
|
"type": "object",
|