@databutton/firebase-types 1.165.0 → 1.165.2

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.
@@ -1470,12 +1470,33 @@ export type RiffMigrationState<T> = {
1470
1470
  * SpecialProjectType allows for classification of projects that behave differently from a general Riff project.
1471
1471
  */
1472
1472
  export declare enum SpecialProjectType {
1473
- /** One per user in an account. Powers the workspace agent — a personal assistant that can talk with the team's knowledge base etc. */
1474
- AGENT_PROJECT = "agentProject",
1475
- /** Projects where users build autonomous agents in Riff. */
1476
- AGENT = "agent",
1477
- /** Projects used as an API gateway integration, needs to be connected to an account app. */
1478
- API_GATEWAY = "apiGateway"
1473
+ /**
1474
+ *
1475
+ * Projects used as an API gateway integration
1476
+ */
1477
+ API_GATEWAY = "apiGateway",
1478
+ /**
1479
+ * Projects powering regular Riff apps (React+FastAPI apps)
1480
+ */
1481
+ APP = "app",
1482
+ /**
1483
+ * Projects powering strategic agents (copilot-like agents) where you primarily interact through chatting with it.
1484
+ */
1485
+ STRATEGIC_AGENT = "strategicAgent",
1486
+ /**
1487
+ * Projects powering operational agents that are primarily working autonomous
1488
+ */
1489
+ OPERATIONAL_AGENT = "operationalAgent",
1490
+ /**
1491
+ * Projects powering legacy app template for building agents we had running for a while before we added proper agent support
1492
+ * @deprecated No new agents are created from this. Keep as long as we still have active projects of this type
1493
+ */
1494
+ LEGACY_APP_AGENT = "legacyAppAgent",
1495
+ /**
1496
+ * One per user in an account. Powers the workspace agent — a personal assistant that can talk with the team's knowledge base etc.
1497
+ * @deprecated This powers 'Ask Riff' which we will sunset. Keep while we still have projects with this type set
1498
+ */
1499
+ AGENT_PROJECT = "agentProject"
1479
1500
  }
1480
1501
  export interface ProjectSettingsBase {
1481
1502
  lastUpdatedBy: PerformedBy;
@@ -1503,6 +1524,7 @@ export interface Project {
1503
1524
  isAccountKnowledgeProject?: boolean;
1504
1525
  /**
1505
1526
  * specialType is used when the project should behave differently to a normal project. It is optional on purpose to allow for easier filtering.
1527
+ * When specialType is not set, it should be considered a SpecialProjectType.APP
1506
1528
  */
1507
1529
  specialType?: SpecialProjectType;
1508
1530
  migratedFromDatabutton?: boolean;
@@ -76,12 +76,33 @@ export var ProjectExtension;
76
76
  */
77
77
  export var SpecialProjectType;
78
78
  (function (SpecialProjectType) {
79
- /** One per user in an account. Powers the workspace agent — a personal assistant that can talk with the team's knowledge base etc. */
80
- SpecialProjectType["AGENT_PROJECT"] = "agentProject";
81
- /** Projects where users build autonomous agents in Riff. */
82
- SpecialProjectType["AGENT"] = "agent";
83
- /** Projects used as an API gateway integration, needs to be connected to an account app. */
79
+ /**
80
+ *
81
+ * Projects used as an API gateway integration
82
+ */
84
83
  SpecialProjectType["API_GATEWAY"] = "apiGateway";
84
+ /**
85
+ * Projects powering regular Riff apps (React+FastAPI apps)
86
+ */
87
+ SpecialProjectType["APP"] = "app";
88
+ /**
89
+ * Projects powering strategic agents (copilot-like agents) where you primarily interact through chatting with it.
90
+ */
91
+ SpecialProjectType["STRATEGIC_AGENT"] = "strategicAgent";
92
+ /**
93
+ * Projects powering operational agents that are primarily working autonomous
94
+ */
95
+ SpecialProjectType["OPERATIONAL_AGENT"] = "operationalAgent";
96
+ /**
97
+ * Projects powering legacy app template for building agents we had running for a while before we added proper agent support
98
+ * @deprecated No new agents are created from this. Keep as long as we still have active projects of this type
99
+ */
100
+ SpecialProjectType["LEGACY_APP_AGENT"] = "legacyAppAgent";
101
+ /**
102
+ * One per user in an account. Powers the workspace agent — a personal assistant that can talk with the team's knowledge base etc.
103
+ * @deprecated This powers 'Ask Riff' which we will sunset. Keep while we still have projects with this type set
104
+ */
105
+ SpecialProjectType["AGENT_PROJECT"] = "agentProject";
85
106
  })(SpecialProjectType || (SpecialProjectType = {}));
86
107
  /**
87
108
  * Taken from AWS types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.165.0",
3
+ "version": "1.165.2",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {