@databutton/firebase-types 1.98.5 → 1.99.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.
@@ -61,6 +61,10 @@ export interface Account {
61
61
  * Default project template ID for new projects (leave blank for using product default)
62
62
  */
63
63
  defaultProjectTemplateId?: string;
64
+ /**
65
+ * List of keys (feature flags) enabled for this account.
66
+ */
67
+ enabledFeatures: string[];
64
68
  }
65
69
  interface AccountConfigBase {
66
70
  enabledBy: PerformedBy;
@@ -2326,6 +2330,7 @@ export interface AgentSkillBase {
2326
2330
  name: string;
2327
2331
  description: string;
2328
2332
  content: string;
2333
+ availability: "draft" | "preview" | "active";
2329
2334
  createdBy: PerformedBy;
2330
2335
  lastUpdatedBy: PerformedBy;
2331
2336
  markedForDeletionBy: PerformedBy | null;
@@ -216,6 +216,14 @@ export type ToggleExperimentalFeaturesResponse = {
216
216
  featureFlagKey: string;
217
217
  enabled: boolean;
218
218
  };
219
+ export type ToggleAccountFeatureFlagRequest = {
220
+ accountId: string;
221
+ featureFlagKey: string;
222
+ };
223
+ export type ToggleAccountFeatureFlagResponse = {
224
+ featureFlagKey: string;
225
+ enabled: boolean;
226
+ };
219
227
  export type RestartDevxRequest = {
220
228
  projectId: string;
221
229
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.98.5",
3
+ "version": "1.99.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {