@bigfootai/bigfoot-types 4.9.10 → 4.9.12

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.
Files changed (3) hide show
  1. package/model.js +3 -2
  2. package/model.ts +4 -4
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -589,6 +589,7 @@ type ProviderApplication {
589
589
  linkSubscriptions: [String]
590
590
  recordTypeSubscriptions: [String]
591
591
  documentTypeSubscriptions: [String]
592
+ dashboardTypeSubscriptions: [String]
592
593
  dashboardTagSubscriptions: [DashboardTagSubscription]
593
594
  authentication: Boolean!
594
595
  }`;
@@ -1117,8 +1118,8 @@ type Dashboard {${exports.BusinessObjectFields}
1117
1118
  blockData: [BlockData]
1118
1119
  }`;
1119
1120
  class Dashboard extends BusinessObject {
1120
- constructor(tenantIdCreated, editors, sharingTags, version, provider, application, uri, externalId, dashboardMetadata) {
1121
- super(tenantIdCreated, editors, sharingTags, version, BlockType.Dashboard, provider, application, uri, externalId);
1121
+ constructor(tenantIdCreated, editors, sharingTags, version, uri, externalId, dashboardMetadata) {
1122
+ super(tenantIdCreated, editors, sharingTags, version, BlockType.Dashboard, dashboardMetadata.provider, dashboardMetadata.application, uri, externalId);
1122
1123
  this.blockData = [];
1123
1124
  // Go through the block descriptions and create the block data entries
1124
1125
  for (const blockDescription of dashboardMetadata.blockDescriptions) {
package/model.ts CHANGED
@@ -859,6 +859,7 @@ type ProviderApplication {
859
859
  linkSubscriptions: [String]
860
860
  recordTypeSubscriptions: [String]
861
861
  documentTypeSubscriptions: [String]
862
+ dashboardTypeSubscriptions: [String]
862
863
  dashboardTagSubscriptions: [DashboardTagSubscription]
863
864
  authentication: Boolean!
864
865
  }`;
@@ -871,6 +872,7 @@ export interface ProviderApplication {
871
872
  linkSubscriptions?: string[];
872
873
  recordTypeSubscriptions?: string[];
873
874
  documentTypeSubscriptions?: string[];
875
+ dashboardTypeSubscriptions?: string[];
874
876
  dashboardTagSubscriptions?: DashboardTagSubscription[];
875
877
  authentication: boolean;
876
878
  }
@@ -1950,8 +1952,6 @@ export class Dashboard extends BusinessObject {
1950
1952
  editors: Editor[],
1951
1953
  sharingTags: SharingTag[],
1952
1954
  version: number,
1953
- provider: string,
1954
- application: string,
1955
1955
  uri: string,
1956
1956
  externalId: string,
1957
1957
  dashboardMetadata: DashboardMetadata
@@ -1962,8 +1962,8 @@ export class Dashboard extends BusinessObject {
1962
1962
  sharingTags,
1963
1963
  version,
1964
1964
  BlockType.Dashboard,
1965
- provider,
1966
- application,
1965
+ dashboardMetadata.provider,
1966
+ dashboardMetadata.application,
1967
1967
  uri,
1968
1968
  externalId
1969
1969
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.9.10",
4
+ "version": "4.9.12",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",