@databutton/firebase-types 1.89.2 → 1.89.3

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.
@@ -905,6 +905,11 @@ export interface IntegrationAlias {
905
905
  /** 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. */
906
906
  scopeGroups: string[];
907
907
  }
908
+ /**
909
+ * Version of the API for the integration. Used for backwards compatibility. Compat is the first version of the APIs that was used in Python.
910
+ * V1 is the current version of the Golang Riff API.
911
+ */
912
+ export type IntegrationApiVersion = "compat" | "v1";
908
913
  /**
909
914
  * Pre-defined integrations. To speed up the process for the user by pre-defining auth strategy and other fields.
910
915
  * These include OAuth connections managed by Riff.
@@ -916,6 +921,7 @@ export interface IntegrationTemplate {
916
921
  managedBy: "riff" | "community";
917
922
  logoUrl?: string;
918
923
  aliases?: IntegrationAlias[];
924
+ apiVersion?: IntegrationApiVersion;
919
925
  /**
920
926
  * Short description of the integration
921
927
  * Ment for the user to understand what the integration does
@@ -965,6 +971,7 @@ export interface InstalledIntegration {
965
971
  templateId: string;
966
972
  enabled: boolean;
967
973
  logoUrl?: string;
974
+ apiVersion?: IntegrationApiVersion;
968
975
  credentials: {
969
976
  key: string;
970
977
  ref: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.89.2",
3
+ "version": "1.89.3",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {