@bigfootai/bigfoot-types 5.1.11 → 5.1.13

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.
@@ -23,6 +23,13 @@ exports.AccountOverview = {
23
23
  metadataType: 'organization',
24
24
  blockType: model_1.BlockType.Record,
25
25
  },
26
+ {
27
+ name: 'opportunities',
28
+ title: 'Opportunities',
29
+ description: 'A list of opportunities associated with the account',
30
+ tagType: model_1.TagType.Person,
31
+ blockType: model_1.BlockType.Table,
32
+ },
26
33
  {
27
34
  name: 'opportunities',
28
35
  title: 'Opportunities',
@@ -1,4 +1,4 @@
1
- import { BlockType, DashboardMetadata } from '../../model';
1
+ import { BlockType, DashboardMetadata, TagType } from '../../model';
2
2
 
3
3
  export const AccountOverview: DashboardMetadata = {
4
4
  _id: '',
@@ -24,6 +24,13 @@ export const AccountOverview: DashboardMetadata = {
24
24
  metadataType: 'organization',
25
25
  blockType: BlockType.Record,
26
26
  },
27
+ {
28
+ name: 'opportunities',
29
+ title: 'Opportunities',
30
+ description: 'A list of opportunities associated with the account',
31
+ tagType: TagType.Person,
32
+ blockType: BlockType.Table,
33
+ },
27
34
  {
28
35
  name: 'opportunities',
29
36
  title: 'Opportunities',
package/model.js CHANGED
@@ -858,6 +858,7 @@ class Block extends SharedPrimitive {
858
858
  this.archived = false;
859
859
  this.favorite = false;
860
860
  this.snoozed = false;
861
+ this._favorite = [];
861
862
  this._dateDueUserAssigned = false;
862
863
  this._empty = false;
863
864
  }
@@ -1137,7 +1138,7 @@ type BlockDescription {
1137
1138
  title: String
1138
1139
  name: String!
1139
1140
  description: String!
1140
- blockType: String!
1141
+ blockType: String
1141
1142
  metadataType: String
1142
1143
  tagType: String
1143
1144
  }`;
package/model.ts CHANGED
@@ -1307,7 +1307,7 @@ export class Block extends SharedPrimitive {
1307
1307
  snoozed: boolean;
1308
1308
  // A virtualized binary state by tenant
1309
1309
  favorite: boolean;
1310
- _favorite?: string[];
1310
+ _favorite: string[];
1311
1311
  // Tasky things about the block
1312
1312
  dateDue?: number;
1313
1313
  dateRemindMe?: number;
@@ -1348,6 +1348,8 @@ export class Block extends SharedPrimitive {
1348
1348
  this.favorite = false;
1349
1349
  this.snoozed = false;
1350
1350
 
1351
+ this._favorite = [];
1352
+
1351
1353
  this._dateDueUserAssigned = false;
1352
1354
 
1353
1355
  this._empty = false;
@@ -1961,7 +1963,7 @@ type BlockDescription {
1961
1963
  title: String
1962
1964
  name: String!
1963
1965
  description: String!
1964
- blockType: String!
1966
+ blockType: String
1965
1967
  metadataType: String
1966
1968
  tagType: String
1967
1969
  }`;
@@ -1969,7 +1971,7 @@ export interface BlockDescription {
1969
1971
  title?: string;
1970
1972
  name: string;
1971
1973
  description: string;
1972
- blockType: BlockType;
1974
+ blockType?: BlockType;
1973
1975
  metadataType?: string;
1974
1976
  tagType?: TagType;
1975
1977
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.1.11",
4
+ "version": "5.1.13",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",