@bigfootai/bigfoot-types 4.5.7 → 4.5.9

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 +4 -2
  2. package/model.ts +9 -3
  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!
@@ -1124,8 +1125,9 @@ input UpsertTagInput {
1124
1125
  inviteStatus: Int
1125
1126
  originNoteId: String
1126
1127
  favorite: Boolean
1127
- sharingDomains: [SharingDomainInput]
1128
- sharingTenants: [SharingTenantInput]
1128
+ hasAutoShareNotesOn: Boolean
1129
+ hasAutoShareTasksOn: Boolean
1130
+ sharingLevel: Int
1129
1131
  }`;
1130
1132
  exports.FindTagInputQL = `
1131
1133
  input FindTagInput {
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,10 @@ 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 property
815
+ hasAutoShareNotesOn?: boolean; // This is really a virtualized property
816
+ hasAutoShareTasksOn?: boolean; // This is really a virtualized property
817
+ sharingLevel?: SharingLevel; // This is really a virtualized property
813
818
  taskCount?: number;
814
819
  _createdByAI: boolean;
815
820
  _orphan?: boolean;
@@ -2024,8 +2029,9 @@ input UpsertTagInput {
2024
2029
  inviteStatus: Int
2025
2030
  originNoteId: String
2026
2031
  favorite: Boolean
2027
- sharingDomains: [SharingDomainInput]
2028
- sharingTenants: [SharingTenantInput]
2032
+ hasAutoShareNotesOn: Boolean
2033
+ hasAutoShareTasksOn: Boolean
2034
+ sharingLevel: Int
2029
2035
  }`;
2030
2036
  export interface UpsertTagInput extends Tag {}
2031
2037
 
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.9",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",