@hiver/connector-agent 4.14.0-userauth3-beta.0 → 4.14.0-userauthv3-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/app/connector-cards.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/NoCardsUserAuthGate.d.ts +24 -0
- package/features/connector-cards/components/card-list/NoCardsUserAuthGate.d.ts.map +1 -0
- package/features/write-form/utils/response.d.ts.map +1 -1
- package/index.es.js +4888 -4836
- package/index.umd.js +310 -310
- package/package.json +1 -1
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
- package/types/form.d.ts +2 -0
- package/types/form.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkF,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAkF,MAAM,OAAO,CAAC;AAuG3G,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CA0oBxC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface IUserAuthConnector {
|
|
3
|
+
connectorId: string;
|
|
4
|
+
connectorName: string;
|
|
5
|
+
connectorLogo: string;
|
|
6
|
+
}
|
|
7
|
+
interface IProps {
|
|
8
|
+
connectors: IUserAuthConnector[];
|
|
9
|
+
onConnected: () => void;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Renders the "Sign in to use X" card on the agent panel when there are no
|
|
14
|
+
* linked cards yet but the connector is opted into user-tier auth and the
|
|
15
|
+
* agent hasn't connected. Without this, the sign-in CTA only ever appeared
|
|
16
|
+
* inside ListCards (per linked card), so a brand-new install showed the
|
|
17
|
+
* create/link banner with no way to authenticate.
|
|
18
|
+
*
|
|
19
|
+
* When no connector is blocking (all connected, or status still unknown)
|
|
20
|
+
* the children (create banner) render as before.
|
|
21
|
+
*/
|
|
22
|
+
export declare const NoCardsUserAuthGate: FC<IProps>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=NoCardsUserAuthGate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoCardsUserAuthGate.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/NoCardsUserAuthGate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUtC,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,MAAM;IAGd,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;IAGxB,QAAQ,EAAE,SAAS,CAAC;CACrB;AA8CD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,MAAM,CAa1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/utils/response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAGlE,eAAO,MAAM,gBAAgB,UAAW,iBAAiB,cAAc,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/utils/response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAGlE,eAAO,MAAM,gBAAgB,UAAW,iBAAiB,cAAc,OAAO,CAAC,UAAU,CAAC,eAgFzF,CAAC"}
|