@bigfootai/bigfoot-types 3.3.1 → 3.4.1
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.ts +69 -16
- package/package.json +1 -1
package/model.ts
CHANGED
@@ -254,12 +254,12 @@ export interface SharingTag {
|
|
254
254
|
export const SharingDomainQL = `
|
255
255
|
type SharingDomain {
|
256
256
|
domainId: String!
|
257
|
-
|
257
|
+
archived: Boolean!
|
258
258
|
sharingLevel: Int!
|
259
259
|
}`;
|
260
260
|
export interface SharingDomain {
|
261
261
|
domainId: string;
|
262
|
-
|
262
|
+
archived: boolean; // Indicates if the tag has been archived for the domain, but is shared
|
263
263
|
sharingLevel: SharingLevel; // Determines what domains can do with the tag beyond domain specific settings above
|
264
264
|
}
|
265
265
|
|
@@ -556,20 +556,21 @@ export class Provider extends Primitive {
|
|
556
556
|
}
|
557
557
|
}
|
558
558
|
|
559
|
-
export const
|
560
|
-
|
561
|
-
alias: String!
|
559
|
+
export const TagFields = `${PrimitiveFields}
|
560
|
+
alias: String!
|
562
561
|
friendlyName: String
|
563
562
|
tagType: String!
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
563
|
+
sharingDomains: [SharingDomain]
|
564
|
+
sharingTenants: [SharingTenant]
|
565
|
+
url: String
|
566
|
+
favicon: String
|
567
|
+
dbpedia: String
|
568
|
+
email: String
|
569
|
+
avatar: String
|
570
|
+
inviteStatus: Int
|
571
|
+
tenantIdVerified: String`;
|
572
|
+
export const TagQL = `
|
573
|
+
type Tag {${TagFields}
|
573
574
|
}`;
|
574
575
|
export class Tag extends Primitive {
|
575
576
|
alias: string;
|
@@ -838,8 +839,7 @@ export class Note extends Block {
|
|
838
839
|
}
|
839
840
|
}
|
840
841
|
|
841
|
-
export const
|
842
|
-
type Task {${BlockFields}
|
842
|
+
export const TaskFields = `${BlockFields}
|
843
843
|
status: String!
|
844
844
|
dueDate: Int!
|
845
845
|
originNoteId: String!
|
@@ -848,6 +848,9 @@ type Task {${BlockFields}
|
|
848
848
|
recurrence: [String]
|
849
849
|
parentId: String
|
850
850
|
groupId: String
|
851
|
+
`;
|
852
|
+
export const TaskQL = `
|
853
|
+
type Task {${TaskFields}
|
851
854
|
}`;
|
852
855
|
export class Task extends Block {
|
853
856
|
status: TaskStatus;
|
@@ -1466,6 +1469,56 @@ export interface FindSyncInput {
|
|
1466
1469
|
_id: string;
|
1467
1470
|
}
|
1468
1471
|
|
1472
|
+
export const UpsertTagInputQL = `
|
1473
|
+
input UpsertTagInput {${TagFields}
|
1474
|
+
}`;
|
1475
|
+
export interface UpsertTagInput extends Tag {}
|
1476
|
+
|
1477
|
+
export const FindTagInputQL = `
|
1478
|
+
input FindTagInput {
|
1479
|
+
_id: String!
|
1480
|
+
archived: Boolean
|
1481
|
+
}`;
|
1482
|
+
export interface FindTagInput {
|
1483
|
+
_id: string;
|
1484
|
+
archived?: boolean;
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
export const FindTagsInputQL = `
|
1488
|
+
input FindTagsInput {
|
1489
|
+
alias: String
|
1490
|
+
friendlyName: String
|
1491
|
+
archived: Boolean
|
1492
|
+
}`;
|
1493
|
+
export interface FindTagsInput {
|
1494
|
+
archived?: boolean;
|
1495
|
+
}
|
1496
|
+
|
1497
|
+
export const ArchiveTagInputQL = `
|
1498
|
+
input ArchiveTagInput {
|
1499
|
+
_id: String!
|
1500
|
+
archived: Boolean
|
1501
|
+
}`;
|
1502
|
+
export interface ArchiveTagInput {
|
1503
|
+
_id: string;
|
1504
|
+
archive?: boolean;
|
1505
|
+
}
|
1506
|
+
|
1507
|
+
export const ArchiveTagOutputQL = `
|
1508
|
+
type ArchiveTagOutput {
|
1509
|
+
_id: String!
|
1510
|
+
archived: Boolean
|
1511
|
+
}`;
|
1512
|
+
export interface ArchiveTagOutput {
|
1513
|
+
_id: string;
|
1514
|
+
archive?: boolean;
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
export const UpsertTaskInputQL = `
|
1518
|
+
input UpsertTaskInput {${TaskFields}
|
1519
|
+
}`;
|
1520
|
+
export interface UpsertTaskInput extends Task {}
|
1521
|
+
|
1469
1522
|
export const FindTaskInputQL = `
|
1470
1523
|
input FindTaskInput {
|
1471
1524
|
_id: String!
|