@lightdash/common 0.1367.0 → 0.1368.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,13 @@
|
|
1
1
|
export type PersonalAccessToken = {
|
2
|
-
uuid
|
2
|
+
uuid: string;
|
3
3
|
createdAt: Date;
|
4
|
-
|
4
|
+
lastUsedAt: Date | null;
|
5
|
+
rotatedAt: Date | null;
|
6
|
+
expiresAt: Date | null;
|
5
7
|
description: string;
|
6
8
|
};
|
7
|
-
export type
|
8
|
-
|
9
|
-
createdAt: string;
|
10
|
-
expiresAt?: string;
|
11
|
-
description: string;
|
9
|
+
export type PersonalAccessTokenWithToken = PersonalAccessToken & {
|
10
|
+
token: string;
|
12
11
|
};
|
13
12
|
export type CreatePersonalAccessToken = Pick<PersonalAccessToken, 'expiresAt' | 'description'> & {
|
14
13
|
autoGenerated: boolean;
|