@databutton/firebase-types 1.84.14 → 1.85.1
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.
|
@@ -886,6 +886,11 @@ export interface IntegrationTemplate {
|
|
|
886
886
|
provider: {
|
|
887
887
|
name: string;
|
|
888
888
|
};
|
|
889
|
+
/** Optional scopes for the integration. e.g. "read:contacts", "write:contacts". Allows for managing these via the admin panel and comparing installed vs available scopes. Broken down into sections for easier management and allowing users to select scope sections they need. */
|
|
890
|
+
scopes?: {
|
|
891
|
+
sectionName: string;
|
|
892
|
+
scopes: string[];
|
|
893
|
+
};
|
|
889
894
|
/**
|
|
890
895
|
* Riff-oauth are integrations that use our provided Riff OAuth flow
|
|
891
896
|
* Any integration using a custom flow should have usage descriubed in the guide field
|
|
@@ -944,6 +949,11 @@ export interface InstalledIntegration {
|
|
|
944
949
|
provider: {
|
|
945
950
|
name: string;
|
|
946
951
|
};
|
|
952
|
+
/** Installed optional scopes for the integration. e.g. "read:contacts", "write:contacts". Allows for managing these via the admin panel and comparing installed vs available scopes. Broken down into sections for easier management and allowing users to select scope sections they need. */
|
|
953
|
+
scopes?: {
|
|
954
|
+
sectionName: string;
|
|
955
|
+
scopes: string[];
|
|
956
|
+
};
|
|
947
957
|
authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom";
|
|
948
958
|
/**
|
|
949
959
|
* human/agent-readable notes (scopes, pagination, rate limits, usage examples). Living document. used by agent, and for debug
|