@bigfootai/bigfoot-types 2.12.7 → 2.12.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 +19 -6
- package/model.ts +17 -4
- package/package.json +1 -1
package/model.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.GraphQLTypes = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.InsertNoteInputQL = 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.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BlockProcessingResponse = void 0;
|
3
|
+
exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Domain = exports.Tenant = exports.TenantQL = exports.Tag = 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.EntityEntryQL = exports.MachineLearningEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.DocumentSentimentQL = exports.ReactionQL = exports.ReactionSkinToneQL = exports.SharingTagQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.RelationType = exports.EntityType = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = void 0;
|
4
|
+
exports.GraphQLTypes = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = exports.FindTaskInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveNoteOutputQL = exports.ArchiveNoteInputQL = exports.FindNotesInputQL = exports.FindNoteInputQL = exports.UpsertNoteInputQL = exports.InsertNoteInputQL = 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.Note = exports.NoteQL = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFields = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = void 0;
|
5
5
|
const uuid_1 = require("uuid");
|
6
6
|
/*
|
7
7
|
These are the core primitives of our model. These represent the entities that show
|
@@ -182,6 +182,12 @@ type Highlight {
|
|
182
182
|
indexStart: Int!
|
183
183
|
indexEnd: Int!
|
184
184
|
}`;
|
185
|
+
exports.EditorInputQL = `
|
186
|
+
input EditorInput {
|
187
|
+
clientType: String!
|
188
|
+
clientId: String!
|
189
|
+
tenantId: String
|
190
|
+
}`;
|
185
191
|
exports.EditorQL = `
|
186
192
|
type Editor {
|
187
193
|
clientType: String!
|
@@ -270,6 +276,11 @@ type ReferenceBlock {
|
|
270
276
|
version: Int!
|
271
277
|
type: String!
|
272
278
|
}`;
|
279
|
+
exports.ChangesInputQL = `
|
280
|
+
input ChangesInput {
|
281
|
+
steps: [String]!
|
282
|
+
clientIds: [String]!
|
283
|
+
}`;
|
273
284
|
exports.ChangesQL = `
|
274
285
|
type Changes {
|
275
286
|
steps: [String]!
|
@@ -674,15 +685,15 @@ input FindEventInput {
|
|
674
685
|
exports.InsertNoteInputQL = `
|
675
686
|
input InsertNoteInput {
|
676
687
|
document: String!
|
677
|
-
editor:
|
678
|
-
changes:
|
688
|
+
editor: EditorInput!
|
689
|
+
changes: ChangesInput!
|
679
690
|
}`;
|
680
691
|
exports.UpsertNoteInputQL = `
|
681
692
|
input UpsertNoteInput {
|
682
693
|
_id: String!
|
683
694
|
document: String!
|
684
|
-
editor:
|
685
|
-
|
695
|
+
editor: EditorInput!
|
696
|
+
version: Float!
|
686
697
|
}`;
|
687
698
|
exports.FindNoteInputQL = `
|
688
699
|
input FindNoteInput {
|
@@ -736,6 +747,7 @@ type ArchiveTaskOutput {
|
|
736
747
|
// THE GRAPH QL DEFINITIONS
|
737
748
|
exports.GraphQLTypes = `
|
738
749
|
${exports.HighlightQL}
|
750
|
+
${exports.EditorInputQL}
|
739
751
|
${exports.EditorQL}
|
740
752
|
${exports.SharingTagQL}
|
741
753
|
${exports.ReactionSkinToneQL}
|
@@ -748,6 +760,7 @@ ${exports.EntityEntryQL}
|
|
748
760
|
${exports.ProviderInfoQL}
|
749
761
|
${exports.ProviderRequestQL}
|
750
762
|
${exports.CredentialQL}
|
763
|
+
${exports.ChangesInputQL}
|
751
764
|
${exports.ChangesQL}
|
752
765
|
${exports.PersonReferenceQL}
|
753
766
|
${exports.SyncQL}
|
package/model.ts
CHANGED
@@ -202,6 +202,12 @@ export interface Document {
|
|
202
202
|
marks?: Mark[];
|
203
203
|
}
|
204
204
|
|
205
|
+
export const EditorInputQL = `
|
206
|
+
input EditorInput {
|
207
|
+
clientType: String!
|
208
|
+
clientId: String!
|
209
|
+
tenantId: String
|
210
|
+
}`;
|
205
211
|
export const EditorQL = `
|
206
212
|
type Editor {
|
207
213
|
clientType: String!
|
@@ -421,6 +427,11 @@ export interface ReferenceBlock {
|
|
421
427
|
type: BlockType;
|
422
428
|
}
|
423
429
|
|
430
|
+
export const ChangesInputQL = `
|
431
|
+
input ChangesInput {
|
432
|
+
steps: [String]!
|
433
|
+
clientIds: [String]!
|
434
|
+
}`;
|
424
435
|
export const ChangesQL = `
|
425
436
|
type Changes {
|
426
437
|
steps: [String]!
|
@@ -1309,8 +1320,8 @@ export interface FindEventInput {
|
|
1309
1320
|
export const InsertNoteInputQL = `
|
1310
1321
|
input InsertNoteInput {
|
1311
1322
|
document: String!
|
1312
|
-
editor:
|
1313
|
-
changes:
|
1323
|
+
editor: EditorInput!
|
1324
|
+
changes: ChangesInput!
|
1314
1325
|
}`;
|
1315
1326
|
export interface InsertNoteInput {
|
1316
1327
|
document: string;
|
@@ -1322,8 +1333,8 @@ export const UpsertNoteInputQL = `
|
|
1322
1333
|
input UpsertNoteInput {
|
1323
1334
|
_id: String!
|
1324
1335
|
document: String!
|
1325
|
-
editor:
|
1326
|
-
|
1336
|
+
editor: EditorInput!
|
1337
|
+
version: Float!
|
1327
1338
|
}`;
|
1328
1339
|
export interface UpsertNoteInput {
|
1329
1340
|
_id: string;
|
@@ -1433,6 +1444,7 @@ export interface ArchiveTaskOutput {
|
|
1433
1444
|
// THE GRAPH QL DEFINITIONS
|
1434
1445
|
export const GraphQLTypes = `
|
1435
1446
|
${HighlightQL}
|
1447
|
+
${EditorInputQL}
|
1436
1448
|
${EditorQL}
|
1437
1449
|
${SharingTagQL}
|
1438
1450
|
${ReactionSkinToneQL}
|
@@ -1445,6 +1457,7 @@ ${EntityEntryQL}
|
|
1445
1457
|
${ProviderInfoQL}
|
1446
1458
|
${ProviderRequestQL}
|
1447
1459
|
${CredentialQL}
|
1460
|
+
${ChangesInputQL}
|
1448
1461
|
${ChangesQL}
|
1449
1462
|
${PersonReferenceQL}
|
1450
1463
|
${SyncQL}
|