@hiver/connector-admin 4.26.0-prefillAuto-beta.0 → 4.26.0-prefillAuto-beta.3

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.
@@ -7,7 +7,7 @@ export type AuthPollStatus = (typeof AUTH_POLL_STATUS)[keyof typeof AUTH_POLL_ST
7
7
  interface AuthSuccessResponse {
8
8
  status: AuthPollStatus;
9
9
  }
10
- export declare const pollIntervalFor: (elapsedMs: number) => 3000 | 2000 | 1000;
10
+ export declare const pollIntervalFor: (elapsedMs: number) => 1000 | 3000 | 2000;
11
11
  export declare const authSuccessQueryKey: (connectorId: string) => readonly ["authSuccessStatus", {
12
12
  readonly connectorId: string;
13
13
  }];
@@ -25,4 +25,9 @@ export declare const getFieldId: (field: Pick<IField, "key" | "parentId">) => st
25
25
  export declare const withSubmitPriorities: (fields: IField[]) => IField[];
26
26
  export declare const getUniqueFields: (connectorsField: IField[], customFields: IField[]) => IField[];
27
27
  export declare const getConfigurableFieldsFlag: (availableFeatures: IAvailableFtr) => boolean;
28
+ /**
29
+ * App name sent as `app` on "Prefill Default Saved": the form's connector name,
30
+ * else the connector's own name, so the event never goes out with an empty app.
31
+ */
32
+ export declare const getPrefillEventAppName: (formConnectorName?: string | null, connectorName?: string | null) => string;
28
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,UAAW,IAAI,CAAC,MAAM,EAAE,KAAK,GAAG,UAAU,CAAC,WACF,CAAC;AAEjE;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,WAAY,MAAM,EAAE,KAAG,MAAM,EACC,CAAC;AAEhE,eAAO,MAAM,eAAe,oBAAqB,MAAM,EAAE,gBAAgB,MAAM,EAAE,aA4BhF,CAAC;AAEF,eAAO,MAAM,yBAAyB,sBAAuB,aAAa,YAEzE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,UAAW,IAAI,CAAC,MAAM,EAAE,KAAK,GAAG,UAAU,CAAC,WACF,CAAC;AAEjE;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,WAAY,MAAM,EAAE,KAAG,MAAM,EACC,CAAC;AAEhE,eAAO,MAAM,eAAe,oBAAqB,MAAM,EAAE,gBAAgB,MAAM,EAAE,aA4BhF,CAAC;AAEF,eAAO,MAAM,yBAAyB,sBAAuB,aAAa,YAEzE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,uBAAwB,MAAM,GAAG,IAAI,kBAAkB,MAAM,GAAG,IAAI,KAAG,MAChE,CAAC"}