@bigfootai/bigfoot-types 4.7.19 → 4.7.21
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/metadata/documents/healthcheck.js +1 -0
- package/metadata/documents/healthcheck.ts +1 -0
- package/metadata/tables/case.js +1 -0
- package/metadata/tables/case.ts +1 -0
- package/metadata/tables/issue.js +1 -0
- package/metadata/tables/issue.ts +1 -0
- package/metadata/tables/opportunity.js +1 -0
- package/metadata/tables/opportunity.ts +1 -0
- package/model.js +8 -6
- package/model.ts +18 -6
- package/package.json +1 -1
package/metadata/tables/case.js
CHANGED
package/metadata/tables/case.ts
CHANGED
package/metadata/tables/issue.js
CHANGED
package/metadata/tables/issue.ts
CHANGED
package/model.js
CHANGED
@@ -466,14 +466,17 @@ exports.MetadataFields = `${exports.PrimitiveFields}
|
|
466
466
|
metadataType: String!
|
467
467
|
references: [String]
|
468
468
|
classifiers: [String]!
|
469
|
+
threshold: Float!
|
469
470
|
provider: String
|
470
471
|
application: String`;
|
471
472
|
class Metadata extends Primitive {
|
472
|
-
constructor(label, description, metadataType) {
|
473
|
+
constructor(label, description, metadataType, classifiers, threshold) {
|
473
474
|
super();
|
474
475
|
this.label = label;
|
475
476
|
this.description = description;
|
476
477
|
this.metadataType = metadataType;
|
478
|
+
this.classifiers = classifiers;
|
479
|
+
this.threshold = threshold;
|
477
480
|
}
|
478
481
|
}
|
479
482
|
exports.Metadata = Metadata;
|
@@ -1007,7 +1010,6 @@ type Document {${exports.BusinessObjectFields}
|
|
1007
1010
|
description: String
|
1008
1011
|
previewImage: String
|
1009
1012
|
htmlContent: String
|
1010
|
-
metadata: DocumentMetadata
|
1011
1013
|
}`;
|
1012
1014
|
class Document extends BusinessObject {
|
1013
1015
|
constructor(tenantIdCreated, editors, sharingTags, version, provider, application, uri, externalId) {
|
@@ -1045,8 +1047,8 @@ type DocumentMetadata {${exports.MetadataFields}
|
|
1045
1047
|
blockDescriptions: [BlockDescription]!
|
1046
1048
|
}`;
|
1047
1049
|
class DocumentMetadata extends Metadata {
|
1048
|
-
constructor(label, description, metadataType, blockDescriptions) {
|
1049
|
-
super(label, description, metadataType);
|
1050
|
+
constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
|
1051
|
+
super(label, description, metadataType, classifiers, threshold);
|
1050
1052
|
this.blockDescriptions = blockDescriptions;
|
1051
1053
|
}
|
1052
1054
|
}
|
@@ -1113,8 +1115,8 @@ type TableMetadata {${exports.MetadataFields}
|
|
1113
1115
|
fields: [Field]!
|
1114
1116
|
}`;
|
1115
1117
|
class TableMetadata extends Metadata {
|
1116
|
-
constructor(label, description, metadataType, fields) {
|
1117
|
-
super(label, description, metadataType);
|
1118
|
+
constructor(label, description, metadataType, fields, classifiers, threshold) {
|
1119
|
+
super(label, description, metadataType, classifiers, threshold);
|
1118
1120
|
this.fields = fields;
|
1119
1121
|
}
|
1120
1122
|
}
|
package/model.ts
CHANGED
@@ -669,6 +669,7 @@ export const MetadataFields = `${PrimitiveFields}
|
|
669
669
|
metadataType: String!
|
670
670
|
references: [String]
|
671
671
|
classifiers: [String]!
|
672
|
+
threshold: Float!
|
672
673
|
provider: String
|
673
674
|
application: String`;
|
674
675
|
export class Metadata extends Primitive {
|
@@ -677,15 +678,24 @@ export class Metadata extends Primitive {
|
|
677
678
|
metadataType: string;
|
678
679
|
references?: string[];
|
679
680
|
classifiers: string[];
|
681
|
+
threshold: number;
|
680
682
|
provider?: string;
|
681
683
|
application?: string;
|
682
684
|
|
683
|
-
constructor(
|
685
|
+
constructor(
|
686
|
+
label: string,
|
687
|
+
description: string,
|
688
|
+
metadataType: string,
|
689
|
+
classifiers: string[],
|
690
|
+
threshold: number
|
691
|
+
) {
|
684
692
|
super();
|
685
693
|
|
686
694
|
this.label = label;
|
687
695
|
this.description = description;
|
688
696
|
this.metadataType = metadataType;
|
697
|
+
this.classifiers = classifiers;
|
698
|
+
this.threshold = threshold;
|
689
699
|
}
|
690
700
|
}
|
691
701
|
|
@@ -1755,14 +1765,12 @@ type Document {${BusinessObjectFields}
|
|
1755
1765
|
description: String
|
1756
1766
|
previewImage: String
|
1757
1767
|
htmlContent: String
|
1758
|
-
metadata: DocumentMetadata
|
1759
1768
|
}`;
|
1760
1769
|
export class Document extends BusinessObject {
|
1761
1770
|
title?: string;
|
1762
1771
|
description?: string;
|
1763
1772
|
previewImage?: string;
|
1764
1773
|
htmlContent?: string;
|
1765
|
-
metadata?: DocumentMetadata;
|
1766
1774
|
|
1767
1775
|
constructor(
|
1768
1776
|
tenantIdCreated: string,
|
@@ -1856,9 +1864,11 @@ export class DocumentMetadata extends Metadata {
|
|
1856
1864
|
label: string,
|
1857
1865
|
description: string,
|
1858
1866
|
metadataType: string,
|
1867
|
+
classifiers: string[],
|
1868
|
+
threshold: number,
|
1859
1869
|
blockDescriptions: BlockDescription[]
|
1860
1870
|
) {
|
1861
|
-
super(label, description, metadataType);
|
1871
|
+
super(label, description, metadataType, classifiers, threshold);
|
1862
1872
|
|
1863
1873
|
this.blockDescriptions = blockDescriptions;
|
1864
1874
|
}
|
@@ -1981,9 +1991,11 @@ export class TableMetadata extends Metadata {
|
|
1981
1991
|
label: string,
|
1982
1992
|
description: string,
|
1983
1993
|
metadataType: string,
|
1984
|
-
fields: Field[]
|
1994
|
+
fields: Field[],
|
1995
|
+
classifiers: string[],
|
1996
|
+
threshold: number
|
1985
1997
|
) {
|
1986
|
-
super(label, description, metadataType);
|
1998
|
+
super(label, description, metadataType, classifiers, threshold);
|
1987
1999
|
|
1988
2000
|
this.fields = fields;
|
1989
2001
|
}
|