@bigfootai/bigfoot-types 3.7.4 → 3.7.6

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 (3) hide show
  1. package/model.js +6 -2
  2. package/model.ts +9 -3
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -216,7 +216,7 @@ type Editor {
216
216
  exports.SharingTagInputQL = `
217
217
  input SharingTagInput {
218
218
  tagId: String!
219
- isShared: Boolean!
219
+ shared: Boolean!
220
220
  sharingApproach: String!
221
221
  sharingLevel: String!
222
222
  confidence: Float
@@ -225,7 +225,7 @@ input SharingTagInput {
225
225
  exports.SharingTagQL = `
226
226
  type SharingTag {
227
227
  tagId: String!
228
- isShared: Boolean!
228
+ shared: Boolean!
229
229
  sharingApproach: String!
230
230
  sharingLevel: String!
231
231
  confidence: Float
@@ -378,11 +378,13 @@ type Search {${exports.SharedPrimitiveFields}
378
378
  orderByDateCreated: String
379
379
  orderByAlias: String
380
380
  size: Int
381
+ archived: Boolean!
381
382
  }`;
382
383
  class Search extends SharedPrimitive {
383
384
  constructor(tenantIdCreated, sharingTags) {
384
385
  super(sharingTags);
385
386
  this.tenantIdCreated = tenantIdCreated;
387
+ this.archived = false;
386
388
  }
387
389
  }
388
390
  exports.Search = Search;
@@ -521,6 +523,7 @@ exports.BlockFields = `${exports.SharedPrimitiveFields}
521
523
  version: Float!
522
524
  blockType: String!
523
525
  archived: Boolean!
526
+ favorite: Boolean!
524
527
  document: String
525
528
  reactions: [Reaction]`;
526
529
  class Block extends SharedPrimitive {
@@ -531,6 +534,7 @@ class Block extends SharedPrimitive {
531
534
  this.version = version;
532
535
  this.blockType = blockType;
533
536
  this.archived = false;
537
+ this.favorite = false;
534
538
  }
535
539
  }
536
540
  exports.Block = Block;
package/model.ts CHANGED
@@ -241,7 +241,7 @@ export interface Editor {
241
241
  export const SharingTagInputQL = `
242
242
  input SharingTagInput {
243
243
  tagId: String!
244
- isShared: Boolean!
244
+ shared: Boolean!
245
245
  sharingApproach: String!
246
246
  sharingLevel: String!
247
247
  confidence: Float
@@ -250,7 +250,7 @@ input SharingTagInput {
250
250
  export const SharingTagQL = `
251
251
  type SharingTag {
252
252
  tagId: String!
253
- isShared: Boolean!
253
+ shared: Boolean!
254
254
  sharingApproach: String!
255
255
  sharingLevel: String!
256
256
  confidence: Float
@@ -258,7 +258,7 @@ type SharingTag {
258
258
  }`;
259
259
  export interface SharingTag {
260
260
  tagId: string;
261
- isShared: boolean;
261
+ shared: boolean;
262
262
  sharingApproach: SharingApproach;
263
263
  sharingLevel: SharingLevel;
264
264
  confidence?: number;
@@ -554,6 +554,7 @@ type Search {${SharedPrimitiveFields}
554
554
  orderByDateCreated: String
555
555
  orderByAlias: String
556
556
  size: Int
557
+ archived: Boolean!
557
558
  }`;
558
559
  export class Search extends SharedPrimitive {
559
560
  search?: string;
@@ -564,11 +565,13 @@ export class Search extends SharedPrimitive {
564
565
  orderByAlias?: OrderByDirection;
565
566
  page?: number;
566
567
  size?: number;
568
+ archived: boolean;
567
569
 
568
570
  constructor(tenantIdCreated: string, sharingTags: SharingTag[]) {
569
571
  super(sharingTags);
570
572
 
571
573
  this.tenantIdCreated = tenantIdCreated;
574
+ this.archived = false;
572
575
  }
573
576
  }
574
577
 
@@ -790,6 +793,7 @@ export const BlockFields = `${SharedPrimitiveFields}
790
793
  version: Float!
791
794
  blockType: String!
792
795
  archived: Boolean!
796
+ favorite: Boolean!
793
797
  document: String
794
798
  reactions: [Reaction]`;
795
799
  export class Block extends SharedPrimitive {
@@ -797,6 +801,7 @@ export class Block extends SharedPrimitive {
797
801
  version: number;
798
802
  blockType: BlockType;
799
803
  archived: boolean;
804
+ favorite: boolean;
800
805
  document?: any;
801
806
  reactions?: Reaction[];
802
807
  _changes?: Changes;
@@ -816,6 +821,7 @@ export class Block extends SharedPrimitive {
816
821
  this.blockType = blockType;
817
822
 
818
823
  this.archived = false;
824
+ this.favorite = false;
819
825
  }
820
826
  }
821
827
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "3.7.4",
4
+ "version": "3.7.6",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",