@livetiles/reach-plugin-types 0.4.0-preview.981 → 0.4.0-preview.982

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +14 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -6347,6 +6347,20 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
6347
6347
  previewUsers: UserImport[];
6348
6348
  }>;
6349
6349
  }
6350
+ declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
6351
+ import { UserImport } from "apps/reach-app/src/app/admin/users/ImportUsersPreview";
6352
+ export function useUserCsvInviter(): {
6353
+ invitedUsers: UserImport[];
6354
+ isValidating: boolean;
6355
+ isCsvValid: boolean;
6356
+ parseCsvFile: (csvFile: File) => void;
6357
+ error: string;
6358
+ setError: import("react").Dispatch<import("react").SetStateAction<string>>;
6359
+ inviteUsers: (onSuccess?: () => void) => Promise<void>;
6360
+ isParserReady: boolean;
6361
+ isImporting: boolean;
6362
+ };
6363
+ }
6350
6364
  declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
6351
6365
  import { FC } from 'react';
6352
6366
  export const ImportUserButton: FC<{
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.981",
7
+ "version": "0.4.0-preview.982",
8
8
  "dependencies": {}
9
9
  }