@databutton/firebase-types 1.102.2 → 1.103.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.
@@ -73,6 +73,11 @@ export interface Account {
73
73
  * Identifier for the special account wide project for knowledgebase
74
74
  */
75
75
  knowledgeBaseProjectId?: string;
76
+ /**
77
+ * For each member of an account we spin up a special project that is used by them to have access to devx
78
+ * when talking to an account wide agent (knowledgebase etc.). These should be hidden from users by default.
79
+ */
80
+ userAccountLevelProjectIds: Record<string, string>;
76
81
  }
77
82
  interface AccountConfigBase {
78
83
  enabledBy: PerformedBy;
@@ -964,6 +969,7 @@ export type ModelString = `openai/${string}` | `anthropic/${string}` | `google/$
964
969
  */
965
970
  export interface AgentPersonality {
966
971
  mainModel?: ModelString;
972
+ contextWindowSize?: "low" | "standard" | "high";
967
973
  modelAtSignUp?: ModelString;
968
974
  toneOfVoice?: {
969
975
  responseStyle?: string | null;
@@ -1238,6 +1244,7 @@ export interface Project {
1238
1244
  variant: ProjectVariant;
1239
1245
  /**
1240
1246
  * Identifier for special projects that should be hidden from the user when in use for the knowledgebase feature
1247
+ * TODO: replace with a different name
1241
1248
  */
1242
1249
  isAccountKnowledgeProject?: boolean;
1243
1250
  migratedFromDatabutton?: boolean;
@@ -459,4 +459,16 @@ export type CreateTeamAccountResponse = {
459
459
  success: false;
460
460
  errorCode: CreateTeamAccountErrorCode;
461
461
  };
462
+ export type CreateKnowledgeBaseProjectRequest = {
463
+ accountId: string;
464
+ projectTemplateId?: string;
465
+ };
466
+ export type CreateKnowledgeBaseProjectResponse = {
467
+ success: true;
468
+ projectId: string;
469
+ } | {
470
+ success: false;
471
+ errorCode: string;
472
+ errorMessage?: string;
473
+ };
462
474
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.102.2",
3
+ "version": "1.103.0",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {