@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.
- package/model.js +1 -0
- package/model.ts +3 -1
- package/package.json +1 -1
package/model.js
CHANGED
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;
|