@bigfootai/bigfoot-types 3.5.7 → 3.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 +26 -8
- package/model.ts +23 -5
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.FindSyncInputQL = void 0;
|
3
|
+
exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.Sync = exports.SyncQL = exports.Primitive = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ConnectedProviderQL = exports.CredentialQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.DateEntityEntryQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.TaskStepQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.SharingTenantQL = exports.SharingDomainQL = exports.SharingTagQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationVariation = exports.TagRecommendationType = exports.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
+
exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Website = exports.Thread = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.TaskFields = exports.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.Tenant = exports.TenantQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = void 0;
|
5
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = void 0;
|
6
6
|
const uuid_1 = require("uuid");
|
7
7
|
/*
|
8
8
|
These are the core primitives of our model. These represent the entities that show
|
@@ -372,12 +372,10 @@ class Provider extends Primitive {
|
|
372
372
|
}
|
373
373
|
}
|
374
374
|
exports.Provider = Provider;
|
375
|
-
exports.
|
375
|
+
exports.TagFieldsWithoutSharing = `${exports.PrimitiveFields}
|
376
376
|
alias: String!
|
377
377
|
friendlyName: String
|
378
378
|
tagType: String!
|
379
|
-
sharingDomains: [SharingDomain]
|
380
|
-
sharingTenants: [SharingTenant]
|
381
379
|
url: String
|
382
380
|
favicon: String
|
383
381
|
dbpedia: String
|
@@ -386,8 +384,11 @@ exports.TagFields = `${exports.PrimitiveFields}
|
|
386
384
|
inviteStatus: Int
|
387
385
|
originNoteId: String
|
388
386
|
tenantIdVerified: String`;
|
387
|
+
exports.TagFieldsJustSharing = `
|
388
|
+
sharingDomains: [SharingDomain]
|
389
|
+
sharingTenants: [SharingTenant]`;
|
389
390
|
exports.TagQL = `
|
390
|
-
type Tag {${exports.
|
391
|
+
type Tag {${exports.TagFieldsWithoutSharing}${exports.TagFieldsJustSharing}
|
391
392
|
}`;
|
392
393
|
class Tag extends Primitive {
|
393
394
|
constructor(tenantIdCreated, alias, tagType) {
|
@@ -782,8 +783,23 @@ exports.FindSyncInputQL = `
|
|
782
783
|
input FindSyncInput {
|
783
784
|
_id: String!
|
784
785
|
}`;
|
786
|
+
exports.SharingDomainInputQL = `
|
787
|
+
input SharingDomainInput {
|
788
|
+
domainId: String!
|
789
|
+
archived: Boolean!
|
790
|
+
sharingLevel: Int!
|
791
|
+
}`;
|
792
|
+
exports.SharingTenantInputQL = `
|
793
|
+
input SharingTenantInput {
|
794
|
+
tenantId: String!
|
795
|
+
hasAutoShareNotesOn: Boolean!
|
796
|
+
hasAutoShareTasksOn: Boolean!
|
797
|
+
sharingLevel: Int!
|
798
|
+
}`;
|
785
799
|
exports.UpsertTagInputQL = `
|
786
|
-
input UpsertTagInput {${exports.
|
800
|
+
input UpsertTagInput {${exports.TagFieldsWithoutSharing}
|
801
|
+
sharingDomains: [SharingDomainInput]
|
802
|
+
sharingTenants: [SharingTenantInput]
|
787
803
|
}`;
|
788
804
|
exports.FindTagInputQL = `
|
789
805
|
input FindTagInput {
|
@@ -895,6 +911,8 @@ ${exports.ArchiveNoteInputQL}
|
|
895
911
|
${exports.ArchiveNoteOutputQL}
|
896
912
|
${exports.FindProviderInputQL}
|
897
913
|
${exports.FindSyncInputQL}
|
914
|
+
${exports.SharingDomainInputQL}
|
915
|
+
${exports.SharingTenantInputQL}
|
898
916
|
${exports.UpsertTagInputQL}
|
899
917
|
${exports.FindTagInputQL}
|
900
918
|
${exports.FindTagInputQL}
|
package/model.ts
CHANGED
@@ -561,12 +561,10 @@ export class Provider extends Primitive {
|
|
561
561
|
}
|
562
562
|
}
|
563
563
|
|
564
|
-
export const
|
564
|
+
export const TagFieldsWithoutSharing = `${PrimitiveFields}
|
565
565
|
alias: String!
|
566
566
|
friendlyName: String
|
567
567
|
tagType: String!
|
568
|
-
sharingDomains: [SharingDomain]
|
569
|
-
sharingTenants: [SharingTenant]
|
570
568
|
url: String
|
571
569
|
favicon: String
|
572
570
|
dbpedia: String
|
@@ -575,8 +573,11 @@ export const TagFields = `${PrimitiveFields}
|
|
575
573
|
inviteStatus: Int
|
576
574
|
originNoteId: String
|
577
575
|
tenantIdVerified: String`;
|
576
|
+
export const TagFieldsJustSharing = `
|
577
|
+
sharingDomains: [SharingDomain]
|
578
|
+
sharingTenants: [SharingTenant]`;
|
578
579
|
export const TagQL = `
|
579
|
-
type Tag {${
|
580
|
+
type Tag {${TagFieldsWithoutSharing}${TagFieldsJustSharing}
|
580
581
|
}`;
|
581
582
|
export class Tag extends Primitive {
|
582
583
|
alias: string;
|
@@ -1465,8 +1466,23 @@ export interface FindSyncInput {
|
|
1465
1466
|
_id: string;
|
1466
1467
|
}
|
1467
1468
|
|
1469
|
+
export const SharingDomainInputQL = `
|
1470
|
+
input SharingDomainInput {
|
1471
|
+
domainId: String!
|
1472
|
+
archived: Boolean!
|
1473
|
+
sharingLevel: Int!
|
1474
|
+
}`;
|
1475
|
+
export const SharingTenantInputQL = `
|
1476
|
+
input SharingTenantInput {
|
1477
|
+
tenantId: String!
|
1478
|
+
hasAutoShareNotesOn: Boolean!
|
1479
|
+
hasAutoShareTasksOn: Boolean!
|
1480
|
+
sharingLevel: Int!
|
1481
|
+
}`;
|
1468
1482
|
export const UpsertTagInputQL = `
|
1469
|
-
input UpsertTagInput {${
|
1483
|
+
input UpsertTagInput {${TagFieldsWithoutSharing}
|
1484
|
+
sharingDomains: [SharingDomainInput]
|
1485
|
+
sharingTenants: [SharingTenantInput]
|
1470
1486
|
}`;
|
1471
1487
|
export interface UpsertTagInput extends Tag {}
|
1472
1488
|
|
@@ -1636,6 +1652,8 @@ ${ArchiveNoteInputQL}
|
|
1636
1652
|
${ArchiveNoteOutputQL}
|
1637
1653
|
${FindProviderInputQL}
|
1638
1654
|
${FindSyncInputQL}
|
1655
|
+
${SharingDomainInputQL}
|
1656
|
+
${SharingTenantInputQL}
|
1639
1657
|
${UpsertTagInputQL}
|
1640
1658
|
${FindTagInputQL}
|
1641
1659
|
${FindTagInputQL}
|