@bigfootai/bigfoot-types 3.2.2 → 3.2.3
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 +20 -3
- package/model.ts +17 -0
- 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 = void 0;
|
3
|
+
exports.TagRecommendationQL = exports.Tag = exports.TagQL = 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.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.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 = exports.BlockFields = exports.Article = exports.ArticleQL = exports.Person = exports.Organization = exports.Domain = exports.Tenant = exports.TenantQL = void 0;
|
5
|
+
exports.GraphQLTypes = exports.SearchInputQL = exports.ArchiveTaskOutputQL = exports.ArchiveTaskInputQL = exports.FindTasksInputQL = 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
|
@@ -217,6 +217,19 @@ type SharingTag {
|
|
217
217
|
confidence: Float
|
218
218
|
text: String
|
219
219
|
}`;
|
220
|
+
exports.SharingDomainQL = `
|
221
|
+
type SharingDomain {
|
222
|
+
domainId: String!
|
223
|
+
isArchived: Boolean!
|
224
|
+
sharingLevel: Int!
|
225
|
+
}`;
|
226
|
+
exports.SharingTenantQL = `
|
227
|
+
type SharingTenant {
|
228
|
+
tenantId: String!
|
229
|
+
hasAutoShareNotesOn: Boolean!
|
230
|
+
hasAutoShareTasksOn: Boolean!
|
231
|
+
sharingLevel: Int!
|
232
|
+
}`;
|
220
233
|
exports.ReactionSkinToneQL = `
|
221
234
|
type ReactionSkinTone {
|
222
235
|
skinTone: String!
|
@@ -359,6 +372,8 @@ type Tag {${exports.PrimitiveFields}
|
|
359
372
|
alias: String!
|
360
373
|
friendlyName: String
|
361
374
|
tagType: String!
|
375
|
+
sharingDomains: [SharingDomain]
|
376
|
+
sharingTenants: [SharingTenant]
|
362
377
|
}`;
|
363
378
|
class Tag extends Primitive {
|
364
379
|
constructor(tenantIdCreated, alias, tagType) {
|
@@ -788,6 +803,8 @@ ${exports.HighlightQL}
|
|
788
803
|
${exports.EditorInputQL}
|
789
804
|
${exports.EditorQL}
|
790
805
|
${exports.SharingTagQL}
|
806
|
+
${exports.SharingDomainQL}
|
807
|
+
${exports.SharingTenantQL}
|
791
808
|
${exports.ReactionSkinToneQL}
|
792
809
|
${exports.ReactionQL}
|
793
810
|
${exports.DocumentSentimentQL}
|
package/model.ts
CHANGED
@@ -251,12 +251,25 @@ export interface SharingTag {
|
|
251
251
|
text?: string;
|
252
252
|
}
|
253
253
|
|
254
|
+
export const SharingDomainQL = `
|
255
|
+
type SharingDomain {
|
256
|
+
domainId: String!
|
257
|
+
isArchived: Boolean!
|
258
|
+
sharingLevel: Int!
|
259
|
+
}`;
|
254
260
|
export interface SharingDomain {
|
255
261
|
domainId: string;
|
256
262
|
isArchived: boolean; // Indicates if the tag has been archived for the domain, but is shared
|
257
263
|
sharingLevel: SharingLevel; // Determines what domains can do with the tag beyond domain specific settings above
|
258
264
|
}
|
259
265
|
|
266
|
+
export const SharingTenantQL = `
|
267
|
+
type SharingTenant {
|
268
|
+
tenantId: String!
|
269
|
+
hasAutoShareNotesOn: Boolean!
|
270
|
+
hasAutoShareTasksOn: Boolean!
|
271
|
+
sharingLevel: Int!
|
272
|
+
}`;
|
260
273
|
export interface SharingTenant {
|
261
274
|
tenantId: string;
|
262
275
|
hasAutoShareNotesOn: boolean; // Indicates if the tenant has auto sharing of notes switched on
|
@@ -548,6 +561,8 @@ type Tag {${PrimitiveFields}
|
|
548
561
|
alias: String!
|
549
562
|
friendlyName: String
|
550
563
|
tagType: String!
|
564
|
+
sharingDomains: [SharingDomain]
|
565
|
+
sharingTenants: [SharingTenant]
|
551
566
|
}`;
|
552
567
|
export class Tag extends Primitive {
|
553
568
|
alias: string;
|
@@ -1504,6 +1519,8 @@ ${HighlightQL}
|
|
1504
1519
|
${EditorInputQL}
|
1505
1520
|
${EditorQL}
|
1506
1521
|
${SharingTagQL}
|
1522
|
+
${SharingDomainQL}
|
1523
|
+
${SharingTenantQL}
|
1507
1524
|
${ReactionSkinToneQL}
|
1508
1525
|
${ReactionQL}
|
1509
1526
|
${DocumentSentimentQL}
|