@databutton/firebase-types 1.165.0 → 1.165.1

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,28 @@ 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
+ * One per user in an account. Powers the workspace agent — a personal assistant that can talk with the team's knowledge base etc.
1492
+ * @deprecated This powers 'Ask Riff' which we will sunset. Keep while we still have projects with this type set
1493
+ */
1494
+ AGENT_PROJECT = "agentProject"
1479
1495
  }
1480
1496
  export interface ProjectSettingsBase {
1481
1497
  lastUpdatedBy: PerformedBy;
@@ -1503,6 +1519,7 @@ export interface Project {
1503
1519
  isAccountKnowledgeProject?: boolean;
1504
1520
  /**
1505
1521
  * specialType is used when the project should behave differently to a normal project. It is optional on purpose to allow for easier filtering.
1522
+ * When specialType is not set, it should be considered a SpecialProjectType.APP
1506
1523
  */
1507
1524
  specialType?: SpecialProjectType;
1508
1525
  migratedFromDatabutton?: boolean;
@@ -76,12 +76,28 @@ 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
+ * One per user in an account. Powers the workspace agent — a personal assistant that can talk with the team's knowledge base etc.
98
+ * @deprecated This powers 'Ask Riff' which we will sunset. Keep while we still have projects with this type set
99
+ */
100
+ SpecialProjectType["AGENT_PROJECT"] = "agentProject";
85
101
  })(SpecialProjectType || (SpecialProjectType = {}));
86
102
  /**
87
103
  * 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.1",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {