We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bb8e2d commit fec87a9Copy full SHA for fec87a9
packages/client-search/src/types/GetApiKeyResponse.ts
@@ -2,14 +2,14 @@ import { ApiKeyACLType } from '.';
2
3
export type GetApiKeyResponse = {
4
/**
5
- * A Unix timestamp used to define the expiration date of the API key.
+ * The api key value
6
*/
7
value: string;
8
9
10
- * Date of creation.
+ * Date of creation (Unix timestamp).
11
12
- createdAt: string;
+ createdAt: number;
13
14
15
* List of permissions the key contains.
packages/client-search/src/types/UpdateApiKeyOptions.ts
@@ -1,4 +1,11 @@
1
+import { ApiKeyACLType } from '.';
+
export type UpdateApiKeyOptions = {
+ /**
+ * List of permissions the key contains.
+ */
+ readonly acl?: readonly ApiKeyACLType[];
* A Unix timestamp used to define the expiration date of the API key.
0 commit comments