@databutton/firebase-types 1.78.42 → 1.78.43

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.
@@ -158,3 +158,9 @@ export declare enum TaskRelation {
158
158
  BLOCKING = "blocking",
159
159
  RELATED_TO = "related-to"
160
160
  }
161
+ export declare enum IntegrationType {
162
+ SDK = "sdk",
163
+ HTTP = "http",
164
+ GRAPHQL = "graphql",
165
+ WEBHOOK = "webhook"
166
+ }
@@ -169,4 +169,11 @@ export var TaskRelation;
169
169
  TaskRelation["BLOCKING"] = "blocking";
170
170
  TaskRelation["RELATED_TO"] = "related-to";
171
171
  })(TaskRelation || (TaskRelation = {}));
172
+ export var IntegrationType;
173
+ (function (IntegrationType) {
174
+ IntegrationType["SDK"] = "sdk";
175
+ IntegrationType["HTTP"] = "http";
176
+ IntegrationType["GRAPHQL"] = "graphql";
177
+ IntegrationType["WEBHOOK"] = "webhook";
178
+ })(IntegrationType || (IntegrationType = {}));
172
179
  //# sourceMappingURL=enums.js.map
@@ -1,7 +1,7 @@
1
1
  import type { Timestamp } from "firebase/firestore";
2
2
  import type { JsonObject, Primitive } from "type-fest";
3
3
  import type { ProjectMigration } from "../internal/enums.js";
4
- import type { TaskPriority, TaskRelation, ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName, UiComponentTag } from "./enums.js";
4
+ import type { IntegrationType, TaskPriority, TaskRelation, ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName, UiComponentTag } from "./enums.js";
5
5
  /**
6
6
  * Types here should reflect data format stored in firestore and
7
7
  * either be backwards-compatible or migrated when needed
@@ -895,7 +895,15 @@ export interface ProjectMigrationRecord {
895
895
  export interface Integration {
896
896
  displayName: string;
897
897
  version: string;
898
- active: boolean;
898
+ state: "active" | "early-access" | "inactive";
899
+ /**
900
+ * The type of integration
901
+ */
902
+ type: IntegrationType;
903
+ /**
904
+ * The name of the Python packages needed to use the integration
905
+ */
906
+ pythonPackageNames: string[];
899
907
  /**
900
908
  * Short description of the integration
901
909
  * Ment for the user to understand what the integration does
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.78.42",
3
+ "version": "1.78.43",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {