@hiver/connector-admin 4.22.0-appsActivation-beta.3 → 4.22.0-appsActivation-beta.5
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/index.es.js +12947 -12934
- package/index.umd.js +448 -448
- package/package.json +1 -1
- package/v2/app/connectors/pages/api-view/index.d.ts.map +1 -1
- package/v2/app/connectors/pages/app-detail/__tests__/opens-app-detail.test.d.ts +2 -0
- package/v2/app/connectors/pages/app-detail/__tests__/opens-app-detail.test.d.ts.map +1 -0
- package/v2/app/connectors/pages/app-detail/index.d.ts.map +1 -1
- package/v2/app/connectors/pages/app-detail/registry.d.ts +11 -0
- package/v2/app/connectors/pages/app-detail/registry.d.ts.map +1 -1
- package/v2/app/connectors/pages/settings/auth/index.d.ts.map +1 -1
- package/v2/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/v2/features/auth/components/auth-form/__tests__/auth-form-auto-start.test.d.ts +2 -0
- package/v2/features/auth/components/auth-form/__tests__/auth-form-auto-start.test.d.ts.map +1 -0
- package/v2/features/auth/components/auth-form/index.d.ts +7 -1
- package/v2/features/auth/components/auth-form/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -1
- package/v2/features/template-library/components/library-card-list/index.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/api-view/index.tsx"],"names":[],"mappings":"AAkCA,eAAO,MAAM,OAAO,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/api-view/index.tsx"],"names":[],"mappings":"AAkCA,eAAO,MAAM,OAAO,+CA2GnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opens-app-detail.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/app/connectors/pages/app-detail/__tests__/opens-app-detail.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA4D,MAAM,OAAO,CAAC;AA6BrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAuC9C,UAAU,kBAAkB;IAC1B;;;;;;;;OAQG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgGhD,CAAC"}
|
|
@@ -28,4 +28,15 @@ export declare const isSetupWithAiApp: (connectorType: string) => boolean;
|
|
|
28
28
|
export declare const resolveAppController: (connectorType: string) => AppControllerHook | null;
|
|
29
29
|
export declare const isAppDetailSupported: (connectorType: string) => boolean;
|
|
30
30
|
export declare const setsUpOnLegacyScreen: (connectorType: string) => boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Whether a type opens the new app page rather than the legacy UI.
|
|
33
|
+
*
|
|
34
|
+
* PRD §4.5.1: Setup with AI is a sibling of manual setup, and "the existing admin
|
|
35
|
+
* UI stays". So an app set up on the legacy screen opens the new page (Setup with
|
|
36
|
+
* AI beside Setup manually) only with ftr-connectors-setup-with-ai on; with it off
|
|
37
|
+
* it keeps the legacy UI throughout. Slack's page is not behind the flag.
|
|
38
|
+
*/
|
|
39
|
+
export declare const opensAppDetail: (connectorType: string, setupWithAiOn: boolean) => boolean;
|
|
40
|
+
/** `opensAppDetail` with the flag read from the host. */
|
|
41
|
+
export declare const useOpensAppDetail: () => ((connectorType: string) => boolean);
|
|
31
42
|
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAQpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,2DAA4D,CAAC;AAE5F,eAAO,MAAM,gBAAgB,kBAAmB,MAAM,KAAG,OACU,CAAC;AAEpE,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,iBAAiB,GAAG,IAClC,CAAC;AAEhD,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OAAkD,CAAC;AAUhH,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OACyB,CAAC;AAEvF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,kBAAmB,MAAM,iBAAiB,OAAO,KAAG,OACiB,CAAC;AAEjG,yDAAyD;AACzD,eAAO,MAAM,iBAAiB,QAAO,CAAC,CAAC,aAAa,EAAE,MAAM,KAAK,OAAO,CAIvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/app/connectors/pages/settings/auth/index.tsx"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAsB9D,UAAU,YAAY;IACpB,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,YAAY,sBAAuB,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/app/connectors/pages/settings/auth/index.tsx"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAsB9D,UAAU,YAAY;IACpB,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,YAAY,sBAAuB,YAAY,4CA6e3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"AAgDA,eAAO,MAAM,QAAQ,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"AAgDA,eAAO,MAAM,QAAQ,+CAoMpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-form-auto-start.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/features/auth/components/auth-form/__tests__/auth-form-auto-start.test.tsx"],"names":[],"mappings":""}
|
|
@@ -10,7 +10,13 @@ interface IAuthForm {
|
|
|
10
10
|
isAuthPending: boolean;
|
|
11
11
|
authStatus: IAUTH_STATUS;
|
|
12
12
|
authMutate: UseMutateFunction<AuthMutationResponse, Error, AuthMutationPayload>;
|
|
13
|
+
/**
|
|
14
|
+
* Start sign-in without a click, for a one-click app. The setup assistant's
|
|
15
|
+
* connect card opens this screen with `autoAuth=1`: there is nothing for the
|
|
16
|
+
* admin to fill in, so the screen does what its Authenticate button would.
|
|
17
|
+
*/
|
|
18
|
+
autoStart?: boolean;
|
|
13
19
|
}
|
|
14
|
-
export declare const AuthForm: ({ isEdit, connectorId, isLoading, connectorData, isAuthPending, authStatus, authMutate }: IAuthForm) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const AuthForm: ({ isEdit, connectorId, isLoading, connectorData, isAuthPending, authStatus, authMutate, autoStart }: IAuthForm) => import("react/jsx-runtime").JSX.Element;
|
|
15
21
|
export {};
|
|
16
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/auth/components/auth-form/index.tsx"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG/F,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACzC,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,iBAAiB,CAAC,oBAAoB,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/auth/components/auth-form/index.tsx"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG/F,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACzC,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,iBAAiB,CAAC,oBAAoB,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC;IAChF;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ,wGASlB,SAAS,4CA8WX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAqBzD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAsBD,eAAO,MAAM,uBAAuB,iEAKjC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAsCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAqBzD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAsBD,eAAO,MAAM,uBAAuB,iEAKjC,wBAAwB,4CA8L1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/template-library/components/library-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAkBvC,UAAU,qBAAqB;IAC7B,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/template-library/components/library-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAkBvC,UAAU,qBAAqB;IAC7B,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CAyErD,CAAC"}
|