@glissandoo/lib 1.0.37 → 1.0.39

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,6 +7,7 @@ export declare namespace CommunicationFbFunctionsTypes {
7
7
  title: string;
8
8
  message: Node[];
9
9
  recipients: string[];
10
+ templateId: string | null;
10
11
  type: CommunicationType;
11
12
  imagesPath: string[];
12
13
  attachmentsPath: string[];
@@ -18,6 +19,7 @@ export declare namespace CommunicationFbFunctionsTypes {
18
19
  title: string;
19
20
  message: Node[];
20
21
  recipients: string[];
22
+ templateId: string | null;
21
23
  type: CommunicationType;
22
24
  imagesPath: string[];
23
25
  attachmentsPath: string[];
@@ -12,6 +12,7 @@ export default class Communication extends Model<CommunicationData> {
12
12
  get owner(): DocumentReference;
13
13
  get ownerInfo(): import("../User/types").UserTinyData | import("../Group/types").GroupTinyData;
14
14
  get allowAnswer(): boolean;
15
+ get templateId(): string | null;
15
16
  get recipients(): string[];
16
17
  get recipientsInfo(): Record<string, import("./types").CommunicationRecipientData>;
17
18
  get listRecipients(): (import("./types").CommunicationRecipientData & {
@@ -38,6 +38,9 @@ class Communication extends Model_1.default {
38
38
  get allowAnswer() {
39
39
  return this.data.allowAnswers || false;
40
40
  }
41
+ get templateId() {
42
+ return this.data.templateId || null;
43
+ }
41
44
  get recipients() {
42
45
  return this.data.recipients || [];
43
46
  }
@@ -39,6 +39,7 @@ export interface CommunicationData {
39
39
  allowAnswers: boolean;
40
40
  attachmentsPath: string[];
41
41
  imagesPath: string[];
42
+ templateId: string | null;
42
43
  recipients: string[];
43
44
  recipientsInfo: Record<string, CommunicationRecipientData>;
44
45
  thumbnailType: CommunicationThumbnailType | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",