@bigfootai/bigfoot-types 4.5.7 → 4.5.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.
Files changed (3) hide show
  1. package/model.js +1 -0
  2. package/model.ts +3 -1
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -268,6 +268,7 @@ type SharingDomain {
268
268
  exports.SharingTenantQL = `
269
269
  type SharingTenant {
270
270
  tenantId: String!
271
+ favorite: Boolean
271
272
  hasAutoShareNotesOn: Boolean
272
273
  hasAutoShareTasksOn: Boolean
273
274
  sharingLevel: Int!
package/model.ts CHANGED
@@ -307,12 +307,14 @@ export interface SharingDomain {
307
307
  export const SharingTenantQL = `
308
308
  type SharingTenant {
309
309
  tenantId: String!
310
+ favorite: Boolean
310
311
  hasAutoShareNotesOn: Boolean
311
312
  hasAutoShareTasksOn: Boolean
312
313
  sharingLevel: Int!
313
314
  }`;
314
315
  export interface SharingTenant {
315
316
  tenantId: string;
317
+ favorite: boolean; // Indicates if the tag is a favorite for the tenant
316
318
  hasAutoShareNotesOn: boolean; // Indicates if the tenant has auto sharing of notes switched on
317
319
  hasAutoShareTasksOn: boolean; // Indicates if the tenant has auto sharing of tasks switched on
318
320
  sharingLevel: SharingLevel; // Determines what tenants can do with the tag beyond tenant specific settings above
@@ -809,7 +811,7 @@ export class Tag extends Primitive {
809
811
  originNoteId?: string; // If the tag originated from a note, we store that here
810
812
  tenantIdVerified?: string; // The tenant._id that claimed/verified this tag as being them
811
813
  archived: boolean;
812
- favorite: boolean;
814
+ favorite: boolean; // This is really a virtualized tag as it's taken from the tenant sharing, not from the database
813
815
  taskCount?: number;
814
816
  _createdByAI: boolean;
815
817
  _orphan?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.5.7",
4
+ "version": "4.5.8",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",