@hiver/connector-agent 4.22.10 → 4.22.11-logoV3-beta.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiver/connector-agent",
3
- "version": "4.22.10",
3
+ "version": "4.22.11-logoV3-beta.0",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=connectorLogo.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectorLogo.test.d.ts","sourceRoot":"","sources":["../../../src/utils/__tests__/connectorLogo.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { Connector } from '@connector/utils';
2
+ /**
3
+ * Hosts call this on the connectors list they render as tabs. When `updateLogo`
4
+ * is on (driven by the host's `ftr-connectors-logo-v3` flag), every connector
5
+ * `logo` is pointed at the v3 icon set; otherwise the list is returned as-is.
6
+ */
7
+ export declare const updateConnectorsLogo: <T extends Pick<Connector, "logo">>(connectors: T[], updateLogo: boolean) => T[];
8
+ //# sourceMappingURL=connectorLogo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectorLogo.d.ts","sourceRoot":"","sources":["../../src/utils/connectorLogo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAKlD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,EAAE,cAAc,OAAO,KAAG,CAAC,EAO/G,CAAC"}