@servicetitan/startup-utils 36.1.0 → 36.1.1-beta.1

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/types.d.ts CHANGED
@@ -3,4 +3,12 @@ export interface ExposedDependency {
3
3
  variable: string;
4
4
  }
5
5
  export type ExposedDependencies = Record<string, ExposedDependency>;
6
+ declare global {
7
+ interface Window {
8
+ __mfeStyles__?: Record<string, EventTarget & {
9
+ sheets: Map<string, CSSStyleSheet>;
10
+ }>;
11
+ __mfeSelfHosted__?: boolean;
12
+ }
13
+ }
6
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAEpE,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QAEZ,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG;YAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;SAAE,CAAC,CAAC;QAErF,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC/B;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/startup-utils",
3
- "version": "36.1.0",
3
+ "version": "36.1.1-beta.1",
4
4
  "description": "Reusable utility functions and helpers for uikit packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,8 +12,8 @@
12
12
  "typings": "./dist/index.d.ts",
13
13
  "exports": {
14
14
  ".": {
15
- "default": "./dist/index.js",
16
- "types": "./dist/index.d.ts"
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
17
  }
18
18
  },
19
19
  "files": [
@@ -28,6 +28,5 @@
28
28
  },
29
29
  "cli": {
30
30
  "webpack": false
31
- },
32
- "gitHead": "b7b5cade33151c4d183faf498ddc1321694b7b2b"
31
+ }
33
32
  }
package/src/types.ts CHANGED
@@ -4,3 +4,12 @@ export interface ExposedDependency {
4
4
  }
5
5
 
6
6
  export type ExposedDependencies = Record<string, ExposedDependency>;
7
+
8
+ declare global {
9
+ interface Window {
10
+ // eslint-disable-next-line @typescript-eslint/naming-convention
11
+ __mfeStyles__?: Record<string, EventTarget & { sheets: Map<string, CSSStyleSheet> }>;
12
+ // eslint-disable-next-line @typescript-eslint/naming-convention
13
+ __mfeSelfHosted__?: boolean;
14
+ }
15
+ }