@bigfootai/bigfoot-types 4.4.12 → 4.4.13

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 +4 -4
  2. package/model.ts +8 -6
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -340,8 +340,8 @@ type Credential {
340
340
  }`;
341
341
  exports.ConnectedProviderQL = `
342
342
  type ConnectedProvider {
343
- providerId: String!
344
343
  connectionId: String!
344
+ provider: String!
345
345
  application: String!
346
346
  credential: Credential
347
347
  dateCreated: Float
@@ -463,18 +463,18 @@ type ProviderApplication {
463
463
  }`;
464
464
  exports.ProviderQL = `
465
465
  type Provider {${exports.PrimitiveFields}
466
- provider: String!
467
466
  name: String!
467
+ label: String!
468
468
  description: String!
469
469
  instanceUrl: String!
470
470
  applications: [ProviderApplication]!
471
471
  tableMetadata: [TableMetadata]!
472
472
  }`;
473
473
  class Provider extends Primitive {
474
- constructor(provider, name, description, instanceUrl, applications) {
474
+ constructor(name, label, description, instanceUrl, applications) {
475
475
  super();
476
- this.provider = provider;
477
476
  this.name = name;
477
+ this.label = label;
478
478
  this.description = description;
479
479
  this.instanceUrl = instanceUrl;
480
480
  this.applications = applications;
package/model.ts CHANGED
@@ -487,16 +487,16 @@ export interface ConnectedProviderRegistration {
487
487
 
488
488
  export const ConnectedProviderQL = `
489
489
  type ConnectedProvider {
490
- providerId: String!
491
490
  connectionId: String!
491
+ provider: String!
492
492
  application: String!
493
493
  credential: Credential
494
494
  dateCreated: Float
495
495
  dateUpdated: Float
496
496
  }`;
497
497
  export interface ConnectedProvider {
498
- providerId: string;
499
498
  connectionId: string;
499
+ provider: string;
500
500
  application: string;
501
501
  credential?: Credential;
502
502
  dateCreated: number;
@@ -675,32 +675,32 @@ export interface ProviderApplication {
675
675
 
676
676
  export const ProviderQL = `
677
677
  type Provider {${PrimitiveFields}
678
- provider: String!
679
678
  name: String!
679
+ label: String!
680
680
  description: String!
681
681
  instanceUrl: String!
682
682
  applications: [ProviderApplication]!
683
683
  tableMetadata: [TableMetadata]!
684
684
  }`;
685
685
  export class Provider extends Primitive {
686
- provider: string;
687
686
  name: string;
687
+ label: string;
688
688
  description: string;
689
689
  instanceUrl: string;
690
690
  applications: ProviderApplication[];
691
691
  tableMetadata: TableMetadata[];
692
692
 
693
693
  constructor(
694
- provider: string,
695
694
  name: string,
695
+ label: string,
696
696
  description: string,
697
697
  instanceUrl: string,
698
698
  applications: any
699
699
  ) {
700
700
  super();
701
701
 
702
- this.provider = provider;
703
702
  this.name = name;
703
+ this.label = label;
704
704
  this.description = description;
705
705
  this.instanceUrl = instanceUrl;
706
706
  this.applications = applications;
@@ -1670,6 +1670,8 @@ type TableMetadata {${MetadataFields}
1670
1670
  export class TableMetadata extends Metadata {
1671
1671
  fields: Field[];
1672
1672
  recordType: string;
1673
+ provider?: string;
1674
+ application?: string;
1673
1675
  classifiers?: string[];
1674
1676
 
1675
1677
  constructor(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.4.12",
4
+ "version": "4.4.13",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",