@cakemail-org/ui-components-v2 2.0.64 → 2.0.65
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/dist/cjs/index.js
CHANGED
|
@@ -2201,6 +2201,7 @@ exports.EPartialInfoPool = void 0;
|
|
|
2201
2201
|
EPartialInfoPool["partialAccountReport"] = "partialAccountReport";
|
|
2202
2202
|
EPartialInfoPool["partialAutomationReport"] = "partialAutomationReport";
|
|
2203
2203
|
EPartialInfoPool["partialUsers"] = "partialUsers";
|
|
2204
|
+
EPartialInfoPool["partialLists"] = "partialLists";
|
|
2204
2205
|
})(exports.EPartialInfoPool || (exports.EPartialInfoPool = {}));
|
|
2205
2206
|
|
|
2206
2207
|
// Storage
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Stoppable, UsesConcurrency } from "@supercharge/promise-pool";
|
|
2
2
|
import { Dispatch, MutableRefObject, SetStateAction } from "react";
|
|
3
|
-
import { TUserModel } from "../models";
|
|
3
|
+
import { TListModel, TUserModel } from "../models";
|
|
4
4
|
import { TSenderModel } from "../models/sender";
|
|
5
5
|
import { TListTemplateModel, TTemplateModel } from "../models/templates";
|
|
6
6
|
import { TNumStr } from "./generic";
|
|
@@ -30,9 +30,11 @@ export declare enum EPartialInfoPool {
|
|
|
30
30
|
"partialEmailActivity" = "partialEmailActivity",
|
|
31
31
|
"partialAccountReport" = "partialAccountReport",
|
|
32
32
|
"partialAutomationReport" = "partialAutomationReport",
|
|
33
|
-
"partialUsers" = "partialUsers"
|
|
33
|
+
"partialUsers" = "partialUsers",
|
|
34
|
+
"partialLists" = "partialLists"
|
|
34
35
|
}
|
|
35
36
|
export type TPromisePoolPartialUser = Pick<TUserModel, "id" | "email" | "status" | "last_activity_on" | "first_name" | "last_name" | "language" | "timezone"> | undefined;
|
|
36
37
|
export type TPromisePoolPartialSender = Pick<TSenderModel, "email" | "name" | "confirmed"> | undefined;
|
|
37
38
|
export type TPromisePoolPartialTemplates = Pick<TTemplateModel | TListTemplateModel, "name" | "thumbnail_url" | "description"> | undefined;
|
|
39
|
+
export type TPromisePoolPartialList = Pick<TListModel, "id" | "name" | "status"> | undefined;
|
|
38
40
|
export {};
|
package/dist/esm/index.js
CHANGED
|
@@ -2181,6 +2181,7 @@ var EPartialInfoPool;
|
|
|
2181
2181
|
EPartialInfoPool["partialAccountReport"] = "partialAccountReport";
|
|
2182
2182
|
EPartialInfoPool["partialAutomationReport"] = "partialAutomationReport";
|
|
2183
2183
|
EPartialInfoPool["partialUsers"] = "partialUsers";
|
|
2184
|
+
EPartialInfoPool["partialLists"] = "partialLists";
|
|
2184
2185
|
})(EPartialInfoPool || (EPartialInfoPool = {}));
|
|
2185
2186
|
|
|
2186
2187
|
// Storage
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Stoppable, UsesConcurrency } from "@supercharge/promise-pool";
|
|
2
2
|
import { Dispatch, MutableRefObject, SetStateAction } from "react";
|
|
3
|
-
import { TUserModel } from "../models";
|
|
3
|
+
import { TListModel, TUserModel } from "../models";
|
|
4
4
|
import { TSenderModel } from "../models/sender";
|
|
5
5
|
import { TListTemplateModel, TTemplateModel } from "../models/templates";
|
|
6
6
|
import { TNumStr } from "./generic";
|
|
@@ -30,9 +30,11 @@ export declare enum EPartialInfoPool {
|
|
|
30
30
|
"partialEmailActivity" = "partialEmailActivity",
|
|
31
31
|
"partialAccountReport" = "partialAccountReport",
|
|
32
32
|
"partialAutomationReport" = "partialAutomationReport",
|
|
33
|
-
"partialUsers" = "partialUsers"
|
|
33
|
+
"partialUsers" = "partialUsers",
|
|
34
|
+
"partialLists" = "partialLists"
|
|
34
35
|
}
|
|
35
36
|
export type TPromisePoolPartialUser = Pick<TUserModel, "id" | "email" | "status" | "last_activity_on" | "first_name" | "last_name" | "language" | "timezone"> | undefined;
|
|
36
37
|
export type TPromisePoolPartialSender = Pick<TSenderModel, "email" | "name" | "confirmed"> | undefined;
|
|
37
38
|
export type TPromisePoolPartialTemplates = Pick<TTemplateModel | TListTemplateModel, "name" | "thumbnail_url" | "description"> | undefined;
|
|
39
|
+
export type TPromisePoolPartialList = Pick<TListModel, "id" | "name" | "status"> | undefined;
|
|
38
40
|
export {};
|