@databutton/firebase-types 1.98.1 → 1.98.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.
@@ -2304,4 +2304,13 @@ 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
+ }
2307
2316
  export {};
@@ -76,4 +76,11 @@ 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
+ // }
79
86
  //# sourceMappingURL=persisted.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.98.1",
3
+ "version": "1.98.2",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {