@databutton/firebase-types 1.174.1 → 1.176.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.
@@ -2747,12 +2747,18 @@ export interface AgentSkillBase {
2747
2747
  content: string;
2748
2748
  availability: "draft" | "preview" | "active";
2749
2749
  /**
2750
- * Optional builder type filter for platform skills.
2751
- * - "agent": only visible in agent builder (agentBuilderTemplate projects)
2752
- * - "app": only visible in app builder
2753
- * - null: defaults to app builder (backwards compatible)
2750
+ * Restricts which kind of project can see this skill, mirroring
2751
+ * SpecialProjectType on the project doc.
2752
+ * - null: defaults to SpecialProjectType.APP (backwards compatible)
2754
2753
  */
2755
- type?: "app" | "agent" | null;
2754
+ type?: SpecialProjectType | null;
2755
+ /**
2756
+ * For skills scoped to an agent-kind project type, restricts visibility to
2757
+ * while the agent is being built (development) vs. while it's running live
2758
+ * (production). Ignored for non-agent types. Null/undefined means the
2759
+ * skill is visible in both modes.
2760
+ */
2761
+ agentMode?: "development" | "production" | null;
2756
2762
  createdBy: PerformedBy;
2757
2763
  lastUpdatedBy: PerformedBy;
2758
2764
  markedForDeletionBy: PerformedBy | null;
@@ -551,6 +551,7 @@ export type GenerateUsageReportResponse = {
551
551
  timestamp: string;
552
552
  projectId: string;
553
553
  userId: string;
554
+ type: string;
554
555
  credits: number;
555
556
  }[];
556
557
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.174.1",
3
+ "version": "1.176.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {