@bigfootai/bigfoot-types 4.7.10 → 4.7.11
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 +7 -3
- package/model.ts +11 -3
- package/package.json +1 -1
package/model.js
CHANGED
@@ -463,7 +463,8 @@ exports.SharedPrimitive = SharedPrimitive;
|
|
463
463
|
exports.MetadataFields = `${exports.PrimitiveFields}
|
464
464
|
label: String!
|
465
465
|
description: String!
|
466
|
-
references: [String]
|
466
|
+
references: [String]
|
467
|
+
classifiers: [String]`;
|
467
468
|
class Metadata extends Primitive {
|
468
469
|
constructor(label, description) {
|
469
470
|
super();
|
@@ -549,6 +550,7 @@ type ProviderApplication {
|
|
549
550
|
sobjects: StandardObjects!
|
550
551
|
linkSubscriptions: [String]!
|
551
552
|
recordTypeSubscriptions: [String]!
|
553
|
+
documentTypeSubscriptions: [String]!
|
552
554
|
authentication: Boolean!
|
553
555
|
}`;
|
554
556
|
exports.ProviderQL = `
|
@@ -560,6 +562,7 @@ type Provider {${exports.PrimitiveFields}
|
|
560
562
|
instanceUrl: String!
|
561
563
|
applications: [ProviderApplication]!
|
562
564
|
tableMetadata: [TableMetadata]!
|
565
|
+
documentMetadata: [DocumentMetadata]!
|
563
566
|
}`;
|
564
567
|
class Provider extends Primitive {
|
565
568
|
constructor(name, label, description, instanceUrl, applications) {
|
@@ -570,6 +573,7 @@ class Provider extends Primitive {
|
|
570
573
|
this.instanceUrl = instanceUrl;
|
571
574
|
this.applications = applications;
|
572
575
|
this.tableMetadata = [];
|
576
|
+
this.documentMetadata = [];
|
573
577
|
}
|
574
578
|
}
|
575
579
|
exports.Provider = Provider;
|
@@ -1034,8 +1038,9 @@ type DocumentMetadata {${exports.MetadataFields}
|
|
1034
1038
|
contentBlocks: [BlockDescription]!
|
1035
1039
|
}`;
|
1036
1040
|
class DocumentMetadata extends Metadata {
|
1037
|
-
constructor(label, description, contentBlocks) {
|
1041
|
+
constructor(documentType, label, description, contentBlocks) {
|
1038
1042
|
super(label, description);
|
1043
|
+
this.documentType = documentType;
|
1039
1044
|
this.contentBlocks = contentBlocks;
|
1040
1045
|
}
|
1041
1046
|
}
|
@@ -1103,7 +1108,6 @@ type TableMetadata {${exports.MetadataFields}
|
|
1103
1108
|
recordType: String!
|
1104
1109
|
provider: String
|
1105
1110
|
application: String
|
1106
|
-
classifiers: [String]
|
1107
1111
|
}`;
|
1108
1112
|
class TableMetadata extends Metadata {
|
1109
1113
|
constructor(label, description, fields, recordType) {
|
package/model.ts
CHANGED
@@ -666,11 +666,13 @@ export class SharedPrimitive extends Primitive {
|
|
666
666
|
export const MetadataFields = `${PrimitiveFields}
|
667
667
|
label: String!
|
668
668
|
description: String!
|
669
|
-
references: [String]
|
669
|
+
references: [String]
|
670
|
+
classifiers: [String]`;
|
670
671
|
export class Metadata extends Primitive {
|
671
672
|
label: string;
|
672
673
|
description: string;
|
673
674
|
references?: string[];
|
675
|
+
classifiers?: string[];
|
674
676
|
|
675
677
|
constructor(label: string, description: string) {
|
676
678
|
super();
|
@@ -801,6 +803,7 @@ type ProviderApplication {
|
|
801
803
|
sobjects: StandardObjects!
|
802
804
|
linkSubscriptions: [String]!
|
803
805
|
recordTypeSubscriptions: [String]!
|
806
|
+
documentTypeSubscriptions: [String]!
|
804
807
|
authentication: Boolean!
|
805
808
|
}`;
|
806
809
|
export interface ProviderApplication {
|
@@ -811,6 +814,7 @@ export interface ProviderApplication {
|
|
811
814
|
sobjects: StandardObjects;
|
812
815
|
linkSubscriptions: string[];
|
813
816
|
recordTypeSubscriptions: string[];
|
817
|
+
documentTypeSubscriptions: string[];
|
814
818
|
authentication: boolean;
|
815
819
|
}
|
816
820
|
|
@@ -823,6 +827,7 @@ type Provider {${PrimitiveFields}
|
|
823
827
|
instanceUrl: String!
|
824
828
|
applications: [ProviderApplication]!
|
825
829
|
tableMetadata: [TableMetadata]!
|
830
|
+
documentMetadata: [DocumentMetadata]!
|
826
831
|
}`;
|
827
832
|
export class Provider extends Primitive {
|
828
833
|
name: string;
|
@@ -832,6 +837,7 @@ export class Provider extends Primitive {
|
|
832
837
|
instanceUrl: string;
|
833
838
|
applications: ProviderApplication[];
|
834
839
|
tableMetadata: TableMetadata[];
|
840
|
+
documentMetadata: DocumentMetadata[];
|
835
841
|
|
836
842
|
constructor(
|
837
843
|
name: string,
|
@@ -849,6 +855,7 @@ export class Provider extends Primitive {
|
|
849
855
|
this.applications = applications;
|
850
856
|
|
851
857
|
this.tableMetadata = [];
|
858
|
+
this.documentMetadata = [];
|
852
859
|
}
|
853
860
|
}
|
854
861
|
|
@@ -1829,15 +1836,18 @@ type DocumentMetadata {${MetadataFields}
|
|
1829
1836
|
contentBlocks: [BlockDescription]!
|
1830
1837
|
}`;
|
1831
1838
|
export class DocumentMetadata extends Metadata {
|
1839
|
+
documentType: string;
|
1832
1840
|
contentBlocks: BlockDescription[];
|
1833
1841
|
|
1834
1842
|
constructor(
|
1843
|
+
documentType: string,
|
1835
1844
|
label: string,
|
1836
1845
|
description: string,
|
1837
1846
|
contentBlocks: BlockDescription[]
|
1838
1847
|
) {
|
1839
1848
|
super(label, description);
|
1840
1849
|
|
1850
|
+
this.documentType = documentType;
|
1841
1851
|
this.contentBlocks = contentBlocks;
|
1842
1852
|
}
|
1843
1853
|
}
|
@@ -1954,14 +1964,12 @@ type TableMetadata {${MetadataFields}
|
|
1954
1964
|
recordType: String!
|
1955
1965
|
provider: String
|
1956
1966
|
application: String
|
1957
|
-
classifiers: [String]
|
1958
1967
|
}`;
|
1959
1968
|
export class TableMetadata extends Metadata {
|
1960
1969
|
fields: Field[];
|
1961
1970
|
recordType: string;
|
1962
1971
|
provider?: string;
|
1963
1972
|
application?: string;
|
1964
|
-
classifiers?: string[];
|
1965
1973
|
|
1966
1974
|
constructor(
|
1967
1975
|
label: string,
|