@bigfootai/bigfoot-types 5.2.14 → 5.2.16
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 +24 -10
- package/model.ts +24 -10
- 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.TaskStepQL = exports.TaskStepInputQL = exports.ExternalIdLinkQL = exports.ExternalIdLinkInputQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.PubSubType = 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.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.ExternalIdQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.History = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.FindExternalTagReferenceInputQL = exports.FindExternalTagReferencesInputQL = 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 = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = void 0;
|
5
|
+
exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = 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.Note = exports.NoteQL = exports.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = void 0;
|
6
|
+
exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = 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.ArchiveBlockOutputQL = exports.ArchiveBlockInputQL = exports.FindBlocksInputQL = exports.FindBlockInputQL = exports.UpsertNoteInputQL = exports.FindDashboardInputQL = exports.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantsInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = exports.TableFields = exports.Record = exports.RecordQL = exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = 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
|
@@ -1179,15 +1179,25 @@ exports.Document = Document;
|
|
1179
1179
|
//// DASHBOARD START
|
1180
1180
|
exports.BlockDataQL = `
|
1181
1181
|
type BlockData {
|
1182
|
+
_id: String!
|
1183
|
+
dateCreated: Float
|
1184
|
+
dateUpdated: Float
|
1182
1185
|
name: String!
|
1183
|
-
_ids: String
|
1184
1186
|
blockType: String
|
1185
1187
|
title: String
|
1186
1188
|
document: String
|
1187
1189
|
htmlContent: String
|
1188
1190
|
metadataType: String
|
1189
1191
|
tagType: String
|
1192
|
+
search: GraphSearchInput
|
1190
1193
|
}`;
|
1194
|
+
class BlockData extends Primitive {
|
1195
|
+
constructor(name) {
|
1196
|
+
super();
|
1197
|
+
this.name = name;
|
1198
|
+
}
|
1199
|
+
}
|
1200
|
+
exports.BlockData = BlockData;
|
1191
1201
|
exports.DashboardQL = `
|
1192
1202
|
type Dashboard {${exports.BusinessObjectFields}
|
1193
1203
|
metadata: DashboardMetadata
|
@@ -1201,12 +1211,12 @@ class Dashboard extends BusinessObject {
|
|
1201
1211
|
this.blockData = [];
|
1202
1212
|
// Go through the block descriptions and create the block data entries
|
1203
1213
|
for (const blockDescription of dashboardMetadata.blockDescriptions) {
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1214
|
+
const block = new BlockData(blockDescription.name);
|
1215
|
+
block.blockType = blockDescription.blockType;
|
1216
|
+
block.title = blockDescription.title;
|
1217
|
+
block.metadataType = blockDescription.metadataType;
|
1218
|
+
block.tagType = blockDescription.tagType;
|
1219
|
+
this.blockData.push(block);
|
1210
1220
|
}
|
1211
1221
|
this.metadata = dashboardMetadata;
|
1212
1222
|
}
|
@@ -1829,6 +1839,9 @@ exports.GraphSearchInputFields = `
|
|
1829
1839
|
page: Int
|
1830
1840
|
size: Int
|
1831
1841
|
`;
|
1842
|
+
exports.GraphSearchQL = `
|
1843
|
+
type GraphSearch {${exports.GraphSearchInputFields}
|
1844
|
+
}`;
|
1832
1845
|
exports.GraphSearchInputQL = `
|
1833
1846
|
input GraphSearchInput {${exports.GraphSearchInputFields}
|
1834
1847
|
}`;
|
@@ -1990,5 +2003,6 @@ ${exports.NumberFilterInputQL}
|
|
1990
2003
|
${exports.StringFilterInputQL}
|
1991
2004
|
${exports.BusinessObjectFilterInputQL}
|
1992
2005
|
${exports.SortOptionInputQL}
|
2006
|
+
${exports.GraphSearchQL}
|
1993
2007
|
${exports.GraphSearchInputQL}
|
1994
2008
|
${exports.GraphSearchEventsInputQL}`;
|
package/model.ts
CHANGED
@@ -2041,25 +2041,33 @@ export class Document extends BusinessObject {
|
|
2041
2041
|
//// DASHBOARD START
|
2042
2042
|
export const BlockDataQL = `
|
2043
2043
|
type BlockData {
|
2044
|
+
_id: String!
|
2045
|
+
dateCreated: Float
|
2046
|
+
dateUpdated: Float
|
2044
2047
|
name: String!
|
2045
|
-
_ids: String
|
2046
2048
|
blockType: String
|
2047
2049
|
title: String
|
2048
2050
|
document: String
|
2049
2051
|
htmlContent: String
|
2050
2052
|
metadataType: String
|
2051
2053
|
tagType: String
|
2054
|
+
search: GraphSearchInput
|
2052
2055
|
}`;
|
2053
|
-
export
|
2056
|
+
export class BlockData extends Primitive {
|
2054
2057
|
name: string;
|
2055
|
-
_ids?: string[];
|
2056
2058
|
blockType?: BlockType;
|
2057
2059
|
title?: string;
|
2058
2060
|
document?: string;
|
2059
2061
|
htmlContent?: string;
|
2060
2062
|
metadataType?: string;
|
2061
2063
|
tagType?: TagType;
|
2062
|
-
|
2064
|
+
search?: GraphSearchInput;
|
2065
|
+
|
2066
|
+
constructor(name: string) {
|
2067
|
+
super();
|
2068
|
+
|
2069
|
+
this.name = name;
|
2070
|
+
}
|
2063
2071
|
}
|
2064
2072
|
|
2065
2073
|
export const DashboardQL = `
|
@@ -2099,12 +2107,14 @@ export class Dashboard extends BusinessObject {
|
|
2099
2107
|
this.blockData = [];
|
2100
2108
|
// Go through the block descriptions and create the block data entries
|
2101
2109
|
for (const blockDescription of dashboardMetadata.blockDescriptions) {
|
2102
|
-
|
2103
|
-
|
2104
|
-
|
2105
|
-
|
2106
|
-
|
2107
|
-
|
2110
|
+
const block: BlockData = new BlockData(blockDescription.name);
|
2111
|
+
|
2112
|
+
block.blockType = blockDescription.blockType;
|
2113
|
+
block.title = blockDescription.title;
|
2114
|
+
block.metadataType = blockDescription.metadataType;
|
2115
|
+
block.tagType = blockDescription.tagType;
|
2116
|
+
|
2117
|
+
this.blockData.push(block);
|
2108
2118
|
}
|
2109
2119
|
|
2110
2120
|
this.metadata = dashboardMetadata;
|
@@ -3245,6 +3255,9 @@ export const GraphSearchInputFields = `
|
|
3245
3255
|
page: Int
|
3246
3256
|
size: Int
|
3247
3257
|
`;
|
3258
|
+
export const GraphSearchQL = `
|
3259
|
+
type GraphSearch {${GraphSearchInputFields}
|
3260
|
+
}`;
|
3248
3261
|
export const GraphSearchInputQL = `
|
3249
3262
|
input GraphSearchInput {${GraphSearchInputFields}
|
3250
3263
|
}`;
|
@@ -3450,5 +3463,6 @@ ${NumberFilterInputQL}
|
|
3450
3463
|
${StringFilterInputQL}
|
3451
3464
|
${BusinessObjectFilterInputQL}
|
3452
3465
|
${SortOptionInputQL}
|
3466
|
+
${GraphSearchQL}
|
3453
3467
|
${GraphSearchInputQL}
|
3454
3468
|
${GraphSearchEventsInputQL}`;
|