@databutton/firebase-types 1.98.1 → 1.98.3
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.
|
@@ -2,6 +2,7 @@ export var CollectionName;
|
|
|
2
2
|
(function (CollectionName) {
|
|
3
3
|
CollectionName["ACCOUNTS"] = "accounts";
|
|
4
4
|
CollectionName["ACCOUNT_LISTS"] = "account-lists";
|
|
5
|
+
CollectionName["AGENT_SKILLS"] = "agent-skills";
|
|
5
6
|
CollectionName["API_KEYS"] = "api-keys";
|
|
6
7
|
CollectionName["ADMIN_CONFIG"] = "admin-config";
|
|
7
8
|
CollectionName["AUDIT_LOGS"] = "audit-logs";
|
|
@@ -2304,4 +2304,41 @@ export interface ProjectEnvValue {
|
|
|
2304
2304
|
value: string;
|
|
2305
2305
|
}
|
|
2306
2306
|
export type ProjectEnvVariable = ProjectEnvSecretRef | ProjectEnvValue;
|
|
2307
|
+
export interface RiffApiKey {
|
|
2308
|
+
createdBy: PerformedBy;
|
|
2309
|
+
name: string;
|
|
2310
|
+
claims: {
|
|
2311
|
+
sub: string;
|
|
2312
|
+
scopes?: string[];
|
|
2313
|
+
[key: string]: unknown;
|
|
2314
|
+
};
|
|
2315
|
+
}
|
|
2316
|
+
export interface AgentSkillBase {
|
|
2317
|
+
name: string;
|
|
2318
|
+
description: string;
|
|
2319
|
+
content: string;
|
|
2320
|
+
createdBy: PerformedBy;
|
|
2321
|
+
lastUpdatedBy: PerformedBy;
|
|
2322
|
+
markedForDeletionBy: PerformedBy | null;
|
|
2323
|
+
}
|
|
2324
|
+
/**
|
|
2325
|
+
* Skills available in a specific project
|
|
2326
|
+
*/
|
|
2327
|
+
export interface ProjectAgentSkill extends AgentSkillBase {
|
|
2328
|
+
scope: "project";
|
|
2329
|
+
projectId: string;
|
|
2330
|
+
}
|
|
2331
|
+
/**
|
|
2332
|
+
* Skills available in all projects of an account
|
|
2333
|
+
*/
|
|
2334
|
+
export interface AccountAgentSkill extends AgentSkillBase {
|
|
2335
|
+
scope: "account";
|
|
2336
|
+
accountId: string;
|
|
2337
|
+
}
|
|
2338
|
+
/**
|
|
2339
|
+
* Skills available to all users of Riff
|
|
2340
|
+
*/
|
|
2341
|
+
export interface GlobalAgentSkill extends AgentSkillBase {
|
|
2342
|
+
scope: "global";
|
|
2343
|
+
}
|
|
2307
2344
|
export {};
|