@bigfootai/bigfoot-types 2.3.3 → 2.3.4
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 +6 -2
- package/model.ts +1 -1
- package/package.json +1 -1
package/model.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Thread = exports.ExternalTask = exports.EventStatus = exports.Conference = exports.Task = exports.Block = exports.Note = exports.Person = exports.Domain = exports.Tenant = exports.BusinessObject = exports.Tag = exports.Primitive = exports.RecurrenceRFC = exports.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.TagType = exports.BlockType = exports.BusinessObjectType = void 0;
|
|
3
|
+
exports.Table = exports.FieldVariation = exports.FieldType = exports.Template = exports.Thread = exports.ExternalTask = exports.EventStatus = exports.Conference = exports.Task = exports.Block = exports.Note = exports.Person = exports.Domain = exports.Tenant = exports.BusinessObject = exports.Tag = exports.Primitive = exports.RecurrenceRFC = exports.InviteStatus = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.SharingLevel = exports.ClientType = exports.TagType = exports.BlockType = exports.BusinessObjectType = void 0;
|
|
4
4
|
const uuid_1 = require("uuid");
|
|
5
5
|
/*
|
|
6
6
|
These are the core primitives of our model. These represent the entities that show
|
|
@@ -29,6 +29,11 @@ var TagType;
|
|
|
29
29
|
TagType["Person"] = "person";
|
|
30
30
|
TagType["Topic"] = "topic";
|
|
31
31
|
})(TagType || (exports.TagType = TagType = {}));
|
|
32
|
+
var ClientType;
|
|
33
|
+
(function (ClientType) {
|
|
34
|
+
ClientType["Web"] = "web";
|
|
35
|
+
ClientType["Mobile"] = "mobile";
|
|
36
|
+
})(ClientType || (exports.ClientType = ClientType = {}));
|
|
32
37
|
var SharingLevel;
|
|
33
38
|
(function (SharingLevel) {
|
|
34
39
|
SharingLevel[SharingLevel["ReadOnly"] = 0] = "ReadOnly";
|
|
@@ -50,7 +55,6 @@ var SharingApproach;
|
|
|
50
55
|
(function (SharingApproach) {
|
|
51
56
|
SharingApproach[SharingApproach["Inline"] = 0] = "Inline";
|
|
52
57
|
SharingApproach[SharingApproach["Explicit"] = 1] = "Explicit";
|
|
53
|
-
SharingApproach[SharingApproach["Automated"] = 2] = "Automated";
|
|
54
58
|
})(SharingApproach || (exports.SharingApproach = SharingApproach = {}));
|
|
55
59
|
var InviteStatus;
|
|
56
60
|
(function (InviteStatus) {
|
package/model.ts
CHANGED
|
@@ -192,7 +192,7 @@ export class Person extends Tag {
|
|
|
192
192
|
|
|
193
193
|
export class Note extends Primitive {
|
|
194
194
|
tenantIdCreated: string; // The tenant._id that created the note initially
|
|
195
|
-
document:
|
|
195
|
+
document: string; // The note serialized as a JSON string
|
|
196
196
|
editors: Editor[]; // The list of people/devices that were used in creating this note
|
|
197
197
|
sharingTags: SharingTag[]; // The list of tags that this note is shared with
|
|
198
198
|
_sharedTags?: string[]; // The list of tags that have sharing equal to true
|