@databutton/firebase-types 1.98.2 → 1.98.4
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare enum CollectionName {
|
|
2
2
|
ACCOUNTS = "accounts",
|
|
3
3
|
ACCOUNT_LISTS = "account-lists",
|
|
4
|
+
AGENT_SKILLS = "agent-skills",
|
|
4
5
|
API_KEYS = "api-keys",
|
|
5
6
|
ADMIN_CONFIG = "admin-config",
|
|
6
7
|
AUDIT_LOGS = "audit-logs",
|
|
@@ -100,6 +101,7 @@ export declare enum AccountRole {
|
|
|
100
101
|
BILLING = "billing"
|
|
101
102
|
}
|
|
102
103
|
export declare enum DatabuttonIdPrefix {
|
|
104
|
+
AGENT_SKILL = "ask",
|
|
103
105
|
API_KEY = "dbtk",
|
|
104
106
|
APP_DEPLOY = "ad",
|
|
105
107
|
AUDIT_LOG = "aul",
|
|
@@ -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";
|
|
@@ -104,6 +105,7 @@ export var AccountRole;
|
|
|
104
105
|
})(AccountRole || (AccountRole = {}));
|
|
105
106
|
export var DatabuttonIdPrefix;
|
|
106
107
|
(function (DatabuttonIdPrefix) {
|
|
108
|
+
DatabuttonIdPrefix["AGENT_SKILL"] = "ask";
|
|
107
109
|
DatabuttonIdPrefix["API_KEY"] = "dbtk";
|
|
108
110
|
DatabuttonIdPrefix["APP_DEPLOY"] = "ad";
|
|
109
111
|
DatabuttonIdPrefix["AUDIT_LOG"] = "aul";
|
|
@@ -2313,4 +2313,32 @@ export interface RiffApiKey {
|
|
|
2313
2313
|
[key: string]: unknown;
|
|
2314
2314
|
};
|
|
2315
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
|
+
}
|
|
2316
2344
|
export {};
|
|
@@ -76,11 +76,4 @@ export var CertificateStatus;
|
|
|
76
76
|
CertificateStatus["VALIDATION_TIMED_OUT"] = "VALIDATION_TIMED_OUT";
|
|
77
77
|
CertificateStatus["CERTIFICATE_NOT_FOUND"] = "CERTIFICATE_NOT_FOUND";
|
|
78
78
|
})(CertificateStatus || (CertificateStatus = {}));
|
|
79
|
-
// For the record, private apikey data is stored at:
|
|
80
|
-
// projects/{projectId}/apikeys/{lookupId}/private/data
|
|
81
|
-
// deliberately out of reach for any client
|
|
82
|
-
// interface _RiffApiKeyPrivateData {
|
|
83
|
-
// // Argon2id hash of the API key for verification
|
|
84
|
-
// argon2Hash: string;
|
|
85
|
-
// }
|
|
86
79
|
//# sourceMappingURL=persisted.js.map
|