@bigfootai/bigfoot-types 3.2.3 → 3.3.1

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/model.ts +15 -10
  2. package/package.json +1 -1
package/model.ts CHANGED
@@ -563,13 +563,27 @@ type Tag {${PrimitiveFields}
563
563
  tagType: String!
564
564
  sharingDomains: [SharingDomain]
565
565
  sharingTenants: [SharingTenant]
566
+ url: String
567
+ favicon: String
568
+ dbpedia: String
569
+ email: String
570
+ avatar: String
571
+ inviteStatus: Int
572
+ tenantIdVerified: String
566
573
  }`;
567
574
  export class Tag extends Primitive {
568
575
  alias: string;
576
+ tagType: TagType;
569
577
  friendlyName?: string;
570
578
  sharingDomains?: SharingDomain[]; // The domains this tag is shared with plus domain settings for the tag
571
579
  sharingTenants?: SharingTenant[]; // The tenants this tag is shared with plus tenant settings for the tag
572
- tagType: TagType;
580
+ url?: string;
581
+ favicon?: string;
582
+ dbpedia?: string;
583
+ email?: string;
584
+ avatar?: string;
585
+ inviteStatus?: InviteStatus;
586
+ tenantIdVerified?: string; // The tenant._id that claimed/verified this tag as being them
573
587
 
574
588
  constructor(tenantIdCreated: string, alias: string, tagType: TagType) {
575
589
  super();
@@ -648,21 +662,12 @@ export class Domain extends Primitive {
648
662
  }
649
663
 
650
664
  export class Organization extends Tag {
651
- url?: string;
652
- favicon?: string;
653
- dbpedia?: string;
654
-
655
665
  constructor(tenantIdCreated: string, alias: string) {
656
666
  super(tenantIdCreated, alias, TagType.Organization);
657
667
  }
658
668
  }
659
669
 
660
670
  export class Person extends Tag {
661
- email?: string;
662
- avatar?: string;
663
- inviteStatus?: InviteStatus;
664
- tenantIdVerified?: string; // The tenant._id that claimed/verified this tag as being them
665
-
666
671
  constructor(tenantIdCreated: string, alias: string) {
667
672
  super(tenantIdCreated, alias, TagType.Person);
668
673
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "3.2.3",
4
+ "version": "3.3.1",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",