@bigfootai/bigfoot-types 4.7.20 → 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 -5
- package/model.ts +18 -4
- 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;
|
@@ -1044,8 +1047,8 @@ type DocumentMetadata {${exports.MetadataFields}
|
|
1044
1047
|
blockDescriptions: [BlockDescription]!
|
1045
1048
|
}`;
|
1046
1049
|
class DocumentMetadata extends Metadata {
|
1047
|
-
constructor(label, description, metadataType, blockDescriptions) {
|
1048
|
-
super(label, description, metadataType);
|
1050
|
+
constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
|
1051
|
+
super(label, description, metadataType, classifiers, threshold);
|
1049
1052
|
this.blockDescriptions = blockDescriptions;
|
1050
1053
|
}
|
1051
1054
|
}
|
@@ -1112,8 +1115,8 @@ type TableMetadata {${exports.MetadataFields}
|
|
1112
1115
|
fields: [Field]!
|
1113
1116
|
}`;
|
1114
1117
|
class TableMetadata extends Metadata {
|
1115
|
-
constructor(label, description, metadataType, fields) {
|
1116
|
-
super(label, description, metadataType);
|
1118
|
+
constructor(label, description, metadataType, fields, classifiers, threshold) {
|
1119
|
+
super(label, description, metadataType, classifiers, threshold);
|
1117
1120
|
this.fields = fields;
|
1118
1121
|
}
|
1119
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
|
|
@@ -1854,9 +1864,11 @@ export class DocumentMetadata extends Metadata {
|
|
1854
1864
|
label: string,
|
1855
1865
|
description: string,
|
1856
1866
|
metadataType: string,
|
1867
|
+
classifiers: string[],
|
1868
|
+
threshold: number,
|
1857
1869
|
blockDescriptions: BlockDescription[]
|
1858
1870
|
) {
|
1859
|
-
super(label, description, metadataType);
|
1871
|
+
super(label, description, metadataType, classifiers, threshold);
|
1860
1872
|
|
1861
1873
|
this.blockDescriptions = blockDescriptions;
|
1862
1874
|
}
|
@@ -1979,9 +1991,11 @@ export class TableMetadata extends Metadata {
|
|
1979
1991
|
label: string,
|
1980
1992
|
description: string,
|
1981
1993
|
metadataType: string,
|
1982
|
-
fields: Field[]
|
1994
|
+
fields: Field[],
|
1995
|
+
classifiers: string[],
|
1996
|
+
threshold: number
|
1983
1997
|
) {
|
1984
|
-
super(label, description, metadataType);
|
1998
|
+
super(label, description, metadataType, classifiers, threshold);
|
1985
1999
|
|
1986
2000
|
this.fields = fields;
|
1987
2001
|
}
|