@bigfootai/bigfoot-types 5.0.7 → 5.0.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.
- package/model.js +10 -4
- package/model.ts +8 -2
- package/package.json +1 -1
package/model.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.RecordType = exports.ThumbsDirection = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.TaskPriority = exports.AccessType = exports.SharingLevel = exports.ClientType = exports.ExportType = exports.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
|
4
4
|
exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
|
5
|
-
exports.
|
6
|
-
exports.
|
7
|
-
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = void 0;
|
5
|
+
exports.Record = exports.RecordQL = exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockDataQL = exports.Document = exports.DocumentQL = 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.TaskFieldsForUpsert = exports.TaskFields = exports.Note = exports.NoteQL = exports.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = void 0;
|
6
|
+
exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.FindDashboardInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindArticlesInputQL = exports.FindArticleInputQL = exports.FindDomainInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = exports.TableFields = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.SearchInputQL = void 0;
|
8
8
|
const uuid_1 = require("uuid");
|
9
9
|
/*
|
10
10
|
These are the core primitives of our model. These represent the entities that show
|
@@ -894,13 +894,19 @@ class BusinessObject extends Block {
|
|
894
894
|
}
|
895
895
|
}
|
896
896
|
exports.BusinessObject = BusinessObject;
|
897
|
+
class Section extends Block {
|
898
|
+
constructor(id) {
|
899
|
+
super('', [], [], BlockType.Section);
|
900
|
+
this._id = id;
|
901
|
+
}
|
902
|
+
}
|
903
|
+
exports.Section = Section;
|
897
904
|
exports.NoteQL = `
|
898
905
|
type Note {${exports.BlockFields}
|
899
906
|
}`;
|
900
907
|
class Note extends Block {
|
901
908
|
constructor(tenantIdCreated, editors, sharingTags) {
|
902
909
|
super(tenantIdCreated, editors, sharingTags, BlockType.Note);
|
903
|
-
this.archived = false;
|
904
910
|
}
|
905
911
|
}
|
906
912
|
exports.Note = Note;
|
package/model.ts
CHANGED
@@ -1430,6 +1430,14 @@ export class BusinessObject extends Block {
|
|
1430
1430
|
}
|
1431
1431
|
}
|
1432
1432
|
|
1433
|
+
export class Section extends Block {
|
1434
|
+
constructor(id: string) {
|
1435
|
+
super('', [], [], BlockType.Section);
|
1436
|
+
|
1437
|
+
this._id = id;
|
1438
|
+
}
|
1439
|
+
}
|
1440
|
+
|
1433
1441
|
export const NoteQL = `
|
1434
1442
|
type Note {${BlockFields}
|
1435
1443
|
}`;
|
@@ -1440,8 +1448,6 @@ export class Note extends Block {
|
|
1440
1448
|
sharingTags: SharingTag[]
|
1441
1449
|
) {
|
1442
1450
|
super(tenantIdCreated, editors, sharingTags, BlockType.Note);
|
1443
|
-
|
1444
|
-
this.archived = false;
|
1445
1451
|
}
|
1446
1452
|
}
|
1447
1453
|
|