@databutton/firebase-types 1.96.0 → 1.97.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.
|
@@ -47,6 +47,7 @@ export declare enum CollectionName {
|
|
|
47
47
|
INTEGRATIONS = "integrations",
|
|
48
48
|
INTEGRATION_TEMPLATES = "integration-templates",
|
|
49
49
|
INTEGRATION_CONNECTIONS = "installed-integrations",
|
|
50
|
+
INTEGRATION_DATA_ACCESS_RESOURCES = "data-access",
|
|
50
51
|
PAGES = "pages",
|
|
51
52
|
PATCH_ATTEMPTS = "patch-attempts",
|
|
52
53
|
PROFILES = "profiles",
|
|
@@ -48,6 +48,7 @@ export var CollectionName;
|
|
|
48
48
|
CollectionName["INTEGRATIONS"] = "integrations";
|
|
49
49
|
CollectionName["INTEGRATION_TEMPLATES"] = "integration-templates";
|
|
50
50
|
CollectionName["INTEGRATION_CONNECTIONS"] = "installed-integrations";
|
|
51
|
+
CollectionName["INTEGRATION_DATA_ACCESS_RESOURCES"] = "data-access";
|
|
51
52
|
CollectionName["PAGES"] = "pages";
|
|
52
53
|
CollectionName["PATCH_ATTEMPTS"] = "patch-attempts";
|
|
53
54
|
CollectionName["PROFILES"] = "profiles";
|
|
@@ -1112,6 +1112,7 @@ export interface Integration {
|
|
|
1112
1112
|
templateId: string;
|
|
1113
1113
|
templateVersion: string;
|
|
1114
1114
|
displayName: string;
|
|
1115
|
+
userDescription?: string;
|
|
1115
1116
|
enabled: boolean;
|
|
1116
1117
|
status?: IntegrationStatus;
|
|
1117
1118
|
metadata?: Record<string, string>;
|
|
@@ -1132,6 +1133,18 @@ export interface IntegrationLearning {
|
|
|
1132
1133
|
createdBy: PerformedBy;
|
|
1133
1134
|
createdAt: Timestamp;
|
|
1134
1135
|
}
|
|
1136
|
+
export interface IntegrationDataAccessResource {
|
|
1137
|
+
resourceType: string;
|
|
1138
|
+
resourceName: string;
|
|
1139
|
+
accessLevel: string;
|
|
1140
|
+
allowedRoles?: string[];
|
|
1141
|
+
permissions?: string[];
|
|
1142
|
+
description?: string;
|
|
1143
|
+
createdBy: PerformedBy;
|
|
1144
|
+
createdAt: Timestamp;
|
|
1145
|
+
lastUpdatedBy: PerformedBy;
|
|
1146
|
+
lastUpdatedAt: Timestamp;
|
|
1147
|
+
}
|
|
1135
1148
|
/**
|
|
1136
1149
|
* Account integration usage tracking
|
|
1137
1150
|
* Stored at: /accounts/{account_id}/integrations/{integration_label}/usage/{project_id}
|