@livetiles/reach-plugin-types 0.5.0-preview.75 → 0.5.0-preview.79
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/lib/index.d.ts +3 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1718,6 +1718,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1718
1718
|
user: UserSummary;
|
|
1719
1719
|
type: SubscriptionJoinResultType;
|
|
1720
1720
|
message?: string;
|
|
1721
|
+
isSuccess?: boolean;
|
|
1721
1722
|
}
|
|
1722
1723
|
export interface UserActivationResult {
|
|
1723
1724
|
type: UserActivationResultType;
|
|
@@ -6645,6 +6646,7 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvIn
|
|
|
6645
6646
|
export type CsvValidation = {
|
|
6646
6647
|
Status?: ValidationStatus;
|
|
6647
6648
|
Message?: string;
|
|
6649
|
+
InvalidItems?: string[];
|
|
6648
6650
|
};
|
|
6649
6651
|
export function useUserCsvInviter(): {
|
|
6650
6652
|
invitedUsers: UserImport[];
|
|
@@ -6652,7 +6654,7 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvIn
|
|
|
6652
6654
|
isCsvValid: boolean;
|
|
6653
6655
|
parseCsvFile: (csvFile: File) => void;
|
|
6654
6656
|
csvValidation: CsvValidation;
|
|
6655
|
-
setCsvValidation: (status: ValidationStatus, message: string) => void;
|
|
6657
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6656
6658
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6657
6659
|
isParserReady: boolean;
|
|
6658
6660
|
isInviting: boolean;
|