@databutton/firebase-types 1.78.41 → 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.
@@ -33,6 +33,7 @@ export declare enum CollectionName {
33
33
  MIGRATIONS = "migrations",
34
34
  MULTIPAGE_APPS = "multipage-apps",
35
35
  NOTEBOOKS = "notebooks",
36
+ INTEGRATIONS = "integrations",
36
37
  PAGES = "pages",
37
38
  PATCH_ATTEMPTS = "patch-attempts",
38
39
  PROFILES = "profiles",
@@ -157,3 +158,9 @@ export declare enum TaskRelation {
157
158
  BLOCKING = "blocking",
158
159
  RELATED_TO = "related-to"
159
160
  }
161
+ export declare enum IntegrationType {
162
+ SDK = "sdk",
163
+ HTTP = "http",
164
+ GRAPHQL = "graphql",
165
+ WEBHOOK = "webhook"
166
+ }
@@ -34,6 +34,7 @@ export var CollectionName;
34
34
  CollectionName["MIGRATIONS"] = "migrations";
35
35
  CollectionName["MULTIPAGE_APPS"] = "multipage-apps";
36
36
  CollectionName["NOTEBOOKS"] = "notebooks";
37
+ CollectionName["INTEGRATIONS"] = "integrations";
37
38
  CollectionName["PAGES"] = "pages";
38
39
  CollectionName["PATCH_ATTEMPTS"] = "patch-attempts";
39
40
  CollectionName["PROFILES"] = "profiles";
@@ -168,4 +169,11 @@ export var TaskRelation;
168
169
  TaskRelation["BLOCKING"] = "blocking";
169
170
  TaskRelation["RELATED_TO"] = "related-to";
170
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 = {}));
171
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
@@ -892,10 +892,18 @@ export interface ProjectMigrationRecord {
892
892
  /**
893
893
  * Collection of integrations that you can add to your project
894
894
  */
895
- export interface Integrations {
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.41",
3
+ "version": "1.78.43",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {