@databutton/firebase-types 1.174.0 → 1.175.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.
@@ -1577,7 +1577,13 @@ export interface Project {
1577
1577
  * @deprecated No longer in use
1578
1578
  */
1579
1579
  isPublic: boolean;
1580
- visibility: "public" | "private";
1580
+ /**
1581
+ * The visibility of the project.
1582
+ * - public: not in use anymore - avoid using this
1583
+ * - private: the project is visible in the workspace for everyone that has access to the account
1584
+ * - hidden: the project is only visible to Riff internal users
1585
+ */
1586
+ visibility: "public" | "private" | "hidden";
1581
1587
  visibilityLastChangedBy: PerformedBy;
1582
1588
  lastOpenedAt?: Timestamp;
1583
1589
  lastMigratedAt?: Timestamp;
@@ -2741,12 +2747,18 @@ export interface AgentSkillBase {
2741
2747
  content: string;
2742
2748
  availability: "draft" | "preview" | "active";
2743
2749
  /**
2744
- * Optional builder type filter for platform skills.
2745
- * - "agent": only visible in agent builder (agentBuilderTemplate projects)
2746
- * - "app": only visible in app builder
2747
- * - 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)
2753
+ */
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.
2748
2760
  */
2749
- type?: "app" | "agent" | null;
2761
+ agentMode?: "development" | "production" | null;
2750
2762
  createdBy: PerformedBy;
2751
2763
  lastUpdatedBy: PerformedBy;
2752
2764
  markedForDeletionBy: PerformedBy | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.174.0",
3
+ "version": "1.175.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {