@bigfootai/bigfoot-types 4.9.33 → 5.0.0
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/a_article.txt +58 -0
- package/model.js +48 -92
- package/model.ts +51 -157
- package/package.json +1 -1
package/a_article.txt
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
_id: string;
|
2
|
+
dateCreated: number;
|
3
|
+
dateUpdated: number;
|
4
|
+
tenantIdCreated?: string;
|
5
|
+
blockType: BlockType;
|
6
|
+
editors: Editor[];
|
7
|
+
|
8
|
+
-> document?: any;
|
9
|
+
embedding?: number[];
|
10
|
+
|
11
|
+
dates?: EntityEntry[];
|
12
|
+
locations?: EntityEntry[];
|
13
|
+
emails?: string[];
|
14
|
+
businessObjects?: BusinessObjectLink[];
|
15
|
+
|
16
|
+
sharingTags?: SharingTag[];
|
17
|
+
_parentSharingTagIds?: string[];
|
18
|
+
_parentTagIds?: string[];
|
19
|
+
_sharingTagIds?: string[];
|
20
|
+
_tagIds?: string[];
|
21
|
+
|
22
|
+
archived: boolean;
|
23
|
+
favorite: boolean;
|
24
|
+
snoozed: boolean;
|
25
|
+
_empty: boolean;
|
26
|
+
|
27
|
+
dateDue?: number;
|
28
|
+
dateRemindMe?: number;
|
29
|
+
status?: TaskStatus;
|
30
|
+
_dateDueUserAssigned: Boolean;
|
31
|
+
|
32
|
+
editorId?: string;
|
33
|
+
editorGroupId?: string;
|
34
|
+
|
35
|
+
parentId?: string;
|
36
|
+
|
37
|
+
originNoteId -> originBlockId?: string;
|
38
|
+
|
39
|
+
_timeZone?: string;
|
40
|
+
_locale?: string;
|
41
|
+
|
42
|
+
score?: number;
|
43
|
+
_tasks?: Task[];
|
44
|
+
|
45
|
+
-> _tagRecommendations?: TagRecommendation[];
|
46
|
+
_entitiesPerson?: EntityEntry[];
|
47
|
+
_entitiesOrganization?: EntityEntry[];
|
48
|
+
_entitiesTopic?: EntityEntry[];
|
49
|
+
_emails?: EntityEntry[];
|
50
|
+
|
51
|
+
|
52
|
+
Remove --
|
53
|
+
sentiment?: DocumentSentiment;
|
54
|
+
_changes?: Changes;
|
55
|
+
relations?: RelationEntry[];
|
56
|
+
referenceBlock: ReferenceBlock;
|
57
|
+
version: number;
|
58
|
+
reactions?: Reaction[];
|
package/model.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
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
|
-
exports.
|
5
|
-
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.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields =
|
6
|
-
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 =
|
7
|
-
exports.GraphQLTypes = exports.UpdateTagSharingInputQL =
|
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.TableFields = 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.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = void 0;
|
6
|
+
exports.SearchInputQL = 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 = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = 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
|
@@ -415,13 +415,11 @@ type ConnectedProvider {
|
|
415
415
|
exports.ReferenceBlockInputQL = `
|
416
416
|
input ReferenceBlockInput {
|
417
417
|
id: String!
|
418
|
-
version: Int
|
419
418
|
type: String!
|
420
419
|
}`;
|
421
420
|
exports.ReferenceBlockQL = `
|
422
421
|
type ReferenceBlock {
|
423
422
|
id: String!
|
424
|
-
version: Int!
|
425
423
|
type: String!
|
426
424
|
}`;
|
427
425
|
exports.ChangesInputQL = `
|
@@ -808,91 +806,53 @@ class Person extends Tag {
|
|
808
806
|
}
|
809
807
|
}
|
810
808
|
exports.Person = Person;
|
811
|
-
exports.ArticleQL = `
|
812
|
-
type Article {${exports.PrimitiveFields}
|
813
|
-
referenceBlock: ReferenceBlock!
|
814
|
-
sentiment: DocumentSentiment
|
815
|
-
dateDue: Float
|
816
|
-
dateRemindMe: Float
|
817
|
-
dates: [EntityEntry]
|
818
|
-
locations: [EntityEntry]
|
819
|
-
emails: [String]
|
820
|
-
businessObjects: [BusinessObjectLink]
|
821
|
-
sharingTags: [SharingTag]
|
822
|
-
tagRecommendations: [TagRecommendation]
|
823
|
-
relations: [RelationEntry]
|
824
|
-
archived: Boolean!
|
825
|
-
favorite: Boolean!
|
826
|
-
snoozed: Boolean
|
827
|
-
status: String
|
828
|
-
originNoteId: String
|
829
|
-
editorId: String
|
830
|
-
editorGroupId: String
|
831
|
-
parentId: String
|
832
|
-
score: Float
|
833
|
-
}`;
|
834
|
-
class Article extends Primitive {
|
835
|
-
constructor(referenceBlock) {
|
836
|
-
super();
|
837
|
-
this.archived = false;
|
838
|
-
this.favorite = false;
|
839
|
-
this.snoozed = false;
|
840
|
-
this.referenceBlock = referenceBlock;
|
841
|
-
this._empty = false;
|
842
|
-
}
|
843
|
-
}
|
844
|
-
exports.Article = Article;
|
845
809
|
exports.BlockFields = `${exports.SharedPrimitiveFields}
|
846
810
|
editors: [Editor]!
|
847
|
-
version: Float!
|
848
811
|
blockType: String!
|
812
|
+
document: String
|
813
|
+
dates: [EntityEntry]
|
814
|
+
locations: [EntityEntry]
|
815
|
+
emails: [String]
|
816
|
+
businessObjects: [BusinessObjectLink]
|
849
817
|
archived: Boolean!
|
850
818
|
favorite: Boolean!
|
819
|
+
snoozed: Boolean!
|
820
|
+
dateDue: Float
|
821
|
+
dateRemindMe: Float
|
822
|
+
status: String
|
851
823
|
parentId: String
|
852
|
-
|
853
|
-
originNoteId: String
|
854
|
-
document: String
|
855
|
-
reactions: [Reaction]`;
|
824
|
+
originBlockId: ReferenceBlock`;
|
856
825
|
exports.BlockFieldsForUpsert = `${exports.SharedPrimitiveFieldsForUpsert}
|
857
826
|
archived: Boolean
|
858
827
|
favorite: Boolean
|
859
828
|
parentId: String
|
860
829
|
document: String`;
|
861
830
|
class Block extends SharedPrimitive {
|
862
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
831
|
+
constructor(tenantIdCreated, editors, sharingTags, blockType) {
|
863
832
|
super(sharingTags);
|
864
833
|
this.tenantIdCreated = tenantIdCreated;
|
865
834
|
this.editors = editors;
|
866
|
-
this.version = version;
|
867
835
|
this.blockType = blockType;
|
868
836
|
this.archived = false;
|
869
837
|
this.favorite = false;
|
838
|
+
this._dateDueUserAssigned = false;
|
870
839
|
this._empty = false;
|
871
840
|
}
|
872
841
|
}
|
873
842
|
exports.Block = Block;
|
874
843
|
class BlockProcessingRequest {
|
875
|
-
constructor(
|
876
|
-
this.historyId = historyId;
|
844
|
+
constructor(referenceBlock) {
|
877
845
|
this.referenceBlock = referenceBlock;
|
878
846
|
}
|
879
847
|
}
|
880
848
|
exports.BlockProcessingRequest = BlockProcessingRequest;
|
881
849
|
class BlockProcessingResponse {
|
882
|
-
constructor(
|
883
|
-
this.historyId = historyId;
|
850
|
+
constructor(referenceBlock, articleId) {
|
884
851
|
this.referenceBlock = referenceBlock;
|
885
852
|
this.articleId = articleId;
|
886
853
|
}
|
887
854
|
}
|
888
855
|
exports.BlockProcessingResponse = BlockProcessingResponse;
|
889
|
-
class History extends Primitive {
|
890
|
-
constructor(block) {
|
891
|
-
super();
|
892
|
-
this.block = block;
|
893
|
-
}
|
894
|
-
}
|
895
|
-
exports.History = History;
|
896
856
|
class BusinessObjectIngestionRequest extends Primitive {
|
897
857
|
constructor(tenantIdCreated, originReferenceBlock, uri) {
|
898
858
|
super();
|
@@ -924,8 +884,8 @@ exports.BusinessObjectQL = `
|
|
924
884
|
type BusinessObject {${exports.BusinessObjectFields}
|
925
885
|
}`;
|
926
886
|
class BusinessObject extends Block {
|
927
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
928
|
-
super(tenantIdCreated, editors, sharingTags,
|
887
|
+
constructor(tenantIdCreated, editors, sharingTags, blockType, provider, application, uri, externalId) {
|
888
|
+
super(tenantIdCreated, editors, sharingTags, blockType);
|
929
889
|
this.archived = false;
|
930
890
|
this.provider = provider;
|
931
891
|
this.application = application;
|
@@ -938,8 +898,8 @@ exports.NoteQL = `
|
|
938
898
|
type Note {${exports.BlockFields}
|
939
899
|
}`;
|
940
900
|
class Note extends Block {
|
941
|
-
constructor(tenantIdCreated, editors, sharingTags
|
942
|
-
super(tenantIdCreated, editors, sharingTags,
|
901
|
+
constructor(tenantIdCreated, editors, sharingTags) {
|
902
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Note);
|
943
903
|
this.archived = false;
|
944
904
|
}
|
945
905
|
}
|
@@ -966,13 +926,13 @@ exports.TaskQL = `
|
|
966
926
|
type Task {${exports.TaskFields}
|
967
927
|
}`;
|
968
928
|
class Task extends Block {
|
969
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
970
|
-
super(tenantIdCreated, editors, sharingTags,
|
929
|
+
constructor(tenantIdCreated, editors, sharingTags, originBlockId) {
|
930
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Task);
|
971
931
|
this.status = TaskStatus.NotStarted;
|
972
932
|
this.snoozed = false;
|
973
933
|
this.archived = false;
|
974
934
|
this._dateDueUserAssigned = false;
|
975
|
-
this.
|
935
|
+
this.originBlockId = originBlockId;
|
976
936
|
}
|
977
937
|
}
|
978
938
|
exports.Task = Task;
|
@@ -1013,8 +973,8 @@ type Conference {${exports.BusinessObjectFields}
|
|
1013
973
|
transcription: Transcription
|
1014
974
|
}`;
|
1015
975
|
class Conference extends BusinessObject {
|
1016
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1017
|
-
super(tenantIdCreated, editors, sharingTags,
|
976
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, entryPoints) {
|
977
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Conference, provider, application, uri, externalId);
|
1018
978
|
this.entryPoints = entryPoints;
|
1019
979
|
}
|
1020
980
|
}
|
@@ -1054,10 +1014,10 @@ type Event {${exports.BusinessObjectFields}
|
|
1054
1014
|
conference: Conference
|
1055
1015
|
}`;
|
1056
1016
|
class Event extends BusinessObject {
|
1057
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1058
|
-
super(tenantIdCreated, editors, sharingTags,
|
1017
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, calendarId, eventStatus, dateStart, organizedBy) {
|
1018
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Event, provider, application, uri, externalId);
|
1059
1019
|
this.calendarId = calendarId;
|
1060
|
-
this.
|
1020
|
+
this.eventStatus = eventStatus;
|
1061
1021
|
this.dateStart = dateStart;
|
1062
1022
|
this.organizedBy = organizedBy;
|
1063
1023
|
}
|
@@ -1071,8 +1031,8 @@ type Calendar {${exports.BusinessObjectFields}
|
|
1071
1031
|
events: [Event]
|
1072
1032
|
}`;
|
1073
1033
|
class Calendar extends BusinessObject {
|
1074
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1075
|
-
super(tenantIdCreated, editors, sharingTags,
|
1034
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, timeZone) {
|
1035
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Calendar, provider, application, uri, externalId);
|
1076
1036
|
this.timeZone = timeZone;
|
1077
1037
|
}
|
1078
1038
|
}
|
@@ -1080,8 +1040,8 @@ exports.Calendar = Calendar;
|
|
1080
1040
|
//// EVENT END
|
1081
1041
|
//// EXTERNAL TASK START
|
1082
1042
|
class Todo extends BusinessObject {
|
1083
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1084
|
-
super(tenantIdCreated, editors, sharingTags,
|
1043
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, status, dateDue) {
|
1044
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Todo, provider, application, uri, externalId);
|
1085
1045
|
this.status = status;
|
1086
1046
|
this.dateDue = dateDue;
|
1087
1047
|
}
|
@@ -1090,8 +1050,8 @@ exports.Todo = Todo;
|
|
1090
1050
|
//// EXTERNAL TASK END
|
1091
1051
|
//// MESSAGING START
|
1092
1052
|
class Thread extends BusinessObject {
|
1093
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1094
|
-
super(tenantIdCreated, editors, sharingTags,
|
1053
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
|
1054
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Thread, provider, application, uri, externalId);
|
1095
1055
|
}
|
1096
1056
|
}
|
1097
1057
|
exports.Thread = Thread;
|
@@ -1105,8 +1065,8 @@ type Document {${exports.BusinessObjectFields}
|
|
1105
1065
|
htmlContent: String
|
1106
1066
|
}`;
|
1107
1067
|
class Document extends BusinessObject {
|
1108
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1109
|
-
super(tenantIdCreated, editors, sharingTags,
|
1068
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
|
1069
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Document, provider, application, uri, externalId);
|
1110
1070
|
}
|
1111
1071
|
}
|
1112
1072
|
exports.Document = Document;
|
@@ -1126,8 +1086,8 @@ type Dashboard {${exports.BusinessObjectFields}
|
|
1126
1086
|
blockData: [BlockData]
|
1127
1087
|
}`;
|
1128
1088
|
class Dashboard extends BusinessObject {
|
1129
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1130
|
-
super(tenantIdCreated, editors, sharingTags,
|
1089
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, dashboardMetadata) {
|
1090
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Dashboard, provider, application, uri, externalId);
|
1131
1091
|
this.blockData = [];
|
1132
1092
|
// Go through the block descriptions and create the block data entries
|
1133
1093
|
for (const blockDescription of dashboardMetadata.blockDescriptions) {
|
@@ -1151,8 +1111,8 @@ type Website {${exports.BusinessObjectFields}
|
|
1151
1111
|
htmlContent: String
|
1152
1112
|
}`;
|
1153
1113
|
class Website extends BusinessObject {
|
1154
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1155
|
-
super(tenantIdCreated, editors, sharingTags,
|
1114
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
|
1115
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Website, provider, application, uri, externalId);
|
1156
1116
|
}
|
1157
1117
|
}
|
1158
1118
|
exports.Website = Website;
|
@@ -1197,8 +1157,8 @@ type Template {${exports.BusinessObjectFields}
|
|
1197
1157
|
metadata: DocumentMetadata
|
1198
1158
|
}`;
|
1199
1159
|
class Template extends BusinessObject {
|
1200
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1201
|
-
super(tenantIdCreated, editors, sharingTags,
|
1160
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
|
1161
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Template, provider, application, uri, externalId);
|
1202
1162
|
}
|
1203
1163
|
}
|
1204
1164
|
exports.Template = Template;
|
@@ -1277,12 +1237,9 @@ exports.RecordQL = `
|
|
1277
1237
|
type Record {${exports.BusinessObjectFields}
|
1278
1238
|
values: [FieldValue]!
|
1279
1239
|
}`;
|
1280
|
-
class RecordInput {
|
1281
|
-
}
|
1282
|
-
exports.RecordInput = RecordInput;
|
1283
1240
|
class Record extends BusinessObject {
|
1284
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1285
|
-
super(tenantIdCreated, editors, sharingTags,
|
1241
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, values) {
|
1242
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Record, provider, application, uri, externalId);
|
1286
1243
|
this.values = values;
|
1287
1244
|
this.enabled = true;
|
1288
1245
|
}
|
@@ -1295,8 +1252,8 @@ exports.TableQL = `
|
|
1295
1252
|
type Table {${exports.TableFields}
|
1296
1253
|
}`;
|
1297
1254
|
class Table extends BusinessObject {
|
1298
|
-
constructor(tenantIdCreated, editors, sharingTags,
|
1299
|
-
super(tenantIdCreated, editors, sharingTags,
|
1255
|
+
constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, metadata) {
|
1256
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Table, provider, application, uri, externalId);
|
1300
1257
|
this.metadata = metadata;
|
1301
1258
|
}
|
1302
1259
|
}
|
@@ -1673,7 +1630,6 @@ ${exports.RecommendationQL}
|
|
1673
1630
|
${exports.ConnectedProviderQL}
|
1674
1631
|
${exports.ReferenceBlockInputQL}
|
1675
1632
|
${exports.ReferenceBlockQL}
|
1676
|
-
${exports.ArticleQL}
|
1677
1633
|
${exports.DomainQL}
|
1678
1634
|
${exports.TenantQL}
|
1679
1635
|
${exports.BusinessObjectQL}
|
package/model.ts
CHANGED
@@ -589,18 +589,15 @@ export interface ConnectedProvider {
|
|
589
589
|
export const ReferenceBlockInputQL = `
|
590
590
|
input ReferenceBlockInput {
|
591
591
|
id: String!
|
592
|
-
version: Int
|
593
592
|
type: String!
|
594
593
|
}`;
|
595
594
|
export const ReferenceBlockQL = `
|
596
595
|
type ReferenceBlock {
|
597
596
|
id: String!
|
598
|
-
version: Int!
|
599
597
|
type: String!
|
600
598
|
}`;
|
601
599
|
export interface ReferenceBlock {
|
602
600
|
id: string;
|
603
|
-
version: number;
|
604
601
|
type: BlockType;
|
605
602
|
}
|
606
603
|
|
@@ -1245,90 +1242,22 @@ export class Person extends Tag {
|
|
1245
1242
|
}
|
1246
1243
|
}
|
1247
1244
|
|
1248
|
-
export const ArticleQL = `
|
1249
|
-
type Article {${PrimitiveFields}
|
1250
|
-
referenceBlock: ReferenceBlock!
|
1251
|
-
sentiment: DocumentSentiment
|
1252
|
-
dateDue: Float
|
1253
|
-
dateRemindMe: Float
|
1254
|
-
dates: [EntityEntry]
|
1255
|
-
locations: [EntityEntry]
|
1256
|
-
emails: [String]
|
1257
|
-
businessObjects: [BusinessObjectLink]
|
1258
|
-
sharingTags: [SharingTag]
|
1259
|
-
tagRecommendations: [TagRecommendation]
|
1260
|
-
relations: [RelationEntry]
|
1261
|
-
archived: Boolean!
|
1262
|
-
favorite: Boolean!
|
1263
|
-
snoozed: Boolean
|
1264
|
-
status: String
|
1265
|
-
originNoteId: String
|
1266
|
-
editorId: String
|
1267
|
-
editorGroupId: String
|
1268
|
-
parentId: String
|
1269
|
-
score: Float
|
1270
|
-
}`;
|
1271
|
-
export class Article extends Primitive {
|
1272
|
-
referenceBlock: ReferenceBlock;
|
1273
|
-
embedding?: number[];
|
1274
|
-
sentiment?: DocumentSentiment;
|
1275
|
-
dateDue?: number;
|
1276
|
-
dateRemindMe?: number;
|
1277
|
-
dates?: EntityEntry[];
|
1278
|
-
locations?: EntityEntry[];
|
1279
|
-
emails?: string[];
|
1280
|
-
businessObjects?: BusinessObjectLink[];
|
1281
|
-
sharingTags?: SharingTag[];
|
1282
|
-
tagRecommendations?: TagRecommendation[];
|
1283
|
-
relations?: RelationEntry[];
|
1284
|
-
archived: boolean;
|
1285
|
-
favorite: boolean;
|
1286
|
-
snoozed: boolean;
|
1287
|
-
status?: TaskStatus;
|
1288
|
-
originNoteId?: string;
|
1289
|
-
editorId?: string;
|
1290
|
-
editorGroupId?: string;
|
1291
|
-
parentId?: string;
|
1292
|
-
score?: number;
|
1293
|
-
_timeZone?: string;
|
1294
|
-
_locale?: string;
|
1295
|
-
_changes?: Changes;
|
1296
|
-
_document?: any;
|
1297
|
-
_tasks?: Task[];
|
1298
|
-
_entitiesPerson?: EntityEntry[];
|
1299
|
-
_entitiesOrganization?: EntityEntry[];
|
1300
|
-
_entitiesTopic?: EntityEntry[];
|
1301
|
-
_emails?: EntityEntry[];
|
1302
|
-
_parentSharingTagIds?: string[];
|
1303
|
-
_parentTagIds?: string[];
|
1304
|
-
_sharingTagIds?: string[];
|
1305
|
-
_tagIds?: string[];
|
1306
|
-
_empty: boolean;
|
1307
|
-
|
1308
|
-
constructor(referenceBlock: ReferenceBlock) {
|
1309
|
-
super();
|
1310
|
-
|
1311
|
-
this.archived = false;
|
1312
|
-
this.favorite = false;
|
1313
|
-
this.snoozed = false;
|
1314
|
-
|
1315
|
-
this.referenceBlock = referenceBlock;
|
1316
|
-
|
1317
|
-
this._empty = false;
|
1318
|
-
}
|
1319
|
-
}
|
1320
|
-
|
1321
1245
|
export const BlockFields = `${SharedPrimitiveFields}
|
1322
1246
|
editors: [Editor]!
|
1323
|
-
version: Float!
|
1324
1247
|
blockType: String!
|
1248
|
+
document: String
|
1249
|
+
dates: [EntityEntry]
|
1250
|
+
locations: [EntityEntry]
|
1251
|
+
emails: [String]
|
1252
|
+
businessObjects: [BusinessObjectLink]
|
1325
1253
|
archived: Boolean!
|
1326
1254
|
favorite: Boolean!
|
1255
|
+
snoozed: Boolean!
|
1256
|
+
dateDue: Float
|
1257
|
+
dateRemindMe: Float
|
1258
|
+
status: String
|
1327
1259
|
parentId: String
|
1328
|
-
|
1329
|
-
originNoteId: String
|
1330
|
-
document: String
|
1331
|
-
reactions: [Reaction]`;
|
1260
|
+
originBlockId: ReferenceBlock`;
|
1332
1261
|
export const BlockFieldsForUpsert = `${SharedPrimitiveFieldsForUpsert}
|
1333
1262
|
archived: Boolean
|
1334
1263
|
favorite: Boolean
|
@@ -1336,78 +1265,80 @@ export const BlockFieldsForUpsert = `${SharedPrimitiveFieldsForUpsert}
|
|
1336
1265
|
document: String`;
|
1337
1266
|
export class Block extends SharedPrimitive {
|
1338
1267
|
editors: Editor[];
|
1339
|
-
version: number;
|
1340
1268
|
blockType: BlockType;
|
1269
|
+
// The document that represents the content of the block
|
1270
|
+
document?: any;
|
1271
|
+
// Graph properties that help us find the block
|
1272
|
+
_embedding?: number[];
|
1273
|
+
dates?: EntityEntry[];
|
1274
|
+
locations?: EntityEntry[];
|
1275
|
+
emails?: string[];
|
1276
|
+
businessObjects?: BusinessObjectLink[];
|
1277
|
+
// The various binary states
|
1341
1278
|
archived: boolean;
|
1342
1279
|
favorite: boolean;
|
1280
|
+
snoozed: boolean;
|
1281
|
+
// Tasky things about the block
|
1282
|
+
dateDue?: number;
|
1283
|
+
dateRemindMe?: number;
|
1284
|
+
status?: TaskStatus;
|
1285
|
+
_dateDueUserAssigned: boolean;
|
1286
|
+
// Editor informatino about teh block
|
1287
|
+
_editorId?: string;
|
1288
|
+
_editorGroupId?: string;
|
1289
|
+
// Relationship information about the block
|
1343
1290
|
parentId?: string;
|
1344
|
-
|
1345
|
-
|
1346
|
-
document?: any;
|
1347
|
-
reactions?: Reaction[];
|
1348
|
-
_changes?: Changes;
|
1291
|
+
originBlockId?: ReferenceBlock;
|
1292
|
+
// Stuff to help manage the pipeline and search
|
1349
1293
|
_timeZone?: string;
|
1350
1294
|
_locale?: string;
|
1351
1295
|
_empty: boolean;
|
1296
|
+
// Internal intelligence stuff
|
1297
|
+
_tagRecommendations?: TagRecommendation[];
|
1298
|
+
_entitiesPerson?: EntityEntry[];
|
1299
|
+
_entitiesOrganization?: EntityEntry[];
|
1300
|
+
_entitiesTopic?: EntityEntry[];
|
1301
|
+
_emails?: EntityEntry[];
|
1352
1302
|
|
1353
1303
|
constructor(
|
1354
1304
|
tenantIdCreated: string,
|
1355
1305
|
editors: Editor[],
|
1356
1306
|
sharingTags: SharingTag[],
|
1357
|
-
version: number,
|
1358
1307
|
blockType: BlockType
|
1359
1308
|
) {
|
1360
1309
|
super(sharingTags);
|
1361
1310
|
|
1362
1311
|
this.tenantIdCreated = tenantIdCreated;
|
1363
1312
|
this.editors = editors;
|
1364
|
-
this.version = version;
|
1365
1313
|
this.blockType = blockType;
|
1366
1314
|
|
1367
1315
|
this.archived = false;
|
1368
1316
|
this.favorite = false;
|
1369
1317
|
|
1318
|
+
this._dateDueUserAssigned = false;
|
1319
|
+
|
1370
1320
|
this._empty = false;
|
1371
1321
|
}
|
1372
1322
|
}
|
1373
1323
|
|
1374
1324
|
export class BlockProcessingRequest {
|
1375
|
-
historyId: string;
|
1376
1325
|
referenceBlock: ReferenceBlock;
|
1377
1326
|
|
1378
|
-
constructor(
|
1379
|
-
this.historyId = historyId;
|
1327
|
+
constructor(referenceBlock: ReferenceBlock) {
|
1380
1328
|
this.referenceBlock = referenceBlock;
|
1381
1329
|
}
|
1382
1330
|
}
|
1383
1331
|
|
1384
1332
|
export class BlockProcessingResponse {
|
1385
1333
|
articleId: string;
|
1386
|
-
historyId: string;
|
1387
1334
|
referenceBlock: ReferenceBlock;
|
1388
1335
|
|
1389
|
-
constructor(
|
1390
|
-
historyId: string,
|
1391
|
-
referenceBlock: ReferenceBlock,
|
1392
|
-
articleId: string
|
1393
|
-
) {
|
1394
|
-
this.historyId = historyId;
|
1336
|
+
constructor(referenceBlock: ReferenceBlock, articleId: string) {
|
1395
1337
|
this.referenceBlock = referenceBlock;
|
1396
1338
|
this.articleId = articleId;
|
1397
1339
|
}
|
1398
1340
|
}
|
1399
1341
|
|
1400
|
-
export class History extends Primitive {
|
1401
|
-
block: Block;
|
1402
|
-
article?: Article;
|
1403
|
-
|
1404
|
-
constructor(block: Block) {
|
1405
|
-
super();
|
1406
|
-
|
1407
|
-
this.block = block;
|
1408
|
-
}
|
1409
|
-
}
|
1410
|
-
|
1411
1342
|
export interface SubscribingProviderApplication {
|
1412
1343
|
provider: Provider;
|
1413
1344
|
application: ProviderApplication;
|
@@ -1483,14 +1414,13 @@ export class BusinessObject extends Block {
|
|
1483
1414
|
tenantIdCreated: string,
|
1484
1415
|
editors: Editor[],
|
1485
1416
|
sharingTags: SharingTag[],
|
1486
|
-
version: number,
|
1487
1417
|
blockType: BlockType,
|
1488
1418
|
provider: string,
|
1489
1419
|
application: string,
|
1490
1420
|
uri: string,
|
1491
1421
|
externalId: string
|
1492
1422
|
) {
|
1493
|
-
super(tenantIdCreated, editors, sharingTags,
|
1423
|
+
super(tenantIdCreated, editors, sharingTags, blockType);
|
1494
1424
|
|
1495
1425
|
this.archived = false;
|
1496
1426
|
|
@@ -1508,10 +1438,9 @@ export class Note extends Block {
|
|
1508
1438
|
constructor(
|
1509
1439
|
tenantIdCreated: string,
|
1510
1440
|
editors: Editor[],
|
1511
|
-
sharingTags: SharingTag[]
|
1512
|
-
version: number
|
1441
|
+
sharingTags: SharingTag[]
|
1513
1442
|
) {
|
1514
|
-
super(tenantIdCreated, editors, sharingTags,
|
1443
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Note);
|
1515
1444
|
|
1516
1445
|
this.archived = false;
|
1517
1446
|
}
|
@@ -1539,32 +1468,20 @@ export const TaskQL = `
|
|
1539
1468
|
type Task {${TaskFields}
|
1540
1469
|
}`;
|
1541
1470
|
export class Task extends Block implements BaseTask {
|
1542
|
-
status: TaskStatus;
|
1543
|
-
dateDue?: number;
|
1544
|
-
originNoteId?: string;
|
1545
|
-
editorId?: string;
|
1546
|
-
editorGroupId?: string;
|
1547
|
-
snoozed: boolean;
|
1548
|
-
steps?: TaskStep[];
|
1549
|
-
dateRemindMe?: number;
|
1550
|
-
recurrence?: RecurrenceRFC[];
|
1551
|
-
_dateDueUserAssigned: Boolean;
|
1552
|
-
|
1553
1471
|
constructor(
|
1554
1472
|
tenantIdCreated: string,
|
1555
1473
|
editors: Editor[],
|
1556
1474
|
sharingTags: SharingTag[],
|
1557
|
-
|
1558
|
-
originNoteId: string
|
1475
|
+
originBlockId: ReferenceBlock
|
1559
1476
|
) {
|
1560
|
-
super(tenantIdCreated, editors, sharingTags,
|
1477
|
+
super(tenantIdCreated, editors, sharingTags, BlockType.Task);
|
1561
1478
|
|
1562
1479
|
this.status = TaskStatus.NotStarted;
|
1563
1480
|
this.snoozed = false;
|
1564
1481
|
this.archived = false;
|
1565
1482
|
this._dateDueUserAssigned = false;
|
1566
1483
|
|
1567
|
-
this.
|
1484
|
+
this.originBlockId = originBlockId;
|
1568
1485
|
}
|
1569
1486
|
}
|
1570
1487
|
// CORE END
|
@@ -1636,7 +1553,6 @@ export class Conference extends BusinessObject {
|
|
1636
1553
|
tenantIdCreated: string,
|
1637
1554
|
editors: Editor[],
|
1638
1555
|
sharingTags: SharingTag[],
|
1639
|
-
version: number,
|
1640
1556
|
provider: string,
|
1641
1557
|
application: string,
|
1642
1558
|
uri: string,
|
@@ -1647,7 +1563,6 @@ export class Conference extends BusinessObject {
|
|
1647
1563
|
tenantIdCreated,
|
1648
1564
|
editors,
|
1649
1565
|
sharingTags,
|
1650
|
-
version,
|
1651
1566
|
BlockType.Conference,
|
1652
1567
|
provider,
|
1653
1568
|
application,
|
@@ -1737,7 +1652,7 @@ type Event {${BusinessObjectFields}
|
|
1737
1652
|
}`;
|
1738
1653
|
export class Event extends BusinessObject {
|
1739
1654
|
calendarId: string;
|
1740
|
-
|
1655
|
+
eventStatus: EventStatus;
|
1741
1656
|
dateStart: number;
|
1742
1657
|
organizedBy: PersonReference;
|
1743
1658
|
location?: string | null;
|
@@ -1754,13 +1669,12 @@ export class Event extends BusinessObject {
|
|
1754
1669
|
tenantIdCreated: string,
|
1755
1670
|
editors: Editor[],
|
1756
1671
|
sharingTags: SharingTag[],
|
1757
|
-
version: number,
|
1758
1672
|
provider: string,
|
1759
1673
|
application: string,
|
1760
1674
|
uri: string,
|
1761
1675
|
externalId: string,
|
1762
1676
|
calendarId: string,
|
1763
|
-
|
1677
|
+
eventStatus: EventStatus,
|
1764
1678
|
dateStart: number,
|
1765
1679
|
organizedBy: PersonReference
|
1766
1680
|
) {
|
@@ -1768,7 +1682,6 @@ export class Event extends BusinessObject {
|
|
1768
1682
|
tenantIdCreated,
|
1769
1683
|
editors,
|
1770
1684
|
sharingTags,
|
1771
|
-
version,
|
1772
1685
|
BlockType.Event,
|
1773
1686
|
provider,
|
1774
1687
|
application,
|
@@ -1777,7 +1690,7 @@ export class Event extends BusinessObject {
|
|
1777
1690
|
);
|
1778
1691
|
|
1779
1692
|
this.calendarId = calendarId;
|
1780
|
-
this.
|
1693
|
+
this.eventStatus = eventStatus;
|
1781
1694
|
this.dateStart = dateStart;
|
1782
1695
|
this.organizedBy = organizedBy;
|
1783
1696
|
}
|
@@ -1800,7 +1713,6 @@ export class Calendar extends BusinessObject {
|
|
1800
1713
|
tenantIdCreated: string,
|
1801
1714
|
editors: Editor[],
|
1802
1715
|
sharingTags: SharingTag[],
|
1803
|
-
version: number,
|
1804
1716
|
provider: string,
|
1805
1717
|
application: string,
|
1806
1718
|
uri: string,
|
@@ -1811,7 +1723,6 @@ export class Calendar extends BusinessObject {
|
|
1811
1723
|
tenantIdCreated,
|
1812
1724
|
editors,
|
1813
1725
|
sharingTags,
|
1814
|
-
version,
|
1815
1726
|
BlockType.Calendar,
|
1816
1727
|
provider,
|
1817
1728
|
application,
|
@@ -1837,7 +1748,6 @@ export class Todo extends BusinessObject {
|
|
1837
1748
|
tenantIdCreated: string,
|
1838
1749
|
editors: Editor[],
|
1839
1750
|
sharingTags: SharingTag[],
|
1840
|
-
version: number,
|
1841
1751
|
provider: string,
|
1842
1752
|
application: string,
|
1843
1753
|
uri: string,
|
@@ -1849,7 +1759,6 @@ export class Todo extends BusinessObject {
|
|
1849
1759
|
tenantIdCreated,
|
1850
1760
|
editors,
|
1851
1761
|
sharingTags,
|
1852
|
-
version,
|
1853
1762
|
BlockType.Todo,
|
1854
1763
|
provider,
|
1855
1764
|
application,
|
@@ -1871,7 +1780,6 @@ export class Thread extends BusinessObject {
|
|
1871
1780
|
tenantIdCreated: string,
|
1872
1781
|
editors: Editor[],
|
1873
1782
|
sharingTags: SharingTag[],
|
1874
|
-
version: number,
|
1875
1783
|
provider: string,
|
1876
1784
|
application: string,
|
1877
1785
|
uri: string,
|
@@ -1881,7 +1789,6 @@ export class Thread extends BusinessObject {
|
|
1881
1789
|
tenantIdCreated,
|
1882
1790
|
editors,
|
1883
1791
|
sharingTags,
|
1884
|
-
version,
|
1885
1792
|
BlockType.Thread,
|
1886
1793
|
provider,
|
1887
1794
|
application,
|
@@ -1910,7 +1817,6 @@ export class Document extends BusinessObject {
|
|
1910
1817
|
tenantIdCreated: string,
|
1911
1818
|
editors: Editor[],
|
1912
1819
|
sharingTags: SharingTag[],
|
1913
|
-
version: number,
|
1914
1820
|
provider: string,
|
1915
1821
|
application: string,
|
1916
1822
|
uri: string,
|
@@ -1920,7 +1826,6 @@ export class Document extends BusinessObject {
|
|
1920
1826
|
tenantIdCreated,
|
1921
1827
|
editors,
|
1922
1828
|
sharingTags,
|
1923
|
-
version,
|
1924
1829
|
BlockType.Document,
|
1925
1830
|
provider,
|
1926
1831
|
application,
|
@@ -1961,7 +1866,6 @@ export class Dashboard extends BusinessObject {
|
|
1961
1866
|
tenantIdCreated: string,
|
1962
1867
|
editors: Editor[],
|
1963
1868
|
sharingTags: SharingTag[],
|
1964
|
-
version: number,
|
1965
1869
|
provider: string,
|
1966
1870
|
application: string,
|
1967
1871
|
uri: string,
|
@@ -1972,7 +1876,6 @@ export class Dashboard extends BusinessObject {
|
|
1972
1876
|
tenantIdCreated,
|
1973
1877
|
editors,
|
1974
1878
|
sharingTags,
|
1975
|
-
version,
|
1976
1879
|
BlockType.Dashboard,
|
1977
1880
|
provider,
|
1978
1881
|
application,
|
@@ -2012,7 +1915,6 @@ export class Website extends BusinessObject {
|
|
2012
1915
|
tenantIdCreated: string,
|
2013
1916
|
editors: Editor[],
|
2014
1917
|
sharingTags: SharingTag[],
|
2015
|
-
version: number,
|
2016
1918
|
provider: string,
|
2017
1919
|
application: string,
|
2018
1920
|
uri: string,
|
@@ -2022,7 +1924,6 @@ export class Website extends BusinessObject {
|
|
2022
1924
|
tenantIdCreated,
|
2023
1925
|
editors,
|
2024
1926
|
sharingTags,
|
2025
|
-
version,
|
2026
1927
|
BlockType.Website,
|
2027
1928
|
provider,
|
2028
1929
|
application,
|
@@ -2110,7 +2011,6 @@ export class Template extends BusinessObject {
|
|
2110
2011
|
tenantIdCreated: string,
|
2111
2012
|
editors: Editor[],
|
2112
2013
|
sharingTags: SharingTag[],
|
2113
|
-
version: number,
|
2114
2014
|
provider: string,
|
2115
2015
|
application: string,
|
2116
2016
|
uri: string,
|
@@ -2120,7 +2020,6 @@ export class Template extends BusinessObject {
|
|
2120
2020
|
tenantIdCreated,
|
2121
2021
|
editors,
|
2122
2022
|
sharingTags,
|
2123
|
-
version,
|
2124
2023
|
BlockType.Template,
|
2125
2024
|
provider,
|
2126
2025
|
application,
|
@@ -2243,7 +2142,7 @@ export const RecordQL = `
|
|
2243
2142
|
type Record {${BusinessObjectFields}
|
2244
2143
|
values: [FieldValue]!
|
2245
2144
|
}`;
|
2246
|
-
export
|
2145
|
+
export interface RecordInput {
|
2247
2146
|
_id: string;
|
2248
2147
|
values: FieldValue[];
|
2249
2148
|
}
|
@@ -2259,7 +2158,6 @@ export class Record extends BusinessObject {
|
|
2259
2158
|
tenantIdCreated: string,
|
2260
2159
|
editors: Editor[],
|
2261
2160
|
sharingTags: SharingTag[],
|
2262
|
-
version: number,
|
2263
2161
|
provider: string,
|
2264
2162
|
application: string,
|
2265
2163
|
uri: string,
|
@@ -2270,7 +2168,6 @@ export class Record extends BusinessObject {
|
|
2270
2168
|
tenantIdCreated,
|
2271
2169
|
editors,
|
2272
2170
|
sharingTags,
|
2273
|
-
version,
|
2274
2171
|
BlockType.Record,
|
2275
2172
|
provider,
|
2276
2173
|
application,
|
@@ -2297,7 +2194,6 @@ export class Table extends BusinessObject {
|
|
2297
2194
|
tenantIdCreated: string,
|
2298
2195
|
editors: Editor[],
|
2299
2196
|
sharingTags: SharingTag[],
|
2300
|
-
version: number,
|
2301
2197
|
provider: string,
|
2302
2198
|
application: string,
|
2303
2199
|
uri: string,
|
@@ -2308,7 +2204,6 @@ export class Table extends BusinessObject {
|
|
2308
2204
|
tenantIdCreated,
|
2309
2205
|
editors,
|
2310
2206
|
sharingTags,
|
2311
|
-
version,
|
2312
2207
|
BlockType.Table,
|
2313
2208
|
provider,
|
2314
2209
|
application,
|
@@ -2989,7 +2884,6 @@ ${RecommendationQL}
|
|
2989
2884
|
${ConnectedProviderQL}
|
2990
2885
|
${ReferenceBlockInputQL}
|
2991
2886
|
${ReferenceBlockQL}
|
2992
|
-
${ArticleQL}
|
2993
2887
|
${DomainQL}
|
2994
2888
|
${TenantQL}
|
2995
2889
|
${BusinessObjectQL}
|