@hiver/connector-admin 4.12.3-slack-beta.0 → 4.12.3-slack2-beta.2

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-admin",
3
- "version": "4.12.3-slack-beta.0",
3
+ "version": "4.12.3-slack2-beta.2",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",
@@ -6,6 +6,12 @@ interface EnabledToggleProps {
6
6
  * toggle to match the legacy Settings behavior (`!isAuthenticated`
7
7
  * forces `disableSwitch = true`). */
8
8
  isAuthenticated: boolean;
9
+ /** Connector type (e.g. `slack`) — gates connector-specific tracking.
10
+ * EnabledToggle is generic across app-detail types, so the Slack
11
+ * enable/disable Gainsight events fire only when type === 'slack'. */
12
+ connectorType?: string;
13
+ /** Connector display name, for the tracking payload. */
14
+ connectorName?: string;
9
15
  }
10
16
  /**
11
17
  * Active/Inactive status chip + loader switch for the connector-route
@@ -1 +1 @@
1
- {"version":3,"file":"EnabledToggle.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/EnabledToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAAE,MAAM,OAAO,CAAC;AAqBxC,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB;;0CAEsC;IACtC,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyChD,CAAC"}
1
+ {"version":3,"file":"EnabledToggle.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/EnabledToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAAc,MAAM,OAAO,CAAC;AAuBpD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB;;0CAEsC;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB;;2EAEuE;IACvE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAwDhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/slack/controller.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAIpG;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,iBAAiB,GAAG,aAAa,CAsFjF"}
1
+ {"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/slack/controller.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAIpG;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,iBAAiB,GAAG,aAAa,CA4GjF"}