@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?: string;
2
+ uuid: string;
3
3
  createdAt: Date;
4
- expiresAt?: Date;
4
+ lastUsedAt: Date | null;
5
+ rotatedAt: Date | null;
6
+ expiresAt: Date | null;
5
7
  description: string;
6
8
  };
7
- export type ApiPersonalAccessTokenResponse = {
8
- uuid?: string;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1367.0",
3
+ "version": "0.1368.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [