@databutton/firebase-types 1.85.38 → 1.86.0
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.
|
@@ -871,10 +871,24 @@ export interface IntegrationPackages {
|
|
|
871
871
|
};
|
|
872
872
|
}
|
|
873
873
|
export interface IntegrationScope {
|
|
874
|
+
/** Sections name e.g. Comntacts for Hubspot */
|
|
874
875
|
sectionName: string;
|
|
876
|
+
/** A list of scopes provided by the integration. e.g. "read:contacts", "write:contacts".
|
|
877
|
+
* For certain integrations this needs to be synced manually */
|
|
875
878
|
scopes: string[];
|
|
876
879
|
permission?: "read" | "write" | "read-write";
|
|
877
880
|
}
|
|
881
|
+
export interface IntegrationAlias {
|
|
882
|
+
/** Name of the alias e.g. google-sheets */
|
|
883
|
+
name: string;
|
|
884
|
+
/** User friendly name for the alias e.g. Google Sheets */
|
|
885
|
+
displayName?: string;
|
|
886
|
+
/** Icon URL to display when an alias is used */
|
|
887
|
+
iconUrl?: string;
|
|
888
|
+
description?: string;
|
|
889
|
+
/** Scope groups are here to match an alias to be active. e.g. if Google Calendar scope group is active then the alias should be active. */
|
|
890
|
+
scopeGroups: string[];
|
|
891
|
+
}
|
|
878
892
|
/**
|
|
879
893
|
* Pre-defined integrations. To speed up the process for the user by pre-defining auth strategy and other fields.
|
|
880
894
|
* These include OAuth connections managed by Riff.
|
|
@@ -885,7 +899,7 @@ export interface IntegrationTemplate {
|
|
|
885
899
|
semVerVersion: string;
|
|
886
900
|
managedBy: "riff" | "community";
|
|
887
901
|
logoUrl?: string;
|
|
888
|
-
aliases?:
|
|
902
|
+
aliases?: IntegrationAlias[];
|
|
889
903
|
/**
|
|
890
904
|
* Short description of the integration
|
|
891
905
|
* Ment for the user to understand what the integration does
|