@databutton/firebase-types 1.184.0 → 1.185.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.
|
@@ -1323,8 +1323,11 @@ export interface IntegrationTemplate {
|
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Riff-oauth are integrations that use our provided Riff OAuth flow
|
|
1325
1325
|
* Any integration using a custom flow should have usage descriubed in the guide field
|
|
1326
|
+
*
|
|
1327
|
+
* Sourced from IntegrationTemplateVersion (declared below) rather than re-declared, so this
|
|
1328
|
+
* legacy combined interface can't drift from the newer versioned one it's a precursor to.
|
|
1326
1329
|
*/
|
|
1327
|
-
authStrategy: "
|
|
1330
|
+
authStrategy: IntegrationTemplateVersion["authStrategy"];
|
|
1328
1331
|
requiredCredentials: {
|
|
1329
1332
|
key: string;
|
|
1330
1333
|
optional?: boolean;
|
|
@@ -1388,7 +1391,7 @@ export interface IntegrationTemplateVersion {
|
|
|
1388
1391
|
name: string;
|
|
1389
1392
|
};
|
|
1390
1393
|
optionalScopes?: IntegrationScope[];
|
|
1391
|
-
authStrategy: "riff-oauth" | "oauth" | "api-key" | "custom" | "egress-proxy";
|
|
1394
|
+
authStrategy: "riff-oauth" | "oauth" | "oauth-m2m" | "api-key" | "custom" | "egress-proxy";
|
|
1392
1395
|
requiredCredentials: {
|
|
1393
1396
|
key: string;
|
|
1394
1397
|
optional?: boolean;
|