@glissandoo/lib 1.4.7 → 1.4.8

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.
@@ -9,8 +9,6 @@ export default class Partnership extends PartnershipBasic<PartnershipData> {
9
9
  get adminList(): import("../../helpers/types").AdminItem[];
10
10
  adminListByStatus(status: AdminItemStatus): import("../../helpers/types").AdminItem[];
11
11
  isAdmin(userId: string): boolean;
12
- /** @deprecated */
13
- get legalContact(): import("./types").LegalContactData | null;
14
12
  get createdAt(): FirebaseFirestore.Timestamp;
15
13
  private get deletedAt();
16
14
  get isDeleted(): boolean;
@@ -23,10 +23,6 @@ class Partnership extends basic_1.default {
23
23
  isAdmin(userId) {
24
24
  return this.admins.includes(userId);
25
25
  }
26
- /** @deprecated */
27
- get legalContact() {
28
- return this.data.legalContact;
29
- }
30
26
  get createdAt() {
31
27
  return this.data.createdAt;
32
28
  }
@@ -13,7 +13,6 @@ export interface LegalContactData {
13
13
  email: string;
14
14
  }
15
15
  export interface PartnershipAlgoliaData extends Pick<PartnershipData, 'displayName' | 'photoURL' | 'partnerCount'> {
16
- status: PartnershipStatus;
17
16
  createdAt: number;
18
17
  }
19
18
  export interface PartnershipBasicData {
@@ -29,12 +28,8 @@ export interface PartnershipBasicData {
29
28
  }
30
29
  export interface PartnershipData extends PartnershipBasicData {
31
30
  description: string;
32
- /** @deprecated */
33
- legalContact: LegalContactData | null;
34
31
  administrators: string[];
35
32
  administratorsList: AdminItem[];
36
- /** @deprecated */
37
- verifiedAt: Timestamp | null;
38
33
  deletedAt: Timestamp | null;
39
34
  federationIds: string[];
40
35
  gocardlessCustomerId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",